[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 Aug 13 19:15:37 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 bmeek):

 Peter, I've done several doctests as well as letting my
 production backend retrieve metadata (e.g. when the
 recording completes) after your last post.

 Looking at comment 6, the 1st PYTHONPATH is overwritten by
 the 2nd (you could colon separate both on one line.) I don't
 have the Python bindings installed for version 3.x, so have
 only been testing on version 2.7

 This is my test script:
 {{{
 #!/bin/sh
 rm -rf ~/.mythtv/cache/tvdb_api/*
 cd ~/source/mythtv/mythtv/programs/scripts/metadata/Television
 PYTHONPATH=~/source/mythtv/mythtv/bindings/python python2 ./ttvdb.py
 --doctest
 }}}
 For the record, my production box is still on 14.04,
 ENOTIME, but it's on 30-Pre. I had to do these
 to get things running:
 {{{
 # apt can't find these 2 on 14.04:
 sudo pip install future requests_cache
 # apt has python-requests, but it's old, so:
 sudo pip install --upgrade requests
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13084#comment:16>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list