Commit Graph

441 Commits

Author SHA1 Message Date
Andrei Baciu 1d162df60d
Merge e48ed8fd4b into f1609f7049 2024-04-12 19:44:29 +02:00
Clxud f1609f7049
Merge pull request #67 from ZandercraftGames/fix/load-exceptions
Fix KeyError in exception handling on error when loading a track.
2024-03-27 22:10:37 -04:00
pre-commit-ci[bot] 5fcfc73901 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-28 02:08:22 +00:00
Zander M. 86b35106b2
Fix KeyError in exception handling on error when loading a track. 2024-03-27 22:04:39 -04:00
Clxud 519a14fbde
Merge pull request #66 from ZandercraftGames/main
Fix build_track failure with Lavalink v4 decodetrack format
2024-03-13 10:16:31 -04:00
Zander M. 9a42093f64
Merge remote-tracking branch 'origin/main' 2024-03-11 13:50:22 -04:00
Zander M. 347a6e0b96
Refactor sourceName to use track_info object. 2024-03-11 13:50:07 -04:00
pre-commit-ci[bot] 83d5add134 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-11 17:29:47 +00:00
Zander M. bb12e33584
Python Black Format 2024-03-11 13:24:54 -04:00
Zander M. 6817cd8e07
Fix build_track failure with Lavalink v4 decodetrack format. 2024-03-11 13:23:42 -04:00
NiceAesth e48ed8fd4b chore(style): change imports, remove url regex duplication 2024-02-24 15:49:12 +02:00
NiceAesth 84765e0ed5 fix: remove non-existant on_socket_response event
As per 56916f9241/docs/migrating.rst (L1215)
2024-02-24 14:37:07 +02:00
NiceAesth 61d363c9ee feat: don't store client secrets 2024-02-24 14:05:22 +02:00
NiceAesth bc19e07008 feat: add more payloads 2024-02-24 13:53:05 +02:00
NiceAesth bf92e37da6 feat: add playlistextended model 2024-02-23 18:29:26 +02:00
NiceAesth e8d26f42cb feat: add extended playlist model
contains uri and artwork_url for AM and Spotify
2024-02-23 18:29:12 +02:00
NiceAesth b719fa461c feat: add playlist models 2024-02-23 17:54:09 +02:00
NiceAesth 33a728f8ec fix: use simple alias instead 2024-02-23 15:33:34 +02:00
NiceAesth b2c4325621 Merge branch 'pydantic' of https://github.com/NiceAesth/pomice into pydantic 2024-02-23 15:31:56 +02:00
NiceAesth d486245428 chore: rename to type adapter instead 2024-02-23 15:30:42 +02:00
pre-commit-ci[bot] 4dfe34d83f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-23 13:24:10 +00:00
NiceAesth ac49c81609 fix: merge 2024-02-23 15:24:09 +02:00
NiceAesth 1474f858fa Merge branch 'pydantic' of https://github.com/NiceAesth/pomice into pydantic 2024-02-23 15:24:02 +02:00
NiceAesth ad48b9de97 chore: type as bool instead
not sure about this one
2024-02-23 15:21:21 +02:00
pre-commit-ci[bot] 49bcf745a9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-23 13:20:49 +00:00
NiceAesth 2e82f1f040 feat: add resume payload 2024-02-23 15:20:40 +02:00
NiceAesth 011315dc77 fix: address some type: ignore comments 2024-02-23 14:18:10 +02:00
NiceAesth 9e9ab07ab5 feat: pass through filters 2024-02-23 14:06:57 +02:00
NiceAesth 05200a9659 fix: subclass exceptions from valueerror as well
allows for more standard handling
arguably we shouldn't be using our own exceptions for cases like this in the first place
2024-02-23 14:05:21 +02:00
NiceAesth 252ee0b79e fix: rename enum members to be uppercase 2024-02-23 13:59:43 +02:00
NiceAesth 26888901ec Merge branch 'pydantic' of https://github.com/NiceAesth/pomice into pydantic 2024-02-23 13:58:20 +02:00
NiceAesth 76eed38a9e fix: preserve __str__ behaviour 2024-02-23 13:58:18 +02:00
pre-commit-ci[bot] 06859b0828 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-23 11:55:45 +00:00
NiceAesth c492ba556d feat: refactor enum models 2024-02-23 13:55:38 +02:00
pre-commit-ci[bot] 41f656a113 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-23 11:46:18 +00:00
NiceAesth e400a5f396 feat: add literal types for v3 and v4 versions
can be used as helpers for type unions
2024-02-23 13:46:17 +02:00
pre-commit-ci[bot] aaa16c029b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-02-23 11:43:39 +00:00
NiceAesth 861071cf19 feat: add event models 2024-02-23 13:43:37 +02:00
NiceAesth 3657c28495 feat: move version model 2024-02-23 12:52:55 +02:00
NiceAesth d27f95a863 chore: add `pydantic` dependency 2024-02-23 12:52:38 +02:00
Clxud 179472bd6e
Merge pull request #63 from NiceAesth/fix-assert
fix: remove unnecessary assert
2024-02-22 11:00:05 -05:00
NiceAesth ba761743b9 fix: remove unnecessary assert
Hit this in production (https://sunnycord.sentry.io/share/issue/e39efaaa16d64b4fbf4e3ec409406971/)
The assert is unnecessary since track is typed as optional either way.
2024-02-19 20:43:58 +02:00
cloudwithax b3795102b8 2.9.0 2024-02-06 17:32:17 -05:00
cloudwithax 2a492c793f fix issues related to loading files/http links, added spotify recommendation querying, changed loglevel enum behavior 2024-02-06 17:31:51 -05:00
cloudwithax 705ac9feab 2.8.1 2024-02-01 22:03:52 -05:00
cloudwithax a926616028 actually make logging optional lol 2024-02-01 22:03:30 -05:00
cloudwithax 4507b50b8b 2.8.0 2024-02-01 21:12:34 -05:00
cloudwithax bd78f47585 fix logging and made spotify + apple music optional because of v4 2024-02-01 21:11:42 -05:00
cloudwithax 9b18759864 update voice channel on state update + dont make logging enabled by default 2024-01-28 15:59:41 -05:00
Clxud 001b801a15
Merge pull request #57 from cloudwithax/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-11-05 20:33:45 -05:00