INTERACT FORUM

More => Old Versions => Media Center 17 => Topic started by: jmone on April 28, 2012, 10:51:45 pm

Title: Expression to find missing Thumbnails
Post by: jmone on April 28, 2012, 10:51:45 pm
Is there an expression to find files with missing Thumbnails (eg similar to missing coverart for Audio)?  I've tried guessing:
[=IsMissing([Thumbnail)]=1
[=IsMissing([Image])]=1

But these don't work so I thought I'd ask instread of keep guessing!

Thanks
Nathan
Title: Re: Expression to find missing Thumbnails
Post by: 221bBS on April 30, 2012, 09:57:52 am
You can do Tools > Tree & View > Thumbnails > Build missing Thumbnails...

That way you don't have to worry about finding missing thumbnails.
Title: Re: Expression to find missing Thumbnails
Post by: jmone on April 30, 2012, 03:36:52 pm
Yeah but I have some that don't build (for some odd reason) so I'd like a nice simple expression to find them all manually shifting through them all so I can add stuff manually.
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 03, 2012, 09:47:48 pm
...bump...

any expression to find missing video thumbnails?
Title: Re: Expression to find missing Thumbnails
Post by: rick.ca on July 03, 2012, 10:55:21 pm
For Audio or Video, wouldn't that just be [Image File]=[]? Or is that still pointing to something for the files in question?
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 03, 2012, 11:00:50 pm
Nope this lists everthing without a sidecar image file.  I'm after those videos where thumbnails are not built.....  When displaying columns it is the "Image (small thumbnail)" that shows either the thumbnail or the default movie reel image.  Unfortunately this  "Image (small thumbnail)" is not a field.
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 03, 2012, 11:05:38 pm
Here is a pic of what I'm trying to find:
Title: Re: Expression to find missing Thumbnails
Post by: rjm on July 03, 2012, 11:12:29 pm
Here is a pic of what I'm trying to find:

+1 also looking forward to the answer, I've had problem videos in the past
Title: Re: Expression to find missing Thumbnails
Post by: MrC on July 04, 2012, 12:14:43 am
Add a file list column with the expression value:

   [Thumbnail Offset Small]

It seems videos w/out thumbnails will be missing this value (and the Medium and Large counterparts).

You might also adding two more columns: an [Image File] library field column and an expression column with the value [Thumbnail Info] so you can sort on any of these.  It seems a Thumbnail Info value of 1 means the thumbnail comes from within the video file (and hence Image File should be empty).
Title: Re: Expression to find missing Thumbnails
Post by: rjm on July 04, 2012, 12:38:10 am
Thanks.
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 04, 2012, 03:26:42 am
Thanks MrC!  Sorting by [Thumbnail Offset Small] showed I had 44 without thumbs.  Did a rebuild thumbs on these and now down to 29.....  No idea why the 29 will not generate a thumbnail at this stage however!
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 04, 2012, 03:33:24 am
+1 to MrC again.  Here is my smartlist (called Missing Video Thumbnail) which is exactly what I was after:

[Thumbnail Offset Small]=0 [Media Type]=[Video]
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 04, 2012, 03:40:16 am
I'm now going through using the "screen grab for thumbnail" feature and it seems to be working on most....
Title: Re: Expression to find missing Thumbnails
Post by: jmone on July 04, 2012, 03:49:29 am
OK - I think I know why thumbnails are not generated for some files.  It seems if the thumbnail is a BLACK screen, MC will not grab it (either automatically or via the screen grab to thumbnail feature).  For me this includes:
1 x MPG file that is just audio (no video) (note: this file no longer plays, it was an "extra" audio only track on the Eagles Hell Freezes Over tour DVD - "Seven Bridges Road"
2 x ISO files (I'll need to add coverart)
14 x MP4 Files that are test patterns showing Black Levels

Overally I'm pretty happy now!
Title: Re: Expression to find missing Thumbnails
Post by: locust on July 04, 2012, 10:39:55 am
I've had problems with videos not building thumbnails in the past.
One solution I found to work quite well was to load the video into Gspot to get the correct filetype as some of my files didn't have the correct extension.

Upon correcting the filetype I was able to rebuild the thumnails in most cases..

Title: Re: Expression to find missing Thumbnails
Post by: astromo on March 01, 2014, 05:33:14 pm
+1 to MrC again.  Here is my smartlist (called Missing Video Thumbnail) which is exactly what I was after:

[Thumbnail Offset Small]=0 [Media Type]=[Video]

Had reason to do exactly this process and thumbs up to Interact for storing the answer. Nice work MrC and jmone.

As a follow up, what was not clear to me here is that [Thumbnail Offset Small] is a hidden Library Field. So, when I set up a smartlist in simple user mode, this item doesn't show in the standard Rules to choose from. There's a story behind this.

Might not be news to anyone else out there but I wasn't sure whether I need to set up a new field to make this work. I navigated to:
Tools > Options > Manage Library Fields
and when I poked around I found that the Fields drop down has an option:
Show all fields (including hidden fields)
and sure enough, our little friend was there.

So, I just brought up the edit dialogue for the missing thumbnails smartlist and clicked on the Import/Export button in the bottom left and copy/pasted in the expression string. OK'd out and ran the list. Worked a treat..   ;D
Title: Re: Expression to find missing Thumbnails
Post by: MrC on March 01, 2014, 07:09:50 pm
As a follow up, what was not clear to me here is that [Thumbnail Offset Small] is a hidden Library Field. So, when I set up a smartlist in simple user mode, this item doesn't show in the standard Rules to choose from. There's a story behind this.

FYI: Search "hidden" and also "Thumbnail here:

    http://wiki.jriver.com/index.php/File_Properties_%28tags%29#Field_Specifications (http://wiki.jriver.com/index.php/File_Properties_%28tags%29#Field_Specifications)