Jump to content

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


Go to solution Solved by quickmic,

Recommended Posts

quickmic
Posted (edited)
12 hours ago, thacolonel said:

I can't seem to get the userrating field to be populated in the kodi database. Diving into the code, it looks like the field CriticRating is not being tagged to Kodi as userrating. It seems to only be set as rating tomatometerallcritics. 

Any way you can update to populate the userrating field? I'm trying to use it for showing the rottentomatoes score from Emby.

I put that on the list for 11.X.

10.X will only get bugfixes.

Edited by quickmic
Posted (edited)

Edit: Nevermind, it was my bad

 

Edited by ItayT
quickmic
Posted
 

New BETA version available 10.0.43:

Delta changelog 10.0.42 -> 10.0.43

fix recently played synced nodes

Comment:

node reset is recommended to apply the fix

This might be the next stable version.

LongMan
Posted (edited)

I am requesting that you re implement the ability to refresh tv show and seasons from Emby.

In previous versions it was possible to refresh a tv show, season, episode or movie. In v10, it is only possible for music video, episode and movie.

Edit: Use case.

Sometimes after adding a new episode or season to my NAS, I forget to run a scan before leaving my desk. When I am in front the TV, I realize that the episode(s) that i want to watch are not in the library. Previously i would just bring up the context menu on the show and refresh it. In v10, I can no longer do that.

Edited by LongMan
  • Like 2
quickmic
Posted
On 7/17/2024 at 3:06 AM, thacolonel said:

I can't seem to get the userrating field to be populated in the kodi database. Diving into the code, it looks like the field CriticRating is not being tagged to Kodi as userrating. It seems to only be set as rating tomatometerallcritics. 

Any way you can update to populate the userrating field? I'm trying to use it for showing the rottentomatoes score from Emby.

There is a "userrating" field in Kodi's database yes, but this is not filled on purpose. People complained about when filling this fields as it's up-synced to trakt and overwrites some values there.

Kodi's rating table might be the right place, however. Ratings sources are not reported via Emby's API and depends on Emby scaper settings.

quickmic
Posted (edited)

New BETA version available 10.0.44:

Delta changelog 10.0.43 -> 10.0.44

fix init sync for records when recording in progress

Comment:

If no issues are reported, I'll push this version to stable repo by next weekend.

Edited by quickmic
  • Like 3
FrostByte
Posted

Are you filling VideoVersionName with "Emby" for every movie?   Every one of my movies has a version of Emby which causes a blank flag unless I copy Emby.png to the skin's version folder and then I see the Emby flag.

Is this something you said you were going to tackle in 11.x? 

Skin code.

            <include content="Info_Codecs_MonoIcon">
                <param name="icon">$INFO[$PARAM[container]ListItem.VideoVersionName,version/,.png]</param>
                <param name="width">80</param>
                <param name="iconwidth">80</param>
                <param name="iconheight">80</param>
                <param name="left">-22</param>
                <param name="visible">$PARAM[visible] + !String.IsEmpty($PARAM[container]ListItem.VideoVersionName)</param>
            </include>

 

image.jpeg.06317cc234f8fd6ff4f02c623d20f842.jpeg

quickmic
Posted (edited)
1 hour ago, FrostByte said:

Are you filling VideoVersionName with "Emby" for every movie?   Every one of my movies has a version of Emby which causes a blank flag unless I copy Emby.png to the skin's version folder and then I see the Emby flag.

Is this something you said you were going to tackle in 11.x?

Yes and yes.

10.X: "Emby" label is just a placeholder to keep the plugin compatible with Kodi 21 but not actually supporting Kodi's version selection. Only the "classic" plugin based multiversion selection is supported.

11.X: Specials and multiversions is integrated into Kodi's "new" functions. Actually I'm already working on 11.X and both features are already working in my dev version. I think will released as public testing in the next weeks.

 

 

huntforredoctober.png

Edited by quickmic
  • Like 2
FrostByte
Posted
1 hour ago, quickmic said:

Yes and yes.

10.X: "Emby" label is just a placeholder to keep the plugin compatible with Kodi 21 but not actually supporting Kodi's version selection. Only the "classic" plugin based multiversion selection is supported.

11.X: Specials and multiversions is integrated into Kodi's "new" functions. Actually I'm already working on 11.X and both features are already working in my dev version. I think will released as public testing in the next weeks.

 

Excellent, thanks.  

  • Like 1
supermood
Posted

unbelievable your speed! many thanks for your work in that fantastic solution!! 

dummy question, what does node reset actually mean / do? on my side everything is perfect now, why should I do that and is there a risk? 

thanks!! 

  • Like 1
quickmic
Posted (edited)
40 minutes ago, supermood said:

dummy question, what does node reset actually mean / do? on my side everything is perfect now, why should I do that and is there a risk?

Nodes are Kodi's way to fill views. A reset is harmless as long as you haven't modified them manually (would be overwritten). It's required when I modified something in the nodes. If you don't use affected/fixed nodes, you will not experience any difference and can keep it as it is.

It can be triggered in plugins's config menu -> sync -> node reset

 

Edited by quickmic
  • Like 1
muzicman0
Posted

Not sure if this is a Kodi issue or E4K.  I had to rebuild my Emby Server from scratch a month or so ago.  I now have 2 'collections' or 'box sets' that just won't show up as collections in Kodi.  In Emby they both show up as collections, but in Kodi, they are individual movies.  The 2 are 'The Matrix', and 'The Jason Bourne' collections.  

Like I said, If I go to collections in Emby, they are listed with the movies inside the collection.

I do have other collections that are showing correctly in both places.  

I have tried repairing the movie library multiple times.

This has been happening over multiple versions of E4K.  I am currently on .44 (latest build as of this post).

If anyone has something I could try, that would be great!

quickmic
Posted (edited)
1 hour ago, muzicman0 said:

I now have 2 'collections' or 'box sets' that just won't show up as collections in Kodi.  In Emby they both show up as collections, but in Kodi, they are individual movies.  The 2 are 'The Matrix', and 'The Jason Bourne' collections. 

Usually happens, when movies are assigned to multiple collections on Emby server.

Kodi cannot handle this scenario and it's a first come first serve for Kodi sets.

Edited by quickmic
quickmic
Posted

10.0.44 is now tagged as stable and pushed to repo.

Kyrunner
Posted

@quickmic11.X: Specials and multiversions are integrated into Kodi's "new" functions. I'm already working on 11.X 

 

Does this mean movie extras will show up next to the movies or is it still a context menue item 

quickmic
Posted

ex1.png

ex2.png

scherzeking
Posted

Hi,

I'm using plugin.service.emby-next-gen v10.0.44 currently, and I do have a problem with external subtitles. I can see them in kodi and can also select them at first. But when I close the subtitles window and open it back up again, then I see that the first subtitles are selected again. The movie itself has one subtitle included and 2 are external (.idx with .sub file).

The subtitles are working fine, when I watch it directly in emby via webbrowser.

Here is the part of the kodi log:

2024-07-29 17:00:21.073 T:105556 warning <general>: DoWork: Cannot add 'More...' item to list. No target window given.
2024-07-29 17:00:21.838 T:105536    info <general>: Skipped 2 duplicate messages..
2024-07-29 17:00:21.838 T:105536   error <general>: GetDirectory - Error getting s:live|i:playlist/
2024-07-29 17:00:21.982 T:105560   error <general>: DoWork - Direct texture file loading failed for special://skin/extras/icons/
2024-07-29 17:00:27.502 T:105498    info <general>: Loading skin file: DialogVideoInfo.xml, load type: KEEP_IN_MEMORY
2024-07-29 17:00:27.767 T:105556   error <general>: DoWork - Direct texture file loading failed for resource://resource.images.studios.coloured/Columbia Pictures / Screen Gems / SKA Films.png
2024-07-29 17:00:28.699 T:105498    info <general>: VideoPlayer::OpenFile: videodb://recentlyaddedmovies/474
2024-07-29 17:00:28.700 T:106447    info <general>: Creating InputStream
2024-07-29 17:00:28.705 T:106447   error <general>: CCurlFile::Open - <http://127.0.0.1:57342/movies/005909f70ff54d2581a92b788900fb11/5/> Failed with code 404:
                                                   
2024-07-29 17:00:28.705 T:106447   error <general>: GetDirectory - Unable to get http directory (http://127.0.0.1:57342/movies/005909f70ff54d2581a92b788900fb11/5/|redirect-limit=1000)
2024-07-29 17:00:28.705 T:106447   error <general>: GetDirectory - Error getting /emby_addon_mode/movies/005909f70ff54d2581a92b788900fb11/5/
2024-07-29 17:00:28.743 T:106347    info <general>: EMBY.hooks.player: [ onPlay ]
2024-07-29 17:00:30.711 T:106449    info <general>: Skipped 1 duplicate messages..
2024-07-29 17:00:30.711 T:106449    info <general>: EMBY.helper.playerops: [ SetSubtitle ] True
2024-07-29 17:00:30.860 T:106447   error <general>: CCurlFile::Open - <http://127.0.0.1:57342/movies/005909f70ff54d2581a92b788900fb11/5/> Failed with code 404:
                                                   
2024-07-29 17:00:30.860 T:106447   error <general>: GetDirectory - Unable to get http directory (http://127.0.0.1:57342/movies/005909f70ff54d2581a92b788900fb11/5/|redirect-limit=1000)
2024-07-29 17:00:30.860 T:106447   error <general>: GetDirectory - Error getting /emby_addon_mode/movies/005909f70ff54d2581a92b788900fb11/5/
2024-07-29 17:00:30.860 T:106447    info <general>: Creating Demuxer
2024-07-29 17:00:30.913 T:106447    info <general>: Opening stream: 0 source: 256
2024-07-29 17:00:30.913 T:106447    info <general>: Creating video codec with codec id: 27
2024-07-29 17:00:30.913 T:106447    info <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem H.264 decoder wrapper
2024-07-29 17:00:30.934 T:106447    info <general>: Creating video thread
2024-07-29 17:00:30.934 T:106457    info <general>: running thread: video_thread
2024-07-29 17:00:30.939 T:106447    info <general>: Opening stream: 1 source: 256
2024-07-29 17:00:30.939 T:106447    info <general>: Finding audio codec for: 86020
2024-07-29 17:00:30.939 T:106447    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder dca
2024-07-29 17:00:30.939 T:106447    info <general>: OpenStream: Allowing max Out-Of-Sync Value of 10 ms
2024-07-29 17:00:30.939 T:106447    info <general>: Creating audio thread
2024-07-29 17:00:30.939 T:106462    info <general>: running thread: CVideoPlayerAudio::Process()
2024-07-29 17:00:30.939 T:106447    info <general>: Opening stream: 3 source: 256
2024-07-29 17:00:30.939 T:106447    info <general>: CDVDSubtitlesLibass: Using libass version 1701000
2024-07-29 17:00:30.939 T:106447    info <general>: CDVDSubtitlesLibass: Creating ASS library structure
2024-07-29 17:00:30.939 T:106447    info <general>: CDVDSubtitlesLibass: Initializing ASS Renderer
2024-07-29 17:00:30.940 T:106447    info <general>: CDVDSubtitlesLibass: Initializing ASS library font settings
2024-07-29 17:00:31.005 T:106447    info <general>: CDVDSubtitlesLibass: Creating new ASS track
2024-07-29 17:00:31.006 T:106447    info <general>: Closing stream player 3
2024-07-29 17:00:31.010 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:00:31.015 T:106347    info <general>: EMBY.hooks.player: [ onAVChange ]
2024-07-29 17:00:31.278 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:00:31.278 T:106447    info <general>: Opening stream: 0 source: 1025
2024-07-29 17:00:31.280 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:00:31.287 T:106462    info <general>: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
2024-07-29 17:00:31.318 T:105506    info <general>: CActiveAESink::OpenSink - initialize sink
2024-07-29 17:00:31.520 T:105506    info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=vc4hdmi0,DEV=0"
2024-07-29 17:00:31.535 T:105506    info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=vc4hdmi0,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"
2024-07-29 17:00:31.535 T:105506    info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-07-29 17:00:31.535 T:105506    info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2024-07-29 17:00:31.621 T:106347    info <general>: EMBY.hooks.player: [ onAVChange ]
2024-07-29 17:00:31.623 T:106347    info <general>: Skipped 1 duplicate messages..
2024-07-29 17:00:31.623 T:106347    info <general>: EMBY.hooks.player: --> [ onAVStarted ]
2024-07-29 17:00:31.624 T:106347    info <general>: EMBY.helper.playerops: [ GetPlayerInfo ]
2024-07-29 17:00:31.624 T:106347    info <general>: EMBY.hooks.player: [ Queue playing item ]
2024-07-29 17:00:31.625 T:106347    info <general>: EMBY.hooks.player: --< [ onAVStarted ]
2024-07-29 17:00:31.721 T:106347    info <general>: EMBY.hooks.player: [ onAVChange ]
2024-07-29 17:00:32.200 T:106356    info <general>: EMBY.hooks.websocket: [ UserDataChanged ] [{'PlaybackPositionTicks': 0, 'PlayCount': 2, 'IsFavorite': False, 'LastPlayedDate': '2024-07-29T15:00:31.0000000Z', 'Played': False, 'ItemId': '41645'}]
2024-07-29 17:00:32.203 T:106356    info <general>: EMBY.hooks.websocket: UserDataChanged skip by ItemSkipUpdate / Id: 41645 / ItemSkipUpdate: ['41645', 'KODI41645', '41645']
2024-07-29 17:00:37.564 T:106447    info <general>: Opening stream: 3 source: 256
2024-07-29 17:00:37.565 T:106447    info <general>: CDVDSubtitlesLibass: Using libass version 1701000
2024-07-29 17:00:37.565 T:106447    info <general>: CDVDSubtitlesLibass: Creating ASS library structure
2024-07-29 17:00:37.565 T:106447    info <general>: CDVDSubtitlesLibass: Initializing ASS Renderer
2024-07-29 17:00:37.565 T:106447    info <general>: CDVDSubtitlesLibass: Initializing ASS library font settings
2024-07-29 17:00:37.619 T:106447    info <general>: CDVDSubtitlesLibass: Creating new ASS track
2024-07-29 17:00:38.813 T:106447    info <general>: Closing stream player 3
2024-07-29 17:00:38.821 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:00:39.108 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:00:40.963 T:106457 warning <general>: OutputPicture - timeout waiting for buffer
2024-07-29 17:00:41.037 T:106347    info <general>: EMBY.hooks.player: [ onSeek ]
2024-07-29 17:00:41.143 T:106347    info <general>: EMBY.hooks.player: [ onAVChange ]
2024-07-29 17:00:44.648 T:106457 warning <general>: OutputPicture - timeout waiting for buffer
2024-07-29 17:00:44.743 T:106347    info <general>: EMBY.hooks.player: [ onSeek ]
2024-07-29 17:00:44.849 T:106347    info <general>: EMBY.hooks.player: [ onAVChange ]
2024-07-29 17:00:53.260 T:106347    info <general>: EMBY.hooks.player: [ onPlayBackPaused ]
2024-07-29 17:00:54.812 T:105498    info <general>: Loading skin file: DialogSettings.xml, load type: KEEP_IN_MEMORY
2024-07-29 17:00:57.264 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:00:57.555 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:01:02.679 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:01:02.964 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:01:06.945 T:105498 warning <general>: CGUIWindowManager - HandleAction - ignoring action 7, because topmost modal dialog closing animation is running
2024-07-29 17:01:18.053 T:106447    info <general>: Skipped 1 duplicate messages..
2024-07-29 17:01:18.053 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:01:18.327 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:01:23.562 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:01:23.833 T:106447   error <general>: OpenStream - Unable to create subtitle parser
2024-07-29 17:01:24.669 T:106447    info <general>: Opening stream: 0 source: 1024
2024-07-29 17:01:24.905 T:106447   error <general>: OpenStream - Unable to create subtitle parser
quickmic
Posted (edited)

I'll check it, can you please send me the subtitle files.

Edited by quickmic
Posted

All my machines updated to 10.1.0 and now all say my access is restricted? WTF!!!!!!!!!!!!!!!!

quickmic
Posted
4 hours ago, claptnei said:

All my machines updated to 10.1.0 and now all say my access is restricted? WTF!!!!!!!!!!!!!!!!

Thanks for this very substantial comment.

You can downgrade to 9.x and probably contribute a kodi.log file and some information about your setup.

quickmic
Posted (edited)
12 hours ago, scherzeking said:

Well, the problem is, the plugin not downloading the idx files.

@Luke

I use this API for dvdsub -> https://swagger.emby.media/?staticview=true#/SubtitleService/getVideosByIdByMediasourceidSubtitlesByIndexByFormat

But this doesn't load the idx files, only the dvdsub. Is there another way to download the subtitles's idx?

Edited by quickmic
Posted

As ususl, software developer update to something that isnt broken. Kills users software just like CloudStrike. If it is not broken, LEAVE IT!

Posted

You need to install all four zip files from the 1. Page...not only the video plugin...

 

https://kodi.emby.tv/Public testing/plugin.service.emby-next-gen-10.0.44.zip

https://kodi.emby.tv/Public testing/plugin.video.emby-next-gen-10.1.0.zip

https://kodi.emby.tv/Public testing/plugin.audio.emby-next-gen-10.1.0.zip

https://kodi.emby.tv/Public testing/plugin.image.emby-next-gen-10.1.0.zip

 

Maybe you also need a factory reset and a reconnect to your server....like quickmic descriped a few pages ago....

 

 

 

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