Commit Graph
165 Commits
Author SHA1 Message Date
DevilXD db862cfdc0 Minor simplification of the autostart detection logic 2024-07-17 13:41:00 +02:00
DevilXD f32c8f25d8 Speed up app loading by fetching inventory images concurrently 2024-07-16 17:54:34 +02:00
DevilXD 18a03353ef Fix autostart setting verbisity flag to zero 2024-07-04 12:09:44 +02:00
DevilXD dc488603c3 Use heavy plus sign character for priority/exclude lists add button 2024-07-03 17:04:10 +02:00
DevilXD 17009d7a65 Dynamically adjust the Exclude/Priority dropdown selection lists (#298) 2024-07-03 17:03:18 +02:00
DevilXD 35c46c2b78 Implement a dynamic tray icon status picture 2024-07-01 21:20:27 +02:00
DevilXD 14a9154366 Implement autostart querying upon application start 2024-07-01 19:25:16 +02:00
DevilXD b47b2089c0 Implement channel watching using the new method 2024-06-22 18:16:14 +02:00
DevilXD f987fecdd0 Fix tray icon title going over 128 characters 2024-06-20 20:19:30 +02:00
Arne Weber 7212bc9a1e fixed comment spelling 2024-06-02 14:44:50 +02:00
Arne Weber 251d0ce60c shorter taskbar title: allows 128, but shows 127 2024-06-02 14:44:50 +02:00
Arne Weber 2dfc8ddaca removed debug print statements 2024-06-02 14:44:50 +02:00
Arne Weber af3079f405 fixed tray title exceeding 128 causing crash 2024-06-02 14:44:50 +02:00
DevilXD f125bf058e Actually handle the sound parameter 2024-01-15 12:19:22 +01:00
DevilXD caecef4ecd Make some notification noise when the application terminates without request 2024-01-15 12:06:30 +01:00
DevilXD 1e31957388 Revert "Expired campaigns are now shown by default"
This reverts commit 725d54a1ca.
2023-11-10 21:40:51 +01:00
DevilXD 725d54a1ca Expired campaigns are now shown by default 2023-10-29 23:23:27 +01:00
DevilXD deee8abf61 Change inventory filters to show all campaigns when all of them are selected 2023-10-29 22:36:12 +01:00
DevilXD bb87b2793e Fix MouseOverLabel not working in certain conditions 2023-08-28 23:12:18 +02:00
DevilXD 137f540d62 Fix drop timestamp "ends" using "starts" translation 2023-08-07 21:04:10 +02:00
DevilXD cb9a0789fe Minor typing update 2023-07-05 21:20:23 +02:00
guihkxandDevilXD 5162e5c553 linux: fix URLs not opening in PyInstaller package
Because PyInstaller modifies the LD_LIBRARY_PATH environment variable
to make things work correctly on Linux, when we try to launch any
subprocess (such as the web browser), that modified variable gets
picked up as well, causing things to go south.

To work around this Linux-only problem, we have to:

1. Save the current value of LD_LIBRARY_PATH
2. Move the value of LD_LIBRARY_PATH_ORIG to LD_LIBRARY_PATH
3. Launch subprocess
4. Restore the saved LD_LIBRARY_PATH again

Reference:

https://pyinstaller.org/en/stable/runtime-information.html#ld-library-path-libpath-considerations

Co-authored-by: DevilXD <bartosz.peszek@gmail.com>
2023-06-11 16:58:18 +02:00
guihkx 82653fcc20 tk: also hook into WM_DELETE_WINDOW to quit the app
Makes the app exit correctly on Linux when the main window is closed.
2023-06-11 16:58:18 +02:00
guihkx 726082a157 tk: set classPath upon instantiation
This fixes an issue on Linux (more specifically, on GNOME Shell 44),
where the window would be identified as "Tk".
2023-06-11 16:58:18 +02:00
guihkxandDevilXD f8c0dba1ee Use icon.visible to show or hide the tray icon on all systems
On Linux, pystray's icon.stop() currently doesn't work well with the
AppIndicator backend.

So, instead of destroying the icon when the user restores from tray
(only to later re-create it when the user minimizes to tray again), we
have the option to control the icon's visibility instead! Luckily, that
works on Windows too!

Note that for this change to work properly on Linux, we need to switch
to the master version of pystray, because we need this specific fix:

https://github.com/moses-palmer/pystray/commit/5943ed4e19be48224cf39b70444de8ffe22c23ce

After pystray releases a version newer than 0.19.4, we can switch back.

Co-authored-by: DevilXD <bartosz.peszek@gmail.com>
2023-06-11 16:58:18 +02:00
DevilXD 7a07e1a9e4 Use run_in_executor for the tray icon thread 2023-06-11 16:58:18 +02:00
DevilXD 489c45af11 Implement autostart via desktop file on Linux 2023-06-11 16:58:18 +02:00
DevilXD 4664a9d7da Implement starts_at and ends_at label display change for drops 2023-06-03 23:51:38 +02:00
DevilXD f74f7c8be7 Redesign root icon setting system 2023-04-26 18:48:04 +02:00
DevilXD 9dc7a1d65f Fix ResourceWarning on unclosed icon file 2023-04-26 17:57:51 +02:00
DevilXD dbc99376a5 Fix an issue with tray notifications option not saving 2023-02-27 22:31:56 +01:00
DevilXD 4100ae5661 Add an option to disable tray notifications 2023-02-19 13:16:27 +01:00
DevilXD 3892dfe59e Implement SmartTV OAuth2 login flow 2022-12-23 13:18:23 +01:00
DevilXD 7dc474286f Minor cleanup of comments, typing and gitignore 2022-12-23 13:17:47 +01:00
DevilXD 5751f96882 Implement handling for broadcast-settings-update 2022-12-11 18:39:38 +01:00
DevilXD 807141befb Fix an unable to login issue;
introduced in the last commit by mistake
2022-12-08 20:10:53 +01:00
DevilXD 577a428de2 Handle 2004 login error code;
add regex validation to the username
2022-12-08 17:52:18 +01:00
DevilXD 76467bad65 Review and adjust the logging module levels 2022-12-07 14:41:47 +01:00
DevilXD 51b2da3e42 Add timestamps to output messages 2022-12-07 13:49:52 +01:00
DevilXD ba2ad2e50d Fix an issue with current_tab being locale-dependent 2022-12-06 17:57:58 +01:00
DevilXD 83ffea013b Implement the translation for a campaign's game display 2022-12-06 07:39:10 +01:00
DevilXD 3551eabcee Make it possible for the campaign status;
to dymanically update upon switching to the Inventory tab
2022-12-03 13:01:16 +01:00
DevilXD 5cb12b3445 Fix the proxy entry not saving it's cleared state 2022-12-01 18:50:02 +01:00
DevilXD d3b9a76b5a Merge branch 'linux' into master 2022-11-30 22:15:38 +01:00
DevilXD 323de6ed59 Include game name in the tray notification and mouse-over title 2022-11-30 11:51:49 +01:00
DevilXD 36597d9a4a Display campaign's game, clear progress when idle 2022-11-30 10:47:56 +01:00
DevilXD 5e53448451 await on completed tasks, instead of calling .result() 2022-11-26 10:04:06 +01:00
DevilXD 504c6b06c0 Reimplement standard login procedure, keep chrome as backup 2022-11-19 19:03:52 +01:00
DevilXD 008dffb212 A bunch of naming and consistency changes 2022-11-15 21:39:17 +01:00
DevilXD 5752e887d1 Fix Chrome proxy support 2022-11-15 11:29:47 +01:00