darklinkpower / PlayniteExtensionsCollection

Collection of extensions made for Playnite.
MIT License
281 stars 28 forks source link

[Extra Metadata Loader] Steam Trailer/Micro-Trailer Fail to Download For Some Games Even With Done Prompt #548

Open sunsetHue opened 1 month ago

sunsetHue commented 1 month ago

Extension name

Extra Metadata Loader

Bug Description

Download video from Steam fails in specific cases without clear cause.

Confirmed to have an accessible trailer on Steam and tested with different desktop environments, internet connections and with and without metadata filled in. No increase in internet usage compared to successful video fetch cases and no files created at Extra Metadata Loader addon data directory.

To Reproduce

  1. Add Fallout New Vegas
  2. Install Extra Metadata Loader
  3. Download video using Extra Metadata context menu
  4. (Without metadata filled) Select Fallout New Vegas (22380)
  5. Done. prompt without actual video appearing in appropriate folder or in extension.log

Logs

No relevant sections in playnite.log. Relevant sections of extension.log below Not Working Log - Fallout New Vegas

01-05 20:21:34.196|DEBUG|ExtraMetadataLoader#VideosDownloader:DownloadSteamVideo starting for game Fallout: New Vegas
01-05 20:21:34.316|DEBUG|ExtraMetadataLoader#HttpClientFactory:Created service provider with IHttpClientFactory
01-05 20:21:35.909|DEBUG|ExtraMetadataLoader#SteamWeb:Obtained 9 games from Steam search term Fallout: New Vegas

Working Log - Project Zomboid

01-05 20:49:55.153|DEBUG|ExtraMetadataLoader#VideosDownloader:DownloadSteamVideo starting for game Project Zomboid
01-05 20:49:56.901|DEBUG|ExtraMetadataLoader#SteamWeb:Obtained 10 games from Steam search term Project Zomboid
01-05 20:50:08.177|DEBUG|ExtraMetadataLoader#VideosDownloader:Obtaining video information: C:\Users\sunsetHue\AppData\Local\Temp\VideoTemp.mp4
01-05 20:50:08.180|DEBUG|ExtraMetadataLoader#ProcessStarter:Starting process: E:\ffmpeg-master-latest-win64-gpl-shared\bin\ffprobe.exe, -v error -select_streams v:0 -show_entries stream=width,height,codec_name_name,pix_fmt,duration -of json "C:\Users\sunsetHue\AppData\Local\Temp\VideoTemp.mp4", E:\ffmpeg-master-latest-win64-gpl-shared\bin
01-05 20:50:09.893|DEBUG|ExtraMetadataLoader#VideosDownloader:Obtaining video information: C:\Users\sunsetHue\AppData\Local\Temp\VideoTemp.mp4
01-05 20:50:09.893|DEBUG|ExtraMetadataLoader#ProcessStarter:Starting process: E:\ffmpeg-master-latest-win64-gpl-shared\bin\ffprobe.exe, -v error -select_streams v:0 -show_entries stream=width,height,codec_name_name,pix_fmt,duration -of json "C:\Users\sunsetHue\AppData\Local\Temp\VideoTemp.mp4", E:\ffmpeg-master-latest-win64-gpl-shared\bin
01-05 20:50:09.996|DEBUG|ExtraMetadataLoader#FileSystem:Moving file C:\Users\sunsetHue\AppData\Local\Temp\VideoTemp.mp4 to C:\Users\sunsetHue\AppData\Roaming\Playnite\ExtraMetadata\games\f03ba06c-4109-4223-ae2d-0e1637aa926b\VideoTrailer.mp4

Screenshots

Fallout New Vegas: Context Menu image

Fallout New Vegas: Select game image

Fallout New Vegas: Done. Prompt image

Fallout New Vegas: Missing Video image

Project Zomboid: Context Menu image

Project Zomboid: Downloading Video image

Project Zomboid: Done. Prompt image

Project Zomboid: Functional Video Appears image