LinHES Forums
http://forum.linhes.org/

shootscreens.sh in R6
http://forum.linhes.org/viewtopic.php?f=6&t=20502
Page 1 of 1

Author:  kmkittre [ Mon Nov 09, 2009 5:27 pm ]
Post subject:  shootscreens.sh in R6

I ran shootscreens.sh from the command line on my backend and it generated thumbnails for some (but not all) of my videos. Now when I run it it says "expr: division by zero"

first, where is this file? I cannot find it...
two, why wouldn't it generate thumbs for all the files?
three, is there a better script to run, or a solution to my problem?

Thanks!

Author:  kmkittre [ Mon Nov 09, 2009 5:32 pm ]
Post subject: 

Oh, and screenshooter.sh works on the files that thumbnails were not created for by shootscreens.sh. But, of course, this would be a tedious process to go through...

Author:  kmkittre [ Mon Nov 09, 2009 5:41 pm ]
Post subject: 

Oh, and if I do a "find / shootscreens.sh" I get the following response: "find: `shootscreens.sh': No such file or directory"

How is that possible when I'm able to call the function?

Author:  kmkittre [ Mon Nov 09, 2009 5:52 pm ]
Post subject: 

I found the file: it's in /usr/LH/bin/

Author:  kmkittre [ Mon Nov 09, 2009 6:00 pm ]
Post subject: 

Okay, once I looked at the script, I found my problem. I first used mythvideo-scanner and that apparently changed my "no cover" to "". So I edited the sql query in shootscreens.sh to be:

Code:
select filename from videometadata where coverfile=\"No Cover\" or coverfile=\"\";

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/