[mythtv-users] mytharchive on a non backend machine

Chris Isip cmisipster at gmail.com
Sun Nov 18 21:25:58 UTC 2007


On Nov 18, 2007 4:03 PM, Chris Isip <cmisipster at gmail.com> wrote:

> Is it possible to run mytharchive on a non backend machine.  I've got a
> 3.0 ghz P4 that I would like to utilize for this.   My backend (Athlon XP
> 2400) is overworked as it is.   I have mythfrontend already running on the
> P4 with the recordings and archive work dir nfs exported.  I am getting
> these errors:
>
> [cmisip at mybedroom config]$ python
> /usr/share/mythtv/mytharchive/scripts/mythburn.py
> mythburn.py (0.1.20070428-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 mybedroom
> temppath: /linux2/MYTH/work
> logpath:  /linux2/MYTH/logs
> Processing Mythburn job number 1.
> Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
>           savefilename = ''
> Looking for: /usr/share/mythtv/mytharchive/themes/MythCenter/theme.xml
> Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
> Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
> Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
> wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1, wantDetailsPage: 0
> Final DVD Video format will be ntsc
> There are 1 files to process
> Pre-processing file '2044_20071003070000.mpg' of type 'recording'
> ------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3642, in
> ?
>     processJob(job)
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3417, in
> processJob
>     preProcessFile(node,folder)
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1105, in
> preProcessFile
>     mediafile = os.path.join(recordingpath, file.attributes
> ["filename"].value)
>   File "/usr/lib/python2.4/posixpath.py", line 62, in join
>     elif path == '' or path.endswith('/'):
> AttributeError: 'NoneType' object has no attribute 'endswith'
> ------------------------------------------------------------
>
>
> I think it is not getting the information it needs from the database.  If
> I change the mydata.xml file so the filename is  explicitly stated with
> the absolute path,:
>
> ************************************************************
> ERROR: Failed to get recording details from the DB for
> /mnt/VIDEO/2044_20071003070000.mpg
>
> Is what I am trying to achieve even possible?
>
> Thanks
> Chris
>

I figured it out:

insert into settings (value, data, hostname) VALUES ('RecordFilePrefix',
'/mnt/VIDEO', 'mybedroom');
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071118/60add4a0/attachment.htm 


More information about the mythtv-users mailing list