[mythtv-users] getting mythvidexport 'upstream blessed'

Jeremy Jones jeremy.dwain.jones at gmail.com
Sun Oct 21 23:11:23 UTC 2012


On Thu, Oct 18, 2012 at 11:28 AM, Raymond Wagner <raymond at wagnerrp.com>wrote:

> On 10/18/2012 12:14, Jeremy Jones wrote:
>
>> Is there a updated version of mythvidexport.py script that works with
>> .26?  I would like to get this setup as a userjob so that the wife and
>> kids can save recordings they want to keep indefinitely by moving them
>> to videos.
>>
>> I would be glad to help with a patch if it is not beyond my capabilities
>> and if it would indeed help the dev that is working on this.  Raymond:
>> if you could get me started I would be glad to take a stab at something.
>> (maybe a pointer tot he current code and a brief description of what
>> your plans/thought and general issues with it are)
>>
>
> See if this version works.
>
> https://github.com/wagnerrp/**mythtv-scripts/blob/master/**
> python/mythvidexport.py<https://github.com/wagnerrp/mythtv-scripts/blob/master/python/mythvidexport.py>
>
>
I tried it and haven't gotten it going quite yet. I am running .25-fixes
from mythbuntu.  I do have updates that need to be installed if that could
be an issue.  Other than that mythtv is functioning fine. I tried to set
the naming convention for generic videos (on the master backend) and got an
error. See based terminal input/output below:

$ /usr/share/doc/mythtv-backend/contrib/user_jobs/mythvidexport.py
--gformat=Generic_Videos/%TITLE%
Changing Generic format to: Generic_Videos/%TITLE%
Traceback (most recent call last):
  File "/usr/share/doc/mythtv-backend/contrib/user_jobs/mythvidexport.py",
line 431, in <module>
    main()
  File "/usr/share/doc/mythtv-backend/contrib/user_jobs/mythvidexport.py",
line 424, in main
    db.settings[hosts]['mythvideo.GENERICexportfmt'] = opts.gformat
NameError: global name 'hosts' is not defined

Can anyone help? Do I need to pull/post a log and where would I find such?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121021/db84c5a0/attachment-0001.html>


More information about the mythtv-users mailing list