I have never been able to figure out why I can't generate any thumbnails. I have tried many times and was searching for some options when I found your plea for help. I too need some help with this one.

I have never got coverart to work in batch mode but I can get it updated one by one.
Pick a video. Make sure the metadata is correct and then with that video highlighted hit "W". This should download the cover art etc.

I wonder a long time ago why the scriopt does noch generate thumbs ... now I recognised that the coverfile field does NOT include anything if there is no cover / thumbs ... the code you write is that script now searches for that "no cover" entry in coverfile ... resulting in nothing to do ...

I remove that no cover leaving the \" signs at beginning and ending for searching an empty string ... NOW working great again

Edit line 30 and 32 of the file and change the SQL statements to match empty an string rather than "No Cover". I can see a lot of other things in there that could stand a haircut and a shave, but that fix should get you running.

Edit line 30 and 32 of the file and change the SQL statements to match empty an string rather than "No Cover". I can see a lot of other things in there that could stand a haircut and a shave, but that fix should get you running.

Thanks for your reply. I have looked at the script. Unfortunately, I still can't work out exactly what is required. I would be very grateful if you could either change Cecil's command (as required) or set out the changes needed to the .sh.

Note that I've replaced `` (back quote expansion) with the more readable Posix form $(), made mysql generate the desired lines directly and eliminated the sed and grep post processing, and replaced the \"\" (escaped double quotes) quoting with the cleaner and more standard SQL '' (single quotes).

This will fix the out script so that it tries to process all your videos which don't already have thumbnails, but there seems to be another issue with /usr/LH/bin/screenshooter.sh which I'm looking into now.

Aha... Looks like that script is expecting a full pathname in the DB and it only has a filename. That should be easy enough to fix...

Hmm... With that problem fixed /usr/LH/bin/screenshooter.sh doesn't seem to be updating the DB. WTH...

Ah... It's trying to look the entries in the DB table by the full pathname rather than just the filename. It also looks like it should be looking for either '' or 'No Cover'. Sweet mother of vinegar... :-/

I've got a working version of the two scripts now, but separating out a trivial patch is another matter. They still don't support storage groups (which I had to turn off because it doesn't play well with external players) and I suspect that there are a few other issues... When they get cleaned up to my satisfaction I'll post them here for folks to test.

I've got a working version of the two scripts now, but separating out a trivial patch is another matter. They still don't support storage groups (which I had to turn off because it doesn't play well with external players) and I suspect that there are a few other issues... When they get cleaned up to my satisfaction I'll post them here for folks to test.

Many thanks for your efforts tjc. It is some relief to know that it wasn't just my blundering that prevented the thumbnails from being generated. I look forward to your results.

I've got a working version of the two scripts now, but separating out a trivial patch is another matter. They still don't support storage groups (which I had to turn off because it doesn't play well with external players) and I suspect that there are a few other issues... When they get cleaned up to my satisfaction I'll post them here for folks to test.

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum