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

Mythvideo -> Autoupdate
http://forums.linhes.org/viewtopic.php?f=11&t=16013
Page 1 of 1

Author:  techman83 [ Wed Aug 01, 2007 1:00 am ]
Post subject:  Mythvideo -> Autoupdate

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

Author:  jmckeown2 [ Wed Aug 01, 2007 6:13 pm ]
Post subject: 

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.

Author:  techman83 [ Wed Aug 01, 2007 7:34 pm ]
Post subject: 

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.

Author:  spalVl [ Wed Aug 01, 2007 8:47 pm ]
Post subject: 

http://mysettopbox.tv/phpBB2/viewtopic.php?t=14832

MythTools

Author:  techman83 [ Wed Aug 01, 2007 8:55 pm ]
Post subject: 

Looks like what I'm after. Will look into further on the weekend :)

Thanks! :)

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