[mythtv-users] [Bulk] mythnetvision - unable to view certain channels
Hika van den Hoven
hikavdh at gmail.com
Fri Jul 17 16:26:38 UTC 2015
Hoi Hika,
Friday, July 17, 2015, 5:43:51 PM, you wrote:
> Hoi Tim,
> Friday, July 17, 2015, 10:34:48 AM, you wrote:
>> ---- On Thu, 16 Jul 2015 20:26:59 +0100 Hika van den Hoven wrote ----
>>>I looked around a bit and ./youtube.py -S linux works in 0.27.5
>>>
>>>
>>>Tot mails,
>>> Hika mailto:hikavdh at gmail.com
>>>
>> works for me too, but ./youtube.py -T fails with the following. IF
>> i'm reading this right (i have no python experience), it looks like
>> the the 'items' key in etree is invalid?...
>> ---
>> The module aniso8601 could not be imported, duration parsing will be disabled
>> Traceback (most recent call last):
>> File "./youtube.py", line 223, in <module>
>> main.main()
>> File
>> "/usr/share/mythtv/internetcontent/nv_python_libs/mainProcess.py", line 461, in main
>> Queries.displayTreeView()
>> File
>> "/usr/share/mythtv/internetcontent/nv_python_libs/mainProcess.py", line 274, in displayTreeView
>> data_sets = self.config['target'].displayTreeView()
>> File
>> "/usr/share/mythtv/internetcontent/nv_python_libs/youtube/youtube_api.py", line 542, in displayTreeView
>> for category in etree['items']:
>> KeyError: 'items'
>> ---
>> does the -T error have any correlation to showing no results in the
>> search or browse areas in mythfrontend?
> I'll look at your error, but I get a result list in the frontend
To start, I get the same error on the commandline, but I can search
and watch youtube videos. So it doesn't seem to be used that way.
Just before the error a Videocategorielist is fetched. It either has
an unexpected structure or is empty. The fetch itself doesn't give an
error.
url = 'https://www.googleapis.com/youtube/v3/videoCategories?' + \
'part=snippet®ionCode=%s&key=%s' % \
(self.config['region'], self.apikey)
Tot mails,
Hika mailto:hikavdh at gmail.com
"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"
De lerende Mens
More information about the mythtv-users
mailing list