View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: shootscreens.sh in R6
PostPosted: Mon Nov 09, 2009 5:27 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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!

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 09, 2009 5:32 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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...

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 09, 2009 5:41 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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?

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 09, 2009 5:52 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
I found the file: it's in /usr/LH/bin/

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 09, 2009 6:00 pm 
Offline
Joined: Tue Jul 12, 2005 8:01 am
Posts: 670
Location: Salem, MA
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=\"\";

_________________
LinHES 8.3, 1 BE, 3 FE


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


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

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu