2024-06-08, 05:28 PM
I have sometime to look at the addon and fix quite a few things as noted below in a PR I have submitted. If anyone want to test this let me know. Otherwise you will test after it is released which might not be the best time.
Recording changes
I. General
In 10.9 Jellyfin was re-enabling disabled plugin causing user performance issues (not sure why though)
a) In-progress recordings do not play when recordings are flagged as in-progress
Martin
Recording changes
I. General
- reload recordings and reset modification time when a settings change impacts recordings
- delete recording channel json cache to allow for changes outside of Jellyfin. JF only calls for new recordings when the database entries are not cached
- use episode mode without S/E for all non movie recordings, Jellyfin was using the subtitle as title and not displaying the title on clips.
- parse duplicated S/E information from the sub-title passed in the API.
- change cache key, add-on was using a key that changed often, leaving orphan JSON in the cache for every recording
In 10.9 Jellyfin was re-enabling disabled plugin causing user performance issues (not sure why though)
- don't poll for recording until connected
- reduce initial connection time to 5 seconds to avoid overlapping connection attempts
- allow configuration of polling interval, the more frequent the more responsive the addon is to changes outside Jellyfin
- catch connection errors in the plugin, don't throw errors to core.
a) In-progress recordings do not play when recordings are flagged as in-progress
- default in-progress to direct play.
- append growing flag to recordings to not send content-length.
- don't know what to do to make this work.
- cannot change the analyzeduration so ffprobe waits for 200MB before playback
- if users give up, ffmpeg orphan ffmpeg tasks could be left running.
- don't know what to do to make this work.
- configure IPv4 so ffmpeg doesn't use IPv6 when a hostname is specified
- adapt to NextPVR unauthenticated access fix starting in 6.1.6
- allow unauthenticated recording streaming so clients can direct play. Jellyfin does not proxy client so security was failing and only transcoded play was available.
Martin