[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
Thu Aug 31 19:48:49 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: closed
Priority: minor | Milestone: 29.0
Component: MythTV - Mythmetadatalookup | Version:
| Unspecified
Severity: medium | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------------------+-------------------------
Comment (by faginbagin <mythtv@…>):
I think I've found a problem while working on a port to 0.27. The xml
output by the v2 version is missing genre and runtime information that is
provided by the v1 version.
Attachment nova-eclipse-v1.out was generated with this command:
{{{
/usr/share/mythtv/metadata/Television/ttvdb.py -l en -a US -N 76119
"Eclipse Over America"
}}}
Attachment nova-eclipse-v2.out was generated with the command:
{{{
PYTHONPATH=$HOME/git/mythtv/mythtv/bindings/python
$HOME/git/mythtv/mythtv/programs/scripts/metadata/Television/ttvdb.py -l
en -a US -N 76119 "Eclipse Over America"
}}}
Note that nova-eclipse-v1.out has these lines:
{{{
<categories>
<category type="genre" name="Documentary"/>
</categories>
}}}
which are missing from nova-eclipse-v2.out. And nova-eclipse-v1.out has
this:
{{{
<runtime>60</runtime>
}}}
while nova-eclipse-v2.out has this:
{{{
<runtime/>
}}}
Watch Videos allows users to browse by genre and Watch Recording allows
one to filter by category. And the MythCenter-wide theme, for example,
does display the runtime. in its "Video Info -> View Details" page. So
losing genre and runtime has the potential to affect users who care about
this info.
I can see the genre and runtime information is returned by thetvdb.com
when I rerun the v2 command with the -d flag (see nova-
eclipse-v2-debug.err). That file also shows that debug support is broken,
since it ends with a stack trace and no XML written to stdout.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13084#comment:62>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list