NextPVR Forums

Full Version: Jellyfin playback issue when jellyfin is not on the same machine as nextpvr
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So, i'm having an issue with the nextpvr jellyfin plugin. The problem is the nextpvr jellyfin plugin assumes that i'm using localhost. I'm not, and my jellyfin server is on a different server than my nextpvr server. I put in the correct ip address and pin code for the jellyfin addon. The problem is that whenever i click play on a recording I get 
"playback error"  I found the root of the issue, which happens to be that it can't find the specified file. 

Here is a log from jellyfin

Code:
/videos/2ad86f81-cca1-0d13-60f2-ced4aaf7a976/live.m3u8

{"Protocol":0,"Id":"2ad86f81cca10d1360f2ced4aaf7a976","Path":"R:\\The Big Bang Theory\\Season 02\\The.Big.Bang.Theory.S02E09.The.White.Asparagus.Triangulation-0.ts","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"ts","Size":null,"Name":"The.Big.Bang.Theory.S02E09.The.White.Asparagus.Triangulation-0","IsRemote":false,"ETag":"543b6ca4c9f21c87d81daf7a932499c0","RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":null,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

C:\Program Files\Jellyfin\Server\ffmpeg.exe -analyzeduration 200M -init_hw_device d3d11va=dx11:,vendor=0x8086 -init_hw_device qsv=qs@dx11 -filter_hw_device qs -autorotate 0 -i file:"R:\The Big Bang Theory\Season 02\The.Big.Bang.Theory.S02E09.The.White.Asparagus.Triangulation-0.ts" -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/6636322e1a7c0b8ff08b249923a5c41e/" -hls_segment_filename "C:\ProgramData\Jellyfin\Server\transcodes\6636322e1a7c0b8ff08b249923a5c41e%d.ts" -hls_playlist_type event -hls_list_size 0 -y "C:\ProgramData\Jellyfin\Server\transcodes\6636322e1a7c0b8ff08b249923a5c41e.m3u8"


ffmpeg version 5.1.2-Jellyfin Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20220324
  configuration: --prefix=/opt/ffmpeg --arch=x86_64 --target-os=mingw32 --cross-prefix=x86_64-w64-mingw32- --pkg-config=pkg-config --pkg-config-flags=--static --extra-libs='-lfftw3f -lstdc++' --extra-cflags=-DCHROMAPRINT_NODLL --extra-version=Jellyfin --disable-ffplay --disable-debug --disable-doc --disable-sdl2 --disable-ptx-compression --disable-w32threads --enable-pthreads --enable-shared --enable-lto --enable-gpl --enable-version3 --enable-schannel --enable-iconv --enable-libxml2 --enable-zlib --enable-lzma --enable-gmp --enable-chromaprint --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libwebp --enable-libvpx --enable-libzimg --enable-libx264 --enable-libx265 --enable-libsvtav1 --enable-libdav1d --enable-libfdk-aac --enable-opencl --enable-dxva2 --enable-d3d11va --enable-amf --enable-libmfx --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      57. 28.100 / 57. 28.100
  libavcodec     59. 37.100 / 59. 37.100
  libavformat    59. 27.100 / 59. 27.100
  libavdevice    59.  7.100 / 59.  7.100
  libavfilter     8. 44.100 /  8. 44.100
  libswscale      6.  7.100 /  6.  7.100
  libswresample   4.  7.100 /  4.  7.100
  libpostproc    56.  6.100 / 56.  6.100
[AVHWDeviceContext @ 0000021cea73b580] Using device 8086:1912 (Intel(R) HD Graphics 530).
file:R:\The Big Bang Theory\Season 02\The.Big.Bang.Theory.S02E09.The.White.Asparagus.Triangulation-0.ts: No such file or directory


The thing is my jellyfin server doesn't have a R:\ Drive but my nextpvr server does. I believe this would work if i ran everything on the same server. However, since I am not doing that, and am running jellyfin and nextpvr on separate servers, and there is no R:\ drive on the jellyfin server the "playback error" is displayed. Can this please be fixed? 

Thanks. 

I found the root of the This client isn't compatible with the media and the server isn't sending a compatible media format. This client isn't compatible with the media and the server isn't sending a compatible media format.

This client isn't compatible with the media and the server isn't sending a compatible media format. This client isn't compatible with the media and the server isn't sending a compatible media format.
Read this thread https://forums.nextpvr.com/showthread.ph...#pid564960 and then update your settings

Martin
any way to do this without enabling unauthenticated access??? As it so happens I have my nextpvr server exposed on the internet. I would really prefer authenticated access, even if it's via a long pin. I'm able to use this setup with kodi over the internet, and it works great. Watching from my phone when on the go is really useful for me. Worst case I'd just have to put everything on one server, but is there any other way, besides a single server or unauthenticated access???
Another option would be just stick to kodi, but I'd prefer to use jellyfin, since it's an easy to use all-in-one server and app
As explained in the post I asked you to read, Jellyfin doesn't ask for the URL to the recording after it is saved which means there is no way to update credentials after it is saved.

If your Jellyfin server is also Windows you could map R to the same network share, or even better use the \\ip\share format in NextPVR.

Martin