Commit graph

89 commits

Author SHA1 Message Date
Pat Hartl
4c0bd86d80 Show authentication window instead of context menu if not connected to server 2024-01-23 19:03:13 -06:00
Pat Hartl
4af2f9d32c Remove old top profile menu item and properly name profile button 2024-01-23 18:57:15 -06:00
Pat Hartl
16afb8af1a Refactor profile button into full strip and properly manage state of logged in user with display name. 2024-01-23 18:54:44 -06:00
Pat Hartl
769adc0605 Implement actual API logout method to kill any valid tokens. Keep better track if the API client is actually connected. 2024-01-23 18:01:12 -06:00
Pat Hartl
d2f1737c16 Fix cancel on library import 2024-01-23 17:29:15 -06:00
Pat Hartl
29577bebb2 Fix games showing no actions when they're not tied to any servers 2024-01-22 19:10:13 -06:00
Pat Hartl
267ce578ff Better layout of the download queue 2024-01-22 01:50:30 -06:00
Pat Hartl
f61169771f Fix current item not clearing after finished install 2024-01-21 14:44:36 -06:00
Pat Hartl
7f0c39abe3 Bind remove from queue button 2024-01-21 13:14:25 -06:00
Pat Hartl
a160f7dc54 Hook up sidebar progress with current item progress. Add indeterminate state for current item progress. 2024-01-21 12:52:12 -06:00
Pat Hartl
b0362827a1 Use dispatcher to update UI. DownloadQueueItem implements ObservableObject for UI updates. Properly handle InstallController lifetime. Added cover to download queue. Laid out the download queue a bit more. 2024-01-21 12:34:30 -06:00
Pat Hartl
a269d7a658 Rough but functional download queue 2024-01-20 21:02:41 -06:00
Pat Hartl
d674f20712 Added profile button 2024-01-19 05:33:33 -06:00
Pat Hartl
11b9b884e4 Show offline mode button if offline mode is enabled. Show name in name change button and don't run name change across all games. 2024-01-19 05:15:01 -06:00
Pat Hartl
7278aa8b86 Keep track of what name was used on the last name change script run for a game 2024-01-19 00:25:38 -06:00
Pat Hartl
ab7527479a Add offline mode to Playnite plugin 2024-01-18 23:22:46 -06:00
Pat Hartl
d7cb7be6ad Remove main menu item for clearing download cache, not used anymore 2024-01-18 22:52:09 -06:00
Pat Hartl
e6cc3d0901 Added the ability to manually specify host and port for server variable expansion. Default to client server address 2024-01-18 19:36:20 -06:00
Pat Hartl
926ecdb46d Allow servers to define additional game actions 2024-01-18 01:27:03 -06:00
Pat Hartl
caecf603ac Store player alias separate from the username
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
LANCommander Release / build (push) Has been cancelled
2024-01-15 20:39:04 -06:00
Pat Hartl
850894d5a5 Added migration to organize meta files for installed games into new meta directory 2024-01-14 23:48:52 -06:00
Pat Hartl
a8ed46bff7 Change location of all metadata/script files in install directory
In order to support mods and expansions, there needs to be another place to hold game scripts and the manifest. These have been moved to the {InstallDir}\.lancommander\{GameId} directory.
2024-01-09 01:22:56 -06:00
Pat Hartl
5c53dc7472 Pull collections in as categories into Playnite when grabbing metadata 2024-01-05 18:27:52 -06:00
Pat Hartl
ef93c10748 Fix form references 2024-01-02 21:41:52 -06:00
Pat Hartl
7d99b33233 Fix reference. Remove references to Forms 2024-01-02 21:27:32 -06:00
Pat Hartl
a8ce71a363 Allow other variables to be added. Remove dependency on Windows.Forms in SDK. Add display variables to actions. 2024-01-02 21:21:06 -06:00
Pat Hartl
939fafe829 Implement custom play actions. Allow for certain variables in arguments, working directory, and action path. 2024-01-02 20:46:28 -06:00
Pat Hartl
7afa8d0674 Rename managers to services, merge into Client so it can be used anywhere the client is accessible. 2024-01-02 02:34:58 -06:00
Pat Hartl
4c54381a2e Fix action path resolution by explicitly passing in the install directory when updating game info 2023-12-27 17:21:53 -06:00
Pat Hartl
f51aff52dc Download latest save after install before install scripts execute 2023-12-27 17:20:41 -06:00
Pat Hartl
b9ad46065b Default value in working directory of {InstallDir}. Strip out the working directory out of the action path if it's present. Only update actions if game is installed or installing. 2023-12-26 19:58:37 -06:00
Pat Hartl
13d126c81a Use LANCommander environment variable expansion when setting action path and working directory 2023-12-26 18:11:09 -06:00
Pat Hartl
881a1e93be Update game notes from manifest notes
Fixes #47
2023-12-15 17:26:01 -06:00
Pat Hartl
26f0ac22fb Remove unused code 2023-12-13 23:37:28 -06:00
Pat Hartl
3c70cbdcae Remove games that a user does not have access to 2023-12-04 20:37:11 -06:00
Pat Hartl
035c98cd18 Initialize save controller 2023-11-30 00:10:54 -06:00
Pat Hartl
b863080842 Fix save errors blocking play session recording. Fix route that SDK client hits for play sessions 2023-11-20 19:33:48 -06:00
Pat Hartl
ead2c9c3f1 Implement ILogger abstraction for Playnite 2023-11-20 18:19:31 -06:00
Pat Hartl
282a1f7c36 Fix authentication status label not updating after authentication 2023-11-20 17:35:11 -06:00
Pat Hartl
5324723cee Start tracking play sessions 2023-11-17 02:28:46 -06:00
Pat Hartl
a9f3b7a39d Only execute scripts if they exists on the disk 2023-11-16 14:06:40 -06:00
Pat Hartl
8d85aca0a7 Fix plugin menu items to use new script execution 2023-11-16 00:46:20 -06:00
Pat Hartl
bb980cc063 Avoid exception if manifest is malformed 2023-11-10 21:45:09 -06:00
Pat Hartl
73b542856a Refactor GameSaveService into GameSaveManager and SaveController. Update Playnite addon authentication dialogs to use new client. 2023-11-10 01:32:30 -06:00
Pat Hartl
39f2d4b212 Move methods that should be static to ManifestHelper and ScriptHelper. Move install logic to GameManager and RedistributableManager. Update InstallController and UninstallController 2023-11-10 00:29:16 -06:00
Pat Hartl
a679fae0cb Relocate crucial installation logic to SDK 2023-11-09 19:40:38 -06:00
Pat Hartl
f0c8296b6e Don't grab icon from old icon route 2023-11-03 00:10:13 -05:00
Pat Hartl
739453c8bc Pull media for Playnite from LANCommander server if it exists
Some checks failed
LANCommander Playnite Plugin / build (push) Has been cancelled
LANCommander / build (push) Has been cancelled
2023-11-02 23:37:10 -05:00
Pat Hartl
499b0c910a Add ability to add media to games. Search media from steamgriddb.com 2023-11-02 01:24:42 -05:00
Pat Hartl
b23df9b2ad Support Playnite URI for connecting to server
e.g. playnite://lancommander/connect/http%3A%2F%2Flocalhost%3A1337
2023-10-28 13:56:54 -05:00