[mythtv-users] MythArchive - Under stairs solution

Per Jørgensen myth at pbj-design.dk
Fri Feb 22 05:55:48 UTC 2008


Chris Isip skrev:
>
>
> On Thu, Feb 21, 2008 at 6:29 PM, Paul Harrison <mythtv at dsl.pipex.com 
> <mailto:mythtv at dsl.pipex.com>> wrote:
>
>     Per Jørgensen wrote:
>     > Chris Isip skrev:
>     >
>     >> Try running mythburn.py from the command line to see what happens.
>     >> You need to manually setup a mydata.xml file in
>     >> <mytharchive-dir>/config.  Something like:
>     >> <!DOCTYPE mythburn>
>     >> <mythburn>
>     >>     <job theme="MythCenter" >
>     >>         <media>
>     >>             <file usecutlist="0" type="recording"
>     >> encodingprofile="NONE" filename="2030_20080206170000.mpg" />
>     >>             <file usecutlist="0" type="recording"
>     >> encodingprofile="NONE" filename="2030_20080207160000.mpg" />
>     >>             <file usecutlist="0" type="recording"
>     >> encodingprofile="NONE" filename="1030_20080207170000.mpg" />
>     >>         </media>
>     >>         <options dvdrsize="4482" mediatype="0" erasedvdrw="0"
>     >> createiso="1" doburn="0" savefilename="STV-2.7.iso" />
>     >>     </job>
>     >> </mythburn>
>     >>
>     >> And then run the mythburn script this way:
>     >> python /usr/share/mythtv/mytharchive/scripts/mythburn.py
>     >>
>     >> And look for errors.
>     >>
>     >> Chris
>     >>
>     > Hey Chris.
>     > THanks for the responds - After getting the things and setting -
>     running
>     > the script gives me this error :
>     > mythburn.py (0.1.20071115-1.fixes) starting up...
>     > Process priority 8
>     > script path:/usr/share/mythtv/mytharchive/scripts
>     > myth share path:/usr/share/mythtv
>     > Found 1 CPUs
>     > Obtaining MythTV settings from MySQL database for hostname stuen
>     > temppath: /usr/share/mythtv/mytharchive/work
>     > logpath:  /usr/share/mythtv/mytharchive/logs
>     > ------------------------------------------------------------
>     > Traceback (most recent call last):
>     >   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line
>     3636,
>     > in <module>
>     >     jobDOM = xml.dom.minidom.parse(jobfile)
>     >   File "/usr/lib/python2.5/xml/dom/minidom.py", line 1913, in parse
>     >     return expatbuilder.parse(file)
>     >   File "/usr/lib/python2.5/xml/dom/expatbuilder.py", line 922,
>     in parse
>     >     fp = open(file, 'rb')
>     > IOError: [Errno 2] No such file or directory: 'mydata.xml'
>     > ------------------------------------------------------------
>     > As I can see here - even though mydata.xml are place in
>     > /usr/share/mythtv/mytharchive/config/
>     >
>     > Are that on any caurses of my setup so this should be done on the
>     > backend indstead of one f the frontends???
>     >
>     > Thanks
>     > Per Jørgensen
>     >
>     >
>
>     You need to pass the full path to mydata.xml so the script can
>     find it.
>
>     Did you mean to use /usr/share/mythtv/mytharchive/ as the work
>     directory? I'd start by setting up a proper directory to use as
>     the work
>     directory and make sure the user running mythfrontend has read/write
>     permissions on it and also make sure there is *lots* of free space
>     available as creating a DVD can create some big temporary work files.
>
>     Paul H.
>     _____________________________________
>     mythtv-users mailing list
>     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
> Mytharchive is supposed to run on a backend machine only.  It needs 
> recordfileprefix for the particular hostname where it is run.  However 
> you can cheat by running a mysql command:
>
>
> insert into settings (value, data, hostname) VALUES 
> ('RecordFilePrefix','/mnt/VIDEO', 'mybedroom');
> and nfs mounting the video directory to your frontend machine
>   

Nice - That does the Trick.
THANK YOU VERY MUCH.
Both of you!

A last question - is there allso a way around your backend cannot see 
the DVD drive on the frontend . and each time I've seen a movie on the 
Frontend on DVD - I need to manually unmount the DVD before pressing eject!

Thanks again for all!

Per Jørgensen

>
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   



More information about the mythtv-users mailing list