[mythtv-users] Extracting info from mythtv database
Yan Seiner
yan at seiner.com
Fri Jan 17 01:58:32 UTC 2014
I'd like to develop a transcoding job for interfacing myth with roku.
(Very basic; I just want to play myth recordings on the roku.) I have
the transcoding part done (that's easy) what I need is a script that
takes info from the myth database and puts it into an xml format like this:
<movie>
<origtitle>Avatar</origtitle>
<year>2009</year>
<genre>Action, Adventure, Sci-Fi</genre>
<mpaa>Rated PG-13</mpaa>
<director>James Cameron</director>
<actors>Sam Worthington, Zoe Saldana, Sigourney Weaver, Stephen
Lang</actors>
<description>A paraplegic marine dispatched to the moon Pandora
on a unique mission becomes torn between following his orders and
protecting the world he feels is his home.</description>
<path>Z:\WWW\WWW-pub\Media\Videos\Avatar.mp4</path>
<length>120</length>
<videocodec>mp4</videocodec>
<poster>images/Avatar.jpg</poster>
</movie>
Unfortunately I am worthless with perl and all the examples I've found
are in perl. (Perl just doesn't think like I do.)
Is anyone aware of an example script in php or python for extracting
data from the myth database that I could use as a starting point?
More information about the mythtv-users
mailing list