Jump to content

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


quickmic

Recommended Posts

quickmic
4 minutes ago, Andy2k said:

@quickmic

You plan to backport the 8.1.0 changes to the 7.x.x  branche?

Depends, if there are major changes required for compatibility >=.19 then no.

Otherwise yes. 7.X should only get minor changes cause it's the stable version.

Also 8.X is far more developed, but not as good tested as 7.X

 

Edited by quickmic
Link to comment
Share on other sites

djhifi
1 hour ago, quickmic said:

Depends, if there are major changes required for compatibility >=.19 then no.

Otherwise yes. 7.X should only get minor changes cause it's the stable version.

Also 8.X is far more developed, but not as good tested as 7.X

 

Migrating from 7.X to 8.X only takes a database reset, correct?

Thinking about making the plunge, it's time to move on from 7X versions.

Edited by djhifi
Link to comment
Share on other sites

Glyde62

Still having this problem I posted about last yearI can't be only one having this problem..

 

Not sure if this is a embyforkodi next-gen problem or Kodi problem

Recently a lot of the time when playing files from my Nas it freezes shortly after starting play.

video freezes and busy icon spins and can't resume it playing 

Freezes happen in same spot no matter how many times I try playing it

The files play fine in Emby though 

 

 

 

 

 

 

Edited by Glyde62
Link to comment
Share on other sites

3 hours ago, Glyde62 said:

Still having this problem I posted about last yearI can't be only one having this problem..

 

Not sure if this is a embyforkodi next-gen problem or Kodi problem

Recently a lot of the time when playing files from my Nas it freezes shortly after starting play.

video freezes and busy icon spins and can't resume it playing 

Freezes happen in same spot no matter how many times I try playing it

The files play fine in Emby though 

 

 

 

 

 

 

 

Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!

 

Link to comment
Share on other sites

quickmic

I pushed this version into Emby's Kodi stable repo.

no support for Emby Server beta version >= 4.8.0.28 -> use embyforkodi 8.X

Link to comment
Share on other sites

LongMan

@quickmic What is the expected benefit of changing from version 6 to 7? What's your opinion of the upgrade experience?
I ask this because my wife told me that there is a message on the TV. I checked and saw your upgrade warning. I didn't have the time to do it so i chose no. Nothing plays. The instruction was to downgrade,  I check the repo only version 7 is there.

  • Is the expectation that I will download version and install from the zip file?
  • If I am away from home, how will my wife be able to watch her shows?
  • Why upgrade and then force a manual downgrade?
  • What is the benefit to upgrading for my wife that justifies the inconvenience.
Edited by LongMan
Link to comment
Share on other sites

quickmic
5 minutes ago, LongMan said:

@quickmic What is the expected benefit of changing from version 6 to 7? What's your opinion of the upgrade experience?
I ask this because my wife told me that there is a message on the TV. I checked and saw your upgrade warning. I didn't have the time to do it so i chose no. Nothing plays. The instruction was to downgrade,  I check the repo only version 7 is there.

  • Is the expectation that I will download version and install from the zip file?
  • If I am away from home, how will my wife be able to watch her shows?
  • Why upgrade and then force a manual downgrade?
  • What is the benefit to upgrading for my wife that justifies the inconvenience.
Quote

Is the expectation that I will download version and install from the zip file?

Yes, but you can use Kodi's filebrowser. No need to transfer the file via USB stick etc.

Quote

Why upgrade and then force a manual downgrade?

Because this is a Kodi design flaw. There is no way to ask user BEFORE upgrading.

But it's also up to USERS, e.g. you could disable autoupdate for the plugin.

Quote

What is the benefit to upgrading for my wife that justifies the inconvenience.

I don't know you wife 😄 but you can read the changelogs

Also an update/resync for a medium sized collection just takes a few minutes.

Link to comment
Share on other sites

kuldan5853

Hi, I am seeing consistent problems with the addon since a few days ago - I have a Windows install on Kodi 20 affected as well as a Libreelec on 20.1 I set up fresh to verify. 
However, a friend of mine on Libreelec 10/Kodi 19 reported similar issues since yesterday with his own Emby server so I'm not even sure if it's a Kodi 20 vs 19 thing.

I have not yet updated to the 4.8 Beta, my Server is on 4.7.11.0 and my Emby for Kodi next gen is on the most current 7 release (7.3.16 I believe). 

Since the last request for a full database reset, it consistently fails to do the initial sync, it simply crashes (at exactly the same item each time).
I tried if the item is the issue and removed the corresponding file/tv show from Emby temporarily, but it just gets stuck on the next show in line instead. 

I have had the same library for many years, and none of the shows that it gets stuck on are new. 

FYI, I have also tried updating to 8.0.1.1 Beta, and the result was even worse (it didn't even get past the enumerating libraries phase). 

The Kodi log shows this: 

2023-04-10 15:32:40.643 T:3640    error <general>: Exception ignored in thread started by
2023-04-10 15:32:40.643 T:3640    error <general>: : 
2023-04-10 15:32:40.643 T:3640    error <general>: <bound method Library.KodiStartSync of <database.library.Library object at 0x00000183AC3CA670>>
2023-04-10 15:32:40.643 T:3640    error <general>:                                              
2023-04-10 15:32:40.643 T:3640    error <general>: Traceback (most recent call last):                                                   
2023-04-10 15:32:40.643 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 118, in KodiStartSync
                                                   
2023-04-10 15:32:40.643 T:3640    error <general>:     
2023-04-10 15:32:40.643 T:3640    error <general>: self.RunJobs()
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 597, in RunJobs
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:     
2023-04-10 15:32:40.644 T:3640    error <general>: self.worker_library()
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 473, in worker_library
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:     
2023-04-10 15:32:40.644 T:3640    error <general>: Continue, embydb, kodidb = self.ItemOps(int(index / RecordsPercent), Item, embydb, kodidb, SyncItem[4], WorkerName)
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 516, in ItemOps
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:     
2023-04-10 15:32:40.644 T:3640    error <general>: Ret = self.ContentObject.episode(Item)
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\tvshows.py", line 233, in episode
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: common.set_ContentItem(item, self.video_db, self.emby_db, self.EmbyServer, "episode", "e", ItemIndex)
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\common.py", line 762, in set_ContentItem
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: set_videocommon(item, EmbyServer.ServerData['ServerId'], ItemIndex)
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\common.py", line 537, in set_videocommon
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: set_people(item, server_id, ItemIndex)
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\common.py", line 353, in set_people
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: del item['People'][PeopleInvalidRecord]
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>: IndexError
2023-04-10 15:32:40.645 T:3640    error <general>: : 
2023-04-10 15:32:40.646 T:3640    error <general>: list assignment index out of range
2023-04-10 15:32:40.646 T:3640    error <general>: 

Link to comment
Share on other sites

quickmic
29 minutes ago, kuldan5853 said:

Hi, I am seeing consistent problems with the addon since a few days ago - I have a Windows install on Kodi 20 affected as well as a Libreelec on 20.1 I set up fresh to verify. 
However, a friend of mine on Libreelec 10/Kodi 19 reported similar issues since yesterday with his own Emby server so I'm not even sure if it's a Kodi 20 vs 19 thing.

I have not yet updated to the 4.8 Beta, my Server is on 4.7.11.0 and my Emby for Kodi next gen is on the most current 7 release (7.3.16 I believe). 

Since the last request for a full database reset, it consistently fails to do the initial sync, it simply crashes (at exactly the same item each time).
I tried if the item is the issue and removed the corresponding file/tv show from Emby temporarily, but it just gets stuck on the next show in line instead. 

I have had the same library for many years, and none of the shows that it gets stuck on are new. 

FYI, I have also tried updating to 8.0.1.1 Beta, and the result was even worse (it didn't even get past the enumerating libraries phase). 

The Kodi log shows this: 

2023-04-10 15:32:40.643 T:3640    error <general>: Exception ignored in thread started by
2023-04-10 15:32:40.643 T:3640    error <general>: : 
2023-04-10 15:32:40.643 T:3640    error <general>: <bound method Library.KodiStartSync of <database.library.Library object at 0x00000183AC3CA670>>
2023-04-10 15:32:40.643 T:3640    error <general>:                                              
2023-04-10 15:32:40.643 T:3640    error <general>: Traceback (most recent call last):                                                   
2023-04-10 15:32:40.643 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 118, in KodiStartSync
                                                   
2023-04-10 15:32:40.643 T:3640    error <general>:     
2023-04-10 15:32:40.643 T:3640    error <general>: self.RunJobs()
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 597, in RunJobs
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:     
2023-04-10 15:32:40.644 T:3640    error <general>: self.worker_library()
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 473, in worker_library
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:     
2023-04-10 15:32:40.644 T:3640    error <general>: Continue, embydb, kodidb = self.ItemOps(int(index / RecordsPercent), Item, embydb, kodidb, SyncItem[4], WorkerName)
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\database\library.py", line 516, in ItemOps
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:     
2023-04-10 15:32:40.644 T:3640    error <general>: Ret = self.ContentObject.episode(Item)
2023-04-10 15:32:40.644 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.644 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\tvshows.py", line 233, in episode
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: common.set_ContentItem(item, self.video_db, self.emby_db, self.EmbyServer, "episode", "e", ItemIndex)
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\common.py", line 762, in set_ContentItem
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: set_videocommon(item, EmbyServer.ServerData['ServerId'], ItemIndex)
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\common.py", line 537, in set_videocommon
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: set_people(item, server_id, ItemIndex)
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:   File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.emby-next-gen\core\common.py", line 353, in set_people
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>:     
2023-04-10 15:32:40.645 T:3640    error <general>: del item['People'][PeopleInvalidRecord]
2023-04-10 15:32:40.645 T:3640    error <general>: 
                                                   
2023-04-10 15:32:40.645 T:3640    error <general>: IndexError
2023-04-10 15:32:40.645 T:3640    error <general>: : 
2023-04-10 15:32:40.646 T:3640    error <general>: list assignment index out of range
2023-04-10 15:32:40.646 T:3640    error <general>: 

I think I know what's the problem. I'll fix it in next version.

There are invalid people assigned to an episode (people without "Name"). The function should actually catch those library issues, but seems not working in you case.

Current workaround, remove the episode from the library or wait for the update.

Link to comment
Share on other sites

kuldan5853

Just to update - I have now removed the "Persons" entries for all the episodes that caused the plugin to crash (I think it was ~5 episodes in total) and now the sync is running through again, so your hunch seems to be right what is causing it :) 

  • Like 1
Link to comment
Share on other sites

Seger

 

Since the new version, nextup no longer works as before. The only thing that has changed is Embynextgen. The dialogue "Next" does not play the next episode but ends the current one. So it's like pressing stop. Since it worked before, it may be that the command is forwarded differently than before. Emby Server is in stable mode, Kodi 20 is installed.


Many greetings

seger

 

Link to comment
Share on other sites

quickmic
9 hours ago, Seger said:

 

Since the new version, nextup no longer works as before. The only thing that has changed is Embynextgen. The dialogue "Next" does not play the next episode but ends the current one. So it's like pressing stop. Since it worked before, it may be that the command is forwarded differently than before. Emby Server is in stable mode, Kodi 20 is installed.


Many greetings

seger

 

Please elaborate. Are talking about the nextup node or a remote command next? And if node, which one. Remote, dynamic or one from a e.g. embuary skin.

Not sure what you mean with dialog. Maybe screenshot?

Link to comment
Share on other sites

Seger

Will gladly take a photo later, my skip the dialogue from the addon Nextup analogue intro at the end of an episode.

  • Like 1
Link to comment
Share on other sites

quickmic

New version available 7.13.6 -> 7.13.7:

Delta changelog:

fix invalid people issue

Link to comment
Share on other sites

  • 2 weeks later...
cool0007

Hello! On this addon version 7.13.7 for Kodi 20.0, the server is constantly updated by 97%. This happens on Android and Windows 10, how to fix the error? Or return the old version 6.2.22? Thank you!

 

Kodi 2023-04-20 19.25.43.jpg

Kodi 2023-04-20 19.27.19.jpg

Link to comment
Share on other sites

quickmic
6 minutes ago, cool0007 said:

Hello! On this addon version 7.13.7 for Kodi 20.0, the server is constantly updated by 97%. This happens on Android and Windows 10, how to fix the error? Or return the old version 6.2.22? Thank you!

 

Kodi 2023-04-20 19.25.43.jpg

Kodi 2023-04-20 19.27.19.jpg

Please send me a kodi.log for review (when this issue appears).

btw, which Emby server version?

Edited by quickmic
Link to comment
Share on other sites

quickmic
38 minutes ago, cool0007 said:

Log

https://pastebin.com/3YHmgTzG

Emby server version - 4.7.2 for Synology

Thank you!

Ok, thanks. I need the same log in debug mode. Please send it via PM, don't post debug logs in public.

btw, I don't see any issues with the e4k plugin. Seems, your Emby server is actually busy with a task. -> debug log will give more info.

What I see, the "script.diamondinfo" and "script.extendedinfo" is broken.

 

Edited by quickmic
Link to comment
Share on other sites

quickmic

INFO:

Emby server trakt plugin causes issues with e4k 7.X and 8.X. Will be fixed in next version, workaround: Disable the plugin on Emby server.

Edited by quickmic
Link to comment
Share on other sites

Vipa2021

Hey there,

my e4k just updated from 6.X to 7.13.7 on Kodi 20.1 and I am constantly getting "Websocket-Verbindung offline" notifications. This was fine with 6.X

What´s probably causing this issue is my setup.

Kodi is running on a firetv stick at my girlfriends place.
Emby is running on a Synology NAS at my place and is behind a reverse proxy (port 443 -> 8096)

So to connect i use the following:

host: https://domain.tld
port: 443

which works fine. I am asked for credentials, I log in, I am asked which libraries I would like to use and they get synced.

But after that i constantly getting these notifications. Probably because of another port forwarding missing.

Thanks

Link to comment
Share on other sites

quickmic
9 hours ago, Vipa2021 said:

Hey there,

my e4k just updated from 6.X to 7.13.7 on Kodi 20.1 and I am constantly getting "Websocket-Verbindung offline" notifications. This was fine with 6.X

What´s probably causing this issue is my setup.

Kodi is running on a firetv stick at my girlfriends place.
Emby is running on a Synology NAS at my place and is behind a reverse proxy (port 443 -> 8096)

So to connect i use the following:

host: https://domain.tld
port: 443

which works fine. I am asked for credentials, I log in, I am asked which libraries I would like to use and they get synced.

But after that i constantly getting these notifications. Probably because of another port forwarding missing.

Thanks

Quite sure, the connection was broken in 6.X too. Only 6.X didn't report such an issue.

There is no additional port required for websocket, but I assume you use a proxy. Might be a configuration issue.

Edited by quickmic
Link to comment
Share on other sites

Vipa2021

I tried to open port 8096 and connected with:

host: domain.tld
port: 8096

this worked fine. So the general configuration seems to be fine.

But I would still be interested in why it is not working using the reverse proxy.
One thing i recognized was this:

Using:

host: domain.tld
port: 443

did not work at all. But using this work with the problem I encountered later on:

host: https://domain.tld
port: 443

So I thought maybe it has something to do with SSL?

Link to comment
Share on other sites

quickmic
26 minutes ago, Vipa2021 said:

I tried to open port 8096 and connected with:

host: domain.tld
port: 8096

this worked fine. So the general configuration seems to be fine.

But I would still be interested in why it is not working using the reverse proxy.
One thing i recognized was this:

Using:

host: domain.tld
port: 443

did not work at all. But using this work with the problem I encountered later on:

host: https://domain.tld
port: 443

So I thought maybe it has something to do with SSL?

It is working via proxy. I also use apache as reverse proxy.

Your config is just no correct. Websocket uses additional parameters, not just http(s).

e.g. for apache you need to configure ws(s)://domain.tld as well. btw h2 is for http2

for nginx, you need check yourself

 

<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerName multimedia.mytld.net
        Protocols h2 http/1.1
        AllowEncodedSlashes NoDecode
        SSLProxyEngine On
        SSLProxyVerify None
        SSLProxyCheckPeerCN Off
        SSLProxyCheckPeerName Off
	SSLProxyCheckPeerExpire off
        ProxyRequests off
        ProxyPreserveHost on

        ProxyPass "/embywebsocket" "wss://192.168.0.207:443/"
        ProxyPassReverse "/embywebsocket/" "wss://192.168.0.207:443/"

        ProxyPass "/" "h2://192.168.0.207:443/"
        ProxyPassReverse "/" "https://192.168.0.207:443/"

        LogLevel warn
        SSLEngine on
        SSLCertificateFile /mnt/storage0/certs/letsencrypt/wildcard.tld.net_certificate.crt
        SSLCertificateKeyFile /mnt/storage0/certs/letsencrypt/wildcard.tld.net_privatekey.pem
</VirtualHost>
</IfModule>

<VirtualHost *:80>
        ServerName multimedia.mytld.net
        LogLevel warn
		RewriteEngine on
		RewriteCond %{REQUEST_SCHEME} =http
		RewriteCond %{SERVER_NAME} =multimedia.mytld.net
		RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
		RewriteCond %{REQUEST_SCHEME} =ws
		RewriteCond %{SERVER_NAME} =multimedia.mytld.net
		RewriteRule ^ wss://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

 

Edited by quickmic
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...