Jump to content

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


quickmic

Recommended Posts

quickmic

Disclaimer:

If you decide using the delete option, IT'S YOUR RISK!
If you are using fileops on Kodi, LOOK and VERIFY what Kodi is about to delete or modify. The affected folder is clearly shown in a Kodi popup message.

 

PUBLIC TESTING VERSION 10.0.15:

Download Link:

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

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

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

 

Release Notes:
Kodi 20 support will be dropped at some point. Currently works with Kodi 20 and Kodi 21

The plugin has now 3 parts. Audio and image are just helpers to fix Kodi's issues with plugins supporting multiple content types. Video must be installed LAST. Audio and Image are usually not updated.

add Next Episodes played node
fix websocket close issue
fix recoding library sync
fix delete episode issue in native mode

fix recently played nodes
fix websocket close issue
fix multiversion episode delete issue
fix dynamic node search
fix node cache reset
fix next episodes node
fix continue watching node
fix reset resume position via Kodi when content is marked as watched
fix watched status for dynamic nodes
fix strm file issue

add uniqueids for musicvideos
add ratings for musicvideos
fix musicvideo sync issue
add option to set imdb as default rating provider
fix minor rating issue (for updated content)
fix tvshow/season sync issue
fix nodes
transcoding livetv, respect bitrate settings

fix folder view for home video/photos
close sync progress bars when server connection drops
urllib3 v1 support
fix strm file issue when https links are included
update Chinese language file (thanks to whisperer)
fix download content episode node
add download content series node
fix Kodi shutdown issue

fix emby connect
remove sdr from strHdrType
add transcode option for video: vc1, prores, msmpeg4v2
add transcode option for audio: aac_latm, dtshd_hra, dtshd_ma, pcm_s16le, truehd, opus

change hdrtype assignment to "VideoRange"
change urllib3 dependency to >= 2.0 version
fix library removal issue for edge case

fix player crash
fix date created not updated
add additional debug log information

remove kodi workaround option (fixes are added dynamically)
fix API issues
replace requests with urllib3
fix 'FreeTypeFont' object has no attribute 'getsize' -> python pillow api change
workaround for Kodi chapter bugs for MusicVideos and Movies played via widgets
remove reuselanguageinvoker -> causes Kodi issues
fix File name too long issue
fix playertracker issue

fix MusicAlbum sync issue
fix Studio sync issue
improve incremental boxset sync on Kodi start
fix BoxSet sync issue
add remoteplay option
fix episode intros
fix player stop issue
fix extracted bluray and dvd playback
fix some minor intro issues
fix A-Z node order

add support for favorite photos and homevideos
performance improvement for init sync (disable autoindex, temporary disable database indexes)
fix multiepisode season detection
add people for MusicVideos
remove countries and directors nodes for tvshows (not supported by Kodi)
keep settings on reset -> not deleting favorites if favorites sync is disabled
improve support for special charecters in filenames
fix multiselection filesizes
fix notification timings
add translations
fix MusicAlbum sync issue when album was moved to different library
fix cinema mode markers and disable intros for in progress content

fix movie artwork -> backdrop assignment to thumb if thumb not exists
fix sync issue for invalid episodes metadata

exclude photos
fix virtual tv
fix typo

fix SesaonId detection by PresentationUniqueKey -> compatibility with 4.9.X Emby server

fix Emby server 4.9.X episode issue (SeasonId not reported)
port 9.4.13/14 bugfixed to 10.X

fix nodes window reload
fix Kodi content detection
add additional nodes
fix nodes
fix favorites remove

Edited by quickmic
  • Like 2
Link to comment
Share on other sites

quickmic

Initial version doesn't force a factory reset, but it's highly recommended!

Link to comment
Share on other sites

FrostByte

I tried installing the video one twice and both times it said it was dependent on the audio one being installed first.  So, I installed the audio/image ones first then video and it worked.

2024-02-15 09:03:09.004 T:30215 warning <general>: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 39
2024-02-15 09:03:15.034 T:30216    info <general>: Skipped 5 duplicate messages..
2024-02-15 09:03:15.034 T:30216    info <general>: Loading skin file: FileBrowser.xml, load type: KEEP_IN_MEMORY
2024-02-15 09:03:16.403 T:30215 warning <general>: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 39
2024-02-15 09:03:26.677 T:30215    info <general>: Skipped 43 duplicate messages..
2024-02-15 09:03:26.677 T:30215 warning <general>: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 39
2024-02-15 09:03:33.045 T:30723    info <general>: Skipped 3 duplicate messages..
2024-02-15 09:03:33.045 T:30723   error <general>: CAddonInstallJob[plugin.video.emby-next-gen]: The dependency on plugin.audio.emby-next-gen version 10.0.0 could not be satisfied.

 

Edited by FrostByte
Link to comment
Share on other sites

quickmic
Just now, FrostByte said:

I tried installed the video one twice and both times it said it was dependent on the audio one being installed first.  So, I installed the audio one then video and it worked.

2024-02-15 09:03:09.004 T:30215 warning <general>: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 39
2024-02-15 09:03:15.034 T:30216    info <general>: Skipped 5 duplicate messages..
2024-02-15 09:03:15.034 T:30216    info <general>: Loading skin file: FileBrowser.xml, load type: KEEP_IN_MEMORY
2024-02-15 09:03:16.403 T:30215 warning <general>: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 39
2024-02-15 09:03:26.677 T:30215    info <general>: Skipped 43 duplicate messages..
2024-02-15 09:03:26.677 T:30215 warning <general>: CPeripheralBusAndroid: ignoring input event for unknown input device with ID 39
2024-02-15 09:03:33.045 T:30723    info <general>: Skipped 3 duplicate messages..
2024-02-15 09:03:33.045 T:30723   error <general>: CAddonInstallJob[plugin.video.emby-next-gen]: The dependency on plugin.audio.emby-next-gen version 10.0.0 could not be satisfied.

 

Ah, ok. Actually it doesn't matter which way you install the plugins, but I think I'll change the dependencies.

  • Like 1
Link to comment
Share on other sites

FrostByte

Roger.  I didn't notice any issues at first glance w/o a factory reset, but we're in the middle of a snowstorm so I'll just go ahead and do one now.

Running latest nightly.

  • Like 1
Link to comment
Share on other sites

quickmic

New PUBLIC TESTING version available 10.0.2:

Delta changelog 10.0.0-> 10.0.2

fix Emby server 4.9.X episode issue (SeasonId not reported) -> This is not the final fix, and still might cause issues!
port 9.4.13/14 bugfixed to 10.X

Edited by quickmic
  • Like 1
Link to comment
Share on other sites

quickmic

New PUBLIC TESTING version available 10.0.3:

Delta changelog 10.0.2-> 10.0.3

fix SesaonId detection by PresentationUniqueKey -> compatibility with 4.9.X Emby server

  • Like 1
Link to comment
Share on other sites

FrostByte

Small typo in 10.0.0.2

Also, thanks for the new setting which limits items in a node.

image.jpeg.cac8ff715fd926e5b2b2e24d29fd6672.jpeg

  • Like 1
Link to comment
Share on other sites

quickmic

New PUBLIC TESTING version available 10.0.4:

Delta changelog 10.0.3-> 10.0.4

exclude photos
fix virtual tv
fix typo

  • Like 1
Link to comment
Share on other sites

quickmic

New PUBLIC TESTING version available 10.0.5:

Delta changelog 10.0.4-> 10.0.5

fix movie artwork -> backdrop assignment to thumb if thumb not exists
fix sync issue for invalid episodes metadata

Edited by quickmic
  • Like 1
Link to comment
Share on other sites

FrostByte

@quickmic are you able to update Kodi with the hdrtype using Emby's equivalent?

Problem is that modern skins like Arctic Fuse no longer use filenames for HDR badges and instead use hdrtype for displaying badges.

 

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

The 3 which I know Kodi recognizes are dolbyvision, hdr10, and hlg.  However, I'm not sure if those are the exact values Kodi is looking for in hdrtype.  There could also be others?

Otherwise, I have to go in and modify the skin every update to read filenames.

Edited by FrostByte
Link to comment
Share on other sites

FrostByte

Okay, got the information from jurialmunkey just now if needed.

Quote

Yes, if you're using a plugin, the plugin must be setting hdrtype via the videostream details for the listitem's video infotag

After constructing the ListItem, the plugin needs to retrieve its video infotag
https://romanvm.github.io/Kodistubs/_aut...foTagVideo

Then construct a videostream object with the details
https://romanvm.github.io/Kodistubs/_aut...reamDetail

Then add it to the infotag
https://romanvm.github.io/Kodistubs/_aut...ideoStream

And that's it.

If hdrtype is set to one of dolbyvision hlg or hdr10 then the skin will recognise it.

Skin uses hdrtype as filepath e.g. "media/flags/color/hdr/{hdrtype}.png" and those are the three images it has so those are the ones which work. They're the only valid values -- but makes it easy to expand in the future if there are additional types added as its as simple as popping a new png in the folder with the corresponding filename.

 

Link to comment
Share on other sites

FrostByte

Of course, if Emby sees DV profile 7/8 it would be both dolbyvision and HDR10.

Also mentioned that now that Kodi is using ffmpeg 6 that DTSX and Atmos will eventually be added to some similar type and eliminate the need to read filenames altogether which are slow and of course possibly inaccurate.

Link to comment
Share on other sites

quickmic

Two of the flags are supported, the 3rd one was not populated by Emby. Don't remember which one it was. Kodi supported at this time 3 different kinds.

 

 

I need to check if the situation has changed.

Link to comment
Share on other sites

FrostByte
7 hours ago, quickmic said:

Two of the flags are supported, the 3rd one was not populated by Emby. Don't remember which one it was. Kodi supported at this time 3 different kinds.

 

 

I need to check if the situation has changed.

Thanks.  I'm guessing that was DV which was recently added in 4.8.  In fact, Emby identifies the DV profile also so DV 5 would be one flag and profile 7/8 would have two flags.  At least I hope Kodi accepts two flags for 7/8.

Link to comment
Share on other sites

karmantyu

Could somebody elaborate which embyforkody (next-gen) version is recommended for emby server 4.9.0.4 beta?

Link to comment
Share on other sites

quickmic
5 hours ago, karmantyu said:

Could somebody elaborate which embyforkody (next-gen) version is recommended for emby server 4.9.0.4 beta?

Latest 9.X beta (NOT STABE) or 10.X

  • Like 1
Link to comment
Share on other sites

AurelMarius

The emby companion plugin is required for this addon ? I noticed that after waking shield tv from sleep, new content doesn’t sync unless i restart kodi. On wake up, connection to emby is established because the welcome banner shows up.

Link to comment
Share on other sites

quickmic
4 minutes ago, AurelMarius said:

The emby companion plugin is required for this addon ? I noticed that after waking shield tv from sleep, new content doesn’t sync unless i restart kodi. On wake up, connection to emby is established because the welcome banner shows up.

companion plugin is required yes, but not for the issue you describe.

Wake up should sync same way as a Kodi restart.

Link to comment
Share on other sites

AurelMarius
32 minutes ago, quickmic said:

companion plugin is required yes, but not for the issue you describe.

Wake up should sync same way as a Kodi restart.

Now I enabled sync during playback to see if solves the problem, as kodi is configured to autoplay pvr live tv on start and wakeup.

Edited by AurelMarius
  • Like 1
Link to comment
Share on other sites

quickmic

New PUBLIC TESTING version available 10.0.6:

Delta changelog 10.0.5 -> 10.0.6

add support for favorite photos and homevideos
performance improvement for init sync (disable autoindex, temporary disable database indexes)
fix multiepisode season detection
add people for MusicVideos
remove countries and directors nodes for tvshows (not supported by Kodi)
keep settings on reset -> not deleting favorites if favorites sync is disabled
improve support for special charecters in filenames
fix multiselection filesizes
fix notification timings
add translations
fix MusicAlbum sync issue when album was moved to different library
fix cinema mode markers and disable intros for in progress content

Comment:

A manual triggered factory reset removes everything, a forced reset keeps settings and cached artwork

  • Like 2
Link to comment
Share on other sites

DarWun
14 hours ago, quickmic said:

New PUBLIC TESTING version available 10.0.6:

Comment:

A manual triggered factory reset removes everything, a forced reset keeps settings and cached artwork

@quickmicCan you clarify how this change impacts the "Local Database Reset" option? Earlier tonight, after updating to E4K 10.0.6, I noticed that there was a sync issue where some Specials I had just added to one of the TV shows in my library were missing. In the past when I've noticed that, I would simply do a local database reset to resolve the issue. Using that option with E4K 10.0.6 left libraries partially intact, and I was not able to fix them using the library repair option. I rolled back to E4K 10.0.5, and I was able to do a local database reset and repair libraries as I had done in the past.

I will provide log files capturing the failed local database reset using E4K 10.0.6 later tonight.

Link to comment
Share on other sites

quickmic
3 hours ago, DarWun said:

Can you clarify how this change impacts the "Local Database Reset" option?

It's not related to the changes I've done for factory reset, however I changed the repair option as well, cause there was a bug causing a very slow repair sync.

I'll check the repair option, what was the issue with the specials. Not added?

 

Edited by quickmic
Link to comment
Share on other sites

DarWun
10 hours ago, quickmic said:

I'll check the repair option, what was the issue with the specials. Not added?

 

@quickmicI had added six specials for a series to my media library earlier this week (E4K 10.0.5 was installed at the time). Yesterday when I went to watch the first of the specials with E4K, I noticed that only three of the six episodes were available. They all showed up in Emby. But for whatever reason, they weren't synced with E4K. A rescan of the library fixed that.  

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