jellyfin / jellyfin-plugin-tvheadend

https://jellyfin.org
MIT License
32 stars 19 forks source link

Plugin broken since update to version 8 #36

Open Xerbo opened 3 years ago

Xerbo commented 3 years ago

After updating to version 8 (or rather Jellyfin automatically updating) the plugin is completely nonfunctional, showing up as "Malfunctioned" in the server dashboard, the log doesn't give much more information (see below).

Jellyfin itself is running on a Debian 10 LXC container and installed from the normal repository, downgrading to version 7 and it works perfectly.

[2021-04-16 12:47:19.466 +00:00] [INF] Jellyfin version: "10.7.1"
[2021-04-16 12:47:19.504 +00:00] [INF] Environment Variables: ["[JELLYFIN_CACHE_DIR, /var/cache/jellyfin]", "[JELLYFIN_CONFIG_DIR, /etc/jellyfin]", "[JELLYFIN_RESTART_OPT, --restartpath=/usr/lib/jellyfin/restart.sh]", "[JELLYFIN_WEB_OPT, --webdir=/usr/share/jellyfin/web]", "[JELLYFIN_FFMPEG_OPT, --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_USER, jellyfin]", "[JELLYFIN_DATA_DIR, /var/lib/jellyfin]", "[JELLYFIN_ARGS, $JELLYFIN_WEB_OPT $JELLYFIN_RESTART_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT]", "[JELLYFIN_LOG_DIR, /var/log/jellyfin]"]
[2021-04-16 12:47:19.509 +00:00] [INF] Arguments: ["/usr/lib/jellyfin/bin/jellyfin.dll", "--webdir=/usr/share/jellyfin/web", "--restartpath=/usr/lib/jellyfin/restart.sh", "--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg", ""]
[2021-04-16 12:47:19.510 +00:00] [INF] Operating system: "Linux"
[2021-04-16 12:47:19.510 +00:00] [INF] Architecture: X64
[2021-04-16 12:47:19.511 +00:00] [INF] 64-Bit Process: True
[2021-04-16 12:47:19.511 +00:00] [INF] User Interactive: True
[2021-04-16 12:47:19.511 +00:00] [INF] Processor count: 4
[2021-04-16 12:47:19.511 +00:00] [INF] Program data path: "/var/lib/jellyfin"
[2021-04-16 12:47:19.511 +00:00] [INF] Web resources path: "/usr/share/jellyfin/web"
[2021-04-16 12:47:19.511 +00:00] [INF] Application directory: "/usr/lib/jellyfin/bin/"
[2021-04-16 12:47:19.905 +00:00] [INF] Setting cache path: "/var/cache/jellyfin"
[2021-04-16 12:47:19.982 +00:00] [INF] Defined LAN addresses : "[127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2021-04-16 12:47:19.982 +00:00] [INF] Defined LAN exclusions : "[]"
[2021-04-16 12:47:19.983 +00:00] [INF] Using LAN addresses: "[127.0.0.1/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2021-04-16 12:47:19.991 +00:00] [INF] Using bind addresses: "[]"
[2021-04-16 12:47:19.991 +00:00] [INF] Using bind exclusions: "[]"
[2021-04-16 12:47:20.064 +00:00] [INF] Loading assemblies
[2021-04-16 12:47:20.081 +00:00] [ERR] Failed to load assembly "/var/lib/jellyfin/plugins/TVHeadend_8.0.0.0/TVHeadEnd.dll". Unknown exception was thrown. Disabling plugin.
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.7.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.7.2.0, Culture=neutral, PublicKeyToken=null'
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Emby.Server.Implementations.Plugins.PluginManager.LoadAssemblies()+MoveNext()
[2021-04-16 12:47:24.541 +00:00] [INF] Loaded plugin: "OMDb" "10.7.1.0"
[2021-04-16 12:47:24.542 +00:00] [INF] Loaded plugin: "MusicBrainz" "10.7.1.0"
[2021-04-16 12:47:24.543 +00:00] [INF] Loaded plugin: "AudioDB" "10.7.1.0"
[2021-04-16 12:47:24.674 +00:00] [INF] Kestrel listening on "Any IP4 Address"
[2021-04-16 12:47:25.384 +00:00] [INF] Running startup tasks
[2021-04-16 12:47:25.510 +00:00] [INF] Daily trigger for "Extract Chapter Images" set to fire at 04/17/2021 02:00, which is 13:12:34.4894027 from now.
[2021-04-16 12:47:25.719 +00:00] [INF] Found ffmpeg version "4.3.1"
[2021-04-16 12:47:25.769 +00:00] [INF] Available "decoders": ["h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8_cuvid", "vp8_qsv", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "flac", "mp3"]
[2021-04-16 12:47:25.793 +00:00] [INF] Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "ac3", "flac", "libmp3lame", "libopus", "libvorbis", "srt"]
[2021-04-16 12:47:25.813 +00:00] [INF] Available hwaccel types: ["vdpau", "cuda", "vaapi", "qsv", "drm", "opencl"]
[2021-04-16 12:47:25.814 +00:00] [INF] FFmpeg: Custom: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
Akruidenberg commented 3 years ago

Same here.

TaleOfThor commented 3 years ago

Can confirm. I am using the Jellyfin docker-container from binhex for unraid based on arch: binhex/arch-jellyfin

Xerbo commented 3 years ago

I've switched to M3U + XMLTV from TVH (just create a user with the name of * and give it access to HTTP streaming and "Rights") and it actually works better for my use case, I will keep this issue open though since it seems I'm not the only one affected.

infidelus commented 3 years ago

Same problem with the Linuxserver Docker container on Unraid. The current version of the Tvheadend plugin doesn't work at all.

crobibero commented 3 years ago

The issue from the log is that the plugin is expecting Jellyfin => 10.7.2, when you’re running 10.7.1.

v9 of the plugin (just released) will required Jellyfin 10.7.6. This is something that we are currently looking to fix

infidelus commented 3 years ago

FYI I'm running Jellyfin 10.7.6 and, even with v9, the plugin still doesn't work in my Docker container. All I see when I click the Tvheadend plugin is a spinning icon on the screen.

image