Code Monkey home page Code Monkey logo

playnite-howlongtobeat-plugin's Introduction

Crowdin GitHub release (latest by date) GitHub Release Date Github Lastest Releases GitHub commit activity GitHub contributors GitHub

playnite-howlongtobeat-plugin

Extension for Playnite.

Informations

The plugin gets and views the time to beat a game from HowLongToBeat.

main_01 main_01 steamgriddb_01 settings_01 settings_01

With this plugin you can

  • get and view the time to beat
  • view your data from HowLongToBeat
  • upload your playtime on HowLongToBeat
  • add a tag with time to beat the game

If the theme support function, you can:

  • add plugin data in game list in "Details View" & "Grid View"
  • add plugin data in game details

Translations

You can help to translate the extensions do different languages via the project Crowdin page.

Custom theme integration

The extension contains elements that can fit into a custom theme.
More informations

More

Remember to support Playnite and HowLongToBeat.
Buy Me a Coffee at ko-fi.com

playnite-howlongtobeat-plugin's People

Contributors

bburky avatar canranban avatar jhanlon95 avatar lacro59 avatar randomninja avatar xunkar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

playnite-howlongtobeat-plugin's Issues

ExtensionFactory:Failed to load plugin: HowLongToBeat

Error log (v1.2.1):
27-12 11:22:53.297|ERROR|ExtensionFactory:Failed to load plugin: HowLongToBeat 27-12 11:22:53.297|ERROR|ExtensionFactory: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.RuntimeModule.GetTypes() at System.Reflection.Assembly.GetTypes() at Playnite.Plugins.ExtensionFactory.<LoadPlugins>d__42.MoveNext() in E:\Devel\Playnite\source\Playnite\Plugins\ExtensionFactory.cs:line 384 at Playnite.Plugins.ExtensionFactory.LoadPlugins(IPlayniteAPI injectingApi, List 1 ignoreList, Boolean builtInOnly) in E:\Devel\Playnite\source\Playnite\Plugins\ExtensionFactory.cs:line 342

It's happening to other plugins as well (localization, game activity, success story). 1.0/1.1 versions works fine, but when I update to 1.2, it failed to load. Any ideas what could I try? Thanks!

This versions works for me: https://puu.sh/H1lve/5c88a8fe0c.png

[Suggestion] Display game time on the HLTB bar above game description

Just a small suggestion, it would be useful and convenient if the extension could also display the game times above/below the bar that can be enabled on game descriptions, instead of it just displaying the HLTB bar with no information on the times that bar represents as shown in the screenshot below.

I've highlighted the place(s) that the times could be displayed, centered to the bar size if possible.

Screenshot_1

Aside from that this is an incredibly useful extension!

improve search

example:

  • Thief™ Gold
  • TrackMania² Stadium
  • Dungeon Siege 2

application crash on fullsceen application

from dPandl on forum (https://playnite.link/forum/thread-264-post-2420.html#pid2420)

I also have another weird problem with this and two of your other plugins SuccesStory and HowLongToBeat with the 1.1 update. Now when I open Playnite in Fullsceen it shuts down with an Error. The log says that:

07-11 03:33:34.596|ERROR|PlayniteApplication:Unhandled exception occured.System.Windows.Markup.XamlParseException: Die Angabe eines Werts für "System.Windows.StaticResourceExtension" führte zu einer Ausnahme. ---> System.Exception: Die Ressource mit dem Namen "BaseStyle" kann nicht gefunden werden. Bei Ressourcennamen wird die Groß- und Kleinschreibung berücksichtigt.
bei System.Windows.StaticResourceExtension.ProvideValueInternal(IServiceProvider serviceProvider, Boolean allowDeferredReference)
bei System.Windows.StaticResourceExtension.ProvideValue(IServiceProvider serviceProvider)
bei MS.Internal.Xaml.Runtime.ClrObjectRuntime.CallProvideValue(MarkupExtension me, IServiceProvider serviceProvider)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
bei System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
bei System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
bei System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
bei HowLongToBeat.Views.Interfaces.HltbButton.InitializeComponent() in E:\Github\Lacro59\playnite-howlongtobeat-plugin\Views\Interfaces\HltbButton.xaml:Zeile 1.
bei HowLongToBeat.Services.HowLongToBeatUI.AddBtActionBar() in E:\Github\Lacro59\playnite-howlongtobeat-plugin\Services\HowLongToBeatUI.cs:Zeile 251.
bei HowLongToBeat.Services.HowLongToBeatUI.<AddElements>b__31_0() in E:\Github\Lacro59\playnite-howlongtobeat-plugin\Services\HowLongToBeatUI.cs:Zeile 92.
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.DispatcherOperation.InvokeImpl()
bei System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
bei MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Threading.DispatcherOperation.Invoke()
bei System.Windows.Threading.Dispatcher.ProcessQueue()
bei System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
bei System.Windows.Application.RunDispatcher(Object ignore)
bei System.Windows.Application.RunInternal(Window window)
bei System.Windows.Application.Run(Window window)
bei Playnite.FullscreenApp.ProgramEntry.Main(String[] args) in E:\Devel\Playnite\source\Playnite.FullscreenApp\ProgramEntry.cs:Zeile 60.

Display? Issues With Different Appearance Options

This is a minor issue but perhaps major to some depending on theme and what's going on "behind the scenes".

This is hard to describe but for some games it's showing "2h 0m".

In this example, Beamdog's "Baldur's Gate" Enhanced Edition:

HowToBeatIssue_1

The plugin sees the correct record and times.

HowToBeatIssue_2

Now it just shows 2h 0m on the bar.

I've tried deleting the plugin data and re-downloading it but it makes no difference.

If I change the extension's view, like in this case, the theme integration, now it works

HowToBeatIssue_3

[Authentication] 1.4.2 seems to have broken authentication.

Pretty much title of issue. I go to the settings -> click authenticate -> login and it seems to go through correctly but after a few seconds it goes back to saying requires authentication. My htlb account name shows up next to account name so it was able to login and get authentication, but it just doesn't seem to stick or something.

Nothing in logs show up for htlb after the initial HowLongToBeatClient:HowLongToBeat - Login() bit. I've tried with a clean browsercache as well and it does the same thing.

Feature Request: Show System Type

I have some emulated games in my library as well as PC, it would be helpful when batch adding titles if the selection window would show the type (PC, Sega Genesis, Atari 2600 etc). (Perhaps the source field as well.)

Pop Ups don't wait for user input when pulling data for full database

I'm having an issue with this plugin, version 1.1. I recently updated, and before installing I deleted all existing extension data (to address a different issue I read about online.) Point is, I'm reinstalling and I need to rebuild the extension data.

So after installing, I go in to Settings > Plugins > Howlongtobeat and tell it to download data for my whole database. It then proceeds to open pop up windows for each game that it found multiple entries on the website for, so I can pick the correct game.

The problem is, it doesn't wait for me to choose a game in the first pop up before it opens another, and another, and another... They open too quickly for me to respond to them, and I can't shift focus away from the most recently opened pop up. Eventually, too many pop ups have opened and Playnite crashes entirely.

Steps to Reproduce:

  1. install howlongtobeat plugin, v1.1 (erase all extension data, if any, before this)
  2. in Settings > Plugins > Howlongtbeat, select "Automatically select game when only one is found" and "Show selection list when more than one is found"
  3. Click "Download" to begin scan of entire database
  4. wait while pop ups open.

Error on data

From @jonathan#6710 on Discord

@Lacro59 Sorry to bother you again, I've been using HowLongToBeat as well and I'm seeing some weird behaviour, the bar is showing only 4h for main and 6h30m for main+ length for every game, when I check the playnite.log I am seeing this error, using "Ty The Tasmanian Tiger 2" as an example, I removed the HowLongToBeat data and then added it back in. I have also attached a screenshot of what it looks like in the playnite view

07-11 14:42:14.848|WARN|PlayniteUiHelper:HowLongToBeat - No data for TY the Tasmanian Tiger 2
07-11 14:42:19.307|ERROR|Common:HowLongToBeat [??? 188] - Error on Grid_Loaded()
System.ArgumentException: '-8' is not a valid value for property 'Height'.
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at HowLongToBeat.Views.Interfaces.HltbProgressBar.Grid_Loaded(Object sender, RoutedEventArgs e) in E:\Github\Lacro59\playnite-howlongtobeat-plugin\Views\Interfaces\HltbProgressBar.xaml.cs:line 18

unknown.png

[BUG] Doesn't send your current play time up either after playing or doing so manually

Pretty much title, running version 1.4.4

Doing it either manually or through means of opening the game and playing a bit and sending it through the popup once you close the game, it doesn't seem to update any data on the hltb website. Checking logs it seems to be sending data for ID's that do not exist.

19-02 09:12:14.136|INFO|GamesEditor:Starting NGU IDLE, 8fe78434-aa46-4743-9a34-807f0aa6133a, 1147690, cb91dfc9-b977-43bf-8e70-55f46e410fab
19-02 09:12:14.136|INFO|GamesEditor:Using library plugin to start the game.
19-02 09:12:14.136|DEBUG|ProcessStarter:Opening URL: steam://rungameid/1147690
19-02 09:12:14.154|DEBUG|ProcessMonitor:Watching dir processes F:\Games\Steam\steamapps\common\NGU IDLE, False, False
19-02 09:12:16.182|INFO|GamesEditor:Started NGU IDLE game.
19-02 09:12:35.872|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory
19-02 09:12:36.426|WARN|HowLongToBeatClient:HowLongToBeat - No SubmitData for 14173370
19-02 09:12:36.426|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, False.
19-02 09:12:36.426|INFO|GamesEditor:Game NGU IDLE stopped after 20 seconds.
19-02 09:13:16.310|DEBUG|WindowFactory:Show dialog window Playnite.DesktopApp.Windows.SettingsWindowFactory
19-02 09:13:46.432|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory
19-02 09:13:46.752|WARN|HowLongToBeatClient:HowLongToBeat - No SubmitData for 14173370
19-02 09:13:46.752|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, False.
19-02 09:16:26.967|DEBUG|WindowFactory:Show dialog window Playnite.DesktopApp.Windows.GameEditWindowFactory
19-02 09:16:31.030|DEBUG|WindowFactory:Closing window Playnite.DesktopApp.Windows.GameEditWindowFactory, False.
19-02 09:16:42.210|WARN|PlayniteUiHelper:GameActivity - No data for Path of Exile
19-02 09:17:38.036|WARN|PlayniteUiHelper:GameActivity - No data for Sea of Thieves
19-02 09:17:58.573|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory
19-02 09:17:59.068|WARN|HowLongToBeatClient:HowLongToBeat - No SubmitData for 14173388
19-02 09:17:59.068|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, False.

the two examples above are both NGU Idle and Sea of Thieves, but it seems to happen for every game I've tried.

[Error] Failed to compare two elements in the array.

06-02 10:02:37.632|ERROR|MainMenu:Main menu extension action failed.
System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at HowLongToBeat.Views.HowLongToBeatUserView.<>c.<.ctor>b__5_0(TitleList x, TitleList y) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Views\HowLongToBeatUserView.xaml.cs:line 47
   at System.Array.FunctorComparer`1.Compare(T x, T y)
   at System.Collections.Generic.ArraySortHelper`1.PickPivotAndPartition(T[] keys, Int32 lo, Int32 hi, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.IntroSort(T[] keys, Int32 lo, Int32 hi, Int32 depthLimit, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, IComparer`1 comparer)
   at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   --- End of inner exception stack trace ---
   at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
   at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
   at HowLongToBeat.Views.HowLongToBeatUserView..ctor() in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Views\HowLongToBeatUserView.xaml.cs:line 47
   at HowLongToBeat.HowLongToBeat.<GetMainMenuItems>b__18_0(MainMenuItemActionArgs mainMenuItem) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\HowLongToBeat.cs:line 178
   at Playnite.DesktopApp.Controls.MainMenu.<>c__DisplayClass14_2.<AddExtensionItems>b__1(Object _, RoutedEventArgs __) in E:\Devel\Playnite\source\Playnite.DesktopApp\Controls\MainMenu.cs:line 358

same deal with #66 after authentication and trying to view user data on a game it throws the above error message, along with the above stuff in the playnite.log, have tried the same stuff I have mentioned in my previous issue thread.

Edit: The error appears in v1.3 unlike how #66 stopped throwing errors in v1.3 but it seems to be a slightly different error (not sure if it is worth posting or not but I will as a good measure):

06-02 10:14:41.972|ERROR|MainMenu:Main menu extension action failed.
System.NullReferenceException: Object reference not set to an instance of an object.
   at HowLongToBeat.Views.HowLongToBeatUserView..ctor() in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Views\HowLongToBeatUserView.xaml.cs:line 47
   at HowLongToBeat.HowLongToBeat.<GetMainMenuItems>b__18_0(MainMenuItemActionArgs mainMenuItem) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\HowLongToBeat.cs:line 178
   at Playnite.DesktopApp.Controls.MainMenu.<>c__DisplayClass14_2.<AddExtensionItems>b__1(Object _, RoutedEventArgs __) in E:\Devel\Playnite\source\Playnite.DesktopApp\Controls\MainMenu.cs:line 358

Add Tags misses some games

I have gathered the HLTB data for all of my games. I then used the "Add tag to all games" option. I have a total of 39 games that have HLTB data, but do not get a tag added to them.

The games with missing tags are from multiple sources, including GOG, Steam, Humble, and manual entry.

The only entry in my log related to this is the following:
07-01 20:11:52.382|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory 07-01 20:12:33.134|INFO|PluginDatabaseObject3:HowLongToBeat - AddTagAllGame() - 00:40.68 for 2125/2125 items
07-01 20:12:33.134|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, True.`

latency on fullscreen

from Nigel on forum (https://playnite.link/forum/thread-309-post-3505.html#pid3505)

My friend, I LOVE the plugin because I can manually add the beat time to games (I mean select which game should it pull from HLTB) but the plugin singnificantly (for me) increases the game load time on the FULL SCREEN mode.

Without HLTB extension the FullScreen game list loads in 1second
With HLTB extension (even before pulling the data) game list loads ~5 seconds.

Sadly this is a no-go for me in the long run. I know, it's just a few seconds but I often switch between screens to test things out and this is sadly not acceptable for me :/ I have tested and confirmed that this plugin increases the load time.

Time variables for custom themes

It will be useful for custom themes to have access to variables with the different times like in SuccesStory plugin.
Something like this:

  • Hltb_Main = Average Main Story time
  • Hltb_Extra = Average Main + Extras time
  • Hltb_Completionist = Average Completionist time
  • Hltb_AllPlayStyles = Average All Play Styles time (the average of the average)

Great plugins.

[Suggestion] Ability to change stored hltb selection from game in case wrong game was selected

To prevent having to select the game again,

First run:
imagen

Subsequent runs show directly here:
imagen

One problem I can think of is that the user may select the wrong game so I'd add a buton that would bring you to the hltb selection window or if possible do the same by clicking either the game cover or game title.

edit: It seems that this issue only happened a few times and it's currently correctly skipping the selection window. I still think it would help having a way to change the stored game selection in case you select the wrong one.

Howlongtobeat plugin doubles my playtime

Description:
My play time is not working as intended when i have the extension enabled. it doubles my time on every game i play. it doesn't matter if its a steam game, battle net game even on the emulated ones.

To reproduce:
I just play something and the problem is happening in every game i play when the extension enabled. if the extension is disabled, playnite works as it should be.

HLTB Grid View Button Bug

So i've been going through my collection and noticed that when switching from details view to grid view, the HLTB button appears to multiple, it's currently up to 5 and it's only showing like this on the grid view details pane as shown below.
2020-11-13 12_37_29-Playnite

It shows up as intended in detail view as you can see.
2020-11-13 12_42_01-Playnite

Not entirely sure what is causing this nor if there's anything I can do to fix it.

[Suggestion] Ability to re-define search

Depending on the game name some games won't have results:
imagen

In hltb:
imagen

It would be useful to be able to redefine the search string for cases like this because otherwise, the game can't be found even if it already exists in htlb database.

show a element if there is data and the plugin is actived crash Playnite

Hi,
When trying to use the any code from the wiki to hide elements it makes Playnite crash, for example this:
https://github.com/Lacro59/playnite-howlongtobeat-plugin/wiki/Addition-in-a-custom-theme#show-a-element-if-there-is-data-and-the-plugin-is-actived

I have using the code published previously, which works well with grids, stackpanel and others controls. The bad, it's when it's disable the custom theme integration, the element always shows without data

<Grid Tag="{DynamicResource Ga_HasDataLog}" Visibility="{Binding RelativeSource={RelativeSource Self}, Path=Tag, Converter={StaticResource BooleanToVisibilityConverter}}"> ... </Grid>

[Suggestion] UI Suggestions (Compact mode and changes to game window)

Compact Mode

I think it would be great to have a compact mode that shows the information without taking much space:

imagen

imagen

I also suggest other colors that I think would look good but that's not a neccesary change.

How it would look:
imagen


Changes to current game window

Game window has redundant information, showing "Main Story", "Main story + extras" and "Completionist" twice. I think it would make more sense to have it just beside the game cover and move the colored rectangles there too.

imagen

My proposed changes:

imagen

[Error] Database Error

06-02 09:45:08.427|ERROR|Common:HowLongToBeat [H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\HowLongToBeat.cs 121] - Error to load game data for DOOM Eternal
System.NullReferenceException: Object reference not set to an instance of an object.
   at HowLongToBeat.Services.HowLongToBeatDatabase.<>c__DisplayClass10_0.<GetUserHltbData>b__0(TitleList x) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Services\HowLongToBeatDatabase.cs:line 536
   at System.Collections.Generic.List`1.Find(Predicate`1 match)
   at HowLongToBeat.Services.HowLongToBeatDatabase.GetUserHltbData(Int32 HltbId) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Services\HowLongToBeatDatabase.cs:line 536
   at HowLongToBeat.Views.HowLongToBeatView..ctor(IPlayniteAPI PlayniteApi, HowLongToBeatSettings settings, GameHowLongToBeat gameHowLongToBeat) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Views\HowLongToBeatView.xaml.cs:line 74
   at HowLongToBeat.HowLongToBeat.<>c__DisplayClass17_0.<GetGameMenuItems>b__0(GameMenuItemActionArgs gameMenuItem) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\HowLongToBeat.cs:line 121

After authenticating myself through HLTB plugin settings this seems to happen for pretty much any and all games when clicking on "View HowLongtoBeat game data", I've tried resetting the database as well and doing a delete data on the games and neither seem to fix the issue after doing the initial data download of any games. This is running update v1.4.1, even tried downgrading to v1.4 and it was doing the same thing. If I delete the settings and don't authenticate myself at all the error goes away and I can view the game data.

I'll be making another error report that is happening as well right after this that has to do with trying to view user data and not game data, though I'm sure that fixing this issue will hopefully fix the other issue as well..

Edit: This error does not seem to appear in v1.3, only v1.4 and v1.4.1 so far.

Edit2: Here is just a log with just everything.
playnite.log

Edit3: more information on a clean version of playnite after setting up my extensions and stuff again that happens while running through user authentication not sure if to put this in #67 or here so I'm just going to post it here (this never shown up in my old playnite runs):

06-02 12:48:58.749|ERROR|Common:HowLongToBeat [H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Services\HowLongToBeatClient.cs 626] - Error on GetTitleList()
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
   at AngleSharp.Extensions.CollectionExtensions.GetItemByIndex[T](IEnumerable`1 items, Int32 index)
   at AngleSharp.Dom.Collections.HtmlCollection`1.get_Item(Int32 index)
   at HowLongToBeat.Services.HowLongToBeatClient.GetTitleList(IElement element) in H:\GitHub\Lacro59\playnite-howlongtobeat-plugin\Services\HowLongToBeatClient.cs:line 626

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.