INTERACT FORUM

Please login or register.

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

Author Topic: Expression to find missing Thumbnails  (Read 4716 times)

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Expression to find missing Thumbnails
« 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
Logged
JRiver CEO Elect

221bBS

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 703
Re: Expression to find missing Thumbnails
« Reply #1 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.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #2 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.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #3 on: July 03, 2012, 09:47:48 pm »

...bump...

any expression to find missing video thumbnails?
Logged
JRiver CEO Elect

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Expression to find missing Thumbnails
« Reply #4 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?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #5 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.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #6 on: July 03, 2012, 11:05:38 pm »

Here is a pic of what I'm trying to find:
Logged
JRiver CEO Elect

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: Expression to find missing Thumbnails
« Reply #7 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
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression to find missing Thumbnails
« Reply #8 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).
Logged
The opinions I express represent my own folly.

rjm

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 2699
Re: Expression to find missing Thumbnails
« Reply #9 on: July 04, 2012, 12:38:10 am »

Thanks.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #10 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!
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #11 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]
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #12 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....
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14463
  • I won! I won!
Re: Expression to find missing Thumbnails
« Reply #13 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!
Logged
JRiver CEO Elect

locust

  • Citizen of the Universe
  • *****
  • Posts: 699
Re: Expression to find missing Thumbnails
« Reply #14 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..

Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2251
Re: Expression to find missing Thumbnails
« Reply #15 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
Logged
MC33, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression to find missing Thumbnails
« Reply #16 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

Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up