the-lazy-fox / script.tvtime Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cxii-dev/script.tvtime
Kodi add-on for TV Time
License: GNU General Public License v2.0
This project forked from cxii-dev/script.tvtime
Kodi add-on for TV Time
License: GNU General Public License v2.0
When using TMBD scaper I don't get any feedback, not even "episode not found". And episode is not marked as watched on website.
Yesterday I was logged out and upon trying to login, I keep getting that error code. Any ideas?
Now tv time also support track movies. But plugin wasn't updated yet. Any plans to add movie support?
Hello community so in the past there was like when watching tv show it pops up say watching or when finished it says watched tvhshow name and episode
Hello,
Thanks for this add-on, i use it to sync my watched episodes from Kodi to Tv Time.
If i'm right, the add-on doesn't add the TV show to the profile, even when episodes are watched.
Could it be possible ?
Thanks
Using streaming videos on Kodi (Seren).
Any ideas?
Error Type: <type 'exceptions.ZeroDivisionError
Error Contents: float division by zero
Traceback (most recent call last):
File /storage/emulated/0/Android/data/org.xbmc.kodi/files/kodi/addons
actual_percent =(self._last_pos/self._total_time) * 100
Zero DivisionError: float division by zero
Emotions selected after watching an episode does not sync properly to TVtime. The emotions is shown selected on TVtime.com but there's not emotion count and the mobile app shows nothing.
Using 1.2.4 with Kodi 18.6
Hello , any update ?
Hello !
Thank you for your fork of this project.
On the original script and with yours i'm getting "Episode not found" everytime i'm playing something.
The weird thing is that when I force sync Kodi>TVTime, it works perfectly.
I don't know if this can be a problem but i'm using PlexKodiConnect Add-on on Kodi to link it with my Plex database.
Also I'm French so all the title/resume of my episodes are in French.
Also I'm on a Nvidia Shield TV.
Maybe I should link you with the logs ?
I've seen this issue in the #3 but this guy deleted a part of your code that I can't find so I guess you modified it yourself ?
Thanks in advance,
I've installed latest release (v1.2.2) and I'm still receiving the message "episode not found"!
Here's the log from Kodi:
22:47:46.996 T:18446744071669553440 DEBUG: ### [TV Time] - result={u'jsonrpc': u'2.0', u'id': 1, u'result': {u'episodedetails': {u'tvshowid': 5, u'episode': 1, u'season': 12, u'episodeid': 69, u'label': u'The Conjugal Configuration', u'uniqueid': {u'unknown': u''}, u'showtitle': u'The Big Bang Theory'}}}
22:47:46.997 T:18446744071669553440 DEBUG: ### [TV Time] - episode_id=
22:47:46.997 T:18446744071669553440 DEBUG: ### [TV Time] - showtitle=The Big Bang Theory
22:47:46.998 T:18446744071669553440 DEBUG: ### [TV Time] - season=12
22:47:46.998 T:18446744071669553440 DEBUG: ### [TV Time] - episode=1
22:47:46.998 T:18446744071669553440 DEBUG: ### [TV Time] - episode_id=
22:47:47.004 T:18446744071669553440 DEBUG: ### [TV Time] - tvshowtitle=The.Big.Bang.Theory.S12E01
As you can see, the uniqueid for unknown is empty! Do you know why?
Hi, I just upgraded to the lastest version, but there still are some issues related to the python3 conversion. For example when you mark an episode as watched the following error appears
2021-03-19 11:38:20.824 T:10612 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: '>' not supported between instances of 'str' and 'int'
Traceback (most recent call last):
File "C:\Users\Andrea\AppData\Roaming\Kodi\addons\script.tvtime\default.py", line 209, in onNotification
if len(item['showtitle']) > 0 and item['season'] > 0 and item['episode'] > 0 and item['episode_id'] > 0:
TypeError: '>' not supported between instances of 'str' and 'int'
-->End of Python script error report<--
I guess this depends on how the episode_id is stored inside kodi, so this is an easy fix.
But after I fixed that, another one appears
2021-03-19 11:53:11.821 T:16564 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'AttributeError'>
Error Contents: 'bytes' object has no attribute 'encode'
Traceback (most recent call last):
File "C:\Users\Andrea\AppData\Roaming\Kodi\addons\script.tvtime\default.py", line 210, in onNotification
self.filename = '%s.S%.2dE%.2d' % (formatName(item['showtitle']), float(item['season']), float(item['episode']))
File "C:\Users\Andrea\AppData\Roaming\Kodi\addons\script.tvtime\default.py", line 351, in formatName
return normalizeString(filename)
File "C:\Users\Andrea\AppData\Roaming\Kodi\addons\script.tvtime\default.py", line 369, in normalizeString
return unicodedata.normalize('NFKD', str).encode('ascii','ignore').encode('UTF-8','replace')
AttributeError: 'bytes' object has no attribute 'encode'
-->End of Python script error report<--
I know this is a python3 conversion issue, because they changed how strings are represented in python3 as explained here
but I need someone to confirm this issue is reproducible and it's not just a problem on my end. @jupiler5 @the-lazy-fox can one of you two confirm that?
Then I'll look into it and create a pull request
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.