INTERACT FORUM

Please login or register.

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

Author Topic: Lost my video thumbnails  (Read 3686 times)

bil1010105

  • World Citizen
  • ***
  • Posts: 142
Lost my video thumbnails
« on: January 16, 2012, 12:52:46 pm »

Having spent weeks building up thumbnails for all my videos, I turn on my computer today and find that it had some problem loading the library (located on a NAS), and that I should use the default library and disable all 3rd party stuff etc. So I rebooted, and loaded the library - no issue.

Except... all my lovingly created thumbnails have gone, for about 3,500 video files.

This is the third time this has happened to me, first time on MC15, then MC16, and now MC17.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Lost my video thumbnails
« Reply #1 on: January 16, 2012, 12:55:13 pm »

Try restoring a backup.  MC makes them automatically.

If a drive isn't available, it's pretty hard for the software to work.
Logged

bil1010105

  • World Citizen
  • ***
  • Posts: 142
Re: Lost my video thumbnails
« Reply #2 on: January 16, 2012, 01:35:30 pm »

Does MC backup thumbnails now?  ? Where are they kept?

The NAS is available 24/7 - it's always there. Previous times this has happened the library was on a local drive. I don't think drive availability is the issue here.

Also, the last library backup is over a month old. Is that really the only solution?

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Lost my video thumbnails
« Reply #3 on: January 16, 2012, 01:37:47 pm »

Media Center makes automatic library backups.

New builds put them under Documents\JRiver.  Old builds put them under AppData\J River.

Where are your video thumbnails saved?  What is in the 'Image File' column in Media Center?

Thanks.
Logged
Matt Ashland, JRiver Media Center

bil1010105

  • World Citizen
  • ***
  • Posts: 142
Re: Lost my video thumbnails
« Reply #4 on: January 16, 2012, 01:55:25 pm »

Ah, thanks Matt, I didn't realise the location had changed.

I've restored the latest backup... no difference unfortunately. :(

My video thumbnail database is held on a local drive. Image File is blank.

To create them, I play the video to a suitable point, pause it, right click, and select 'Window' submenu, then 'Use Screen Grab for Thumbnail'.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Lost my video thumbnails
« Reply #5 on: January 16, 2012, 02:04:11 pm »

Could you give me a sample video thumbnail file name (including path)?

And what folder have you selected in Options > File Location for cover art?

Thanks.
Logged
Matt Ashland, JRiver Media Center

bil1010105

  • World Citizen
  • ***
  • Posts: 142
Re: Lost my video thumbnails
« Reply #6 on: January 16, 2012, 05:32:59 pm »

Could you give me a sample video thumbnail file name (including path)?

No, they're not held as separate files. As I said, I right click on the video whilst playing / paused, and select 'Use Screenshot as Thumbnail'.

The thumbnail then changes to the currently displayed video snapshot, and then I move onto the next.

Does that not store the thumbnail in the database? I assumed it does, because the file size keeps growing.

And what folder have you selected in Options > File Location for cover art?

Cover art is stored in a specified folder on my NAS. That is unaffected, but has a relatively very small number of thumbs.
Logged

Alex B

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 10121
  • The Cosmic Bird
Re: Lost my video thumbnails
« Reply #7 on: January 16, 2012, 07:37:17 pm »

1) I'll use the following terminology in this reply:

Cover Art  =  a cover art file is a physical image file that is linked to the video file. The link is visible in the Image File library field. If the link contains just the file name without a directory path then the image file is stored in the video file's folder.

Thumbnail  =  MC creates and maintains a fast thumbnail cache of the cover art source files. The cached thumbnails make possible to quickly display thumbnail views that contain thousands of cover art images. This would be impossible if MC would need to read thousands of disk files each time such a view is browsed.


2) "Use Screen Grab for Thumbnail"

When a grabbed image is saved the Image File field is updated accordingly. The linked image files are used for creating the thumbnails.

The old MC17 builds and MC16 stored the grabbed images automatically in a specific folder in the application data location. ( %appdata%\J River\Media Center 17\Data\ScreenGrabs\ or %appdata%\J River\Media Center 16\Data\ScreenGrabs\ ) The filename was generated solely from the Name field and if necessary the filenames included an additional number part to avoid overwriting an existing image file.

The storage location and naming system changed in the build 17.0.55. The grabbed image file is now automatically stored in the same folder as the video file and the filename is identical with the video filename (only the filename extension differs).


3) What happened?

Probably the Image File links were lost for some reason. I don't know why it happened. Though, if auto-import actually removed the missing video files from the database and the files were re-imported, the behavior is logical.


4) How to fix the problem?

I don't think there's any way to fully automatically fix the problem, but the following steps would probably provide a useful workaround.

-- Install the latest MC17 build, if you don't already have it installed.

-- Load a library backup file that precedes the incident (File > Library > Restore Library...). You may want to create a new backup file of the current library state before proceeding (it will be useful if you have made changes that you want to preserve.)

-- Create a list view that shows the video files. Add the Image File column to the view. Does it show values that point to "...\Data\ScreenGrabs\" ?

-- If the answer is yes*, select all video files and do: right-click > Cover Art > Save Cover Art to External Location Specified In Options. This will copy the linked cover art files to the video files' locations, rename the copied files, and update the links in the Image File field accordingly.


The advantages of having the cover art files in the new default location and having the new default filename include:
- MC can automatically find the files and recreate the links.
- Uninstalling an old MC version (e.g. MC16) cannot delete the files that are stored in the old version's "appdata" location.
- When video files are moved by using the internal tools MC will move cover art automatically.
- The cover art files can be easily backed up together with the video files.

If necessary you can still link differently named or placed cover art files manually and MC will preserve the links. It just can't relink them automatically. A typical example would be a single common cover art image for a complete TV series.

5) "But I have created 20 new playlists and tagged 1500 audio and video files since the unfortunate incidence."

No problem, just restore the latest backup file that you created during the step 4).

The video files will lose the cover art links again, but now the "Cover Art > Quick Find in File / Cover Art Directory" tool can easily fix the problem.


-----------------------------------------------------------------------------------------

* if the answer is no, you may have lost the old cover art links even earlier. If restoring the links is not possible you may need to relink the grabbed cover art files manually (assuming they still exist in the "appadata" location.) I hope that at least this would save you from "re-grabbing".

If you need to resort to manual linking the following posts might be helpful:
- How to add cover art by dragging & dropping an image file from Windows Explorer: http://yabb.jriver.com/interact/index.php?topic=59513.msg415474#msg415474
- More screenshots and additional info: http://yabb.jriver.com/interact/index.php?topic=65156.msg436968#msg436968
Logged
The Cosmic Bird - a triple merger of galaxies: http://eso.org/public/news/eso0755

bil1010105

  • World Citizen
  • ***
  • Posts: 142
Re: Lost my video thumbnails
« Reply #8 on: January 17, 2012, 01:58:37 am »

Wow, thanks Alex for your comprehensive reply.  :)

I'll give your suggestions a go tonight.
Logged

vvcepheus7

  • Junior Woodchuck
  • **
  • Posts: 79
Re: Lost my video thumbnails
« Reply #9 on: May 05, 2012, 10:43:48 am »

Alex B, thank you very much for your reply has helped me a lot!  8)
Logged
Pages: [1]   Go Up