[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
Sun Sep 10 22:55:36 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@…>):
From what I can tell, the programgenres table is only used for program
data, not for recorded data. Maybe there's a grabber out there that uses
thetvdb.com to populate the program table as well as the other program*
tables, including programgenres?
I can confirm that Mark's latest commit makes a difference to video
metadata. I added a video file to my library named
.../Hannibal/s01e01.mpg, and ran "mythutil --scanvideos" under a few
different conditions:
- 0.27 original ttvdb.py and bindings: Adds three records to
videometadatagenre that link to the videometadata record for
Hannibal/s01e01.mpg and records in videogenre for Crime, Drama, and
Horror.
- My port of Mark's work to 0.27 without the commit that fixes genres and
runtime: Does not add any records to videometadatagenre.
- My port of Mark's work to 0.27 with the commit that fixes genres and
runtime: Adds the same records to videometadatagenre that the original
ttvdb.py and bindings added.
I have also tested mytharchive's mythburn.py and the smolt code via
"Submit your hardware profile" with the updated python bindings and found
no regressions.
My port of Mark's work that support the new ttvdb api on 0.27 can be found
here:
https://github.com/faginbagin/mythtv/tree/0.27-ttvdb-api-v2
The latest commit to the above branch, 0de280b, fixes a test case for
'Nova - Eclipse Over America'. thetvdb.com has changed that episode from
belonging to season 44 to being a special episode, plus tweaked a few
other things like description, director and guest star. This commit should
probably be pulled into master.
If anyone is interested in sticking with fixes/0.27 on ubuntu 14.04, You
will also need to install or update some python packages as follows:
{{{
sudo apt-get install python-pip
sudo pip install future requests_cache
sudo pip install --upgrade urllib3 requests
}}}
Note, mythtv (using a github fork for fixes/0.27) will install python
bindings in:
/usr/lib/python2.7/site-packages
However, the .deb package for libmyth-python from the mythbuntu PPA for
fixes/0.27 will install them in:
/usr/lib/python2.7/dist-packages
I don't know if there's a similar difference in 0.28 or 29. I moved
/usr/lib/python2.7/site-packages/MythTV to
/usr/lib/python2.7/dist-packages/MythTV
after moving the original version to
/usr/lib/python2.7/dist-packages/MythTV.sav
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13084#comment:69>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list