INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Thumbnails missing after library change  (Read 2976 times)

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Thumbnails missing after library change
« on: April 16, 2006, 06:16:21 am »

I have changed my thumbnail path (using the instructions in this thread: http://yabb.jriver.com/interact/index.php?topic=32484.0) so that its on a portable drive with my library files, and music collection.

However, whenever I change library, MC wipes out the thumbnails and starts drawing them all again. Is this just because i changed my thumbnails path, or is it happening with other people too?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: MC wiping out thumbnails upon library change
« Reply #1 on: April 17, 2006, 03:28:05 pm »

We can't reproduce this, even with a relocated thumbnail directory.  Any other tips?
Logged
Matt Ashland, JRiver Media Center

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: MC wiping out thumbnails upon library change
« Reply #2 on: April 17, 2006, 06:41:44 pm »

The only other non-standard behaviour of my setup is that i have set up MC so that the default library is also on the portable drive with the music.

I noticed that when i tried a "Build all thumbnails" in the options, it completed in no time at all, yet when i went into my images viewscheme the hard drive access light went crazy while drawing all the thumbnails, and the video wiewscheme too. If I try to watch a video, it sometimes freezes while MC is drawing all the thumbnails, unless i go to playing now and start the video in full screen mode from there first.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: MC wiping out thumbnails upon library change
« Reply #3 on: April 17, 2006, 06:49:16 pm »

It sounds like perhaps you cloned a library by hand so they don't have unique IDs.  This would cause them to share the same folder under the "Thumbnails" folder, which will cause all sorts of issues.

You could test by erasing your thumbnails folder, then loading each library and viewing some files.  Afterwards you should have two subfolders under the thumbnails folder.
Logged
Matt Ashland, JRiver Media Center

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: MC wiping out thumbnails upon library change
« Reply #4 on: April 17, 2006, 07:29:07 pm »

Thanks Matt. I'll try this and get back to you.
Logged

datdude

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2215
Re: MC wiping out thumbnails upon library change
« Reply #5 on: April 17, 2006, 11:23:42 pm »

I just realized that this was happening too.
Logged
"You are not a beautiful or unique snowflake." -  Just a very big snowball

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: MC wiping out thumbnails upon library change
« Reply #6 on: April 18, 2006, 05:11:02 am »

It seems that only the "Leave" thumbnail exit option can preserve the thumbnails when local libraries are switched. "Erase orphans" deletes them on a library change.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: MC wiping out thumbnails upon library change
« Reply #7 on: April 18, 2006, 08:48:53 am »

It seems that only the "Leave" thumbnail exit option can preserve the thumbnails when local libraries are switched. "Erase orphans" deletes them on a library change.

I had "Erase orphans" selected for testing.  I still can't reproduce this.

Non unique database IDs is the only thing I can think of that could cause this.  You can test this using the steps listed earlier.

It's also possible there's a state or ordering issue where the thumbnails only get lost if you're in a certain view (or some other case) when switching libraries.
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: MC wiping out thumbnails upon library change
« Reply #8 on: April 18, 2006, 09:29:29 am »

I experimented with this a bit more. I seem to have two libraries that use the same thumbnail folder and obviously the same ID as you said. When I switched between my main library and an almost empty test library the thumbnail file size reduced from 130 MB to 8 MB.

I think this is a Library Manager problem. I suppose MC does not assign a new ID when libraries are cloned using the internal clone option. Usually I start with a cloned copy of my master library when I make new libraries. Otherwise I would have to create all library fields, view schemes and smartlists from the scratch.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: MC wiping out thumbnails upon library change
« Reply #9 on: April 18, 2006, 09:48:01 am »

Actually, you could change the behavior so that each library folder would contain a library specific thumbnail folder. That would resolve the problem and make possible to backup the thumbnails too. It takes quite long time to rebuild the thumbnails when/if needed.

However, in the library backup tool the thumbnail backup should naturally be optional because the thumbnail file size can be very big.
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42053
  • Shoes gone again!
Re: MC wiping out thumbnails upon library change
« Reply #10 on: April 18, 2006, 09:53:51 am »

Actually, you could change the behavior so that each library folder would contain a library specific thumbnail folder. That would resolve the problem and make possible to backup the thumbnails too. It takes quite long time to rebuild the thumbnails when/if needed.

However, in the library backup tool the thumbnail backup should naturally be optional because the thumbnail file size can be very big.

It works the way it does for a good reason.  People often keep their libraries on slow network drives.  It's critical that thumbnails live on the fast local drive.  For this reason, thumbnails are always kept in AppData.

We'll look at clone to make sure it issues a new ID.
Logged
Matt Ashland, JRiver Media Center

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: MC wiping out thumbnails upon library change
« Reply #11 on: April 18, 2006, 10:23:57 am »

It works the way it does for a good reason. People often keep their libraries on slow network drives. It's critical that thumbnails live on the fast local drive. For this reason, thumbnails are always kept in AppData.

It would be a good lesson for those who keep the database on a network drive. In my opinion the MC database folder(s) should never be on a network drive because the access times are inferior even on a wired 1000 Mb LAN.

I suppose most users would not experience any speed or other difference, because they would continue to use the default library in the default location on the C: drive. Those who have several libraries would be probably be happier because thumbnail backups would be easier.

I copy the main database folder including my custom thumbnail location (inside the library folder) between the PCs. Currently my main database folder contains also the thumbnail files for the other libraries and they are needlessly copied. Perhaps I could exclude the other thumbnail folders by modifying the batch file I use.

Quote
We'll look at clone to make sure it issues a new ID.

Thanks.


Edit: rephrased
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

park

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2358
  • I wish I had more to say!
Re: MC wiping out thumbnails upon library change
« Reply #12 on: April 18, 2006, 11:11:15 am »

Just turning off "Erase orphans" seems to have done the trick for me for now.

Regarding the cloning of libraries: I remember that i cloned my original "default" library, so that i could change its path. Ever since, I've just cloned my new "default" library when i make new libraries, so I guess Matt's explanation fits nicely with my situation.

Question: If you fix it in MC so that cloned libraries create different thumbnail folders (different ids), then will i have to delete all my thumbnail folders to force it to happen, or will MC do it automatically?

Thanks for the feedback on this issue.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: MC wiping out thumbnails upon library change
« Reply #13 on: April 19, 2006, 10:13:08 pm »

I copy the main database folder including my custom thumbnail location (inside the library folder) between the PCs. Currently my main database folder contains also the thumbnail files for the other libraries and they are needlessly copied. Perhaps I could exclude the other thumbnail folders by modifying the batch file I use.

My library data copying scripts do that.  It's easy if you use XCOPY to do the copying.  You can use the /EXCLUDE option and specify a text file with keywords to exclude.  Mine excludes thumbnails (and more recently the cache folder too).

That actually begs a question.  Matt, is the Thumbnails folder in the Library Data directory depricated and no longer used?  Can we just delete it?

Also, is there any reason to share the (big) cache directory between machines (using the script copy method, not windows sharing)?
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: MC wiping out thumbnails upon library change
« Reply #14 on: April 21, 2006, 08:58:37 am »

We'll look at clone to make sure it issues a new ID.

I suppose this is not implimented yet. Correct?

I just cloned a library (I had only one local library in the library manager) and the new library does not use a separate thumbnail folder.

MC 11.1.175
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755
Pages: [1]   Go Up