Git Product home page Git Product logo

playnite-screenshotsvisualizer-plugin's Introduction

Lacro59's GitHub stats
Buy Me a Coffee at ko-fi.com

Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases
Static Badge GitHub release (latest by date) GitHub Release Date Github Lastest Releases

playnite-screenshotsvisualizer-plugin's People

Contributors

lacro59 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

playnite-screenshotsvisualizer-plugin's Issues

Adding and Removing Folders doesn't work properly.

I'll go into the settings and click the add folder button on a game and it will add the folder to another game. If I click add folder a second time it will add the folder. If I click to remove a folder the first click will remove a folder from another game, but something the addon will just crash and need to restart playnite. If I click to delete a game the first click will remove another game. This is increditbly irritating behavior. It happens on 10.8 and 10.9.

[Suggestion] Copy to Clipboard

The ability to copy a screenshot to the clipboard to easily share without having to go to to the root folder would be very useful

Fill available space

Functionality for screenshots to fill available space & make use of entire screen or assigned area, similar to windows file explorer, google images or playnites grid view game covers

Screenshots playnite

filter is not applied

after select and add a game, when you come back to list game added, the filter is not applied

ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()

Found in extensions log

14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Index outside the boundaries of the matrix.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.163|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|304
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326
14-10 23:35:42.217|ERROR|ScreenshotsVisualizer#Common:Error on File load for Rocket League|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|345
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Enumerator.MoveNext()
   en System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   en System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.SetDataFromSettings(GameSettings item) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 345

"Hide screenshots info" settings does not work

The "Hide screenshots setting" does not seem to work as intended.

Playnite version: 10.3
Theme: Stardust

These are my plugin settings:
image

And these are the displayed screenshots. The timestamps and image icons should not be visible.
image

Add support for .webm files

Hi, how's it going? I came up with a suggestion after trying one thing, although ScreenshotsVisualizer has support for .mp4 files, it would be nice if it supports other file types as well, for example .webm (this is because I want to have League of Legends clips and they are saved in that format), I tried to see if it worked but it didn't, so I assumed it wasn't added and it would be nice if it was.

Prevent writing json file again if data has not changed

Currently the extension seems to write a json for a lot of games on Playnite startup. This can be an issue in large libraries with thousands of entries, ideally it should be detected if the new data is the same as the current one and don't write if that is the case.

993 json files are written in my library of 4,720 entries on each startup although I don't know why it happens to some games and not to others.

image

Another issue is that the extension keeps writing json files with no info and without changes from the previous state of the file. For example, file 57f17815-a772-4e7e-a8e4-d25be0f55155.json is written the first time I select a game after I start Playnite, always with the same content:

{"Items":[],"Id":"57f17815-a772-4e7e-a8e4-d25be0f55155","Name":"A Hat in Time"}

[Suggestion] Add support for WebP format

Would it be possible to add support for images in the WebP format?

WebP files are significantly smaller than JPGs which can make a huge difference on disk usage when dealing with a large number of screenshots.

[Bug] Illegal characters in file and folder names

Any game with a colon ( : ) in it's name, will give the following error when using {Name} in the move screenshot path

"The given path's format is not supported."

The solution would be to remove the colon (and any reserved characters) from the game name before creating the folder / naming the file.

Example:

"Diablo II: Resurrected" would have "Diablo II Resurrected" as a folder name

Here's a list of reserved characters in Windows

The following reserved characters:

< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

source: https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file

Screenshot Directory not found

I don't know why this game doesn't work - the only one

13-12 21:34:05.302|WARN |ScreenshotsVisualizer#PluginDatabaseObject3:Screenshots directory not found for Dungeon Siege: Legends of Aranna
13-12 21:34:05.305|WARN |ScreenshotsVisualizer#PluginDatabaseObject3:Screenshots directory not found for Dungeon Siege: Legends of Aranna

grafik

grafik

Big Thumbnail display is created from ... lower res thumbnails, not original?

Hello,

big thumbnails are generated now with 1.2.1 from the lower resolution thumbnails? This is a regression.

still a bug: screenshot strip is not updating and highlight current image which has been clicked on the forward / backwards button.

See also
https://www.youtube.com/watch?v=UKS43Yh9uqk

I also noticed that, if you use the screenshot popup, the inital state is that no picture has been selected (default: first one or last one clicked).

Feature Request: integrate Steam user screenshots

Hi, this is a really neat idea.

I have a feature request: integrate (local) Steam user screenshots; they can be matched by Steam Application ID / and or title.

They don't need to be copied into the Playnite directory, but just directly sourced from the user data folder from steam:

%steamroot%\userdata\userid\760\remote\steam-app-id\screenshots*.jpg

Error with external RetroArch (custom) screenshot location

I'm having error with the extension for my RetroArch games: the variable for screenshots from RetroArch is getting a concatenation of the standard location (RetroArch installation) and the custom installation configured in Playnite.
My installation is in D:, but the screenshots are in a G: directory (which is Cloud synced) and the extension is getting something like (GD:) and a weird path.

Built-in support for ScummVM

It'd be nice if ScreenshotsVisualizer could automatically support screenshots taken with ScummVM, instead of requiring the user to manually add each game.

ScummVM allows users to take a screenshot with a keybind (Alt+S by default) and then saves them all to the same directory, regardless of which game they're from. On my machine, this directory is C:\Users\hayde\Pictures\ScummVM Screenshots. The screenshots are named based on the short name for each game. For example, my first screenshot in Backyard Baseball was titled scummvm-baseball-00000.png, and my first screenshot in Leisure Suit Larry is scummvm-lsl1sci-00000.png.

The full list of short names is here: https://www.scummvm.org/compatibility/. I don't know much about Playnite internals, but it does appear that Playnite has the short name of each ScummVM game saved in its metadata. As you can see in this screenshot, the name for the ROM of Leisure Suit Larry was automatically set to the short name 'lsl1sci'.
image
I did not manually set the ROM to this name, and nowhere in the actual files for my ROM does this short name appear. Thus, I believe Playnite is getting the name directly from ScummVM somehow, and thus I assume it should always be correct.

it doesn't import screenshots.

there is no button to 'refresh data' except for in each game's individual menu. I have hundreds of games, so it's not feasible for me to go through each one refreshing data. surely there must be something not quite working and either it's supposed to do it automatically, or there is some UI element missing that I'm supposed to click to get it to scan my folders?

define a file structure

from AlecTrias on forum (https://playnite.link/forum/thread-514-post-3072.html#pid3072)

Your plugin works great and easy for all my steam games. Now I try to get it to work with RetroArch screenshots somehow.
I can choose my own path to the screenshots location and I can see them in the plugin.
But RetroArch has one folder for screenshots of all its games. The screenshot is named by "RomName"-"Date"-"otherNumbers"...

Add support for .mkv video files

Hi,

I cut some of my videos using .mkv container, and I see that this extension doesn't support them. Could it be added support for .mkv video files?

Possible typo: Using ActualHeight when setting ImageAsync.MaxWidth

Possible typo in these 2 files at this section of code. I assume the intent was to use Path="ActualWidth"

PluginListScreenshots.xaml
PluginListScreenshotsVertical.xaml

<controls:ImageAsync.MaxWidth>
    <MultiBinding Converter="{StaticResource TwoSizeMultiValueConverter}" ConverterParameter="-">
--->        <Binding ElementName="PART_GridContenerListGame" Path="ActualHeight" />
--->        <Binding ElementName="PART_LabelContener" Path="ActualHeight" />
    </MultiBinding>
</controls:ImageAsync.MaxWidth>

Errors!

Error
Seeing this when I use any of the Screenshot Visualizer functions under the Extensions menu. For the most part, it seems to be moving my screenshots to the correct directories but it throws this error.

A log snippet for your perusal. I can get you the full log, if you want it.
Log Snippet

I have several games with screenshots and they're present in the folders but Screenshot Visualizer doesn't see them in the global list:
Empty List

The game-specific shortcut to open the screenshot directory from the game details is also missing. Pretty sure it used to be there.

Edit: I should add that I'm using the eMixedNiteMC theme which, I believe, has support for Screenshot Visualizer.

StartPage Carousel autochange broken

Granted, I am on Playnite 10. The plugin itself works perfectly, only the carousel doesn't want to. It will randomly have spasms, change between photos rapidly and nothing fixes the issue. It persists when auto-change is turned off. The images load, they just change rapidly, which is rather annoying. The intervals at which it changes are also completely random. Some will stay for a few seconds, some won't even stay for 0.1 seconds. They even change in the "Edit Mode" panel.

Clicking the 'Transform number to {digit}' without any number causes a crash

Clicking the hashtag (Transform number to {digit}) under 'add file pattern' without any numbers in the pattern, will cause Playnite to crash.

Playnite.log

08-01 17:30:33.683|ERROR|PlayniteApplication:Unhandled exception occured.
System.ArgumentNullException: Value cannot be null.
Parameter name: input
   at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
   at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement)
   at ScreenshotsVisualizer.Views.ScreenshotsVisualizerSettingsView.PART_BtToDigit_Click(Object sender, RoutedEventArgs e) in D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Views\ScreenshotsVisualizerSettingsView.xaml.cs:line 0
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at System.Windows.Window.ShowDialog()
   at Playnite.Windows.WindowFactory.<>c__DisplayClass16_0.<CreateAndOpenDialog>b__0(Object a) in C:\projects\playnite\source\Playnite\Windows\WindowFactory.cs:line 82
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at System.Windows.Threading.DispatcherSynchronizationContext.Send(SendOrPostCallback d, Object state)
   at Playnite.Windows.WindowFactory.CreateAndOpenDialog(Object dataContext) in C:\projects\playnite\source\Playnite\Windows\WindowFactory.cs:line 57
   at Playnite.DesktopApp.ViewModels.DesktopAppViewModel.<InitializeCommands>b__307_48(Object a) in C:\projects\playnite\source\Playnite.DesktopApp\ViewModels\DesktopAppViewModel_Commands.cs:line 344
   at Playnite.SDK.RelayCommand`1.Execute(Object parameter) in C:\projects\playnite\source\PlayniteSDK\RelayCommand.cs:line 199
   at System.Windows.Input.CommandManager.TranslateInput(IInputElement targetElement, InputEventArgs inputEventArgs)
   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
   at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
   at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Playnite.DesktopApp.ProgramEntry.Main(String[] args) in C:\projects\playnite\source\Playnite.DesktopApp\ProgramEntry.cs:line 61
08-01 17:30:33.699|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ExtensionCrashHandlerWindowFactory: 1e86cbcd-5cd2-4fb3-a08b-d9e3b5a237db

ScreenshotsVisualizer#Common:Error on <SetDataFromSettings> log error

v2.1
image

I have not found how to reproduce it, just found it randomly in the logs.

09-10 19:34:18.525|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__3()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|326
System.IndexOutOfRangeException: Index outside the boundaries of the matrix.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass8_1.<SetDataFromSettings>b__3(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 326

System.IndexOutOfRangeException: index out of range of array error after game exit

Happens after exiting game

image

image

image

18-05 00:51:26.013|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|488
System.IndexOutOfRangeException: index out of range of array.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.013|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|488
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.013|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|488
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.013|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.013|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.269|INFO |SpecialKHelper#SpecialKHelper:Servlet Pid file in C:\Users\Brandon\Documents\My Mods\SpecialK\Servlet\SpecialK32.pid not detected so closing was not needed
18-05 00:51:26.269|INFO |SpecialKHelper#SpecialKHelper:Servlet Pid file in C:\Users\Brandon\Documents\My Mods\SpecialK\Servlet\SpecialK64.pid not detected so closing was not needed
18-05 00:51:26.284|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.284|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.287|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.284|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.287|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.287|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.351|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.351|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.351|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.339|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.351|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.378|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.378|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.383|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.378|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.383|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.378|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.383|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.383|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.383|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.397|ERROR|ScreenshotsVisualizer#Common:Error on <SetDataFromSettings>b__5()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|512
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Add(T item)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.<>c__DisplayClass12_1.<SetDataFromSettings>b__5(String objectFile) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 512
18-05 00:51:26.397|ERROR|ScreenshotsVisualizer#Common:Error on SetDataFromSettings()|D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs|531
System.IndexOutOfRangeException: Índice fuera de los límites de la matriz.
   en System.Collections.Generic.List`1.Enumerator.MoveNext()
   en System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   en System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)
   en ScreenshotsVisualizer.Services.ScreenshotsVisualizerDatabase.SetDataFromSettings(GameSettings item) en D:\GitHub\Lacro59\playnite-screenshotsvisualizer-plugin\source\Services\ScreenshotsVisualizerDatabase.cs:línea 531

Request: Support for Game Variables in file patterns.

It would be cool if we could use Playnite's Game Variables when typing in file patterns.

Example: Screenshots taken in Retroarch are named based off the filename of the ROM/ISO. In which case it would be useful to use {ImageNameNoExt} rather than having to type out the full filename for each emulated game.

[Bug] Paths with two concatenated spaces are not being detected

EDIT: Lol, it seems that GitHub removes the extra space. There is two spaces between "edge" and "Catalyst" instead only one. The same happens for "Test" and "2"

Hi, I tried to use the automatically created by Nvidia GForce Experience folder of Mirror's edge Catalyst, and I've found that folders with two spaces on their title are not being detected:

I've tried with the original folder, which is "Mirror's Edge Catalyst", and the log says: 16-10 21:00:36.409|WARN |ScreenshotsVisualizer#PluginDatabaseObject`4:Screenshots directory not found for Mirror's Edge Catalyst

However, if I rename the folder to "Mirror's Edge Catalyst" it works as expected.

After that, I created a folder named "Test 2", and also it's not being detected, so it seems that for some reason when the folder have two concatenated spaces the plugin will fail to detect it.

EDIT 2:

imagen

First folder is not working while second is, even when both folders are created and have files inside.

[Suggestion] Screenshot carousel for Start Page plugin

How about adding support for the Start Page in the form of a screenshot carousel showing recent screenshots?

With the following configurable settings:

  • How many screenshots to be in the carousel.
  • Limit number of recent screenshots per game that appear in the carousel
    ex.
    carousel total: 10
    Limit per game: 2
    Carousel will show 2 recent screenshots from 5 games.
  • Delay to determine how long a screenshots will show before going to the next one.
  • Only show recent screenshots from favorites, source, category ect..

internal database

from sheepbeep on forum (https://playnite.link/forum/thread-514-post-2986.html#pid2986)

Suggestion:
Have an internal database of default screenshot locations for games for games like Overwatch or the like.

This is activated in the settings menu with a button "scan for known games"

The default locations file can be updated via pull/merge requests and has this format for example:

Game: Overwatch
registry_path:
folder_path: $Documents\Overwatch\Screenshots
relative_path_from_installation:

Environment Variables like %APPDATA% should be automatically resolved and $variable is a default ShellFolder (in this case, $Documents is default document folder)

auto add game

from sheepbeep on forum (https://playnite.link/forum/thread-514-post-2986.html#pid2986)

Have an internal database of default screenshot locations for games for games like Overwatch or the like.
This is activated in the settings menu with a button "scan for known games"

The default locations file can be updated via pull/merge requests and has this format for example:
Game: Overwatch
registry_path:
folder_path: $Documents\Overwatch\Screenshots
relative_path_from_installation:

Environment Variables like %APPDATA% should be automatically resolved and $variable is a default ShellFolder (in this case, $Documents is default document folder)

Enhancement request: Add an option to specify a default screenshot search path

In my usage scenario, I'm populating the ExtraMetadata directory with screenshots of all the games under each game's respective subdirectory.

It would be useful if we could specify a default search path for Screenshot Visualizer to search in if a game is not found in the settings database. In case there are game-specific settings, those would take precedence.

In my case, this would allow me to set a default path to "{PlayniteDir}\ExtraMetadata\games\{DatabaseId}\screenshots" once instead of having to set a path for each game individually.

Settings Page Fails to Load

When trying to access settings, nothing but the message "Failed to load settings" appears.
Playnite DesktopApp_2NGrK5LmYr

There was nothing relevant to the plugin in extensions.log other than this line:
24-06 22:54:38.816|INFO |ScreenshotsVisualizer#PluginDatabaseObject`4:LoadDatabase with 0 items - 00:06.71

Scan Subfolders

It would be cool if we could scan all subfolders whenever we add a folder, this is useful because I have folders that are automatically created based on sessions. My Directories for Example:

image

image

image

As an example of how it could work, I could just add the Rocket League folder in the Screenshot Visualiser menu and for it to automatically scan all its subfolders, so I don't have to manually add all folders after a session.

Screenshot refresh is broken

When importing screenshots, it will not import certain games unless new screenshots are taken, old screenshots are not detected.

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.