Jump to content

embyforkodi (next-gen) 11.X.X support


Recommended Posts

quickmic
Posted

New BETA version available 11.1.24:

Delta changelog 11.1.23 -> 11.1.24

fix minor http communication issue
increase http timeouts to 20 minutes -> Emby MusicAlbum queries are very slow

Posted

Will Emby for Kodi next gen ever support multiple trailers playback 

quickmic
Posted
3 minutes ago, Kyrunner said:

Will Emby for Kodi next gen ever support multiple trailers playback 

What do you mean?

Posted
Just now, quickmic said:

What do you mean?

I have a folder with multiple trailers the last time I checked Kodi would only playback one trailer and not the rest 

quickmic
Posted (edited)
4 minutes ago, Kyrunner said:

I have a folder with multiple trailers the last time I checked Kodi would only playback one trailer and not the rest 

Do you mean cinema mode intro support? If yes, you must configure in on Emby server. Multiple intros are supported since ever 😉

Edited by quickmic
Posted
1 minute ago, quickmic said:

Do you mean cinema intro support? If yes, you must configure in on Emby server. Multiple intros are supported since ever 😉

I mean if I click on play trailer button will Emby For Kodi playback all the trailers I have in the folder or just one. I’m only talking about the trailer button 

quickmic
Posted
16 minutes ago, Kyrunner said:

I mean if I click on play trailer button will Emby For Kodi playback all the trailers I have in the folder or just one. I’m only talking about the trailer button 

Kodi only supports one trailer and the plugin uses Kodi's functionality. So the question is, will Kodi ever support more than one trailer.

Posted

I have to day thank you for all your work! and happy weekend!

I have not one issue for at least 6 months your addon is so good!! 

  • Like 1
  • Thanks 1
Posted
5 hours ago, quickmic said:

The log looks more or less clean. Meanwhile I also tested in native mode and still no issue. I see, you have embycon installed. Please disable it and test again (no need to uninstall it). Maybe they interfere each other.

Also try to disable embuary helper plugin (if possible).

I tried disabling both of them, and no change. I decided to wipe my library and install 10.0.47. Surprisingly, I'm seeing the same issue. So looks like you were right, and there is absolutely something else going on here. Something must have gotten corrupted somewhere. I'll have to restore from a known-working backup and cross my fingers. Thank you for your help in troubleshooting this.

  • Like 1
Posted (edited)

Hi quickmic. I'm trying to test out Kodi on my new Apple TV along with the Emby plugin.

It works fine but if I go to the home screen of the Apple TV, and return to the still running Emby app, it will, most of the time, show the "welcome to Emby" notification, despite the app supposedly not being closed, and when I try to start playback, it fails.

I'm unsure but this might be the part of the log where it fails:

2025-02-23 03:40:15.002 T:642408    info <general>: EMBY.emby.emby: Reconnect try again: serverurl.com / 956ede51178e4a9b9a5f2dcc56f8a335
2025-02-23 03:40:15.003 T:642408   error <general>: EMBY.emby.http: Socket IO MAIN: (b'GET /Sessions?DeviceId=fb5362dd-d20f-4a2b-a22e-42861268d36d HTTP/1.1\r\nHost: media.serverurl.com:443\r\nContent-type: application/json; charset=utf-8\r\nAccept-Charset: utf-8\r\nAccept-encoding: gzip\r\nUser-Agent: Emby for Kodi Next Gen/11.1.24\r\nConnection: keep-alive\r\nAuthorization: Emby Client="Emby for Kodi Next Gen", Device="Kodi%20%28localhost%29", DeviceId="fb5362dd-d20f-4a2b-a22e-42861268d36d", Version="11.1.24", Emby UserId="7ae567b1a482485587d7586fd3f1ffe8"\r\nX-Emby-Token: e1f557b0bce44160accf09903e93db2b\r\nContent-Length: 0\r\n\r\n'): Undefined error EOF occurred in violation of protocol (_ssl.c:2406) / Type: <class 'ssl.SSLEOFError'>
2025-02-23 03:40:15.003 T:642408   error <general>: EMBY.emby.http: Connection is closed 699 / MAIN / Sessions / {'DeviceId': 'fb5362dd-d20f-4a2b-a22e-42861268d36d'}
2025-02-23 03:40:15.004 T:642408   error <general>: EMBY.emby.emby: ---[ SESSION ERROR EMBYCLIENT: 956ede51178e4a9b9a5f2dcc56f8a335 ] {} ---
2025-02-23 03:40:15.004 T:642408    info <general>: EMBY.emby.emby: --->[ STOP EMBYCLIENT: 956ede51178e4a9b9a5f2dcc56f8a335 ]---
2025-02-23 03:40:15.004 T:642408   debug <general>: EMBY.emby.emby: Emby client already closed
2025-02-23 03:40:15.004 T:642408    info <general>: EMBY.emby.emby: ---<[ STOP EMBYCLIENT: 956ede51178e4a9b9a5f2dcc56f8a335 ]---

If I close the app and start it again, the issue disappears. 

Do you have any idea what I can try?

EDIT: Hmm, seems like network connectivity in the Kodi app is lost the minute its 'exited'. Which would explain it, partly. I just don't get why the playback fails even though the welcome notification pops up.

Edited by Kocane
quickmic
Posted
2 hours ago, Kocane said:

EDIT: Hmm, seems like network connectivity in the Kodi app is lost the minute its 'exited'. Which would explain it, partly. I just don't get why the playback fails even though the welcome notification pops up.

Yep, the app enters sleep mode. You could disable the welcome msg if it bothers you.

btw, Android should behave the same way.

Posted
3 hours ago, quickmic said:

Yep, the app enters sleep mode. You could disable the welcome msg if it bothers you.

btw, Android should behave the same way.

Hm yes, but how come the connection (and playback) begins to fail? Other apps (e.g. tvheadend) also connecting to the same server still works.

quickmic
Posted
1 hour ago, Kocane said:

Hm yes, but how come the connection (and playback) begins to fail? Other apps (e.g. tvheadend) also connecting to the same server still works.

Please send me the full log in debug mode

Posted
21 minutes ago, quickmic said:

Please send me the full log in debug mode

Alright, I send a PM.

  • Like 1
quickmic
Posted
20 minutes ago, Kocane said:

Alright, I send a PM.

I send you a test version

Posted

I have restored from backup, and upgraded to current version of v11. I'm having only 1 issue now with STRM files. They don't seem to be opening at all. Literally nothing seems to happen when I try to open one. The STRM files all call the youtube extension, which is working just fine. I am able to play videos with the youtube extension, and push youtube videos to Kodi with Yatse. Any ideas?

quickmic
Posted
6 minutes ago, nuentes said:

I have restored from backup, and upgraded to current version of v11. I'm having only 1 issue now with STRM files. They don't seem to be opening at all. Literally nothing seems to happen when I try to open one. The STRM files all call the youtube extension, which is working just fine. I am able to play videos with the youtube extension, and push youtube videos to Kodi with Yatse. Any ideas?

please send me one of the strm files for review, thanks.

quickmic
Posted (edited)
54 minutes ago, nuentes said:

The STRM files all call the youtube extension, which is working just fine.

How do you know that? I tested with your file and the youtube plugin reported video unavailable and crashed.

Edited by quickmic
Posted
7 minutes ago, quickmic said:

How do you know that? I tested with your file and the youtube plugin reported video unavailable and crashed.

Yes. I played several Youtube videos yesterday with the extension. Last time we discussed this, we discovered that you were sanitizing STRM urls, and dropping them to lowercase. But Youtube URLs are case sensitive.

quickmic
Posted
1 minute ago, nuentes said:

Yes. I played several Youtube videos yesterday with the extension. Last time we discussed this, we discovered that you were sanitizing STRM urls, and dropping them to lowercase. But Youtube URLs are case sensitive.

I remember that, but urls are fine and on my setup it seems a youtube plugin bug

2025-02-24 18:08:01.958 T:58       info <general>: [plugin.video.youtube] Running: YouTube (7.0.3.2+matrix.1) on Omega (Kodi-21.2) with Python 3.12.8
                                                   Path: /play/
                                                   Params: {'video_id': 'vrYlG2OVIKc'}
2025-02-24 18:08:02.345 T:58      error <general>: [plugin.video.youtube] Request failed
                                                   Status: 400 - Bad Request
                                                   Stack trace (most recent call last):
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/plugin.py", line 17, in <module>
                                                       plugin_runner.run(youtube.Provider())
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 60, in run
                                                       __PLUGIN__.run(provider, context)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 63, in run
                                                       results = provider.navigate(context)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 112, in navigate
                                                       result = method(context, re_match)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 289, in wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 656, in on_play
                                                       return yt_play.play_video(self, context)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 48, in play_video
                                                       video_streams = client.get_video_streams(context, video_id)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 213, in get_video_streams
                                                       video_streams = video_info.load_stream_infos(video_id)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 656, in load_stream_infos
                                                       return self._get_video_info()
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 1029, in _get_video_info
                                                       result = self.request(
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/network/requests.py", line 118, in request
                                                       stack_trace = format_stack()
                                                   

The id is absolutely correct.

Posted
47 minutes ago, quickmic said:

I remember that, but urls are fine and on my setup it seems a youtube plugin bug

2025-02-24 18:08:01.958 T:58       info <general>: [plugin.video.youtube] Running: YouTube (7.0.3.2+matrix.1) on Omega (Kodi-21.2) with Python 3.12.8
                                                   Path: /play/
                                                   Params: {'video_id': 'vrYlG2OVIKc'}
2025-02-24 18:08:02.345 T:58      error <general>: [plugin.video.youtube] Request failed
                                                   Status: 400 - Bad Request
                                                   Stack trace (most recent call last):
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/plugin.py", line 17, in <module>
                                                       plugin_runner.run(youtube.Provider())
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 60, in run
                                                       __PLUGIN__.run(provider, context)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 63, in run
                                                       results = provider.navigate(context)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 112, in navigate
                                                       result = method(context, re_match)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 289, in wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 656, in on_play
                                                       return yt_play.play_video(self, context)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 48, in play_video
                                                       video_streams = client.get_video_streams(context, video_id)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 213, in get_video_streams
                                                       video_streams = video_info.load_stream_infos(video_id)
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 656, in load_stream_infos
                                                       return self._get_video_info()
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 1029, in _get_video_info
                                                       result = self.request(
                                                     File "/home/quickmic/.var/app/tv.kodi.Kodi/data/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/network/requests.py", line 118, in request
                                                       stack_trace = format_stack()
                                                   

The id is absolutely correct.

That's a very old and very broken version of the Youtube plugin. That version won't play anything any more.

Here's my log:

2025-02-24 12:51:32.512 T:13333    info <general>: EMBY.hooks.player: [ onPlay ]
2025-02-24 12:51:32.599 T:13094   error <general>: CCurlFile::CReadState::FillBuffer - (0xaa4c27e0) Failed: HTTP returned code 500
2025-02-24 12:51:32.599 T:13094   error <general>: CCurlFile::Open - <http://127.0.0.1:57342/tvshows/1a3a5fddeb46403892eae83cae556c5e/14/187498/245343/e-4782-6248--30322D313520546865204265737420486F6D656D6164652042726561643A303A31623266346332643963303234323362383738636436393066313162613032303A5C5C6F6D765C3254425F315C436F6D706C657465645C596F75747562655C4A6F736875612057656973736D616E5C323032355C323032352D30322D313520546865204265737420486F6D656D6164652042726561642E7374726D3A303A303A303A303C3C3C3C3C3C/2025-02-15%20The%20Best%20Homemade%20Bread.strm> Failed with code 500:
                                                   
2025-02-24 12:51:32.604 T:13094   error <general>: Playlist Player: skipping unplayable item: 0, path [/emby_addon_mode/tvshows/1a3a5fddeb46403892eae83cae556c5e/14/187498/245343/e-4782-6248--30322D313520546865204265737420486F6D656D6164652042726561643A303A31623266346332643963303234323362383738636436393066313162613032303A5C5C6F6D765C3254425F315C436F6D706C657465645C596F75747562655C4A6F736875612057656973736D616E5C323032355C323032352D30322D313520546865204265737420486F6D656D6164652042726561642E7374726D3A303A303A303A303C3C3C3C3C3C/2025-02-15 The Best Homemade Bread.strm]

These HTTP 500 errors don't seem to be related you Youtube. Am I right?

quickmic
Posted (edited)
7 minutes ago, nuentes said:

That's a very old and very broken version of the Youtube plugin. That version won't play anything any more.

Here's my log:

2025-02-24 12:51:32.512 T:13333    info <general>: EMBY.hooks.player: [ onPlay ]
2025-02-24 12:51:32.599 T:13094   error <general>: CCurlFile::CReadState::FillBuffer - (0xaa4c27e0) Failed: HTTP returned code 500
2025-02-24 12:51:32.599 T:13094   error <general>: CCurlFile::Open - <http://127.0.0.1:57342/tvshows/1a3a5fddeb46403892eae83cae556c5e/14/187498/245343/e-4782-6248--30322D313520546865204265737420486F6D656D6164652042726561643A303A31623266346332643963303234323362383738636436393066313162613032303A5C5C6F6D765C3254425F315C436F6D706C657465645C596F75747562655C4A6F736875612057656973736D616E5C323032355C323032352D30322D313520546865204265737420486F6D656D6164652042726561642E7374726D3A303A303A303A303C3C3C3C3C3C/2025-02-15%20The%20Best%20Homemade%20Bread.strm> Failed with code 500:
                                                   
2025-02-24 12:51:32.604 T:13094   error <general>: Playlist Player: skipping unplayable item: 0, path [/emby_addon_mode/tvshows/1a3a5fddeb46403892eae83cae556c5e/14/187498/245343/e-4782-6248--30322D313520546865204265737420486F6D656D6164652042726561643A303A31623266346332643963303234323362383738636436393066313162613032303A5C5C6F6D765C3254425F315C436F6D706C657465645C596F75747562655C4A6F736875612057656973736D616E5C323032355C323032352D30322D313520546865204265737420486F6D656D6164652042726561642E7374726D3A303A303A303A303C3C3C3C3C3C/2025-02-15 The Best Homemade Bread.strm]

These HTTP 500 errors don't seem to be related you Youtube. Am I right?

Could be related to native mode, I tested addon. I'll check, but in the end I think the youtube plugin will also crash in native mode.

You use native mode right? btw any reason for using native mode? As mentioned many times, native mode is very little tested by myself ad I don't recommend it as there are only absolute edge cases which requires this mode. I doubt you really need it.

Anyway, I'll test it.

Edited by quickmic
quickmic
Posted (edited)

Same youtube problem in native mode. Path is correct on my setup. I will check TVShows...

Edited by quickmic
Posted
7 minutes ago, quickmic said:

Could be related to native mode, I tested addon. I'll check, but in the end I think the youtube plugin will also crash in native mode.

You use native mode right? btw any reason for using native mode? As mentioned many times, native mode is very little tested by myself ad I don't recommend it as there are only absolute edge cases which requires this mode. I doubt you really need it.

Anyway, I'll test it.

I don't think I have a specific reason why I use Native at this point. It's just what I've always done, I suppose. If anything, it would because I want to ensure all of my media is stored in a way that is playable directly by Kodi. If it's not playable, I want to know, rather than transcode.

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...