[mythtv-commits] Ticket #6242: A "grabber" query engine for thetvdb.com - based on tmdb.pl functionality
MythTV
mythtv at cvs.mythtv.org
Thu Apr 9 04:43:55 UTC 2009
#6242: A "grabber" query engine for thetvdb.com - based on tmdb.pl functionality
------------------------------------+---------------------------------------
Reporter: r.d.vaughan at rogers.com | Owner: awithers
Type: enhancement | Status: assigned
Priority: minor | Milestone: unknown
Component: Plugin - MythVideo | Version: unknown
Severity: low | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------
Comment(by Marc Tousignant <drayson at net1plus.com>):
I fixed the ascii errors by changing line 334 to
{{{
self.out.write(obj.encode("utf-8"))
}}}
However, now I get the following errors on some items.
{{{
scripts # ./ttvdb.py -D "denno coil" 1 1
Title:denno coil
Season:1
Episode:1
Subtitle:Kids with Glasses
Year:2007
ReleaseDate:2007-05-12
Director:None
Plot:Yuko Okonogi âYasakoâ
UserRating:None
Writers:None
Episode Image:http://www.thetvdb.com/banners/episodes/82390/373906.jpg
Language:en
Combined_Episodenumber:1
Epimgflag:3
Id:373906
Seasonid:33462
Lastupdated:1224514836
Combined_Season:1
Seriesid:82390
Traceback (most recent call last):
File "./ttvdb.py", line 1086, in <module>
main()
File "./ttvdb.py", line 967, in main
Getseries_episode_data(t, opts, series_season_ep,
language=opts.language)
File "./ttvdb.py", line 629, in Getseries_episode_data
print u"Cast:%s" % cast_members
UnboundLocalError: local variable 'cast_members' referenced before
assignment
}}}
{{{
scripts # ./ttvdb.py -D "Kanon 2006" 1 1
Title:Kanon 2006
Season:1
Episode:1
Subtitle:Silver Overture ~overture~
ReleaseDate:None
Director:None
Plot:None
UserRating:None
Writers:None
Episode Image:None
Language:en
Combined_Episodenumber:1
Id:326098
Seasonid:17463
Lastupdated:1174757557
Combined_Season:1
Seriesid:79911
Traceback (most recent call last):
File "./ttvdb.py", line 1086, in <module>
main()
File "./ttvdb.py", line 967, in main
Getseries_episode_data(t, opts, series_season_ep,
language=opts.language)
File "./ttvdb.py", line 629, in Getseries_episode_data
print u"Cast:%s" % cast_members
UnboundLocalError: local variable 'cast_members' referenced before
assignment
}}}
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6242#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list