dbr / tvdb_api

Simple to use interface to TheTVDB.com API in Python
The Unlicense
339 stars 63 forks source link

Getting show including banners causes exception #99

Closed mueslo closed 2 years ago

mueslo commented 2 years ago
  File "/root/.local/pipx/venvs/test/lib/python3.8/site-packages/tvdb_api.py", line 1148, in __getitem__
    sid = self._nameToSid(key)
  File "/root/.local/pipx/venvs/test/lib/python3.8/site-packages/tvdb_api.py", line 1137, in _nameToSid
    self._getShowData(selected_series['id'], self.config['language'])
  File "/root/.local/pipx/venvs/test/lib/python3.8/site-packages/tvdb_api.py", line 1074, in _getShowData
    self._parseBanners(sid)
  File "/root/.local/pipx/venvs/test/lib/python3.8/site-packages/tvdb_api.py", line 976, in _parseBanners
    banners_info = self._getetsrc(self.config['url_seriesBannerInfo'] % (sid, cur_banner))
  File "/root/.local/pipx/venvs/test/lib/python3.8/site-packages/tvdb_api.py", line 870, in _getetsrc
    src = self._loadUrl(url, language=language)
  File "/root/.local/pipx/venvs/test/lib/python3.8/site-packages/tvdb_api.py", line 832, in _loadUrl
    raise tvdb_error("%s" % error)
tvdb_api.TvdbError: sql: Scan error on column index 2, name "language": converting NULL to string is unsupported

Probably due to API changes

mueslo commented 2 years ago

Seems to be working again now.