Jump to content

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


Recommended Posts

quickmic
Posted

Damn, there is still a bug on server removal. in 11.1.0. I'll fix it soon.

Wasserfall
Posted
42 minutes ago, quickmic said:

New PUBLIC TESTING version available 11.1.0:

Delta changelog 11.0.9 -> 11.1.0

set highest resolution for multiversions by Kodi (as an option, default is on)

 

Thank you, quickmic, this works just great.

  • Like 1
quickmic
Posted

New PUBLIC TESTING version available 11.1.1:

Delta changelog 11.1.0 -> 11.1.1

fix server remove

  • Like 1
Posted
1 hour ago, quickmic said:

New PUBLIC TESTING version available 11.1.1:

Delta changelog 11.1.0 -> 11.1.1

fix server remove

Found another bug when you add a server it will add it but when you reboot Kodi the server is removed 

 

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

Found another bug when you add a server it will add it but when you reboot Kodi the server is removed 

 

Not on my setup, but I'll run several variations of this scenario...

I use up to 3 servers for testing...

Usually I test by adding one server, restart Kodi for review, add another etc. There are lots of possibilities how and when adding a server and each case is different.

Edited by quickmic
LittleWizard
Posted

Sadly always sync problems. The addon sometime marks an in progress movie as fully watched so I lost resume point. I only watch that movie on the device with kodi so it should very simple, but it happens. It happen at least from 10.x version maybe also 9.x. Don't know what to do. I love kodi so much...

I already tried stable and beta, everytime I do a factory reset, but it is never reliable...

 

quickmic
Posted (edited)
8 hours ago, LittleWizard said:

Sadly always sync problems. The addon sometime marks an in progress movie as fully watched so I lost resume point. I only watch that movie on the device with kodi so it should very simple, but it happens. It happen at least from 10.x version maybe also 9.x. Don't know what to do. I love kodi so much...

I already tried stable and beta, everytime I do a factory reset, but it is never reliable...

 

Do you have a test case? "Random" is almost impossible to debug as it's not happen to me and no other user reported similar issues.

You could also send me a Kodi.log for review, maybe I find a crash (what I doubt).

Also you could also send me a full Kodi backup of your Installation and I could exactly see all you settings.

Remove the cached images and zip the folder due filesize, however only send such data e.g. via PM. It includes confidential data!

btw, I assume Emby's WebUI shows the progress correctly? If not, the issue might be on the server side or the upsync from Kodi/plugin is incorrect. If you have more than one Kodi instance, they must show all the same (correct or not).

Edited by quickmic
LittleWizard
Posted

I'll try to investigate and send you data... thanks!

  • Like 1
Posted
On 10/4/2024 at 9:52 AM, quickmic said:

New PUBLIC TESTING version available...

fix delete season/tvshow

working well 👍

  • Like 1
quickmic
Posted (edited)

Heads up, I'll be on vacation beginning by next Tuesday for 4 weeks with limited internet access.

Current plan is releasing 11.X as beta after I return unless there are showstoppers.

Edited by quickmic
  • Like 3
quickmic
Posted

New PUBLIC TESTING version available 11.1.2:

Delta changelog 11.1.1 -> 11.1.2

minor logging changes
add SeriesPrimary artwork as fallback for episode thumb artwork
hold upcoming episode cache for 1 day

  • Like 1
Posted

Hi there,

im having some problem with the watched status in kodi.

After watching a strm series the watched status in only set for around 1 second in kodi and then marked as unwatched.

Additionally sometimes the episode appears as a newly added episode, which it actually isn't.

In emby server the episode is correctly marked as watched.

After some time kodi syncs with emby and the watched status is set again to correct state.

Thank you for this great project 😃

Im using 11.1.1 (tried other versions)

Server 4.9.0.30 (tried other versions)

Kodi 21 / 22

 

2024-10-14 21:26:52.754 T:12073    info <general>: VideoPlayer: finished waiting
2024-10-14 21:26:52.754 T:12073    info <general>: CVideoPlayer::CloseFile()
2024-10-14 21:26:52.754 T:12073    info <general>: VideoPlayer: waiting for threads to exit
2024-10-14 21:26:52.754 T:12073    info <general>: VideoPlayer: finished waiting
2024-10-14 21:26:53.307 T:12160    info <general>: EMBY.hooks.player: [ onPlayBackStopped ]
2024-10-14 21:26:53.308 T:12160    info <general>: EMBY.hooks.player: --<[ playback ]
2024-10-14 21:26:53.407 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate process item: {"item":{"id":18122,"type":"episode"},"playcount":1}
2024-10-14 21:26:53.442 T:12456    info <general>: EMBY.hooks.monitor: [ VideoLibrary_OnUpdate skip playcount 201321 ]
2024-10-14 21:26:53.442 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate process item: {"id":18122,"type":"episode"}
2024-10-14 21:26:53.459 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate skip reset progress (ItemSkipUpdate) 201321
2024-10-14 21:26:53.462 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate ItemSkipUpdate: ['201321']
2024-10-14 21:26:53.824 T:12170    info <general>: EMBY.hooks.websocket: [ UserDataChanged ] [{'PlaybackPositionTicks': 0, 'PlayCount': 1, 'IsFavorite': False, 'LastPlayedDate': '2024-10-14T19:26:40.0000000Z', 'Played': True, 'ItemId': '201321'}, {'UnplayedItemCount': 3, 'PlaybackPositionTicks': 0, 'PlayCount': 0, 'IsFavorite': False, 'Played': False, 'ItemId': '201316'}]
2024-10-14 21:26:53.826 T:12170    info <general>: EMBY.hooks.websocket: UserDataChanged skip by ItemSkipUpdate / Id: 201321 / ItemSkipUpdate: ['201321']
2024-10-14 21:26:53.826 T:12170    info <general>: EMBY.hooks.websocket: UserDataChanged skip by ItemSkipUpdate ancestors (PresentationKey) / Id: 201316 / ItemSkipUpdate: ['201321']
2024-10-14 21:26:55.316 T:12460    info <general>: EMBY.database.library: Worker_is_paused: worker_remove / {'server_starting_0eea5d4544c94f7c9cfa073d4fade337': False, 'database_init_0eea5d4544c94f7c9cfa073d4fade337': False, 'priority': False, 'kodi_rw': False, 'playerbusy': True, 'playing': False}
2024-10-14 21:26:55.316 T:12460    info <general>: EMBY.database.library: -->[ open_Worker delay: Worker_is_paused ]
2024-10-14 21:26:55.317 T:12460    info <general>: EMBY.database.library: Worker_is_paused: worker_remove / {'server_starting_0eea5d4544c94f7c9cfa073d4fade337': False, 'database_init_0eea5d4544c94f7c9cfa073d4fade337': False, 'priority': False, 'kodi_rw': False, 'playerbusy': True, 'playing': False}
2024-10-14 21:26:57.318 T:12460    info <general>: Skipped 1 duplicate messages..
2024-10-14 21:26:57.317 T:12460    info <general>: EMBY.database.library: --<[ open_Worker delay: Worker_is_paused ]
2024-10-14 21:26:57.327 T:12460    info <general>: EMBY.database.library: -->[ worker update started ] queue size: 0
2024-10-14 21:27:07.440 T:12128   error <general>: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/8/8841637a.jpg
2024-10-14 21:27:07.441 T:12144   error <general>: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/b/b355fc27.jpg
2024-10-14 21:27:08.460 T:12073    info <general>: Loading skin file: Settings.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:09.565 T:12073    info <general>: Attempting to default to: 
2024-10-14 21:27:09.565 T:12073    info <general>: Loading skin file: FileManager.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:19.278 T:12073    info <general>: Loading skin file: DialogContextMenu.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:21.073 T:12073    info <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:22.154 T:12127 warning <general>: SMBFile::OpenForWrite() called with overwriting enabled! - smb://USERNAME:PASSWORD@192.168.178.99/Public/kodi.log

 

quickmic
Posted (edited)
8 hours ago, SebUng said:

Hi there,

im having some problem with the watched status in kodi.

After watching a strm series the watched status in only set for around 1 second in kodi and then marked as unwatched.

Additionally sometimes the episode appears as a newly added episode, which it actually isn't.

In emby server the episode is correctly marked as watched.

After some time kodi syncs with emby and the watched status is set again to correct state.

Thank you for this great project 😃

Im using 11.1.1 (tried other versions)

Server 4.9.0.30 (tried other versions)

Kodi 21 / 22

 

2024-10-14 21:26:52.754 T:12073    info <general>: VideoPlayer: finished waiting
2024-10-14 21:26:52.754 T:12073    info <general>: CVideoPlayer::CloseFile()
2024-10-14 21:26:52.754 T:12073    info <general>: VideoPlayer: waiting for threads to exit
2024-10-14 21:26:52.754 T:12073    info <general>: VideoPlayer: finished waiting
2024-10-14 21:26:53.307 T:12160    info <general>: EMBY.hooks.player: [ onPlayBackStopped ]
2024-10-14 21:26:53.308 T:12160    info <general>: EMBY.hooks.player: --<[ playback ]
2024-10-14 21:26:53.407 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate process item: {"item":{"id":18122,"type":"episode"},"playcount":1}
2024-10-14 21:26:53.442 T:12456    info <general>: EMBY.hooks.monitor: [ VideoLibrary_OnUpdate skip playcount 201321 ]
2024-10-14 21:26:53.442 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate process item: {"id":18122,"type":"episode"}
2024-10-14 21:26:53.459 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate skip reset progress (ItemSkipUpdate) 201321
2024-10-14 21:26:53.462 T:12456    info <general>: EMBY.hooks.monitor: VideoLibrary_OnUpdate ItemSkipUpdate: ['201321']
2024-10-14 21:26:53.824 T:12170    info <general>: EMBY.hooks.websocket: [ UserDataChanged ] [{'PlaybackPositionTicks': 0, 'PlayCount': 1, 'IsFavorite': False, 'LastPlayedDate': '2024-10-14T19:26:40.0000000Z', 'Played': True, 'ItemId': '201321'}, {'UnplayedItemCount': 3, 'PlaybackPositionTicks': 0, 'PlayCount': 0, 'IsFavorite': False, 'Played': False, 'ItemId': '201316'}]
2024-10-14 21:26:53.826 T:12170    info <general>: EMBY.hooks.websocket: UserDataChanged skip by ItemSkipUpdate / Id: 201321 / ItemSkipUpdate: ['201321']
2024-10-14 21:26:53.826 T:12170    info <general>: EMBY.hooks.websocket: UserDataChanged skip by ItemSkipUpdate ancestors (PresentationKey) / Id: 201316 / ItemSkipUpdate: ['201321']
2024-10-14 21:26:55.316 T:12460    info <general>: EMBY.database.library: Worker_is_paused: worker_remove / {'server_starting_0eea5d4544c94f7c9cfa073d4fade337': False, 'database_init_0eea5d4544c94f7c9cfa073d4fade337': False, 'priority': False, 'kodi_rw': False, 'playerbusy': True, 'playing': False}
2024-10-14 21:26:55.316 T:12460    info <general>: EMBY.database.library: -->[ open_Worker delay: Worker_is_paused ]
2024-10-14 21:26:55.317 T:12460    info <general>: EMBY.database.library: Worker_is_paused: worker_remove / {'server_starting_0eea5d4544c94f7c9cfa073d4fade337': False, 'database_init_0eea5d4544c94f7c9cfa073d4fade337': False, 'priority': False, 'kodi_rw': False, 'playerbusy': True, 'playing': False}
2024-10-14 21:26:57.318 T:12460    info <general>: Skipped 1 duplicate messages..
2024-10-14 21:26:57.317 T:12460    info <general>: EMBY.database.library: --<[ open_Worker delay: Worker_is_paused ]
2024-10-14 21:26:57.327 T:12460    info <general>: EMBY.database.library: -->[ worker update started ] queue size: 0
2024-10-14 21:27:07.440 T:12128   error <general>: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/8/8841637a.jpg
2024-10-14 21:27:07.441 T:12144   error <general>: DoWork - Direct texture file loading failed for special://masterprofile/Thumbnails/b/b355fc27.jpg
2024-10-14 21:27:08.460 T:12073    info <general>: Loading skin file: Settings.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:09.565 T:12073    info <general>: Attempting to default to: 
2024-10-14 21:27:09.565 T:12073    info <general>: Loading skin file: FileManager.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:19.278 T:12073    info <general>: Loading skin file: DialogContextMenu.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:21.073 T:12073    info <general>: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
2024-10-14 21:27:22.154 T:12127 warning <general>: SMBFile::OpenForWrite() called with overwriting enabled! - smb://USERNAME:PASSWORD@192.168.178.99/Public/kodi.log

 

Interesting, sound like Kodi (not the plugin) resets the progress.

As I can see in the log...

VideoLibrary_OnUpdate skip reset progress (ItemSkipUpdate) 201321

... Kodi reports (indirectly) a progress reset.

Can you post the linked content of an affected strm file.

Is this a dynamic (not synced) content you played?

 

Edited by quickmic
  • 2 weeks later...
Posted

Hi, I have a movie with three external subtitle files (SUP, SRT, ASS) in the same folder.
SRT and ASS load fine in Kodi, but SUP doesn't show up.
I can see all three subtitles in Emby though. Does the plugin not support SUP external subtitles?

kodi.log

Posted
On 10/15/2024 at 6:05 AM, quickmic said:

Interesting, sound like Kodi (not the plugin) resets the progress.

As I can see in the log...

VideoLibrary_OnUpdate skip reset progress (ItemSkipUpdate) 201321

... Kodi reports (indirectly) a progress reset.

Can you post the linked content of an affected strm file.

Is this a dynamic (not synced) content you played?

 

Thank you for the assistance.

I created some test scenarios to find out problem, but i didnt really find out.

The only thing where it work again when i setup a local database withtout emby nextgen, the watched status is directly set and stays.

My strm files look like this:

plugin://plugin.video.theoath/?action=play&title=IT%E2%80%99S+ABOUT+TIME&year=2021&imdb=tt6741278&tvdb=368207&season=1&episode=1&tvshowtitle=Invincible&date=2021-03-26

and theoath is scraping them from amazon vod.

My last working kodi version with emby nextgen was kodi 19, then i upgraded to 21 and some of the first prereleases of 22 before the new python update.

It happen in native and addon mode.

Actually not a dramatic problem, but somehow it annoys me

  • 2 weeks later...
Posted

Thanks for the great work!

 

I have an issue where is goes out of sync with the Emby server and it doesn't show the same. It often occurs when I for instance have two versions of a movie and after some time delete one of them directly on the disk. Emby server has no issues, but on Kodi it will still show both movies, but one of them wont be playable. Same with Tv-shows if I get a proper version and manually delete the first file. Works on Emby server but strange things happens in Kodi. Sometimes it wont show up at all, other times it seems to still point to the deleted file and wont be playable.

So to sum up, I'm not sure how Emby Next gen works, but does it have a local copy of Emby server that gets messed up when files are being manually deleted?

I think Emby Next Gen doesn't handle it very well when media disappears from Emby server?

quickmic
Posted
10 hours ago, djon said:

Thanks for the great work!

 

I have an issue where is goes out of sync with the Emby server and it doesn't show the same. It often occurs when I for instance have two versions of a movie and after some time delete one of them directly on the disk. Emby server has no issues, but on Kodi it will still show both movies, but one of them wont be playable. Same with Tv-shows if I get a proper version and manually delete the first file. Works on Emby server but strange things happens in Kodi. Sometimes it wont show up at all, other times it seems to still point to the deleted file and wont be playable.

So to sum up, I'm not sure how Emby Next gen works, but does it have a local copy of Emby server that gets messed up when files are being manually deleted?

I think Emby Next Gen doesn't handle it very well when media disappears from Emby server?

Do you have Kodi companion installed on Emby server? If not, that's the issue.

Posted
On 11/6/2024 at 12:58 AM, quickmic said:

Do you have Kodi companion installed on Emby server? If not, that's the issue.

No, never heard about it before now. Will check it out, thanks! 

  • Like 1
  • 2 weeks later...
quickmic
Posted

New PUBLIC TESTING version available 11.1.3:

Delta changelog 11.1.2 -> 11.1.3

fix websocket close-connection issue
improve offline-mode notifications
increase http timeouts from 1 to 3 seconds
add music content synced-nodes for singles
add translations
fix websocket-reconnect issue (edge case)
fix minor webservice issue when Kodi queries jpeg pictures
improve strm files playback with embedded http streams
fix progress updates when using dynamic nodes in native mode
add follow-http option for remote content e.g. strm and livetv default off -> do not pipe external http links through Emby server. This fixes some edge case playback issues
fix cinnema mode in native mode
fix remote playback progress updates when dynamic content remotely played in native mode
some minor playback performance improvements
change datetime datetime.utcnow api call, as it's deprecated

Comment:

This version might become the next beta if no showstoppers are reported

  • Like 3
Posted

hi is there a way to get an update for a new srt sub in a movie folder or for an episode? within the kodi player I only have the old one so in the moment I'm restarting the box. maybe there's a better a way? many thanks!! happy Monday! 

quickmic
Posted (edited)
13 hours ago, supermood said:

hi is there a way to get an update for a new srt sub in a movie folder or for an episode? within the kodi player I only have the old one so in the moment I'm restarting the box. maybe there's a better a way? many thanks!! happy Monday! 

Not sure if I understand the question. Do you want to update a movie or episode srt file on Emby server? That's not possible from Kodi.

Or do you want update srt files within Kodi (Kodi's internally used subtitles)?

Edited by quickmic
Posted
4 hours ago, quickmic said:

Not sure if I understand the question. Do you want to update a movie or episode srt file on Emby server? That's not possible from Kodi.

Or do you want update srt files within Kodi (Kodi's internally used subtitles)?

sorry. both wrong. my bad

I'm manually updating an external srt sub in the movie folder. because the automatically downloaded srt is wrong.

how can I update kodi / embi (from or via kodi) to see and use that updated srt and not to use the old one. 

a command like update srt file or update movie folder or rescan associated files ;)

quickmic
Posted
21 hours ago, supermood said:

sorry. both wrong. my bad

I'm manually updating an external srt sub in the movie folder. because the automatically downloaded srt is wrong.

how can I update kodi / embi (from or via kodi) to see and use that updated srt and not to use the old one. 

a command like update srt file or update movie folder or rescan associated files ;)

Emby server is in control of subtitles. After you updated the srt's, does Emby WebUI shows the new ones?

Posted (edited)

Hi quickmic

Just wanted to check when version 11 will be made available through the repository.  I take it the only way to install is manually via the 4 zip files that are linked on page 1?

Sorry, if I install manually through the 4 links, I forgot what order the zip files need to be installed manually.  Can you let me know in what order I should install each file.

Edited by geowill76
Add more info
Posted

I'm not sure how to see that they have the same real name in any file Explorer and the same name in emby like movie title.srt snd external 1. 

what I know is, if I restart my kodi box I have the new one in the player 

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