crobibero / jellyfin-plugin-tmdb-trailers

GNU General Public License v3.0
138 stars 19 forks source link

YoutubeExplode.Exceptions.VideoUnplayableException: Video 'FKBN1qAzW3s' is unplayable. Reason: 'Please sign in'. #128

Open cswrd opened 1 month ago

cswrd commented 1 month ago

None of the trailers are played. They are listed in the trailers section, though. I don't see any files on the file system, either. I think they should be located under cache/tmdb-intro-trailers in Linux, isn't it? Am I supposed to login on YouTube somehow? Because it says "please sign in" in the jellyfin logs together with some 403 Forbidden entries.

crobibero commented 1 month ago

I just published v14 of the plugin that contains a few Youtube dependency updates. Please give it a try and report back

cswrd commented 1 month ago

Nice coincidence. Doesn't work either but logs are different. Getting roughly each seconds these entries:

[2024-10-10 18:01:39.105 +02:00] [ERR] [43] Jellyfin.Plugin.Tmdb.Trailers.TmdbManager: GetPlaybackUrlAsync
System.InvalidOperationException: Input stream collection is empty.
   at YoutubeExplode.Videos.Streams.VideoStreamInfoExtensions.GetWithHighestVideoQuality(IEnumerable`1 streamInfos) in /_/YoutubeExplode/Videos/Streams/IVideoStreamInfo.cs:line 48
   at Jellyfin.Plugin.Tmdb.Trailers.TmdbManager.GetPlaybackUrlAsync(String site, String key)

Tested update from previous version and full plugin re-install. Trailer channel lists trailers but no playback possible. Also no trailer files in the cache folder.

crobibero commented 1 month ago

Ah ok that's disappointing, will have to spend some time debugging. Updating this plugin isn't high on my priority list as we are nearing 10.10 release but I will keep it on my TODO list

crobibero commented 1 week ago

Due to Youtube removing the pre-combined video + audio feeds the plugin will need fairly major updates to work to pre-download the video. I don't know when I will get around to making this change.