Open swiftbird07 opened 6 months ago
I just ran into this same issue and what resolved it for me was installing yt-dlp from pip rather than apt-get. Seems like the version from the apt repository is outdated...
apt-cache policy yt-dlp
for me showed that the version that would be installed would have been 2022.04.08-1. The pip version I just install was 2023.12.30.
And regarding the error, the plugin just tries to find a local version and throws error if it doesn't, then tries to fetch from remote.
@swiftbird07 You could try to "yt-dlp https://www.youtube.com/watch?v=M-2Scfj4FZk" from the container. But indeed too old broken yt-dlp in the container is likely. Otherwise, a network being down prevents yt-dlp from getting to YouTube. Or still, it could be a bug in the plugin. You might want to ask Jellyfin to have stable-backports added to the Jellyfin image. /etc/apt/sources.list.d/debian-backports.list
Types: deb deb-src
URIs: http://deb.debian.org/debian
Suites: bookworm bookworm-updates bookworm-backports
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
then apt update You should then be able to install newer Debian yt-dlp
Debian yt-dlp https://tracker.debian.org/pkg/yt-dlp
You should provide way more of the log. The extract you provided cannot help us understand what happened (only that the info.json was not there).
Hello,
to be honest I am a bit unsure if I understand the premise of this plugin correctly. As I understand it, you can provide the .info.json files in addition to the .mp4 files of the same name so that the plugin will parse the metadata locally or you could make the plugin fetch the .info.json file on its own using yt-dlp when the file is not present. If thats the case it will use the Youtube video ID in the square brackets to get the right video. If my assumption is correct, then why wont it do latter to my videos?
Here is the error message:
I find this error confusing as I assumed it would try to get that .info.json itself if it can't find it, but the error seems to suggest otherwise.
I am using Jellyfin via docker and I confirmed that yt-dlp is accessible from inside the container: