Jump to content

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


Recommended Posts

FrostByte
Posted
1 hour ago, RaptorCentauri said:

Unfortunately I'm still not able to play alternate versions even when disabling path substitution.

Ya, that didn't work for me either.  It still wants to use the primary path for the second version.

Posted

Is there any way to get episodes cast to sync where the role is "Guest star"? They don't seem to be appearing in Kodi. Thanks!

  • Like 2
quickmic
Posted (edited)
4 hours ago, FrostByte said:

Ya, that didn't work for me either.  It still wants to use the primary path for the second version.

Do you have the files in different subfolders located? Never tested this case, but might be the same issue.

I tested this case, without path substitution works fine for me. Did you review the paths in the logs?

Edited by quickmic
quickmic
Posted
1 hour ago, thacolonel said:

Is there any way to get episodes cast to sync where the role is "Guest star"? They don't seem to be appearing in Kodi. Thanks!

I'll check it.

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

Do you have the files in different subfolders located? Never tested this case, but might be the same issue.

I tested this case, without path substitution works fine for me. Did you review the paths in the logs?

Yes, in both with and without substitution it wants to use the primary path

Here is without

https://paste.kodi.tv/uhoqonorud.kodi

Here is with

https://paste.kodi.tv/ifulehayel.kodi

In both logs I played the first version of World War Z for a few seconds, then tried the second version which failed.  Same with the 2 Harry Potter movies in which I have mutiple versions.

Movies are in the same folder on the NAS using the kb wiki example,

Emby server runs on the NAS

SMB links from Windows

\\MEDIA-SERVER\MyEmbyMedia\Movies\World War Z (2013)\World War Z (2013) - Unrated.mkv
\\MEDIA-SERVER\MyEmbyMedia\Movies\World War Z (2013)\World War Z (2013) - Theatrical Cut.mkv

 

Here are the paths in Emby Server.

  • First is the Synology local path (used for addon mode/ Emby streaming clients)
  • Optional shared path is the mounted share from Android (used by native mode) It's using this one correctly for all movies, except the second movie in a multiple movie version set in which is tries to use the first path

image.jpeg.10af2fed23c792cba2228008c8b2da3d.jpeg

Quote

2024-09-04 07:07:45.731 T:4808     info <general>: Creating InputStream
2024-09-04 07:07:45.732 T:4808    error <general>: GetDirectory - Error getting /volume1/MyEmbyMedia/Movies/World War Z (2013)/
2024-09-04 07:07:45.842 T:4808    error <general>: CFileCache::Open - </volume1/MyEmbyMedia/Movies/World War Z (2013)/World War Z (2013) - Theatrical Cut.mkv> failed to open
2024-09-04 07:07:45.842 T:4808    error <general>: CVideoPlayer::OpenInputStream - error opening [videodb://movies/videoversions/40406/1228?mediaid=1228&videoversionid=40406]
2024-09-04 07:07:45.842 T:4808     info <general>: CVideoPlayer::OnExit()
2024-09-04 07:07:45.847 T:1930     info <general>: Deleting settings information for files videodb://movies/videoversions/40406/1228?mediaid=1228&videoversionid=40406
 

 

Edited by FrostByte
FrostByte
Posted (edited)

Just to confirm my environment:

  • Emby server 4.9.0.30 beta running on Synology NAS
  • Omega 22 latest nightly
  • E4K 11.0.5 native mode
  • nVidia Shield 2019 pro
  • Using Android mounted network storage paths
Edited by FrostByte
FrostByte
Posted

Sent debug log in PM is case that helps.

Also, I tried using regular smb:// paths for the option path and got the same result.  It always wants to use the local primary path for the second version and errors.

Also tried 3 skins (Estuary, Arctic Zephyr Reloaded, and Arctic Fuse) with the same result.

Posted
2 hours ago, FrostByte said:

[...] 

  • E4K 11.0.5 native mode

Why use native mode? Are there any benefits? I always use addon mode and have no problems at all. 

Regards 

kocurek7 

FrostByte
Posted
17 minutes ago, kocurek7 said:

Why use native mode? Are there any benefits? I always use addon mode and have no problems at all. 

Regards 

kocurek7 

I always felt like playback was smoother using direct file access vs http.  Might just be an old mindset of mine. 

Nothing of mine requires things like transcoding, etc either.  Addon mode has less problems as you say though.

FrostByte
Posted
19 hours ago, RaptorCentauri said:

Unfortunately I'm still not able to play alternate versions even when disabling path substitution.

Okay, I got it figured out with help from qm.  You might have done what I was doing and disabled path substitution from the plugin options, that's something different.

In Emby server you need to force everything through the primary path and the primary path then needs to be something all devices can use.

For instance, I was using a local path from my NAS as the primary path and the optional path was smb (or actually mounted path from Shield) for the Kodi clients.

Instead, you want to force Emby and Kodi to always use the optional path for everything. 

So, on Emby server your library folder would look something like

smb://MEDIA-SERVER/MyEmbyMedia/Movies

and your optional path would be blank.

Emby would then be accessing everything via smb even for scanning media libraries which are local.  This workaround would only have to be done for libraries that have multiple versions like movies.

Kind of a roundabout way of getting it to work until Luke can fix Emby beta.

 

 

RaptorCentauri
Posted
2 hours ago, kocurek7 said:

Why use native mode? Are there any benefits? I always use addon mode and have no problems at all. 

Regards 

kocurek7 

I use native primarily for extras, especially with tv shows. I have problems with the way emby currently handles TV Extras, and using e4k in add-on mode would force me to use the emby setup.

Posted
1 hour ago, RaptorCentauri said:

I use native primarily for extras, especially with tv shows. I have problems with the way emby currently handles TV Extras, and using e4k in add-on mode would force me to use the emby setup.

OK. I get it. I don't use tv shows extras. I don't have time and money for that 😀

So extras and versions only for movies. I only buy movies on blu-ray.

Everyone's setup is different. 

To FrostByte - my playback is smooth in addon mode. I don't notice any problems and I have similar setup:

  • Emby server 4.9.0.30 beta running Unraid on my old PC
  • Omega 21.1 
  • E4K 11.0.5 addon mode
  • nVidia Shield 2019 Pro 

Maybe I should switch to native mode, who knows... 

Regards 

kocurek7 

quickmic
Posted
On 9/4/2024 at 3:30 AM, thacolonel said:

Is there any way to get episodes cast to sync where the role is "Guest star"? They don't seem to be appearing in Kodi. Thanks!

You are right, I'll fix it in next version.

quickmic
Posted

New PUBLIC TESTING version available 11.0.6:

Delta changelog 11.0.5 -> 11.0.6

fix guest stars
fix audio playback

  • Like 2
Posted

Just tested audio playback and everything is working. 

  • Like 2
AurelMarius
Posted

Hi @quickmic, can you take a look at this log file ? After some time, kodi doesn’t report anything to emby server, also while playing there is nothing in the activity section of the server.

Thanks.

kodi 3.log

  • Thanks 1
quickmic
Posted
1 hour ago, AurelMarius said:

Hi @quickmic, can you take a look at this log file ? After some time, kodi doesn’t report anything to emby server, also while playing there is nothing in the activity section of the server.

Thanks.

kodi 3.log 508.58 kB · 0 downloads

Thanks, I can see the problem. I'll fix it in next version.

  • Thanks 2
Posted
On 9/4/2024 at 10:08 PM, quickmic said:

You are right, I'll fix it in next version.

Thanks! Sorry to be a pain. Can you add a space in-between Guest and Star?

quickmic
Posted
3 hours ago, thacolonel said:

Can you add a space in-between Guest and Star?

Sure

quickmic
Posted (edited)

New PUBLIC TESTING version available 11.0.7:

Delta changelog 11.0.6 -> 11.0.7

fix player crash when item was removed from Kodi playlist
Rename GuestStar to Guest Star

Edited by quickmic
Posted

Yesterday, posted an error in nextgen 10 thread and it was said it was fixed in nextgen 11. So, installed that today via instructions and versions listed in first post, and got a new error, see below, not sure what is wrong now. 

11 23:59:43.380 T:3848     info <general>: EMBY.helper.pluginmenu: Browse: Id: None / Query: NodesDynamic / ParentId: None / LibraryId: None / Content:
11 23:59:49.815 T:3854     info <general>: EMBY.helper.pluginmenu: Browse: Id: 13 / Query: Series / ParentId: 13 / LibraryId: 13 / Content: Series / Wi
11 23:59:49.851 T:3854    error <general>: Exception ignored in thread started by                                                                      
11 23:59:49.851 T:3854    error <general>: :                                                                                                           
11 23:59:49.851 T:3854    error <general>: <function worker_Query at 0xd6cd79b8>                                                                       
11 23:59:49.852 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>: Traceback (most recent call last):                                                                          
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/hooks/webservice.py", line 303, in worker_Query
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:                                                                                                             
11 23:59:49.852 T:3854    error <general>: pluginmenu.browse(Handle, params.get('id'), query, params.get('parentid'), params.get('content'), ServerId, 
11 23:59:49.852 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/helper/pluginmenu.py", line 313, in browse     


11 23:59:49.853 T:3854    error <general>:                                                                                                             
11 23:59:49.853 T:3854    error <general>: for Item in utils.EmbyServers[ServerId].API.get_Items_dynamic(*EmbyContentQuery):                           
11 23:59:49.853 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.853 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 193, in get_Items_dynamic   
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:                                                                                                             
11 23:59:49.854 T:3854    error <general>: yield from self.get_Items_Ids(list(dict(ItemData).keys()), [Type], True, False, False, "", Extra)           
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 212, in get_Items_Ids       
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:                                                                                                             
11 23:59:49.854 T:3854    error <general>: Fields.remove(DynamicListsRemoveField)                                                                      
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>: AttributeError                                                                                              
11 23:59:49.854 T:3854    error <general>: :                                                                                                           
11 23:59:49.854 T:3854    error <general>: 'tuple' object has no attribute 'remove'                                                                    
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.873 T:3852    error <general>: GetDirectory - Error getting plugin://plugin.service.emby-next-gen/?mode=browse&id=13&parentid=13&libraryid=
11 23:59:49.873 T:3852    error <general>: GetDirectory - Error getting library://video/emby_dynamic_tvshows_Recorded_Shows/series_series.xml/         
11 23:59:49.895 T:3624    error <general>: CGUIMediaWindow::GetDirectory(library://video/emby_dynamic_tvshows_Recorded_Shows/series_series.xml/) failed

 

Posted
4 hours ago, sfatula said:

Yesterday, posted an error in nextgen 10 thread and it was said it was fixed in nextgen 11. So, installed that today via instructions and versions listed in first post, and got a new error, see below, not sure what is wrong now. 

11 23:59:43.380 T:3848     info <general>: EMBY.helper.pluginmenu: Browse: Id: None / Query: NodesDynamic / ParentId: None / LibraryId: None / Content:
11 23:59:49.815 T:3854     info <general>: EMBY.helper.pluginmenu: Browse: Id: 13 / Query: Series / ParentId: 13 / LibraryId: 13 / Content: Series / Wi
11 23:59:49.851 T:3854    error <general>: Exception ignored in thread started by                                                                      
11 23:59:49.851 T:3854    error <general>: :                                                                                                           
11 23:59:49.851 T:3854    error <general>: <function worker_Query at 0xd6cd79b8>                                                                       
11 23:59:49.852 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>: Traceback (most recent call last):                                                                          
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/hooks/webservice.py", line 303, in worker_Query
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:                                                                                                             
11 23:59:49.852 T:3854    error <general>: pluginmenu.browse(Handle, params.get('id'), query, params.get('parentid'), params.get('content'), ServerId, 
11 23:59:49.852 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/helper/pluginmenu.py", line 313, in browse     


11 23:59:49.853 T:3854    error <general>:                                                                                                             
11 23:59:49.853 T:3854    error <general>: for Item in utils.EmbyServers[ServerId].API.get_Items_dynamic(*EmbyContentQuery):                           
11 23:59:49.853 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.853 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 193, in get_Items_dynamic   
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:                                                                                                             
11 23:59:49.854 T:3854    error <general>: yield from self.get_Items_Ids(list(dict(ItemData).keys()), [Type], True, False, False, "", Extra)           
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 212, in get_Items_Ids       
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:                                                                                                             
11 23:59:49.854 T:3854    error <general>: Fields.remove(DynamicListsRemoveField)                                                                      
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>: AttributeError                                                                                              
11 23:59:49.854 T:3854    error <general>: :                                                                                                           
11 23:59:49.854 T:3854    error <general>: 'tuple' object has no attribute 'remove'                                                                    
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.873 T:3852    error <general>: GetDirectory - Error getting plugin://plugin.service.emby-next-gen/?mode=browse&id=13&parentid=13&libraryid=
11 23:59:49.873 T:3852    error <general>: GetDirectory - Error getting library://video/emby_dynamic_tvshows_Recorded_Shows/series_series.xml/         
11 23:59:49.895 T:3624    error <general>: CGUIMediaWindow::GetDirectory(library://video/emby_dynamic_tvshows_Recorded_Shows/series_series.xml/) failed

 

Sounds you are using dynamic nodes (not synced content)? Also looks you opened the dynamic recordings node?

I'll check it, but the issue you reported in 10.X seems to be fixed?

Posted
11 hours ago, sfatula said:

Yesterday, posted an error in nextgen 10 thread and it was said it was fixed in nextgen 11. So, installed that today via instructions and versions listed in first post, and got a new error, see below, not sure what is wrong now. 

11 23:59:43.380 T:3848     info <general>: EMBY.helper.pluginmenu: Browse: Id: None / Query: NodesDynamic / ParentId: None / LibraryId: None / Content:
11 23:59:49.815 T:3854     info <general>: EMBY.helper.pluginmenu: Browse: Id: 13 / Query: Series / ParentId: 13 / LibraryId: 13 / Content: Series / Wi
11 23:59:49.851 T:3854    error <general>: Exception ignored in thread started by                                                                      
11 23:59:49.851 T:3854    error <general>: :                                                                                                           
11 23:59:49.851 T:3854    error <general>: <function worker_Query at 0xd6cd79b8>                                                                       
11 23:59:49.852 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>: Traceback (most recent call last):                                                                          
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/hooks/webservice.py", line 303, in worker_Query
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:                                                                                                             
11 23:59:49.852 T:3854    error <general>: pluginmenu.browse(Handle, params.get('id'), query, params.get('parentid'), params.get('content'), ServerId, 
11 23:59:49.852 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.852 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/helper/pluginmenu.py", line 313, in browse     


11 23:59:49.853 T:3854    error <general>:                                                                                                             
11 23:59:49.853 T:3854    error <general>: for Item in utils.EmbyServers[ServerId].API.get_Items_dynamic(*EmbyContentQuery):                           
11 23:59:49.853 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.853 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 193, in get_Items_dynamic   
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:                                                                                                             
11 23:59:49.854 T:3854    error <general>: yield from self.get_Items_Ids(list(dict(ItemData).keys()), [Type], True, False, False, "", Extra)           
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:   File "/home/osmc/.kodi/addons/plugin.service.emby-next-gen/emby/api.py", line 212, in get_Items_Ids       
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>:                                                                                                             
11 23:59:49.854 T:3854    error <general>: Fields.remove(DynamicListsRemoveField)                                                                      
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.854 T:3854    error <general>: AttributeError                                                                                              
11 23:59:49.854 T:3854    error <general>: :                                                                                                           
11 23:59:49.854 T:3854    error <general>: 'tuple' object has no attribute 'remove'                                                                    
11 23:59:49.854 T:3854    error <general>:                                                                                                             
                                                                                                                                                       
11 23:59:49.873 T:3852    error <general>: GetDirectory - Error getting plugin://plugin.service.emby-next-gen/?mode=browse&id=13&parentid=13&libraryid=
11 23:59:49.873 T:3852    error <general>: GetDirectory - Error getting library://video/emby_dynamic_tvshows_Recorded_Shows/series_series.xml/         
11 23:59:49.895 T:3624    error <general>: CGUIMediaWindow::GetDirectory(library://video/emby_dynamic_tvshows_Recorded_Shows/series_series.xml/) failed

 

I found the problem. Leave all options enabled in plugins config menu -> dynamic libraries.

I'll fix it in next version.

  • Thanks 1
Posted
On 9/9/2024 at 2:09 PM, quickmic said:

Both plugin versions (10.X and 11.X) supports multiversion. 10.X will offer the version selection on playback start, while 11.X supports Kodi's "new" multiversion selection (for movies).

For episodes and musicvideos is still the classic method used as Kodi does not support it.

On 9/9/2024 at 2:14 PM, voodoo5_6k said:

Thanks! In my case, this is just for movies. I'll give it a closer look and test again.

 It took me while, but finally found some time to look into this again (and also now posted in the correct thread). I've made a fresh install of CoreELEC, then 11.X (previously 10.X), and it worked fine (multiversion selection). So, that's cool 😀

However, for some reason, with 11.X emby server would constantly complain that the access token is expired. Also, I don't like that version of the selection. It does not show the filename and so I have to guess which version I select. Switched to 10.X, and no more access token issues. And that selection screen now worked (must've done something wrong last time) and it also shows the filename of the videos (e.g. Star Wars (1977) - Special Edition (2004) - SD and Star Wars (1977) - 4K77 - UHD instead of 2x Star Wars (1977)). Great! Can 11.X be configured to do it the same way? Also, is that access token expiration a known issue or would you like to get logs from the server?

 

FrostByte
Posted (edited)
2 hours ago, voodoo5_6k said:

 

Also, I don't like that version of the selection. It does not show the filename and so I have to guess which version I select. Switched to 10.X, and no more access token issues. And that selection screen now worked (must've done something wrong last time) and it also shows the filename of the videos (e.g. Star Wars (1977) - Special Edition (2004) - SD and Star Wars (1977) - 4K77 - UHD instead of 2x Star Wars (1977)). Great! Can 11.X be configured to do it the same way? Also, is that access token expiration a known issue or would you like to get logs from the server?

 

That may be skin related.  It should only show what's after the dash (-) just like it does in Emby.

Arctic Fuse

image.png.d0422cff74bb52dce96e674978265035.png

Estuary

image.png.def55cef1950b38b95c21df50c5c521c.png

Emby

image.png.e0542fcf8ab372c2d9337c0f782a89e5.png

 

World War Z (2013) - Theatrical Cut.mkv
World War Z (2013) - Unrated.mkv

 

Edited by FrostByte
  • Thanks 1

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