2016-06-16, 21:15
YoutubeLibrary worked great for months, but is now totally broken and I am not sure why!
Here is the error I am getting when its trying to update the library:
15:13:01 T:15604 NOTICE: script.module.youtube.dl: youtube_dl core version: 2016.03.27
15:13:01 T:15604 WARNING: Attempt to use invalid handle -1
15:13:02 T:15604 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 395, column 6
Traceback (most recent call last):
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\addon.py", line 75, in <module>
routes.run_service()
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\resources\lib\routes.py", line 35, in run_service
service.update_playlists()
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\resources\lib\service.py", line 98, in update_playlists
m_xml.xml_get(type=type)
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\resources\lib\m_xml.py", line 42, in xml_get
document = ElementTree.parse( vars.settingsPath+file )
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 657, in parse
self._root = parser.close()
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1654, in close
self._raiseerror(v)
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: no element found: line 395, column 6
-->End of Python script error report<--
---
I should also note, that it just does this when updating the TV Playlists, and not the Music Video Playlists
Here is the error I am getting when its trying to update the library:
15:13:01 T:15604 NOTICE: script.module.youtube.dl: youtube_dl core version: 2016.03.27
15:13:01 T:15604 WARNING: Attempt to use invalid handle -1
15:13:02 T:15604 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 395, column 6
Traceback (most recent call last):
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\addon.py", line 75, in <module>
routes.run_service()
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\resources\lib\routes.py", line 35, in run_service
service.update_playlists()
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\resources\lib\service.py", line 98, in update_playlists
m_xml.xml_get(type=type)
File "C:\Users\Jay\AppData\Roaming\Kodi\addons\plugin.video.youtubelibrary\resources\lib\m_xml.py", line 42, in xml_get
document = ElementTree.parse( vars.settingsPath+file )
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 657, in parse
self._root = parser.close()
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1654, in close
self._raiseerror(v)
File "C:\Program Files (x86)\Kodi\system\python\Lib\xml\etree\ElementTree.py", line 1506, in _raiseerror
raise err
ParseError: no element found: line 395, column 6
-->End of Python script error report<--
---
I should also note, that it just does this when updating the TV Playlists, and not the Music Video Playlists