Jump to content

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


quickmic
Go to solution Solved by 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.

Release Notes:

Emby server 4.8 and higher supported

The plugin has now 4 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.

 

The service plugin is the new core module. Configuration can by accessed ONLY via this module,

 

 

STABLE VERSION 10.0.47:

Download Links:

 

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

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

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

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

 

Release Notes:

skip retries on async requests

fix multiversion content assinged to collection
fix Windows specific connection issues

fix dynamic node recommended (double items)
fix upcoming dynamic node when not item name is reported
fix soundtrack tagged as compilation
add context menu refresh option for seasons and series
add config redirect from helper plugin
fix boxset/collection updates

fix init sync for records when recording in progress

fix recently played synced nodes

fix player crash for edge cases

fix http issue when chunked data are received

fix realtime sync issue for unsyncable content e.g. photos

change log modes

rename dialog files
fix remote playback issue

fix remote playback client selection
fix remote playback commands
fix nodes sort order
fix minor shutdown issue
add translations

disable Emby server offline msg on wake from sleep mode
add additional notification options
fix sync pause issue
fix queue issue

fix http header recv issue
fix Kodi profile library folder
fix Emby server (hard) restart issue
add settings option in context menu

fix dynamic nodes in hybrid mode

disable remove worker pause
cache DNS
fix connection when http prefix is missing
add tracking of Emby server version (for mandatory resets)
workaround for dynamic nodes folder browse (Emby server bug)

fix sync paused issue for realtime library updates
fix http connection
fix node typo

fix transcoding playback

intercept pillow library issue

minor changes in Player session ops
fix websocket messages delay
fix session logout

fix several minor http issues
faster https socket connection
support http redirects (including websocket connections)
fix Emby session stop
sync pause only for Emby scan tasks

rewrite http communication with Emby server (remove urllib3 dependency, http comminicaion is now on low level socket-basis)
fix context menu
rewrite emby login handshakes
fix textoverlay position
fix minor artwork issues
remove song artwork from synced content (let Kodi handle it)
fix menu options in content helper plugins
fix library Id filters for dynamic nodes
fix dynamic node Genre for Audiobooks and Podcasts

fix sort orders for dynamic nodes
improve performance for dynamic nodes
change plugin structure (fixes content detection issues for dynamic nodes)

fix server busy progress bar when server restarted or shutdown
fix websocket issue
fix init sync when server is busy (sync re-started)
increase paging limit for MusicAlbum
remove sorting parameter for unlimited synced nodes (performance)
add Kodi database indexes (performance)
improve sync performance

fix pillow library issue
Improve multicontent sync, thanks to Luke for modifications (currently only in Emby server's beta version, will be backported to next stable)
disable sortby (could give minor sync performance plus). This change breaks Emby server 4.7 support. It's no longer supported by plugin
fix sync pause while watch-togeter and remote-mode
fix progress updates -> never delay
add translations

fix favorite sync issue
fix Boxset realtime updates
fix websocket issue
rollback multiversion content changes from 10.0.21. The performance issue will be addressed in one of the next versions. -> different approach
add option to adjust the max URI length
fix delete after watched function
fix pillow library issue

fix boxset updates for realtime sync when content was added
unify code
improve realtime boxset updates sync performance (de-double updates)
fix favorites linked by sub-content
fix image overlay for favorites, when added via Kodi's favorite option
improve internal queue
fix sync crash
fix dynamic nodes refresh when content was deleted, added or modified
supress unnecessary progress updates e.g. after episode playback, season was updated by incoming Emby server notification.
fix content detection by PresentationUniqueKey
improve init sync speed for multiversion content

disable http HEAD request forwarding to emby server (less server load for Emby)
fix dynamic nodes refresh when content was deleted
fix userdata updates for Tag, Studio, Playlist, Person
fix favorites and use image overlays
more reliable delete-after-watched option
several minor player fixes

fix strm files including a plugin source
fix head (mime type) queries from Kodi

fix boxsets to tags option

intercept .ifo request in webservice
fix skip credits jumps (thanks to user skyfish)
fix webservice threading issues (special thanks to user seashell)
add EventName into playback session dict
fix boxsets to tags option
fix watch together (seek and timezones)
fix recording syncs

fix webservice threading issues (special thanks to user seashell)
fix minor multicontent selection issue

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