darklinkpower / PlayniteExtensionsCollection

Collection of extensions made for Playnite.
MIT License
331 stars 29 forks source link

[Extra Metadata Loader] Doesn't work properly after 1.56 #509

Closed hallhoward221 closed 8 months ago

hallhoward221 commented 8 months ago

Extension name

Extra Metadata Loader

Bug Description

Hello, guys. I have a problem with Extra MetaData Loader. I am trying to get videologos from youtube or steam but cant download it. Cant even search video on youtube from this extension. Thats what i get from log file Dunno , last year it was working fine. About 2 month ago started to happening. Idk, installed 1.31 version from here https://github.com/darklinkpower/PlayniteExtensionsCollection/issues/169 . Now extension works fine. But on the latest 1.76 doesn't. Also 1.68, 1.62 "failed to execute menu action". 1.56 doesnt download some videos from steam. 1.50 works fine ill stick with 1.50 till fix. Maybe i need install something from microsoft

To Reproduce

No response

Logs

03-03 22:03:15.112|DEBUG|SteamLibrary#SteamTagNamer:Opening C:\Users\User\Downloads\Playnite914\Extensions\SteamLibrary_Builtin\SteamShared\TagLocalization\english.json 03-03 22:03:15.132|DEBUG|UniversalSteamMetadata#SteamTagNamer:Opening C:\Users\User\Downloads\Playnite914\Extensions\Universal_Steam_Metadata\SteamShared\TagLocalization\english.json 03-03 22:03:15.773|INFO |GameActivity#PluginDatabaseObject4:LoadDatabase with 95 items - 00:00.79 03-03 22:03:15.773|INFO |SuccessStory#PluginDatabaseObject4:LoadDatabase with 95 items - 00:00.70 03-03 22:03:15.773|INFO |HowLongToBeat#PluginDatabaseObject4:LoadDatabase with 58 items - 00:00.76 03-03 22:03:16.354|DEBUG|EpicLibrary#EpicLibrary:Found 1 installed Epic games. 03-03 22:03:18.507|DEBUG|EpicLibrary#EpicLibrary:Found 69 library Epic games. 03-03 22:03:18.507|WARN |SteamLibrary#SteamLibrary:Found external Steam directory, but path doesn't exists: D:\SteamLibrary 03-03 22:03:18.507|DEBUG|SteamLibrary#SteamLibrary:Found 21 installed Steam games. 03-03 22:03:19.001|DEBUG|SteamLibrary#SteamLibrary:Found 243 library Steam games. 03-03 22:03:30.231|DEBUG|ExtraMetadataLoader#VideosDownloader:DownloadSteamVideo starting for game Diablo IV 03-03 22:03:30.231|DEBUG|ExtraMetadataLoader#VideosDownloader:Steam id found for Steam game 03-03 22:03:30.267|DEBUG|ExtraMetadataLoader#HttpClientFactory:Created service provider with IHttpClientFactory 03-03 22:03:30.278|ERROR|ExtraMetadataLoader#HttpRequestBuilder:Download failed System.TypeInitializationException: Инициализатор типа "Log" выдал исключение. ---> System.TypeInitializationException: Инициализатор типа "PerTypeValues1" выдал исключение. ---> System.IO.FileNotFoundException: Не удалось загрузить файл или сборку "System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Не удается найти указанный файл. в System.SpanHelpers.PerTypeValues1.MeasureArrayAdjustment() в System.SpanHelpers.PerTypeValues1..cctor() --- Конец трассировки внутреннего стека исключений --- в System.SpanHelpers.IsReferenceOrContainsReferences[T]() в Microsoft.Extensions.Logging.LogValuesFormatter..ctor(String format) в Microsoft.Extensions.Logging.LoggerMessage.CreateLogValuesFormatter(String formatString, Int32 expectedNamedParameterCount) в Microsoft.Extensions.Logging.LoggerMessage.DefineScope[T1,T2](String formatString) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log..cctor() --- Конец трассировки внутреннего стека исключений --- в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log.BeginRequestPipelineScope(ILogger logger, HttpRequestMessage request) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.d5.MoveNext() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в WebCommon.HttpRequestBuilder.d32.MoveNext() в C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\WebCommon\HttpRequestBuilder.cs:строка 202 03-03 22:05:26.110|ERROR|ExtraMetadataLoader#HttpRequestBuilder:Download failed System.TypeInitializationException: Инициализатор типа "Log" выдал исключение. ---> System.TypeInitializationException: Инициализатор типа "PerTypeValues1" выдал исключение. ---> System.IO.FileNotFoundException: Не удалось загрузить файл или сборку "System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Не удается найти указанный файл. в System.SpanHelpers.PerTypeValues1.MeasureArrayAdjustment() в System.SpanHelpers.PerTypeValues1..cctor() --- Конец трассировки внутреннего стека исключений --- в System.SpanHelpers.IsReferenceOrContainsReferences[T]() в Microsoft.Extensions.Logging.LogValuesFormatter..ctor(String format) в Microsoft.Extensions.Logging.LoggerMessage.CreateLogValuesFormatter(String formatString, Int32 expectedNamedParameterCount) в Microsoft.Extensions.Logging.LoggerMessage.DefineScope[T1,T2](String formatString) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log..cctor() --- Конец трассировки внутреннего стека исключений --- в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log.BeginRequestPipelineScope(ILogger logger, HttpRequestMessage request) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.<SendAsync>d__5.MoveNext() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в WebCommon.HttpRequestBuilder.<DownloadStringAsync>d__32.MoveNext() в C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\WebCommon\HttpRequestBuilder.cs:строка 202 03-03 22:05:27.530|ERROR|ExtraMetadataLoader#HttpRequestBuilder:Download failed System.TypeInitializationException: Инициализатор типа "Log" выдал исключение. ---> System.TypeInitializationException: Инициализатор типа "PerTypeValues1" выдал исключение. ---> System.IO.FileNotFoundException: Не удалось загрузить файл или сборку "System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Не удается найти указанный файл. в System.SpanHelpers.PerTypeValues1.MeasureArrayAdjustment() в System.SpanHelpers.PerTypeValues1..cctor() --- Конец трассировки внутреннего стека исключений --- в System.SpanHelpers.IsReferenceOrContainsReferences[T]() в Microsoft.Extensions.Logging.LogValuesFormatter..ctor(String format) в Microsoft.Extensions.Logging.LoggerMessage.CreateLogValuesFormatter(String formatString, Int32 expectedNamedParameterCount) в Microsoft.Extensions.Logging.LoggerMessage.DefineScope[T1,T2](String formatString) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log..cctor() --- Конец трассировки внутреннего стека исключений --- в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log.BeginRequestPipelineScope(ILogger logger, HttpRequestMessage request) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.d5.MoveNext() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в WebCommon.HttpRequestBuilder.d32.MoveNext() в C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\WebCommon\HttpRequestBuilder.cs:строка 202 03-03 22:05:30.012|ERROR|ExtraMetadataLoader#HttpRequestBuilder:Download failed System.TypeInitializationException: Инициализатор типа "Log" выдал исключение. ---> System.TypeInitializationException: Инициализатор типа "PerTypeValues1" выдал исключение. ---> System.IO.FileNotFoundException: Не удалось загрузить файл или сборку "System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" либо одну из их зависимостей. Не удается найти указанный файл. в System.SpanHelpers.PerTypeValues1.MeasureArrayAdjustment() в System.SpanHelpers.PerTypeValues`1..cctor() --- Конец трассировки внутреннего стека исключений --- в System.SpanHelpers.IsReferenceOrContainsReferences[T]() в Microsoft.Extensions.Logging.LogValuesFormatter..ctor(String format) в Microsoft.Extensions.Logging.LoggerMessage.CreateLogValuesFormatter(String formatString, Int32 expectedNamedParameterCount) в Microsoft.Extensions.Logging.LoggerMessage.DefineScope[T1,T2](String formatString) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log..cctor() --- Конец трассировки внутреннего стека исключений --- в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.Log.BeginRequestPipelineScope(ILogger logger, HttpRequestMessage request) в Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.d5.MoveNext() --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) в WebCommon.HttpRequestBuilder.d32.MoveNext() в C:\Users\Brandon\source\repos\PlayniteScriptExtensions\source\Common\WebCommon\HttpRequestBuilder.cs:строка 202

Screenshots

No response

darklinkpower commented 8 months ago

Can you check if your extensions are up to date in Main menu > Addons > Updates? If that doesn't work, try uninstalling the extension and installing again

hallhoward221 commented 8 months ago

I have already done that many times Installing latest version (1.76) doesnt fix this error. image

darklinkpower commented 8 months ago

Just to be sure, are you clicking the "Update add-ons" button there? From the scrollbar height it looks like there are a lot of updates there.

Sergiokool commented 8 months ago

Hi , i have the same error , but in my case is only youtube video search that dont appear nothing when i put any game to seach a video to download :/

darklinkpower commented 8 months ago

Hi , i have the same error , but in my case is only youtube video search that dont appear nothing when i put any game to seach a video to download :/

What version of the extension do you have installed? Please also upload your logs. Main menu > About Playnite > User data directory > Playnite.log and Extensions.log

Sergiokool commented 8 months ago

Hi , i have the same error , but in my case is only youtube video search that dont appear nothing when i put any game to seach a video to download :/

What version of the extension do you have installed? Please also upload your logs. Main menu > About Playnite > User data directory > Playnite.log and Extensions.log

ok i found the problem, is some malware on my pc thats is interfering with youtube , i run malwarebytes and now all works greats thanks a lot and sorry :) never knows my pc has a malware xD cheers

hallhoward221 commented 8 months ago

Dunno, I've reinstalled Playnite as portable. Installed all previous addons with latest version (from backup of old playnite) and Playnite started to work properly without issues.