Jellyfin Forum
SOLVED: Some files dont't play (permission error) - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Some files dont't play (permission error) (/t-solved-some-files-dont-t-play-permission-error)



Some files dont't play (permission error) - ilikereiayanami - 2024-05-20

What is happening: some music files don't play
What I expected: it to play the same way it plays other music files in the same subdirectory

Jellyfin version: 10.9.2
OS: Windows 11 23H2
Installation method: Chocolatey
Client: web browser on the same computer

Log for one of the files that don't play:


{"Protocol":0,"Id":"1381a0f5a3fbeb4c3c3df9e9caac1cee","Path":"C:\\OneDrive\\media\\audio\\music\\Games\\Sea of Stars\\Clash from Sea of Stars.mp3","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mp3","Size":null,"Name":"Clash from Sea of Stars","IsRemote":false,"ETag":"b98480b27be135f16ae9aad8a0c790ff","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":null,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

ffmpeg -analyzeduration 200M -probesize 1G  -i file:"C:\OneDrive\media\audio\music\Games\Sea of Stars\Clash from Sea of Stars.mp3" -threads 0 -vn -ab 0 -acodec copy -id3v2_version 3 -write_id3v1 1 -y "C:\ProgramData\Jellyfin\Server\transcodes\ebbb4c70a8e321e7668ac1287caca20e.mp3"


ffmpeg version 6.0.1-Jellyfin Copyright © 2000-2023 the FFmpeg developers
  built with gcc 13-win32 (GCC)
  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-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-libopenmpt --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-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
  libavutil      58.  2.100 / 58.  2.100
  libavcodec    60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter    9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample  4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
file:C:\OneDrive\media\audio\music\Games\Sea of Stars\Clash from Sea of Stars.mp3: Permission denied


RE: Some files dont't play (permission error) - TheDreadPirate - 2024-05-20

Jellyfin doesn't have permissions to read your file.

Code:
file:C:\OneDrive\media\audio\music\Games\Sea of Stars\Clash from Sea of Stars.mp3: Permission denied



RE: Some files dont't play (permission error) - ilikereiayanami - 2024-05-20

(2024-05-20, 12:44 PM)TheDreadPirate Wrote: Jellyfin doesn't have permissions to read your file.

Code:
file:C:\OneDrive\media\audio\music\Games\Sea of Stars\Clash from Sea of Stars.mp3: Permission denied

I know, but I don't how to proceed.
How does one give access to it on Windows?


RE: Some files dont't play (permission error) - ilikereiayanami - 2024-05-20

I managed to "solve" it.
I copied my music folder outside OneDrive, the copied it back as "music 2" and JellyFin had no problem playing all the files now.