deepsource-autofix[bot]
446393b078
refactor: refactor unnecessary else / elif when if block has a return statement
...
The use of `else` or `elif` becomes redundant and can be dropped if the last statement under the leading `if` / `elif` block is a `return` statement.
In the case of an `elif` after `return`, it can be written as a separate `if` block.
For `else` blocks after `return`, the statements can be shifted out of `else`. Please refer to the examples below for reference.
Refactoring the code this way can improve code-readability and make it easier to maintain.
2024-01-14 14:18:05 +00:00
David
784d54c4e2
Merge pull request #125 from dmunozv04/add-pre-commit
...
add pre-commit
2024-01-14 15:12:02 +01:00
pre-commit-ci[bot]
66b39c4cac
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 14:10:15 +00:00
dmunozv04
321a9e6e9b
reformat DIAL license
2024-01-14 15:09:30 +01:00
pre-commit-ci[bot]
ecb3583c35
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 14:03:37 +00:00
dmunozv04
3cee674e91
Merge remote-tracking branch 'origin/add-pre-commit' into add-pre-commit
2024-01-14 15:03:17 +01:00
dmunozv04
d575a296e7
setup black --preview
2024-01-14 15:03:01 +01:00
pre-commit-ci[bot]
7bf52b6df1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 13:53:04 +00:00
dmunozv04
846ea444d2
Merge remote-tracking branch 'origin/add-pre-commit' into add-pre-commit
2024-01-14 14:52:56 +01:00
dmunozv04
1671d7841b
set black for max line length
2024-01-14 14:52:38 +01:00
pre-commit-ci[bot]
a4f0b5fffe
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-01-14 13:47:14 +00:00
dmunozv04
dae27e7aa3
add pre-commit
2024-01-14 14:46:46 +01:00
David
5df90a234d
Merge pull request #122 from dmunozv04/improve-logging-and-shorts-hack
...
Improve logging and shorts hack
2024-01-14 14:41:12 +01:00
dmunozv04
c3fd67df27
Clean code and fix #121
2023-12-29 16:19:44 +01:00
dmunozv04
35652b6247
Improve exit behaviour
2023-12-29 15:39:41 +01:00
dmunozv04
8ab9cf9519
Improve logging and add hack to view
...
one short
2023-12-26 19:34:24 +01:00
dmunozv04
f4fbbcdff5
Remove connect fix now that it's been pushed upstream
2023-12-19 08:24:45 +01:00
David
385ed8268c
Update package version
2023-12-09 19:22:45 +01:00
David
c196e76205
Merge pull request #113 from dmunozv04/Fix-#112
...
Fixes Will not start v2.0.3 #112
v2.0.4
2023-12-09 19:16:55 +01:00
dmunozv04
863ec5e163
Fixes Will not start v2.0.3 #112
2023-12-09 19:08:20 +01:00
David
128e1f72cb
Merge pull request #111 from dmunozv04:fix-config-file-issues
...
ensures data_dir isn't saved to disk
2023-12-07 14:27:18 +01:00
dmunozv04
fede94e973
ensures data_dir isn't saved to disk
2023-12-07 14:26:14 +01:00
David
0d62f69460
Merge pull request #110 from dmunozv04/fix-ad-skips
...
Attempt to fix ad skips
2023-12-07 14:20:51 +01:00
dmunozv04
8d76bdd1c1
attempt to fix ad skips
2023-12-04 11:18:12 +01:00
David
8c7c2cc206
Merge pull request #106 from dmunozv04/publish-pypi
...
Publish on pypi
v2.0.3
2023-11-29 12:06:40 +01:00
dmunozv04
7a0a264caa
Fix requirements
2023-11-29 12:02:26 +01:00
David
b1f1bd1851
Merge pull request #107 from dmunozv04:use-newer-docker-image
...
Use newer docker image 3.11-alpine
2023-11-29 12:00:58 +01:00
dmunozv04
ab3285048d
Use newer docker image 3.11-alpine
2023-11-29 12:00:20 +01:00
dmunozv04
799e0a6f77
Mark chromecast as working #87
2023-11-29 11:49:13 +01:00
dmunozv04
c95ab4897d
Merge branch 'main' of https://github.com/dmunozv04/iSponsorBlockTV into publish-pypi
2023-11-29 11:44:13 +01:00
dmunozv04
23e90caefc
Sync with main (again)
2023-11-29 11:39:09 +01:00
dmunozv04
7b6f9bd8a0
Sync with main
...
Co-authored-by: tsia <github@tsia.de >
Co-authored-by: kot0dama <89980752+kot0dama@users.noreply.github.com >
Co-authored-by: boltgolt <boltgolt@gmail.com >
2023-11-29 11:33:29 +01:00
David
f3a2c82a56
Merge pull request #105 from dmunozv04/fix-mark-viewed-segments
...
Fix to ensure that skipped segments get reported to SponsorBlock
2023-11-29 10:22:21 +01:00
David
d0506304fd
Merge branch 'main' into fix-mark-viewed-segments
2023-11-29 10:14:40 +01:00
David
a01994e2b0
Merge pull request #76 from tsia/patch-1
...
print device name from config
2023-11-29 10:05:34 +01:00
dmunozv04
bc2c4727dc
Make deepsource happier
2023-11-29 10:04:40 +01:00
dmunozv04
9ebd39d491
Merge branch 'main' into pr/tsia/76
2023-11-29 09:54:45 +01:00
David
2e6a0af8ce
Merge pull request #78 from boltgolt/misc-wizard-key-text
...
Clarification on API key requirement
2023-11-29 09:33:21 +01:00
David
4aa5b1e08c
Merge pull request #102 from kot0dama/kot0dama-patch-wizard-labels
...
Fix muting/skipping ads labels mixup in setup_wizard.py
2023-11-29 09:30:25 +01:00
David
2cc8fa128f
Merge pull request #104 from dmunozv04/dependabot/pip/aiohttp-3.9.0
...
Bump aiohttp from 3.8.6 to 3.9.0
2023-11-29 09:28:04 +01:00
dependabot[bot]
4ab49ea61e
Bump aiohttp from 3.8.6 to 3.9.0
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.8.6 to 3.9.0.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.6...v3.9.0 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 00:51:31 +00:00
kot0dama
3d8fa562b4
Fix muting/skipping ads labels mixup in setup_wizard.py
2023-11-22 12:08:14 +09:00
dmunozv04
20c6870e4c
fix branch
2023-11-17 11:53:04 +01:00
dmunozv04
b90a5e317c
remove .
2023-11-17 11:50:50 +01:00
dmunozv04
93e3fd5720
fix dockerfile copy
2023-11-17 11:43:33 +01:00
dmunozv04
b88d2b61be
prepare for pypi packaging
2023-11-17 11:40:04 +01:00
dmunozv04
5a5ebcfeb7
move directories and data path
2023-11-17 11:38:22 +01:00
dmunozv04
7a66d1acd5
Merge remote-tracking branch 'origin/main'
2023-11-10 11:36:42 +01:00
dmunozv04
de8d03285f
Upgrade pyytlounge and fix #99
2023-11-10 11:36:26 +01:00
David
d850ec8162
Merge pull request #96 from cryingcavecat/chore/confirm-xbox-compatability
...
Confirm Xbox Compatability. Clarify TV Code.
2023-11-09 17:20:08 +01:00