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: Mythvideo -> Autoupdate
PostPosted: Wed Aug 01, 2007 1:00 am 
Offline
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location: Perth
Been poking around the traps a bit and haven't found what I'm looking for so far.

I would like the command that is run when Mythvideo gets updated.

I want to make it a cron job, or a write it into a script when I copy across new media. Just need to know the command!!!

TIA

Leon

_________________
DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 6:13 pm 
Offline
Joined: Sat Sep 02, 2006 9:17 am
Posts: 359
I've never used the API directly I just insert videos directly into the database -- the table is videometadata in the mythconverg schema. There are defaults defined for everything but

title, director, rating, inetref, filename, and coverfile

Title is obvious, as is filename (absolute path) and coverfile (thumbnail), but the rest can all be empty strings. For my coverless videos my table has "No Cover" in the coverfile column -- not sure if this is required... See the database for more info...

intid is the key column, leave it off and the DB will assign the next one automagically. The other interesting column is childid. This is the intid value from the row containing the video you want to play automatically after this video. i.e. next in sequence. -1 means play nothing.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 7:34 pm 
Offline
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location: Perth
Ahh, may just have to write a script to do that then. Was hoping not to re-invent the wheel if there was a simpler method :)

I'm sure there must be a need out there for people remotely administering their boxen.

_________________
DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 8:47 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
http://mysettopbox.tv/phpBB2/viewtopic.php?t=14832

MythTools


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 01, 2007 8:55 pm 
Offline
Joined: Tue Aug 22, 2006 9:11 am
Posts: 127
Location: Perth
Looks like what I'm after. Will look into further on the weekend :)

Thanks! :)

_________________
DRM 'manages access' in the same way that jail 'manages freedom.'
_________________
Intel P4 2.6
Intel Desktop Board
2GB DDR400
nVidia 6600GT
Dvico HDTV+
Dvico Dual 4
200GB WD for Swap /boot & /
2x 500GB WD with LVM & XFS for /myth/tv


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 3 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu