Commit Graph

428 Commits

Author SHA1 Message Date
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
pre-commit-ci[bot] db1c66dd40 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-30 17:50:55 +00:00
pre-commit-ci[bot] 341164a0d2
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/psf/black: 23.7.0 → 23.10.1](https://github.com/psf/black/compare/23.7.0...23.10.1)
- [github.com/asottile/blacken-docs: 1.15.0 → 1.16.0](https://github.com/asottile/blacken-docs/compare/1.15.0...1.16.0)
- [github.com/asottile/pyupgrade: v3.10.1 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.10.1...v3.15.0)
- [github.com/asottile/reorder-python-imports: v3.10.0 → v3.12.0](https://github.com/asottile/reorder-python-imports/compare/v3.10.0...v3.12.0)
- [github.com/asottile/add-trailing-comma: v3.0.1 → v3.1.0](https://github.com/asottile/add-trailing-comma/compare/v3.0.1...v3.1.0)
- [github.com/hadialqattan/pycln: v2.2.2 → v2.3.0](https://github.com/hadialqattan/pycln/compare/v2.2.2...v2.3.0)
2023-10-30 17:50:45 +00:00
Clxud 7829086ae3
Merge pull request #59 from corpnewt/patch-1
Account for Lavalink v4 changes when loading YT playlists
2023-09-17 11:33:42 -04:00
pre-commit-ci[bot] f9cb48c48f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-15 23:28:59 +00:00
CorpNewt 3401b669e8
Fix for YT URL searches on Lavalink v4
Since the prior code for v3 uses list comprehension to build the tracks returned, we can check if we're using v4 and if the data[data_type] is a dictionary, and wrap it in a list to ensure the same behavior.
2023-09-15 18:28:50 -05:00
CorpNewt d7a7efb051
Account for Lavalink v4 changes when loading YT playlists 2023-09-15 10:35:56 -05:00
cloudwithax 0904196979 ver bump 2023-08-23 13:15:54 -04:00
Clxud 7617ecf2d1
Merge pull request #58 from NiceAesth/fix-resume
fix: undefined data in `_configure_resuming`
2023-08-23 13:14:56 -04:00
NiceAesth 1acc594467 fix: undefined data in `_configure_resuming` 2023-08-23 20:00:36 +03:00
cloudwithax e48c31b7a9 Merge branch 'main' of https://github.com/cloudwithax/pomice 2023-08-23 10:45:04 -04:00
cloudwithax f3c5461854 patch load types and track events for v4 2023-08-23 10:44:51 -04:00
Clxud aa826c7da2
Merge pull request #56 from cloudwithax/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2023-08-16 01:26:36 -04:00
pre-commit-ci[bot] bc71088092
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/hadialqattan/pycln: v2.2.1 → v2.2.2](https://github.com/hadialqattan/pycln/compare/v2.2.1...v2.2.2)
2023-08-14 21:23:03 +00:00