Jump to content

EmbyCon For Kodi 20


Nastream

Recommended Posts

Nastream

Thank you TeamB for the update

I still have crashes on android but I think it comes from kodi 20 and not the addon,

I also have a lot of error on windows
example :

 

 

2023-01-23 21:34:21.203 T:6136    error <general>: Control 502 in window 10025 has been asked to focus, but it can't
2023-01-23 21:34:21.209 T:19596   error <general>: CImageLoader::DoWork - Direct texture file loading failed for resource://resource.images.weathericons.white/26.png
2023-01-23 21:34:24.103 T:13084 warning <general>: Skin Helper Service --> Exception details: Type: TypeError Value: string indices must be integers Traceback: Traceback (most recent call last):
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.skin.helper.service\resources\lib\listitem_monitor.py", line 375, in set_listitem_details
                                                       details, self.metadatautils.get_tvdb_details(
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.simplecache\lib\simplecache.py", line 304, in decorated
                                                       result = func(*args, **kwargs)
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.metadatautils\lib\metadatautils.py", line 274, in get_tvdb_details
                                                       result = self.thetvdb.get_series_by_imdb_id(imdbid)
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.simplecache\lib\simplecache.py", line 304, in decorated
                                                       result = func(*args, **kwargs)
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib\thetvdb.py", line 172, in get_series_by_imdb_id
                                                       return self.get_series(items[0]["id"])
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.simplecache\lib\simplecache.py", line 304, in decorated
                                                       result = func(*args, **kwargs)
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib\thetvdb.py", line 165, in get_series
                                                       return self._map_series_data(seriesinfo)
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib\thetvdb.py", line 546, in _map_series_data
                                                       result["cast.%s.tvdbname" % count] = item["name"]
                                                   TypeError: string indices must be integers
                                                   
2023-01-23 21:34:24.103 T:13084   error <general>: Skin Helper Service --> Exception in resources.lib.listitem_monitor ! --> string indices must be integers
2023-01-23 21:35:14.909 T:12364   error <general>: CImageLoader::DoWork - Direct texture file loading failed for resource://resource.images.weathericons.white/26.png
2023-01-23 21:35:18.860 T:6136     info <general>: Skipped 1 duplicate messages..
2023-01-23 21:35:18.860 T:6136    error <general>: Control 512 in window 10025 has been asked to focus, but it can't
2023-01-23 21:35:23.206 T:4072     info <general>: EmbyCon.resources.lib.functions|INFO|Sending embycon_play_action : {'action': 'play', 'item_id': '2759744', 'auto_resume': '-1', 'force_transcode': False, 'media_source_id': '', 'subtitle_stream_index': None, 'audio_stream_index': None}
2023-01-23 21:35:23.262 T:12596    info <general>: EmbyCon.resources.lib.play_utils|INFO|Received embycon_play_action : {'action': 'play', 'item_id': '2759744', 'auto_resume': '-1', 'force_transcode': False, 'media_source_id': '', 'subtitle_stream_index': None, 'audio_stream_index': None}
2023-01-23 21:35:25.268 T:12596    info <general>: EmbyCon.resources.lib.play_utils|INFO|Play URL: http://***=subrip Playback Type: 1 ListItem Properties: []
2023-01-23 21:35:25.478 T:6136     info <general>: VideoPlayer::OpenFile: http://***Static=true&PlaySessionId=ac7937b39fd34a738a324e074e8aad98&api_key=c2e0&SubtitleCodec=subrip
2023-01-23 21:35:25.478 T:11028    info <general>: Creating InputStream
2023-01-23 21:35:25.605 T:11028    info <general>: Creating Demuxer
2023-01-23 21:35:25.633 T:6136     info <general>: Loading skin file: C:\Users\Home\AppData\Roaming\Kodi\addons\plugin.video.embycon\resources\skins\default\720p\PlayNextDialog.xml, load type: LOAD_ON_GUI_INIT
2023-01-23 21:35:25.735 T:19224   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: unsupported operand type(s) for /: 'NoneType' and 'float'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\plugin.video.embycon\resources\lib\playnext.py", line 143, in onInit
                                                       duration = (runtime_ticks / 10000000.0) / 60.0 # convert ticks to minutes
                                                   TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
                                                   -->End of Python script error report<--

Link to comment
Share on other sites

TeamB
59 minutes ago, Nastream said:

2023-01-23 21:35:25.735 T:19224   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: unsupported operand type(s) for /: 'NoneType' and 'float'
                                                   Traceback (most recent call last):
                                                     File "C:\Users\Home\AppData\Roaming\Kodi\addons\plugin.video.embycon\resources\lib\playnext.py", line 143, in onInit
                                                       duration = (runtime_ticks / 10000000.0) / 60.0 # convert ticks to minutes
                                                   TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'
                                                   -->End of Python script error report<--

This error is weird, I can not reproduce it locally. I think this is due to incomplete data being returned from the server. What Emby Server version are you running?

I have added some extra dubug logging to the latest version EmbyCon 1.11.3

Turn OFF Kodi Debug logging
Turn ON EmbyCon Debug Logging (under the advanced tab in the EmbyCon add-on settings)
Restart Kodi
Reproduce the issue and PM me the Kodi Log.

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
Nastream
problem solved with this version: https://mirrors.kodi.tv/nightlies/android/arm64-v8a/Nexus/kodi-20230301-22153da8-Nexus-arm64-v8a.apk

 

I noticed a bug on the tv series, the "Seen" tick is activated on all series on android ( Ok windows ) 

Ok for movies.

Thanks

 

 

 

 

Link to comment
Share on other sites

TeamB
7 hours ago, Nastream said:
problem solved with this version: https://mirrors.kodi.tv/nightlies/android/arm64-v8a/Nexus/kodi-20230301-22153da8-Nexus-arm64-v8a.apk

 

I noticed a bug on the tv series, the "Seen" tick is activated on all series on android ( Ok windows ) 

Ok for movies.

Thanks

 

 

 

 

unfortunately I dont have an android client to test on so can not reproduce this.

what happens if you use a different skin?

Link to comment
Share on other sites

Nastream
I just checked with another skin and I don't have the problem

it's the aura mod skin that is the problem
Link to comment
Share on other sites

Nastream
I just did some tests,

in version: 1.10.31 it's OK


in version 1.11.8 all series are in View mode :

 

Captureko.thumb.PNG.1dc1992c2fb9f81a155de52b4fb1b7b6.PNG

 

 

CaptureOK.PNG

Edited by Nastream
Link to comment
Share on other sites

TeamB

@Nastream

I can not find the "aura mod" skin in the Kodi repo, is it in the official kodi repo?

Are the above screen shots both from Kodi 20?

Link to comment
Share on other sites

TeamB
3 hours ago, Nastream said:
Skin Aura mod 1.1.9 https://github.com/SerpentDrago/skin.auramod/releases/tag/v1.1.9

Yes both screen are in Kodi 20

the file causing the "problem" is: item_functions.py

un comment this line in the item_functions.py file, restart Kodi and see what if that fixes it

item_properties["UnWatchedEpisodes"] = str(item_details.unwatched_episodes)

 

 

Edited by TeamB
Link to comment
Share on other sites

TeamB
5 hours ago, Nastream said:
perfect @TeamB it works very well !

Thank you!

I hope it will be included in the new version

yes this fix will be in the next release in a day or so

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
degrashopp

I have the same problem. using kodi on a google tv. Trying to figure out what was wrong with kodi I did a clean install and at first it was working again. But after updating embycon from 1.10.34 to 1.11.10 it was broken again. I get the same errors as mentioned above. On version 1.10.34 all my libraries work fine. The strange thing is that after updating to 1.11.34,  2 of the 3 libraries are working. without issue. 1 library is broken after updating the addon. All settings look the same for this library compared to the other 2. The 2 that work are a series library and a movie library. the one that is not working is a movie library. 

Link to comment
Share on other sites

TeamB
2 hours ago, degrashopp said:

I have the same problem. using kodi on a google tv. Trying to figure out what was wrong with kodi I did a clean install and at first it was working again. But after updating embycon from 1.10.34 to 1.11.10 it was broken again. I get the same errors as mentioned above. On version 1.10.34 all my libraries work fine. The strange thing is that after updating to 1.11.34,  2 of the 3 libraries are working. without issue. 1 library is broken after updating the addon. All settings look the same for this library compared to the other 2. The 2 that work are a series library and a movie library. the one that is not working is a movie library. 

1.10.x is for kodi 19

1.11.x is for kodi 20

what version of kodi are you using?

i will need a kodi log to investigate any errors.

 

Edited by TeamB
Link to comment
Share on other sites

degrashopp
16 hours ago, TeamB said:

1.10.x is for kodi 19

1.11.x is for kodi 20

what version of kodi are you using?

i will need a kodi log to investigate any errors.

I'm using kodi 20.1 (latest). I know 1.10.x is for 19 but that one works. I will try to provide some logging soon.

Edited by degrashopp
Link to comment
Share on other sites

TeamB
9 hours ago, degrashopp said:

ok yeah I think I know what is happening here.

are you able to turn off Kodi Debug logging and turn on EmbyCon Debug logging (in the EmbyCon addon setting), reproduce PM me the log, this will help a little more and gove me some more contect as to what caused the error.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...