[mythtv-commits] Ticket #13084: ttvdb.py will cease to function - TTVDB will discontinue support for V1 XML API in 3 months time on October 1st, 2017
MythTV
noreply at mythtv.org
Tue Aug 15 14:25:28 UTC 2017
#13084: ttvdb.py will cease to function - TTVDB will discontinue support for V1 XML
API in 3 months time on October 1st, 2017
-------------------------------------------------+-------------------------
Reporter: Frederick Henderson <frederickjh@…> | Owner:
| markspieth
Type: Bug Report - General | Status:
| assigned
Priority: minor | Milestone: 29.0
Component: MythTV - Mythmetadatalookup | Version:
| Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------------------+-------------------------
Comment (by Bill Meek <keemllib@…>):
Mark, great! Had two shows last night that didn't get
cover art, but re-running with today's fetch took care
of both.
283661 from comment 21 is still acting up. Try this
version of a previous test:
/usr/local/share/mythtv/metadata/Television/ttvdb.py -l en -a US -N 283661
"Egg Hunt"
it should drop a Traceback and this fixed it for me
and doctest is still perfect.
{{{
diff --git a/mythtv/bindings/python/MythTV/ttvdb/tvdb_api.py
b/mythtv/bindings/python/MythTV/ttvdb/tvdb_api.py
index 80df1d3..8b64fad 100644
--- a/mythtv/bindings/python/MythTV/ttvdb/tvdb_api.py
+++ b/mythtv/bindings/python/MythTV/ttvdb/tvdb_api.py
@@ -1033,6 +1033,12 @@ class Tvdb:
actorsEt = self._getetsrc(self.config['url_actorsInfo'] % (sid))
cur_actors = Actors()
+
+ if actorsEt is None:
+ self.config['actors_enabled'] = False
+ self._setShowData(sid, '_actors', cur_actors)
+ # cur_actors is just an empty list() ^^^
+ return
+
for curActorItem in actorsEt:
curActor = Actor()
for curInfo in curActorItem.keys():
}}}
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13084#comment:25>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list