View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Nov 01, 2007 2:09 am 
Offline
Joined: Sat Oct 29, 2005 8:00 pm
Posts: 50
One of the problems with the script is that it takes the location of the VideoStartupDir and VideoArtworkDir from the settings table, and if there is more than one VideoStartupDir / VideoArtworkdir entry in the settings table then it uses the first one it comes up with. Often there is more than one entry because there is one entry per client that has ever connected.

see this line in /usr/local/bin/screenshooter.sh, there is a similar one in relation to VideoStartupdir

Code:
VIDEO_CAPTURE_HOME=$(mysql -u $DBUSERNAME --password=$DBPASSWORD -h $BACKEND_HOSTNAME mythconverg -sNBe "select data from settings where value='VideoArtworkDir' limit 1")


Also the author says:

Quote:
# limitations:
# --
# In an MBE/SBE/FE setup this might get the settings for the wrong machine...


As all of the entries except the correct one were redundant in my setup, I deleted the three that related to old clients and the script started working. Its running through the 100's of videos I have and i will report back.

A better solution would be to change the above line to search for parameters by restricting it to the hostname, something like:

Code:
VIDEO_CAPTURE_HOME=$(mysql -u $DBUSERNAME --password=$DBPASSWORD -h $BACKEND_HOSTNAME mythconverg -sNBe "select data from settings where value='VideoArtworkDir' AND hostname=$HOSTNAME")


NB I haven't tried that, as its now redundant for me because I cleared out the extra entries.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 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