Commit Graph
100 Commits
Author SHA1 Message Date
DevilXD 03536d8344 Switch to IDLE after cleanup, not game select 2022-02-26 19:41:30 +01:00
DevilXD ed81d6abc8 Version bump 2022-02-25 21:25:38 +01:00
DevilXD dc6b7f1f2c Update manual 2022-02-16 13:25:08 +01:00
DevilXD 83b8de11a1 Implement exclude argument 2022-02-16 13:15:53 +01:00
DevilXD fdc9dabd49 Handle comercial stream state 2022-02-16 12:48:20 +01:00
DevilXD c112003a38 _V -> _T 2022-02-15 20:55:57 +01:00
DevilXD 763bc0a536 An error is now shown for incorrect arguments passed 2022-02-15 20:31:12 +01:00
DevilXD c8c6b7139d Add a helpful message 2022-02-14 23:00:03 +01:00
DevilXD babca4374d Move the topics changed flag clear to the top;
to avoid a possible race condition with multiple adds and removals at the same time
2022-02-14 22:47:22 +01:00
DevilXD 3653ecf152 Unify start method 2022-02-14 22:14:43 +01:00
DevilXD 3a5d105235 Use paramspec 2022-02-14 22:02:42 +01:00
DevilXD 60a9e273c8 Remove unused code 2022-02-14 20:39:06 +01:00
DevilXD 82b6d59194 Fix incorrect stream state subscribtion topic 2022-02-14 18:25:12 +01:00
DevilXD e8cb7ca099 Bugfix and WS improvements 2022-02-14 16:21:01 +01:00
DevilXD 5a0d06411d fix positional only syntax 2022-02-14 15:42:44 +01:00
DevilXD 0e7eb02ddf Update README; add a How It Works section 2022-02-14 12:12:01 +01:00
DevilXD 3fba155c68 Add manual 2022-02-13 22:54:59 +01:00
DevilXD fce1bfa380 Remove erroneous print 2022-02-13 22:52:54 +01:00
DevilXD f6453dafaf Remove idle arg, make it default 2022-02-13 21:48:38 +01:00
DevilXD 423e51bc27 Handle maximum channels limit;
Proper handle of a case where the app ends up with more channels from ACLs than is supported
2022-02-13 20:13:11 +01:00
DevilXD ce9af7b4ba Merge branch 'master' of https://github.com/DevilXD/TwitchDropsMiner 2022-02-12 09:06:33 +01:00
DevilXD fa0293faf3 Explicitly set stream to none here 2022-02-11 20:53:19 +01:00
DevilXD f41146ebdd tags are jsontype 2022-02-11 20:47:12 +01:00
DevilXD 904ccecc2a Redo stream init 2022-02-11 18:27:08 +01:00
DevilXD 4d2a884fbe Redo channel init 2022-02-11 18:09:54 +01:00
DevilXD 268cf439e7 Logging and debug improvements 2022-02-11 17:33:54 +01:00
DevilXD b05d9bca2d Ensure connection error cause is included 2022-02-11 16:50:32 +01:00
DevilXD 3a7b468ac8 Small packaging improvements 2022-02-10 21:53:01 +01:00
DevilXD ab5fd592c8 get rid of is_watching 2022-02-10 21:45:10 +01:00
DevilXD d3fd4e93a3 use more walrus operator 2022-02-10 21:34:48 +01:00
DevilXD 473af57aeb make channel list's display add channels only on explicit add 2022-02-10 21:34:36 +01:00
DevilXD 3ccbd4c3db Readd campaign's get_drop 2022-02-10 20:10:17 +01:00
DevilXD d90d20a42c Streamline connection retry code 2022-02-09 11:59:08 +01:00
DevilXD 038fac48f9 Fix a bug with an uninitialized attribute 2022-02-07 21:02:28 +01:00
DevilXD b28940fce1 Get rid of password validation on login 2022-02-07 18:44:42 +01:00
DevilXD 5e129d41d8 Attribute lookup performance improvements 2022-02-06 21:23:17 +01:00
DevilXD 32f475d7ed Fix the possibility of stream_data being None 2022-02-06 21:05:37 +01:00
DevilXD b0007eaab2 Remove inventory lock to fix a bug;
with campaign not refreshing once all drops are mined
2022-02-04 16:52:14 +01:00
DevilXD e921295613 Use more accurate types and checks for drop context 2022-02-01 21:01:58 +01:00
DevilXD beca65e271 Fix None drop context crash 2022-02-01 20:59:50 +01:00
DevilXD 1a1117b90c Fix an issue with watching channel being lost on cleanup 2022-02-01 12:51:28 +01:00
DevilXD a43b6e6df7 Add note about argparse help 2022-02-01 11:37:52 +01:00
DevilXD 6839247322 Go back to refreshing inventory every hour;
implement inventory lock
2022-01-31 15:09:14 +01:00
DevilXD 4b97b26630 Make IDLE able to switch to mining if a channel comes online 2022-01-31 11:36:58 +01:00
DevilXD 2c6ee2939e Implement idle argument 2022-01-31 11:23:11 +01:00
DevilXD 88d7ffa520 Fix a bug with not claiming one of the two drops;
if two of them happened to be earned at the same time.
2022-01-30 20:57:33 +01:00
DevilXD 0388fdc290 Add drops column, signifying if drops are enabled or not 2022-01-30 16:56:15 +01:00
DevilXD 0b8e0211ff Fix a bug with set_status when amount of topics is zero 2022-01-30 16:54:11 +01:00
DevilXD cdb8e958c3 Version bump 2022-01-28 23:13:31 +01:00
DevilXD be4c443836 Implement automatic zip dist creation 2022-01-28 23:07:53 +01:00
DevilXD 61a3d6560c Fix cleanup cleaning up priority channels 2022-01-28 16:43:35 +01:00
DevilXD bad1596324 Print a message when a priority channel goes online;
and triggers a switch
2022-01-26 19:36:09 +01:00
DevilXD 255fb55963 Add channel priority for display 2022-01-25 22:42:45 +01:00
DevilXD f7d836aa4f Give imports some more sensible ordering 2022-01-25 16:20:48 +01:00
DevilXD 91b2844e9b Fix an issue with directory returning channel name as login 2022-01-25 16:05:14 +01:00
DevilXD 20949e7738 Unify constants variables documentation 2022-01-25 16:04:56 +01:00
DevilXD 5e2a40fc57 Improve channel's repr 2022-01-24 23:02:00 +01:00
DevilXD 29d4fb6cb0 Fix an issue where channel's display name was treated like it's username/login 2022-01-24 22:57:37 +01:00
DevilXD 9ef0007604 Improve figuring out if new campaigns are claimed or not 2022-01-24 22:57:14 +01:00
DevilXD d51c3f53bd Move ACL check into drop's can_earn 2022-01-23 14:01:35 +01:00
DevilXD 1e552919ac Add missing error message print 2022-01-23 13:31:02 +01:00
DevilXD 3d3eb3b005 Defer client session init 2022-01-23 12:40:16 +01:00
DevilXD 0e5560f441 Minor debug print improvement 2022-01-22 22:58:32 +01:00
DevilXD 6689b28a70 Speed up get_drop 2022-01-22 22:57:26 +01:00
DevilXD a387482962 Fix active drop search failing on campaigns with an empty ACL 2022-01-22 22:53:01 +01:00
DevilXD b634f04da0 Reduce live channels limit to 30 2022-01-22 21:12:42 +01:00
DevilXD 59cceaf474 Added some basic connection problems handling 2022-01-22 21:10:12 +01:00
DevilXD 0227362537 Fix active drop subone pre-display 2022-01-22 19:47:43 +01:00
DevilXD db5698843c Cache watch payload 2022-01-22 19:42:01 +01:00
DevilXD 75179dc69f Fix isEnabled KeyError 2022-01-22 19:32:13 +01:00
DevilXD 7e5f34748b Use aware timestamps in inventory 2022-01-22 19:13:22 +01:00
DevilXD c0d6d8eb60 Fix channel cleanup removing priority channels 2022-01-22 19:02:31 +01:00
DevilXD bd9d818b21 Implement support for campaign ACLs 2022-01-22 15:31:44 +01:00
DevilXD e21494cfe8 Shrink now uses minwidth when the table is empty 2022-01-19 19:40:12 +01:00
DevilXD 97d6ac1b29 Move asyncio loop handling to main.py 2022-01-17 17:04:31 +01:00
DevilXD 2fdbf809e7 Small closing sequence cleanup + useful comments 2022-01-16 23:16:33 +01:00
DevilXD 3a05e5e104 More accurate active drop pre-display 2022-01-16 23:10:52 +01:00
DevilXD 365a702d8a Implement automatic campaign discovery and starting 2022-01-16 22:56:06 +01:00
DevilXD cf1830cce9 Stop automatic switching between games;
IDLE state + listbox selection clear fix
2022-01-16 22:50:09 +01:00
DevilXD 1d65fddfa1 Simplify set_status typings and handling 2022-01-14 19:07:07 +01:00
DevilXD 9b51cf079b Make sure watch task is protected by task_wrapper 2022-01-14 18:52:55 +01:00
DevilXD 3f19174b20 Version bump 2022-01-14 18:52:30 +01:00
DevilXD 8d18b542df Fix quit -> sys.exit 2022-01-14 16:49:28 +01:00
DevilXD 1cdb39768c App building improvements 2022-01-14 15:50:03 +01:00
DevilXD fd030e33f6 Quit if the application is already running 2022-01-14 15:10:36 +01:00
DevilXD b6229163bf Fix an AttributeError on cache invalidation 2022-01-13 18:13:36 +01:00
DevilXD bf377b260f Add campaign and drop repr 2022-01-13 14:28:22 +01:00
DevilXD 7b80cd9a67 Cache dynamic inventory attributes 2022-01-13 14:13:59 +01:00
DevilXD 8c4da299e8 Implement a 'tray' argument 2022-01-13 13:48:02 +01:00
DevilXD afa1945c87 Implement tray icon title displaying progress 2022-01-13 13:32:02 +01:00
DevilXD f1ee9560e1 Make EXE name more accurate 2022-01-13 13:04:34 +01:00
DevilXD 34a1a5b12b Remove Pillow dependency 2022-01-12 21:36:47 +01:00
DevilXD eee93b2554 Version bump 2022-01-12 19:13:00 +01:00
DevilXD 692a7f9de4 Let the tray icon's setup thread handle visibility 2022-01-12 18:56:36 +01:00
DevilXD 8d5f66c654 Ensure CHANNEL_CLEANUP stops watching a channel that's about to be removed 2022-01-12 17:48:25 +01:00
DevilXD 17dc4b2c30 Ensure CHANNEL_SWITCH preserves currently watched channel 2022-01-12 17:45:45 +01:00
DevilXD b17127aabc Fix a bug with WS status not updating after removal 2022-01-12 16:39:05 +01:00
DevilXD a91644d6de Latest user agent, cleanup comments and docstrings;
ONLINE_DELAY: 60s -> 120s
2022-01-12 12:11:04 +01:00
DevilXD cab3c584fb Change campaigns refresh every hour to channel cleanup;
Separate off GAMES_UPDATE from INVENTORY_FETCH
2022-01-12 11:50:16 +01:00
DevilXD 6b30f93f71 Implement dynamic campaign status 2022-01-12 11:36:36 +01:00