Decorum for the Forum:
  • Be nice. If you want to be mean, try Reddit.
  • No Piracy. If you want to be a thief, there are dark places on the internet dedicated to that.
  • No Cracking. Discussions on AnyDVD, DeUHD, DVDFab, UHDKeys and similar tools are not permitted here.
  • No Spamming. If you want to make a buck, work smarter... somewhere else.
  • No Adult Content. Half the internet is dedicated to adult content. This half isn't.

Privacy Policy: Click Here to Review (updated September 30, 2020)

[RESOLVED] CMC lost all my metadata and I can't display my collection

General support forum for Chameleon MediaCenter (formerly MM Browser)
Post Reply
Teddyboy
Posts: 268
Joined: Wed Apr 25, 2018 10:30 pm
Location: San Diego, Ca

[RESOLVED] CMC lost all my metadata and I can't display my collection

Post by Teddyboy » Mon Aug 05, 2019 9:37 pm

RESOLVED - User Error. I misunderstood how syncing works. :D

I was trying to get my music collection to show up. I had added my movie and music folder for syncing. Since I'm using the exporter to generate all the metadata for my movie collection, I thought I would go into settings and remove the movie folder and then sync my music folder so it would show up. when I saved the change the sync icon went away. I mean it just disappeared. I went back into settings again and added the movie folder back. When I did that the sync icon appeared again. I did this several times, and it happened each and every time. I decided to sync my music folder with the movie folder because if I removed it from the sync watched section the sync icon would go away. Worse case I would have to re export my movie collection again if it wiped it out. Well it did wipe it out and I haven't been able to get it back! I re exported, but the collection refuses to display. I rebooted my htpc to no avail. Here are some screen shots. I've attached a debug file as well. I can restore the folder to its known last working state which was yesterday, because I back up my PCs with server essentials backup service. I may do that but no just yet.
gone.png
gone.png (468.05 KiB) Viewed 6455 times
gone2.png
gone2.png (491.77 KiB) Viewed 6455 times
Attachments
DebugLog_2019-08-05_1738.txt
(1.12 KiB) Downloaded 285 times
DebugLog_2019-08-05_1743.txt
(135 Bytes) Downloaded 267 times
DebugLog_DirScan_0.txt
(810.09 KiB) Downloaded 276 times
Last edited by Teddyboy on Tue Aug 06, 2019 10:34 pm, edited 2 times in total.
Mechanical Engineer, Solidworks junkie, Reef aquariums, sci-fi, weight training, orchids, Ferns, Kaiju, model kit building, balboa park, scripps aquarium

User avatar
Pauven
Posts: 2795
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Re: CMC lost all my metadata and I can't display my collection

Post by Pauven » Tue Aug 06, 2019 12:10 pm

Okay, I think you have a few misconceptions on CMC, so let me see if I can help you straighten them out.

First, there are two modes for CMC. There's the Movie Library mode, and then there's the Music Library mode. The Sync for each is completely separate. To sync Movies, you have to be in the Movie Library mode, and to sync Music you have to be in the Music Library mode.

The Settings screen has been unified, so you can configure both Movie and Music Library settings no matter which mode you are in.

It is correct that the Sync icon in the Movie Library disappears when you remove all Movie folders. That has nothing to do with the Music Library Sync.

Maybe you haven't discovered this yet: to reach the Music Library, you need to go UP to the menu icons, and then go UP again, which drops down the Mode Bar, which has a silver brushed metal appearance:
image.png
image.png (417.63 KiB) Viewed 6449 times

From there you go right and select the music note, which opens the Music Library. There you will see a similar top menu bar with a Sync Icon. Running this Sync only syncs your music:
image.png
image.png (381.04 KiB) Viewed 6449 times

Teddyboy wrote: Mon Aug 05, 2019 9:37 pm Worse case I would have to re export my movie collection again if it wiped it out.

This is not correct. CMC did not wipe out your movie collection, and you would not have to re-export it. I think you've realized this, because you re-exported from CME, and it didn't fix the issue. Your exported data was never altered by CMC - it always just reads the exported data, but never modifies or deletes it, so it is impossible for CMC to wipe out your movie collection.

Teddyboy wrote: Mon Aug 05, 2019 9:37 pm Well it did wipe it out and I haven't been able to get it back! I re exported, but the collection refuses to display.

It appears that what has happened is that CMC's SmartSync feature has become confused by you adding/removing/re-adding folders. The SmartSync takes a snapshot of your media folders, and then each time you run a new SmartSync, it makes a new snapshot, compares it to the previous snapshot, and identifies any changes from the previous snapshot. In certain circumstances, like adding/removing/adding folders, the snapshot's get out of sync, and CMC thinks there are no changes. So you removed a folder(s), which ended up removing the titles from CMC's local DB, but then after re-adding the folders you ran another SmartSync, and it's just not seeing any changes, so it's not re-adding the titles.

While the SmartSync feature runs right 99% of the time, it can get confused like this on occasion. The solution is simple, just run a Full Sync.
image.png
image.png (146.9 KiB) Viewed 6449 times

The Full Sync ignores the SmartSync snapshot, and instead re-imports all titles and rebuilds the local CMC DB from scratch. This is effectively what you were trying to accomplish by re-exporting everything from CME, but you just needed to run the Full Sync to re-import everything.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Teddyboy
Posts: 268
Joined: Wed Apr 25, 2018 10:30 pm
Location: San Diego, Ca

Re: CMC lost all my metadata and I can't display my collection

Post by Teddyboy » Tue Aug 06, 2019 4:23 pm

Okay. It appears that I have it mixed up. Now that you’ve explained it to me it makes sense now. I did see the mode bar, and I edited it to only have the apps that I want to run. All the icons are evenly spaced, but at first glance the music note and pandora looked like they were together. If I would have clicked further, I would have realized that the music note and pandora are separate. I have not configured any apps yet. That will be the very last thing I do after I fix my debacle. Then correct some MM titles and re-export.

To recap. I need to be in movie library mode which basically I am when I m viewing my movie collection to sync movies. I’ll add the folder back in so the sync icon reappears and do a full sync (not smart sync) which should bring my collection back into view. Then I’ll go into music library which puts me in that mode to do a full sync to make my music collection available. When in doubt do a full sync if smart sync doesn’t pick up the changes in either mode if I make changes to my collection.

CME only exports and watches for changes through MM api. Then it exports those changes from MM. Running a sync will pick up those changes for the appropriate mode and display the changes. Do I have all this right?
Mechanical Engineer, Solidworks junkie, Reef aquariums, sci-fi, weight training, orchids, Ferns, Kaiju, model kit building, balboa park, scripps aquarium

User avatar
Pauven
Posts: 2795
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Re: CMC lost all my metadata and I can't display my collection

Post by Pauven » Tue Aug 06, 2019 5:40 pm

Teddyboy wrote: Tue Aug 06, 2019 4:23 pm When in doubt do a full sync if smart sync doesn’t pick up the changes in either mode if I make changes to my collection.

Currently, the Music Library sync is a Full Sync only. I have it in my to-do to add the SmartSync feature to the Music Library.

The Movie Library SmartySync is designed to process changes only, and is much faster than a Full Sync. But there are some scenarios that trip up the logic, like I said. Major edits to TV Series is one, and adding/removing folders is another. But for most day to day changes (new titles, updated titles, removed titles, new artwork, etc.) it detects the changes and updates CMC's local DB correctly.


Teddyboy wrote: Tue Aug 06, 2019 4:23 pm CME only exports and watches for changes through MM api. Then it exports those changes from MM. Running a sync will pick up those changes for the appropriate mode and display the changes. Do I have all this right?

Yes. And the SmartSync is the ideal Sync for this.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Teddyboy
Posts: 268
Joined: Wed Apr 25, 2018 10:30 pm
Location: San Diego, Ca

Re: CMC lost all my metadata and I can't display my collection

Post by Teddyboy » Tue Aug 06, 2019 7:02 pm

When I get home I’ll go through the steps. Once I’m successful, I’ll mark the issue resolved due to user misinterpretation. It would be nice if full sync/smart sync was more automatic. I’m used to the changes for movies and music being automatically picked up and displayed. It’s been quite a while since I really started using my htpc. I’m starting to get back into it. I really do like the way you display media then say jriver does. You have to roll your own interface within the limits of the base interface for theatre view. Sage tv used to have sage studio which was neat.

Thanks for your patience and understanding Paul.
Mechanical Engineer, Solidworks junkie, Reef aquariums, sci-fi, weight training, orchids, Ferns, Kaiju, model kit building, balboa park, scripps aquarium

User avatar
Pauven
Posts: 2795
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Re: CMC lost all my metadata and I can't display my collection

Post by Pauven » Tue Aug 06, 2019 7:05 pm

Once you get the kinks worked out, you can configure CMC to auto-run a SmartSync on startup, that way it would always be up to date.

I have plans for a future version of CME to directly create the CMC database, and then when you start CMC it would ping CME to see if there was an updated DB, and make a copy if there is. That way the CMC Sync process would no longer be needed, as the CMC DB would be auto-updating as CME runs.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Teddyboy
Posts: 268
Joined: Wed Apr 25, 2018 10:30 pm
Location: San Diego, Ca

Re: CMC lost all my metadata and I can't display my collection

Post by Teddyboy » Tue Aug 06, 2019 7:33 pm

That would be awesome Paul, but what about music? That would take out the extra steps. The only time smart sync would run is if the htpc needs to restart. Otherwise it’s up 24/7 although it does go to sleep.
Mechanical Engineer, Solidworks junkie, Reef aquariums, sci-fi, weight training, orchids, Ferns, Kaiju, model kit building, balboa park, scripps aquarium

Teddyboy
Posts: 268
Joined: Wed Apr 25, 2018 10:30 pm
Location: San Diego, Ca

Re: [RESOLVED] CMC lost all my metadata and I can't display my collection

Post by Teddyboy » Tue Aug 06, 2019 10:52 pm

We're good Paul. Everything came back it was before I tried to be smart. LOL. All my music is now visible. The CD cover wall looks great. It scrolls smoothly. The Transition from my collection to playing a album is nice. I liked it when the text was surrounded by a border and it would pulse gently. I just need to clean up some tags with illegal characters (about 5 or 6 songs that are classical) and re-rip some albums that are missing.

Regarding the settings/filter sync bar. I set the transparency to 0 because I only want to see it when I actually need to use it. Also I would prefer that when I use it that the overlay does not fade out my entire movie collection when I use it. I use four rows of covers, so it's okay if it overlays the very top one but it should still be visible underneath. Does that make sense?
Mechanical Engineer, Solidworks junkie, Reef aquariums, sci-fi, weight training, orchids, Ferns, Kaiju, model kit building, balboa park, scripps aquarium

User avatar
Pauven
Posts: 2795
Joined: Tue Dec 26, 2017 10:28 pm
Location: Atlanta, GA, USA
Contact:

Re: CMC lost all my metadata and I can't display my collection

Post by Pauven » Wed Aug 07, 2019 2:32 pm

Teddyboy wrote: Tue Aug 06, 2019 7:33 pm That would be awesome Paul, but what about music? That would take out the extra steps. The only time smart sync would run is if the htpc needs to restart. Otherwise it’s up 24/7 although it does go to sleep.

Haven't thought about music that way. CME is managing the metadata flow from My Movies to CMC, so it makes sense that it could create the CMC DB directly.

The metadata flow for music is completely in CMC, by scanning for music files, reading them to extract the metadata, and building the local database. Once I add the SmartSync functionality, I think it won't be too much of a big deal to sync. Obviously right now it is a pain to sync small changes when you have to re-import the entire music library.


Teddyboy wrote: Tue Aug 06, 2019 10:52 pm The CD cover wall looks great. It scrolls smoothly.

Thanks! That was a ton of work. I even had to write some custom re-sizing and anti-aliasing routines to eliminate flickering of small details and make the scrolling smooth.

And yes, I know you want everything to be animated like that. ;) It is a lot of work to get these animations to work correctly, so this type of polish takes a back seat to adding functionality.


Teddyboy wrote: Tue Aug 06, 2019 10:52 pm Also I would prefer that when I use it that the overlay does not fade out my entire movie collection when I use it. I use four rows of covers, so it's okay if it overlays the very top one but it should still be visible underneath. Does that make sense?

I'll look at making that configurable. I like it to fade out so I can see the background artwork, which I like to change to whatever I've watched last or for the season.


Glad you got it working again.
President, Chameleon Consulting LLC
Author, Chameleon MediaCenter

Post Reply