Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #6680: User Job for exporting to MythVideo

 

 

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Jun 30, 2009, 9:12 AM

Post #1 of 27 (3775 views)
Permalink
Ticket #6680: User Job for exporting to MythVideo

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------
This is a User Job implementation of the same functionality found in
#6158, to get around a few of the limitations of the aforementioned patch.
Namely, it blocks the interface, and assumes local file access.

This script requires updates to the Python bindings found in #6678. It
also requires the TTVDB grabber in #6242 to get the season and episode
number. While it currently works for me, it is unfinished and likely
buggy.

The script is run just like the official jobs, just add a userjob for
'mythvidexport.py %JOBID%', and limit execution to the backend storing
your video directory.

Path and Title are currently statically set to:
'<base>/TV/<series>/Season <season>/<season>x<episode> - <episode title>'
and
'<series> - <season>x<episode> - <episode title>'
These will be user adjustable from settings in the database in a future
revision. Script will use 'Videos' StorageGroup path if available, or
will otherwise use 'VideoStartupDir' as the base path.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 7, 2009, 11:22 AM

Post #2 of 27 (3676 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

Script now takes the option of pulling all data from TTVDB (--ttvdb), or
pulling none, instead grabbing the episode number from the command line
(--episode=S00E00). Default behavior remains pulling episode number from
TTVDB, and metadata from the listings provider.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 7, 2009, 3:02 PM

Post #3 of 27 (3679 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

Added custom formatting for filename and title. It *should* work, but I
won't have anything to test it on until later tonight. Strings are stored
in settings values 'mythvideo.exportfmt' and 'mythvideo.titlefmt'.

Available strings are: %TITLE%, %SUBTITLE%, %SEASON%, %EPISODE%, %YEAR%,
%DIRECTOR%, %HOSTNAME%, %STORAGEGROUP%, %GENRE%

Defaults are:
'TV/%TITLE%/Season %SEASON%/%SEASON%x%EPISODE% - %SUBTITLE%'
and
'%SEASON%x%EPISODE% - %SUBTITLE%'

I'm happy with the formatting I use, so it's a bit difficult thinking of
what other people might want. Any suggestions on other strings to add?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 8, 2009, 10:46 AM

Post #4 of 27 (3667 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

Patch 4 fixes some bugs in 3, as well as changes the default strings to
those of #6158, after concerns were brought up about batch updaters not
understanding the default naming scheme.

A new option '--noepisode', specifies not to look for an episode number.

Also, the script is now set up to attempt a copy over scp (public key auth
required) if the file is stored on a remote backend and file access is not
available.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jul 12, 2009, 1:03 PM

Post #5 of 27 (3651 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

Script will now use an optional TTVDB.py config file if found in
~/.mythtv/ttvdb.conf. Also, file transfers are now done completely
internally. If the file cannot be found on the local filesystem, it is
pulled over the backend data socket.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 12, 2009, 10:05 AM

Post #6 of 27 (3603 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

With ttvdb.py now in trunk, the job will always grab episode data from
thetvdb.com, and will exit if failed (this means TV show exports only for
now). Also, with the 'title' field in videometadata being split out to
'title','subtitle','season', and 'episode', the reason for separate
'fileformat' and 'titleformat' no longer exists. Field names have been
updated to match those in #6158.

Support for image grabs has also been added for Coverfiles, Banners, and
Fanart, but is only functional if the storagegroup exists. Use of the
paths in the settings table is not supported.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 13, 2009, 6:33 PM

Post #7 of 27 (3580 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - General | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

Will now automatically generate a 'folder.jpg' for the folder if one does
not exist.

%SEASONPAD% has been added upon request as a forced two digit season. To
maintain consistency, %EPISODE% now has no padding, and a %EPISODEPAD% has
been added to replace the old behavior.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 25, 2009, 5:41 AM

Post #8 of 27 (3517 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.22
Component: Contributed Scripts & Apps | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------
Changes (by stuartm):

* owner: ijr => robertm
* status: new => assigned
* version: unknown => head
* component: MythTV - General => Contributed Scripts & Apps


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 26, 2009, 5:39 AM

Post #9 of 27 (3517 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.22
Component: Contributed Scripts & Apps | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by anonymous):

Requires [http://svn.mythtv.org/trac/ticket/6885]
Also -- needs to add content checking... TTvdb does not alway return year,
so this script will fail

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 26, 2009, 10:42 AM

Post #10 of 27 (3527 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.22
Component: Contributed Scripts & Apps | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond [at] wagnerrp>):

This one is a big rewrite. The script should now work with all forms of
recorded content. Currently, it understands three types: TV, Movies, and
Generic. The difference between a TV show and a movie is whether a
subtitle exists in the program data. TV shows use the ttvdb grabber,
movies use the tmdb grabber, and generic is anything that fails to be
recognized by those respective grabbers.

That means... yet one more change to the formatting fields in the database
(hopefully the last). The script now uses the following fields and
defaults[[br]]
mythvideo.TVexportfmt -- Television/%TITLE%/Season %SEASON%/%TITLE% -
S%SEASON%E%EPISODPAD% - %SUBTITLE%
mythvideo.MOVIEexportfmt -- Movies/%TITLE%
mythvideo.GENERICexportfmt -- Videos/%TITLE%

'--tformat', '--mformat', and '--gformat' will override the default
formatting for a one time use, or if not given a recording to work with,
they will update the database to the specified format and exit.

'--listingonly' disables the grabbers, instead using the program data from
your listing source. Note that 'TV' mode still requires the ttvdb grabber
to find the season and episode number, and in failing to do so, will still
drop back to 'GENERIC' mode.

As anon mentioned, this requires #6885.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 12, 2009, 6:44 PM

Post #11 of 27 (3465 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.22
Component: Contributed Scripts & Apps | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------

Comment(by anonymous):

You should add divide be zero checking around
remt = rem/rate
ZeroDivisionError: integer division or modulo by zero

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 19, 2009, 11:16 AM

Post #12 of 27 (3435 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond [at] wagnerrp> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------------+------------------------
Changes (by paulh):

* milestone: 0.22 => 0.23


Comment:

To late to get this in for 0.22

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Oct 21, 2009, 5:33 PM

Post #13 of 27 (3340 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond@…>):

Patch 12 relaxes the ttvdb image URL search string, to work better with
any changes with the grabber script. Also adds a '-s/--simulation' option
similar to JAMU and MiroBridge, and calls mythcommflag on the copied file
so fast forwarding in mythvideo works properly.

To the anonymous commenter, it may be worth adding a proper error to
report as such, but if you have not transferred any data in the previous
four seconds, there is something wrong and the script SHOULD fail.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 13, 2009, 8:48 AM

Post #14 of 27 (3250 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond@…>):

Updates script to use recent changes in MythVideo grabber format. Also
updates image saves to follow standard MythVideo naming.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 22, 2009, 5:27 AM

Post #15 of 27 (3155 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by dave@…):

Raymond...

It appears the latest python bindings broke this again...
Traceback (most recent call last):
File "/usr/local/bin/mythvidexport.py", line 554, in <module>
main()
File "/usr/local/bin/mythvidexport.py", line 535, in main
export = VIDEO(opts,int(args[0]))
File "/usr/local/bin/mythvidexport.py", line 89, in __init__
self.get_source()
File "/usr/local/bin/mythvidexport.py", line 104, in get_source
self.source = mythinst.getCheckfile(self.prog)
File "/usr/lib/python2.6/dist-packages/MythTV/MythTV.py", line 350, in
getCheckfile
res =
self.backendCommand(BACKEND_SEP.join(['QUERY_CHECKFILE','1',program.toString()])).split(BACKEND_SEP)
File "/usr/lib/python2.6/dist-packages/MythTV/MythTV.py", line 145, in
backendCommand
self.socket.send(command)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in
position 97: ordinal not in range(128)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:14>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 22, 2009, 10:44 PM

Post #16 of 27 (3149 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond@…>):

It's got nothing to do with the bindings, but rather a reoccurring
nuisance Doug Vaughan and I have dealing with in relation to UTF8. Follow
step 5 at
'http://www.mythtv.org/wiki/Jamu#This_stupid_thing_does_not_work.21'. If
that doesn't solve the problem, please run the following in a python shell
and paste the result somewhere.

{{{
import MythTV
myth = MythTV.MythTV()
a = myth.getRecording(<chanid>,<starttime>)
print a.__dict__
}}}

Replace chanid and starttime with the recording that has failed.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:15>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 23, 2009, 5:11 PM

Post #17 of 27 (3131 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by dave@…):

It was caused be Ren\xe9e Zellweger. I edited the data to remove the
accented "e".

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:16>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 30, 2009, 8:42 AM

Post #18 of 27 (3017 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by anonymous):

I am getting the following error message when trying to use
mythtvidexport.13.py

Traceback (most recent call last):
File ".mythtv/scripts/mythvidexport.py", line 554, in <module>
main()
File ".mythtv/scripts/mythvidexport.py", line 533, in main
export = VIDEO(opts,0)
File ".mythtv/scripts/mythvidexport.py", line 89, in __init__
self.get_source()
File ".mythtv/scripts/mythvidexport.py", line 103, in get_source
self.srchost = self.prog.hostname
AttributeError: 'NoneType' object has no attribute 'hostname'

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:17>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 30, 2009, 8:50 AM

Post #19 of 27 (3021 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by anonymous):

Replying to [comment:17 anonymous]:
> I am getting the following error message when trying to use
mythtvidexport.13.py
>
> Traceback (most recent call last):
> File ".mythtv/scripts/mythvidexport.py", line 554, in <module>
> main()
> File ".mythtv/scripts/mythvidexport.py", line 533, in main
> export = VIDEO(opts,0)
> File ".mythtv/scripts/mythvidexport.py", line 89, in __init__
> self.get_source()
> File ".mythtv/scripts/mythvidexport.py", line 103, in get_source
> self.srchost = self.prog.hostname
> AttributeError: 'NoneType' object has no attribute 'hostname'
ok, maybe ignore that. i typed too soon and i think that recording no
longer exists.

on a recording that DOES exist, I get:

Traceback (most recent call last):
File ".mythtv/scripts/mythvidexport.py", line 554, in <module>
main()
File ".mythtv/scripts/mythvidexport.py", line 533, in main
export = VIDEO(opts,0)
File ".mythtv/scripts/mythvidexport.py", line 89, in __init__
self.get_source()
File ".mythtv/scripts/mythvidexport.py", line 104, in get_source
self.source = mythinst.getCheckfile(self.prog)
File "/usr/lib/python2.6/dist-packages/MythTV/MythTV.py", line 350, in
getCheckfile
res =
self.backendCommand(BACKEND_SEP.join(['QUERY_CHECKFILE','1',program.toString()])).split(BACKEND_SEP)
File "/usr/lib/python2.6/dist-packages/MythTV/MythTV.py", line 968, in
toString
string += BACKEND_SEP + locale.format("%0.6f" %self.stars)
TypeError: format() takes at least 2 arguments (1 given)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:18>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 30, 2009, 9:33 AM

Post #20 of 27 (3014 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by anonymous):

Sorry for the spam. This appears to be an issue with the MythTV.py
package (at least in my Mythbuntu 9.10 distro). I fixed line 968 of
MythTV.py to be

string += BACKEND_SEP + locale.formate("%0.6f", self.stars)

and mythvidexport successfully runs now. Unfortunately, it dumped the
output directly into my base video directory titled as <title>.mpg; but
that may just be a case of my not having set up the options correctly?

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:19>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 30, 2009, 9:35 AM

Post #21 of 27 (3020 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by robertm):

Discussion belongs on mailing lists, NOT TICKETS.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:20>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 30, 2009, 10:39 AM

Post #22 of 27 (3015 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by Raymond Wagner <raymond@…>):

Version 13 and further are for trunk, and the new grabber format that
trunk uses. They will not work properly on 0.22-fixes. I apologize for not
making that clear.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:21>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 30, 2009, 11:08 AM

Post #23 of 27 (3006 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: robertm
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by joelm):

my apologies for gumming up the tracker as well. (anonymous from above)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:22>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Jan 26, 2010, 1:50 PM

Post #24 of 27 (2521 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: wagnerrp
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------
Changes (by robertm):

* owner: robertm => wagnerrp


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:23>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Feb 14, 2010, 11:44 AM

Post #25 of 27 (2377 views)
Permalink
Re: Ticket #6680: User Job for exporting to MythVideo [In reply to]

#6680: User Job for exporting to MythVideo
---------------------------------------------------+------------------------
Reporter: Raymond Wagner <raymond@…> | Owner: wagnerrp
Type: enhancement | Status: assigned
Priority: minor | Milestone: 0.23
Component: Contributed Scripts & Apps | Version: head
Severity: low | Mlocked: 0
---------------------------------------------------+------------------------

Comment(by cpinkham):

mythvidexport.14.py was committed to trunk a while back, but not
referenced in the commit. Ticket is being left open for now for tracking
issues.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6680#comment:24>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

First page Previous page 1 2 Next page Last page  View All MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.