First many thanks cmik to work on this plugin. :-) My wife got very upset once she can use TFC via Kodi anymore.
I run into the same issues reported by others that the plugin is working for a while and then throwing errors.
I use 0.57 on a RPI2 with LibreElec 8.0.2 with Kodi 17.3 from Australia. TFC premium account.
Here my settings:
LibreELEC:~/.kodi/userdata/addon_data/plugin.video.tfctv # cat settings.xml | grep -v emai | grep -v password
<settings>
<setting id="announcement" value="" />
<setting id="cacheActive" value="false" />
<setting id="displayCelebritiesMenu" value="false" />
<setting id="displayLiveCategory" value="false" />
<setting id="displayMostLovedShows" value="false" />
<setting id="displayMyAccountMenu" value="false" />
<setting id="displayTools" value="false" />
<setting id="displayWebsiteSections" value="false" />
<setting id="italiciseUnsubscribed" value="true" />
<setting id="itemsPerPage" value="50" />
<setting id="listSubscribedFirst" value="true" />
<setting id="loginRetries" value="1" />
<setting id="showSubscribedShowsThumbnails" value="false" />
</settings>
here a example log I get frequent:
21:16:37.789 T:919335840 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ssl.SSLError'>
Error Contents: ('The read operation timed out',)
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 1144, in <module>
showEpisodes(url, page)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 178, in showEpisodes
episodes = sCacheFunction(getEpisodesPerPage, showId, page, itemsPerPage)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 43, in <lambda>
sCacheFunction = lambda x, *y: x(*y)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 732, in getEpisodesPerPage
showDetails = sCacheFunction(getShow, showId)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 43, in <lambda>
sCacheFunction = lambda x, *y: x(*y)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 662, in getShow
res = callJsonApi(url % showId)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 1002, in callJsonApi
res = callServiceApi(path, params = params, headers = headers, base_url = base_url, useCache = useCache)
File "/storage/.kodi/addons/plugin.video.tfctv/default.py", line 990, in callServiceApi
response = opener.open(base_url + path)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
File "/usr/lib/python2.7/httplib.py", line 438, in begin
File "/usr/lib/python2.7/httplib.py", line 394, in _read_status
File "/usr/lib/python2.7/socket.py", line 480, in readline
File "/usr/lib/python2.7/ssl.py", line 766, in recv
File "/usr/lib/python2.7/ssl.py", line 653, in read
SSLError: ('The read operation timed out',)
-->End of Python script error report<--
21:16:38.344 T:1962405696 ERROR: GetDirectory - Error getting plugin://plugin.video.tfctv/?mode=3&name=The%20Better%20Half&page=0&thumbnail=https%3a%2f%2ftimg.tfc.tv%2fxcms%2fcategoryimages%2f4216%2fTHE-BETTER-HALF-STANDARD-SHOW-THUMBNAIL.jpg&url=4216
21:16:38.347 T:1962405696 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.tfctv/?mode=3&name=The%20Better%20Half&page=0&thumbnail=https%3a%2f%2ftimg.tfc.tv%2fxcms%2fcategoryimages%2f4216%2fTHE-BETTER-HALF-STANDARD-SHOW-THUMBNAIL.jpg&url=4216) failed
After a while the same works again.