jellyfin / jellyfin-plugin-nextpvr

https://jellyfin.org
MIT License
25 stars 9 forks source link

Play recording from local folder? #29

Open oatmealm opened 2 years ago

oatmealm commented 2 years ago

Would it be possible to allow the plugin to play recording from a local folder available to Jellyfin instead of passing a streaming link? Jellyfin in my case won't stream. It worked initially, but not at the moment. But in any case, for performance reason, might be useful to have. I have no problem with LiveTV via NextPVR BTW. I'm not sure if "Recording Protocol" set to filename does this? It doesnt work either way...


[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for uri. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, Path: http://protonvpn:8866/live?recording=2214, isEligibleForDirectPlay: True, isEligibleForDirectStream: True

[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, No video direct play profiles found for http://protonvpn:8866/live?recording=2214 with codec Unknown codec

[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, Path: http://protonvpn:8866/live?recording=2214, isEligibleForDirectPlay: True, isEligibleForDirectStream: True

[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, No video direct play profiles found for http://protonvpn:8866/live?recording=2214 with codec Unknown codec

[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, Path: http://protonvpn:8866/live?recording=2214, isEligibleForDirectPlay: True, isEligibleForDirectStream: True

[11:04:56] [INF] [57] Jellyfin.Api.Helpers.MediaInfoHelper: Profile: Unknown Profile, No video direct play profiles found for http://protonvpn:8866/live?recording=2214 with codec Unknown codec

[11:04:57] [INF] [55] Jellyfin.Api.Helpers.TranscodingJobHelper: /usr/lib/jellyfin-ffmpeg/ffmpeg -i "http://protonvpn:8866/live?recording=2214" -map_metadata -1 -map_chapters -1 -threads 0 -sn   -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type mpegts -start_number 0 -hls_base_url "hls/41eec36c5a0ea198c8dce6155bc5db0f/" -hls_playlist_type event -hls_segment_filename "/config/data/transcodes/41eec36c5a0ea198c8dce6155bc5db0f%d.ts" -y "/config/data/transcodes/41eec36c5a0ea198c8dce6155bc5db0f.m3u8"

[11:04:57] [ERR] [54] Jellyfin.Api.Helpers.TranscodingJobHelper: FFmpeg exited with code 1
emveepee commented 2 years ago

@oatmealm this is not a support forum. Filename protocol is what you want it but it only works if the file is found on the the filesystem when loaded, otherwise it falls back to http. If you think that it should find the file, open a a support post on the NextPVR forum with zipped logs, no snippets please.

Not sure who moderates this forum, but this issue should be closed.

Martin