This is my first extension and my first time working in C# (I'm a backend java developer, so the syntax wasn't too bad but the xaml was a challenge). This extension is pretty simple, but useful. It adds an option in the game menu to set the time for a game in hours and minutes. While doing this you can also change the completion status of the game.
![[Image: Menu_Option.png]](https://raw.githubusercontent.com/erys/FriendlySetTimePlaynitePlugin/8fbfb578501248232231283025fc70138d2a9a82/Menu_Option.png)
![[Image: Set_Time_Window.png]](https://raw.githubusercontent.com/erys/FriendlySetTimePlaynitePlugin/8fbfb578501248232231283025fc70138d2a9a82/Set_Time_Window.png)
GitHub
Download the extension file here and drag and drop into playnite to install or install from the add on menu.
FriendlySetTime_v_0_2.pext (Size: 51.12 KB / Downloads: 342)
Planned:
For me, I have two main uses for this extension:
1. Setting initial playtime for games imported from libraries where the playtime isn't imported.
2. Updating playtime for games I play elsewhere (i.e. consoles).
For both of these use cases, I'd also like to update the last played date. Because of use 2, I'd like to include both a date picker and a quick way to set last played to the current day. I'm planning to add this for my next release. I also want to add localization framework before 1.0.
Another feature I want to add is the ability to set the playtime in hours and minutes from the advanced tab of the game edit window (probably with a button that opens a new window, but ideal would be text boxes right on the edit window, but I'm not sure that's possible). This is much more complicated, but hopefully I'll figure it out eventually.
Changelog:
11/9/2021 - v0.2
- initial public release, keeping below 1.0 because it's missing some basic features I want to include.
![[Image: Menu_Option.png]](https://raw.githubusercontent.com/erys/FriendlySetTimePlaynitePlugin/8fbfb578501248232231283025fc70138d2a9a82/Menu_Option.png)
![[Image: Set_Time_Window.png]](https://raw.githubusercontent.com/erys/FriendlySetTimePlaynitePlugin/8fbfb578501248232231283025fc70138d2a9a82/Set_Time_Window.png)
GitHub
Download the extension file here and drag and drop into playnite to install or install from the add on menu.
Planned:
For me, I have two main uses for this extension:
1. Setting initial playtime for games imported from libraries where the playtime isn't imported.
2. Updating playtime for games I play elsewhere (i.e. consoles).
For both of these use cases, I'd also like to update the last played date. Because of use 2, I'd like to include both a date picker and a quick way to set last played to the current day. I'm planning to add this for my next release. I also want to add localization framework before 1.0.
Another feature I want to add is the ability to set the playtime in hours and minutes from the advanced tab of the game edit window (probably with a button that opens a new window, but ideal would be text boxes right on the edit window, but I'm not sure that's possible). This is much more complicated, but hopefully I'll figure it out eventually.
Changelog:
11/9/2021 - v0.2
- initial public release, keeping below 1.0 because it's missing some basic features I want to include.