441 Commits

Author SHA1 Message Date
Roy e5bfb5f501 Add fcntl import to NSLGameScanner.py 2026-06-11 18:56:02 -07:00
Roy de1ae75c16 moved lock 2026-06-11 18:52:32 -07:00
Roy b6aaff2959 Implement single instance check with lock file
Add single_instance function to prevent multiple instances.
2026-06-11 18:46:02 -07:00
Roy 07c1dc88e6 Merge pull request #932 from superness/main
fix: retry WebSocket connection on first run instead of silent exit (#895)
2026-06-10 13:10:53 -07:00
superness bb73939339 fix: retry WebSocket connection on first run instead of silent exit
fetch_targets() called sys.exit(0) on ConnectionRefusedError. Steam's CEF
debugger on port 8080 is not always ready on first run, so the scanner exited
silently and added no shortcuts (issue #895, first-run half).

Replace with retry + exponential backoff (15 attempts, 2s base, 10s cap),
print progress so the retry is visible, and raise the last error instead of
exiting silently.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 13:22:08 -04:00
Roy 34e0bf1f87 Refactor .desktop file deletion logic 2026-06-10 03:47:48 -07:00
Roy 5504eda0f6 Enhance Battle.net config parsing and game handling
Refactor Battle.net game parsing logic and improve key handling.
2026-06-10 02:54:36 -07:00
Roy 445cfafb32 Remove scan state reset logic from NSLGameScanner
Removed code for resetting scan state from the gate file.
2026-06-10 01:26:22 -07:00
Roy 3fd414caec Add files via upload 2026-06-09 23:58:20 -07:00
Roy 067b9f861f Add Boosteroid URL processing to scanner 2026-06-09 13:58:53 -07:00
Roy 08c46611d7 Refactor NSLGameScanner.py by removing commented code
Removed unused Python version variable and related code.
2026-06-08 14:38:51 -07:00
Roy 4f552c5b3c Refactor injection logic with tryInject function 2026-06-08 03:07:27 -07:00
Roy 579cdfdef0 Refactor game mode detection and injection logic 2026-06-08 02:35:13 -07:00
Roy 03a5065f63 Comment out manifest file creation for Steam app
Commented out the call to create_steam_store_app_manifest_file function.
2026-06-07 06:00:00 -07:00
Roy 7d5aad2b32 Added new feature...NSL game scanner integration. 2026-06-07 02:13:32 -07:00
Roy cd124132cc Enhance fetch_targets with error handling and timeout
Added error handling and timeout to fetch_targets function.
2026-06-06 07:08:45 -07:00
Roy e9d635cf07 Update launcher detection for NonSteamLaunchers 2026-06-05 03:07:21 -07:00
Roy c8a11ebd84 Refactor UMU shortcut modification logic
Added a normalization function to standardize codename comparisons and updated the shortcut modification logic to handle UMU entries more robustly.
2026-06-05 00:57:03 -07:00
Roy 4fede75a6e Uncomment code to add new entry to shortcuts
fixed duplication
2026-06-04 23:49:11 -07:00
Roy 65fb8debb8 Refactor game metadata to allow null values
Updated game metadata handling to allow null values for developer and publisher fields instead of defaulting to 'Unknown'. Adjusted platform handling to return null instead of 'Unknown' when no data is available.
2026-06-02 03:40:00 -07:00
Roy 800b6dbd04 Remove console logs for game details
Removed debug console logs for game information.
2026-06-01 05:18:21 -07:00
Roy e64c6abdc5 Added Player Count to Metadata 2026-06-01 05:11:54 -07:00
Roy bb993af3c2 Refactor launcher icons to include dynamic URLs
Metadata: now you can click launcher icon to go to game page websites, Added gamingonsteam, speedrun, Steamcharts, SteamInputDB to metadata links
2026-05-28 02:33:21 -07:00
Roy d6340ec9bc Refactor launcher icon handling in NSLGameScanner 2026-05-24 00:27:12 -07:00
Roy 2efe4f3843 Refactor bottom links layout and add scrolling arrows
Release Please / release-please (push) Has been cancelled
Adjusted styles for bottom links and added scroll arrows.
2026-05-06 01:18:21 -07:00
Roy f113b0039c Fixed icon error 2026-03-12 01:26:04 -07:00
Roy 4bdbf14adf Add 'Super Monkey Ball Online' to game entries 2026-03-12 00:43:23 -07:00
Roy ba8c868a90 Enhance game data with discount information and launcher handling
Added discounted price and discount percent fields to game data. Improved launcher name resolution and icon retrieval logic.
2026-03-10 02:57:05 -07:00
Roy 3c2c7ce602 Refactor fadeOutAndStop and improve audio handling
Release Please / release-please (push) Has been cancelled
Refactor fadeOutAndStop function to accept parameters and improve volume fading logic. Remove unnecessary fadeInterval variable and enhance error handling during YouTube audio playback.
2026-02-03 03:38:29 -08:00
Roy 3a6450a9a3 Refactor theme music handling and improve caching
Release Please / release-please (push) Has been cancelled
2026-02-02 04:16:40 -08:00
Roy 784eac1d2a Refactor playtime data handling in NSLGameScanner 2026-02-02 03:41:21 -08:00
Roy 74ec8c9224 Refactor theme music handling in NSLGameScanner
Release Please / release-please (push) Has been cancelled
2026-02-02 02:39:25 -08:00
Roy 33c06c6947 Add files via upload
Release Please / release-please (push) Has been cancelled
2026-02-01 07:43:10 -08:00
Roy ee8b8abec9 Update display name for Endfield to Arknights: Endfield 2026-01-31 02:11:52 -08:00
Roy 1f5fc50062 Refactor game details fetching with caching 2026-01-31 02:05:08 -08:00
Roy fadab483d3 Add files via upload 2026-01-31 02:01:10 -08:00
Roy b12c04c94a Enhance game details with Metacritic information
Release Please / release-please (push) Has been cancelled
Added Metacritic score and URL to game data display.
2026-01-29 04:27:00 -08:00
Roy 0393f36329 Set default theme music to off
Release Please / release-please (push) Has been cancelled
Change default behavior of theme music to off if parsing fails.
2026-01-28 01:54:49 -08:00
Roy dde79a4e4a Added new feature Metadata for all nonsteam shortcuts 2026-01-27 06:02:40 -08:00
Kronarq 1e18ae1647 Make - between proton & major version optional because ProtonUp-Qt installs to GE-ProtonXX-YY 2026-01-24 05:30:58 -07:00
Kronarq 8f8e9c3194 Fix urllib/requests mismatch in fetch_and_parse_csv fallback
The fallback code was incorrectly mixing urllib.request with requests
library methods (.raise_for_status(), .text) and exception handling.
Fixed to properly use urllib patterns.
2026-01-24 02:31:11 -07:00
Roy d29ef42985 Add files via upload
Release Please / release-please (push) Has been cancelled
2026-01-22 05:21:13 -08:00
Roy 1454fddef3 Added LibreWolf & Vivaldi 2026-01-13 21:17:32 -08:00
Roy bde517ca40 Add custom launch options for Hytale Launcher 2026-01-13 13:02:32 -08:00
Roy 57f92375fa Use environment variables for chrome directory options
Release Please / release-please (push) Has been cancelled
2026-01-12 02:46:50 -08:00
Roy 310c750071 Update launcher_name to use custom launch options 2026-01-12 02:39:27 -08:00
Roy 920793c5b4 Fix string formatting in detect_browser_name function 2026-01-12 02:28:06 -08:00
Roy 617476347a Refactor create_new_entry calls to use browser_for_env 2026-01-12 02:19:10 -08:00
Roy a245b0305d Add browser_for_env function to retrieve browser options
Added a function to get browser options from environment variables.
2026-01-12 02:07:21 -08:00
Roy 723e12cf2c Fix case sensitivity in browser detection 2026-01-12 01:49:30 -08:00