Jump to content

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


Recommended Posts

Posted
On 1/14/2022 at 2:47 PM, quickmic said:

Well, srt's are just text files and copied/cached to Kodi on transcoding. The "ContainerBitrateExceedsLimit" is normal, this is actually a message/report to Emby server why transcoding was initiated. -> content bitrate higher than maximum network speed/bandwidth available.

I assume Emby server limits PGSSUB on low bandwidth? Not sure, I assume PGSSUBs are embedded into video feed or a separate feed? Anyway, it would totally make sense to remove a subtitle stream to save bandwidth for the actual video feed.

But what's odd is that I have to select such a low video quality rate when my connection is really good, I should not have any bandwith issue, it's only happening with emby next-gen in kodi, I am able to stream 4k on emby theater or with emby web player with no issues at all, not a single buffer, even with the plex addon in Kodi I am not having issues, but with emby if I select more than 1 Mbps I am finding that the playback freezes after 5 seconds and if I try to stop it I have to end up killing kodi.

I was testing with other emby versions and I found that the emby addon v.4.1.21 in Kodi Leia 18.9 runs fine with no playback issues.

LichenKing
Posted (edited)
3 hours ago, BaukeZwart said:

I closely monitored real-time progress updates, no issues there.
I have had one issue that Kodi couldn't play any file, I guess E4K lost connection with the server.
A simple Shield reboot fixed it, didn't happen again after that. For now I see that as an isolated incident .
If it happens again I will post the log.

@BaukeZwart This happens to me too. I found it happens when Kodi is running for a long time and I return to my Shield a few days later without playing anything new (I might of paused a previous playback item).

When I try to initialize playback it just fails. Force quitting the App does not fix the problem either from the Android OS on the Shield.

The only thing that works is a complete restart of the OS. My guess a memory leak somewhere with Kodi and the OS as it it seems to be player focused and not addon focused.

Edited by LichenKing
LichenKing
Posted (edited)

A new thing I notice and this might be a Kodi changed behavior with a newer patch.

Playback does start but starts in the background of the Kodi app. You can see the item playing under all the Kodi navigation lists seen through the transparent layers of the GUI interface. The UI no longer navigates to the player directly upon playback. The only way is to back out of any current loaded sub navigation until you are at the parent main view where the player is loaded.

Edited by LichenKing
  • Like 1
quickmic
Posted
13 hours ago, LichenKing said:

A new thing I notice and this might be a Kodi changed behavior with a newer patch.

Playback does start but starts in the background of the Kodi app. You can see the item playing under all the Kodi navigation lists seen through the transparent layers of the GUI interface. The UI no longer navigates to the player directly upon playback. The only way is to back out of any current loaded sub navigation until you are at the parent main view where the player is loaded.

Sounds like it's cause by the audioplayer fix. I removed focus videoplayer on playback. I'll check

quickmic
Posted
14 hours ago, LichenKing said:

A new thing I notice and this might be a Kodi changed behavior with a newer patch.

Playback does start but starts in the background of the Kodi app. You can see the item playing under all the Kodi navigation lists seen through the transparent layers of the GUI interface. The UI no longer navigates to the player directly upon playback. The only way is to back out of any current loaded sub navigation until you are at the parent main view where the player is loaded.

Please try this version and let me know, if this fixes the issue.

 

plugin.video.emby-next-gen-6.2.7-build 3.zip

DiscoDuck79
Posted

@quickmic

I have some questions regarding subtitles. I use 6.26, addon mode and opensubtitles, subs should be stored next to the file on the server.

Scenario - I start playback of a file that has an external srt in my preferred language available next to the mkv on the server.

When I start the playback I get a copy of the external srt downloaded to .kodi/userdata/addon_data/plugin.video.emby-next-gen/temp/ and it's named after its index number amongst the subtitles, e.g. the name can be 12.swe.srt - I don't really understand why it does this.

When I download a subtitle it should be stored next to the file on the server. But I get two local copies

in temp folder: .kodi/temp/embyvideo-b4c3377815e44e1881de0c497a94e8d1-285300-7395acd4ca06094081809dd6e63d5bc5-7395acd4ca06094081809dd6e63d5bc5-10318-974-43130-movie-15121055-1-1-1-1-NAME_OF_FILE.en.srt

and

.kodi/userdata/addon_data/service.subtitles.opensubtitles/temp/1a13680b-8549-454f-bff5-fb2666ecc97e.srt

 

If I stop playback and then start it again, the downloaded subtitle isn't available and I have to search again - but it remains within the paths above. It's also persistent across reboots.

Is it a permission/path issue on my side or is it caused by the plugin?

 

Beside this subtitle issue next-gen is working great for me - after the latest improvements to the sync I haven't experienced a single glitch and the initial sync is so much faster I thought something was broken the first time I did a complete reset :)

 

 

quickmic
Posted
On 1/14/2022 at 6:44 AM, LichenKing said:

This is still broken in the 6.2.6 beta.

Show Simplified Menu as the selected option for Disc playback will completely crash Kodi after Multi-select source.

Crash or don't play?

quickmic
Posted
26 minutes ago, DiscoDuck79 said:

@quickmic

I have some questions regarding subtitles. I use 6.26, addon mode and opensubtitles, subs should be stored next to the file on the server.

Scenario - I start playback of a file that has an external srt in my preferred language available next to the mkv on the server.

When I start the playback I get a copy of the external srt downloaded to .kodi/userdata/addon_data/plugin.video.emby-next-gen/temp/ and it's named after its index number amongst the subtitles, e.g. the name can be 12.swe.srt - I don't really understand why it does this.

When I download a subtitle it should be stored next to the file on the server. But I get two local copies

in temp folder: .kodi/temp/embyvideo-b4c3377815e44e1881de0c497a94e8d1-285300-7395acd4ca06094081809dd6e63d5bc5-7395acd4ca06094081809dd6e63d5bc5-10318-974-43130-movie-15121055-1-1-1-1-NAME_OF_FILE.en.srt

and

.kodi/userdata/addon_data/service.subtitles.opensubtitles/temp/1a13680b-8549-454f-bff5-fb2666ecc97e.srt

 

If I stop playback and then start it again, the downloaded subtitle isn't available and I have to search again - but it remains within the paths above. It's also persistent across reboots.

Is it a permission/path issue on my side or is it caused by the plugin?

 

Beside this subtitle issue next-gen is working great for me - after the latest improvements to the sync I haven't experienced a single glitch and the initial sync is so much faster I thought something was broken the first time I did a complete reset :)

 

 

Addon mode doesn't use native paths. Therefore subtitles cannot be loaded to the actual content path and uses temp paths. Probably possible in native mode.

Seems what you request is actually adding data to emby server. Maybe possible but not in next betas/stable. In general I'm not convinced about such an approach. The plugin is for playpack. It takes the data from Emby server and not manipulating Embys database/content.

There is one exception, deleting content and this has historical reasons. I would never add such a function if it was up to me.

 

 

 

DiscoDuck79
Posted
54 minutes ago, quickmic said:

Addon mode doesn't use native paths. Therefore subtitles cannot be loaded to the actual content path and uses temp paths. Probably possible in native mode.

Seems what you request is actually adding data to emby server. Maybe possible but not in next betas/stable. In general I'm not convinced about such an approach. The plugin is for playpack. It takes the data from Emby server and not manipulating Embys database/content.

There is one exception, deleting content and this has historical reasons. I would never add such a function if it was up to me.

 

 

 

Thanks for confirming it, user case is mainly for convenience if I've missed to dl a subtitle with Bazarr, fully agree on your approach stability > very specific user case.

DiscoDuck79
Posted (edited)

If I restart my Emby server I get the following error on the client when it tries to sync new content and the sync fails.

Spoiler
2022-01-17 07:21:19.492 T:12755   ERROR <general>: Exception in thread
2022-01-17 07:21:19.492 T:12755   ERROR <general>: Thread-5
2022-01-17 07:21:19.492 T:12755   ERROR <general>: :

2022-01-17 07:21:19.492 T:12755   ERROR <general>: Traceback (most recent call last):

2022-01-17 07:21:19.493 T:12755   ERROR <general>:   File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner

2022-01-17 07:21:19.493 T:12755   ERROR <general>:   File "/storage/.kodi/addons/plugin.video.emby-next-gen/hooks/websocket.py", line 59, in run

2022-01-17 07:21:19.502 T:12755   ERROR <general>:
2022-01-17 07:21:19.502 T:12755   ERROR <general>: data = self.recv()
2022-01-17 07:21:19.502 T:12755   ERROR <general>:

2022-01-17 07:21:19.502 T:12755   ERROR <general>:   File "/storage/.kodi/addons/plugin.video.emby-next-gen/hooks/websocket.py", line 244, in recv

2022-01-17 07:21:19.502 T:12755   ERROR <general>:
2022-01-17 07:21:19.502 T:12755   ERROR <general>: self._frame_header = self._recv_strict(2)
2022-01-17 07:21:19.502 T:12755   ERROR <general>:

2022-01-17 07:21:19.503 T:12755   ERROR <general>:   File "/storage/.kodi/addons/plugin.video.emby-next-gen/hooks/websocket.py", line 322, in _recv_strict

2022-01-17 07:21:19.503 T:12755   ERROR <general>:
2022-01-17 07:21:19.503 T:12755   ERROR <general>: self._recv_buffer.append(bytesData)
2022-01-17 07:21:19.503 T:12755   ERROR <general>:

2022-01-17 07:21:19.503 T:12755   ERROR <general>: MemoryError
2022-01-17 07:21:19.503 T:12755   ERROR <general>:
2022-01-17 07:21:19.503 T:12755   ERROR <general>:

 

 

Edited by DiscoDuck79
  • Like 1
quickmic
Posted
8 minutes ago, DiscoDuck79 said:

If I restart my Emby server I get the following error on the client when it tries to sync new content and the sync fails.

  Hide contents
2022-01-17 07:21:19.492 T:12755   ERROR <general>: Exception in thread
2022-01-17 07:21:19.492 T:12755   ERROR <general>: Thread-5
2022-01-17 07:21:19.492 T:12755   ERROR <general>: :

2022-01-17 07:21:19.492 T:12755   ERROR <general>: Traceback (most recent call last):

2022-01-17 07:21:19.493 T:12755   ERROR <general>:   File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner

2022-01-17 07:21:19.493 T:12755   ERROR <general>:   File "/storage/.kodi/addons/plugin.video.emby-next-gen/hooks/websocket.py", line 59, in run

2022-01-17 07:21:19.502 T:12755   ERROR <general>:
2022-01-17 07:21:19.502 T:12755   ERROR <general>: data = self.recv()
2022-01-17 07:21:19.502 T:12755   ERROR <general>:

2022-01-17 07:21:19.502 T:12755   ERROR <general>:   File "/storage/.kodi/addons/plugin.video.emby-next-gen/hooks/websocket.py", line 244, in recv

2022-01-17 07:21:19.502 T:12755   ERROR <general>:
2022-01-17 07:21:19.502 T:12755   ERROR <general>: self._frame_header = self._recv_strict(2)
2022-01-17 07:21:19.502 T:12755   ERROR <general>:

2022-01-17 07:21:19.503 T:12755   ERROR <general>:   File "/storage/.kodi/addons/plugin.video.emby-next-gen/hooks/websocket.py", line 322, in _recv_strict

2022-01-17 07:21:19.503 T:12755   ERROR <general>:
2022-01-17 07:21:19.503 T:12755   ERROR <general>: self._recv_buffer.append(bytesData)
2022-01-17 07:21:19.503 T:12755   ERROR <general>:

2022-01-17 07:21:19.503 T:12755   ERROR <general>: MemoryError
2022-01-17 07:21:19.503 T:12755   ERROR <general>:
2022-01-17 07:21:19.503 T:12755   ERROR <general>:

 

 

Will check

Posted

anyone else having some songs not show up from emby??

LichenKing
Posted
On 1/16/2022 at 3:30 AM, quickmic said:

Crash or don't play?

Full Kodi crash back to nVidia Shield home screen.

My suspicion is Kodi is trying to call the Simplified Menu bluray popup however it is unallocated / destroyed.

Several earlier builds this is not an issue so it is something that was introduced in the addon.

quickmic
Posted
10 hours ago, LichenKing said:

Full Kodi crash back to nVidia Shield home screen.

My suspicion is Kodi is trying to call the Simplified Menu bluray popup however it is unallocated / destroyed.

Several earlier builds this is not an issue so it is something that was introduced in the addon.

Please send me a log file. I tried, no crash in my setup. Which skin?

Posted

Hi, muß leider in deutsch fragen, auch wenn nicht erwünscht. Kannst mir in Englisch antworten..

Kodi neu eingerichtet, und Version .26 installiert. Es werden mir plötzlich nicht existierende Filme angezeigt! Der Server von Emby ist aber korrekt! Das Problem habe ich an drei Clients mit Kodi 19.3! 

quickmic
Posted
14 minutes ago, Home2008 said:

Hi, muß leider in deutsch fragen, auch wenn nicht erwünscht. Kannst mir in Englisch antworten..

Kodi neu eingerichtet, und Version .26 installiert. Es werden mir plötzlich nicht existierende Filme angezeigt! Der Server von Emby ist aber korrekt! Das Problem habe ich an drei Clients mit Kodi 19.3! 

Without further information, impossible to say what's wrong. The non existent content must have a reason, the plugin does not randomly add content 😉

Probably old content not removed? Or was it added after startup sync. Dozens reasons possible.

Posted

The phenomenon only occurred after the update from version .25 to .26. Before that, everything was fine. Since these films cannot be found on the server, how can I find out if only the names are wrong. I can't play them either because they are not available.

quickmic
Posted
12 minutes ago, Home2008 said:

The phenomenon only occurred after the update from version .25 to .26. Before that, everything was fine. Since these films cannot be found on the server, how can I find out if only the names are wrong. I can't play them either because they are not available.

Shouldn't be an issue with 6.2.6. No (major) sync changes were applied. I assume it has something todo with Kodi restart/plugin reconnect.

Anyway, not possible to to debug without a proper test case. Even if you know what kind of content was added, dozens of reasons possible.

Can you force the issue?

Posted

Already uninstalled the addon, set it up again. What I have just discovered: My TV recordings from the SAT receiver are in Emby, although I have not added this folder. I have now removed it from the Emby server and re-imported the library. The recordings are still there in Kodi, but not on the server. Should I delete the local DB?

Posted

Deleting the data helped, now everything is back to normal. I just wonder: How did the recording area get added there? Via the PVR add-on?

quickmic
Posted
Just now, Home2008 said:

Deleting the data helped, now everything is back to normal. I just wonder: How did the recording area get added there? Via the PVR add-on?

Sync recording option is implemented in plugin for long time. Library selection (sync selection) will not change due plugin update. Have you reset the database and probably selected all?

Maybe in the past you selected individual libs?

SwanStream
Posted

New crashes I'm afraid.

New situation too... I'm using a VPN at certain times to see certain content. However the VPN software sometimes takes a dump and blocks local assets, like my Emby box and library files. I suspect that is related for at least one of the crashes I've seen. I'll PM the logs/crash logs/traces.

Thanks again for the support mate.

  • Thanks 1
quickmic
Posted

6.2.6 is pushed to Emby Kodi's beta repo

quickmic
Posted

6.2.6 seems quite stable.

All reported issues are edge cases. I'll try to cover them in next versions.

I leave it in Emby's Kodi beta repo for 1 or 2 weeks and publish it as stable soon.

 

Roadmap 7.X:

DROP Kodi 18 support!

Focus on Music sync improvements

Edge case bugfixes

 

  • Like 1
quickmic
Posted (edited)
On 1/20/2022 at 5:49 PM, SwanStream said:

New crashes I'm afraid.

New situation too... I'm using a VPN at certain times to see certain content. However the VPN software sometimes takes a dump and blocks local assets, like my Emby box and library files. I suspect that is related for at least one of the crashes I've seen. I'll PM the logs/crash logs/traces.

Thanks again for the support mate.

Thanks for the logs but I haven't found any issues 🥴

I'll continue tests but VPN issues are not easy to tackle.

 

Edited by quickmic

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