2016-02-18, 23:59
Hi,
I was wondering if someone could help me on a error. I'm on a rapsberry pi 2 with kodi Isengard, had installed youtube library V. 0.9.5 and all works well except playing the videos. I've checked the logs and found this:
Can't figure out what it is the issue. a l'll appreciate any help (because I b***dy love this addon) thank you for your attention.
I was wondering if someone could help me on a error. I'm on a rapsberry pi 2 with kodi Isengard, had installed youtube library V. 0.9.5 and all works well except playing the videos. I've checked the logs and found this:
Can't figure out what it is the issue. a l'll appreciate any help (because I b***dy love this addon) thank you for your attention.
Code:
21:41:11 5146.951660 T:1456993200 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'v' is not defined
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/addon.py", line 139, in <module>
play.playVid(id, filename, season, episode, show) #Play the video
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/play.py", line 137, in playVid
return playYoutubeVid(id) #Just play the video, since we could not retrieve meta information
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/play.py", line 46, in playYoutubeVid
meta['title'] = v.title #Store the youtube title in the meta
NameError: global name 'v' is not defined
-->End of Python script error report<--
21:41:11 5147.883301 T:1946886144 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtubelibrary/?mode=play&id=brh--gYjZts&show=SpaceRip&season=2016&episode=1&filename=s2016e1 - Mystery of the Red Sprites]
21:43:36 5292.221191 T:1676932016 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xml.etree.ElementTree.ParseError'>
Error Contents: not well-formed (invalid token): line 36, column 5
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/addon.py", line 130, in <module>
routes.update_playlist(type=type)
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/routes.py", line 58, in update_playlist
service.update_playlist(id, type=type)
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 88, in update_playlist
update_playlist_vids(id, folder, settings, type=type)
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 166, in update_playlist_vids
if m_xml.episode_exists(id, vid['contentDetails']['videoId'], type=type):
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/m_xml.py", line 568, in episode_exists
e = xml_get_elem(season_tag+'/'+episode_tag, episode_tag, {'id' : episode}, playlist=playlist, type=type)
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/m_xml.py", line 486, in xml_get_elem
doc = playlist_xml_get(playlist, type=type) #Grab the episodes.xml file of this playlist
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/m_xml.py", line 549, in playlist_xml_get
playlistdocument = ElementTree.parse( vars.settingsPath+dev.typeEpnr(type)+'/'+playlist+'.xml' )
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
parser.feed(data)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 36, column 5
-->End of Python script error report<--
21:43:38 5294.332031 T:1854927792 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xml.etree.ElementTree.ParseError'>
Error Contents: no element found: line 1, column 0
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/addon.py", line 73, in <module>
routes.run_service()
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/routes.py", line 34, in run_service
service.update_playlists()
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 57, in update_playlists
update_playlist(child.attrib['id'], type=type) #Update the nfo & strm files for this playlist
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 88, in update_playlist
update_playlist_vids(id, folder, settings, type=type)
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/service.py", line 118, in update_playlist_vids
if m_xml.episode_exists(id, vid['contentDetails']['videoId'], type=type):
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/m_xml.py", line 568, in episode_exists
e = xml_get_elem(season_tag+'/'+episode_tag, episode_tag, {'id' : episode}, playlist=playlist, type=type)
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/m_xml.py", line 486, in xml_get_elem
doc = playlist_xml_get(playlist, type=type) #Grab the episodes.xml file of this playlist
File "/home/pi/.kodi/addons/plugin.video.youtubelibrary/resources/lib/m_xml.py", line 549, in playlist_xml_get
playlistdocument = ElementTree.parse( vars.settingsPath+dev.typeEpnr(type)+'/'+playlist+'.xml' )
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
self._root = parser.close()
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: no element found: line 1, column 0
-->End of Python script error report<--