Commit Graph

267 Commits

Author SHA1 Message Date
cloudwithax e69349bca8
reflect type changes 2023-04-25 11:19:08 -04:00
SCARTAL b75d2f580c
type changes mirrored in function body 2023-04-22 01:14:04 +03:30
SCARTAL b0ef03d2d1
`spotify_id` data type correction
Spotify ids contain chars, entering str data will not cause errors but it has to change to avoid confusion.
2023-04-22 01:06:35 +03:30
cloudwithax 42d886554e 2.4.1 2023-04-06 20:28:21 -04:00
cloudwithax e7c627dcd2 fix move to and swap node 2023-04-06 20:27:59 -04:00
cloudwithax 5c71e9a562 2.4 2023-04-05 23:00:12 -04:00
cloudwithax ab374d4ba8 added type checking exception for port number in node 2023-04-05 22:58:30 -04:00
cloudwithax 4caaff8b04 add move_to in player class 2023-04-05 22:15:32 -04:00
cloudwithax bf144a783c fix isrcs not being correctly parsed 2023-04-04 22:19:35 -04:00
cloudwithax 2ddbb5d91a 2.3.2 2023-03-27 00:10:43 -04:00
cloudwithax b73af37bbf add local sources, fix queue jumping on loop 2023-03-27 00:08:46 -04:00
cloudwithax c88f020280 2.3.1 2023-03-13 19:45:12 -04:00
cloudwithax 206adbd70b logging was broken if you didnt set a handler 2023-03-13 19:44:46 -04:00
cloudwithax 14ba273d35 fix event tracks 2023-03-13 19:37:29 -04:00
Clxud 6d96a9e53d
Merge pull request #39 from NiceAesth/fix
feat: allow custom logging handler; fix: missing typings
2023-03-13 18:53:28 -04:00
cloudwithax 45d3e611a5 fix track objs in track events to be optional 2023-03-13 18:53:01 -04:00
NiceAesth 9c262c7455 feat: use regex for version matching 2023-03-13 16:21:56 +02:00
NiceAesth a8a586bfb1 fix: clear handlers on add 2023-03-13 15:43:24 +02:00
NiceAesth b0e0bba27b fix: add handler if exists 2023-03-13 15:35:01 +02:00
NiceAesth 0d78b00342 fix: type __call__ function 2023-03-13 15:30:25 +02:00
NiceAesth 367a215b05 feat: allow disabling logging handler; fix: code quality 2023-03-13 15:15:27 +02:00
cloudwithax dde6e3711c 2.3 2023-03-12 23:00:23 -04:00
cloudwithax b561f272a5 update __all__ 2023-03-12 22:58:49 -04:00
cloudwithax 5676d35681 make loglevel enum use IntEnum 2023-03-12 22:51:36 -04:00
cloudwithax 3ea426b44b update __slots__ 2023-03-12 22:39:31 -04:00
cloudwithax a7da475c0c add log_level param to create_node, add name to logger 2023-03-12 22:36:36 -04:00
cloudwithax 52a45afd70 add logging and fix other things 2023-03-12 22:30:43 -04:00
cloudwithax c35fd650f7 fix player channel bug and fix endtime 2023-03-12 20:51:05 -04:00
NiceAesth 5b036d843a fix: set channel to none and ignore type errors 2023-03-12 03:37:47 +02:00
NiceAesth cc571f17f2 feat: add adjusted_length 2023-03-12 02:39:26 +02:00
NiceAesth 6c7f06ec25 feat: add rates 2023-03-12 02:37:03 +02:00
Clxud 5aea4bcaf2
Merge pull request #36 from NiceAesth/position-hotfix
fix: clean up `Player.position()`
2023-03-11 11:27:19 -05:00
NiceAesth e8d29f9263 fix: clean up `Player.position()` 2023-03-11 18:24:28 +02:00
cloudwithax 9f102ae3b8 2.2 2023-03-11 10:42:53 -05:00
cloudwithax 4f86e44fec fix formatting 2023-03-11 10:41:46 -05:00
NiceAesth 4ce4c6205f fix: player skipping position 2023-03-11 16:17:16 +02:00
NiceAesth 39bde67d06 fix: docs, slots 2023-03-11 15:57:37 +02:00
NiceAesth e30ec92c34 fix: pre-commit 2023-03-11 15:48:00 +02:00
NiceAesth 987de07fc5 feat: add typing; add makefile; add pipfile 2023-03-11 15:45:09 +02:00
cloudwithax 481e616414 switch formatting to black 2023-03-11 00:22:38 -05:00
cloudwithax a4a49c249e revert error message to original format 2023-03-11 00:07:05 -05:00
cloudwithax 2ded9d6205 add node fallback, wrap up 2.2 2023-03-10 23:44:51 -05:00
cloudwithax 9e0a5e0ad0 add slots to all classes that require them 2023-03-10 21:50:23 -05:00
cloudwithax 9dc8a9098e edit pool.disconnect to be a classmethod 2023-03-10 20:47:03 -05:00
NiceAesth 4564e89b4e feat: add `disconnect()` to node pool 2023-03-10 15:57:33 +02:00
NiceAesth c5ca63b014 feat: add close to clients; style: formatting pass 2023-03-10 15:35:41 +02:00
cloudwithax 458b686769 remove import 2023-03-10 06:59:28 -05:00
cloudwithax c58786ed3f fix spotify/am clients and fix grabbing sessionid 2023-03-10 06:54:20 -05:00
cloudwithax d9137f6b29 use own abstract event loop to execute tasks 2023-03-09 23:30:55 -05:00
cloudwithax 7b91e717ac im never using asyncio.create_task again 2023-03-09 23:15:30 -05:00
Clxud 9f30e90da2 revert _update_state to use time.time 2023-03-10 00:25:36 +00:00
Clxud 4c3cd7e81a make websocket version dynamic 2023-03-09 23:08:32 +00:00
Clxud f0726cddde create session class on connect call 2023-03-09 22:50:59 +00:00
Clxud fa8a444bf6 make type optional 2023-03-09 22:42:13 +00:00
Clxud 5c6ae99e80
Update exceptions.py 2023-03-09 17:21:37 -05:00
Clxud 739e926d09 added __all__ to appliciable classes 2023-03-09 17:10:52 +00:00
Clxud c9a331b278 start typehinting and correcting the library 2023-03-09 15:40:50 +00:00
cloudwithax de7385d8ff fix a couple of outstanding bugs 2023-03-09 08:24:26 -05:00
cloudwithax e0ff5f13a4 bump version to remove debug print from stable 2023-02-21 08:24:09 -05:00
cloudwithax b3799214e6 remove debug print 2023-02-21 08:23:35 -05:00
cloudwithax d63e1f61c5 2.1 2023-02-20 04:07:10 -05:00
cloudwithax 12cbccc2a9 add queue jump 2023-02-17 23:54:14 -05:00
cloudwithax f104c7a2aa fix 'no apple music client' error 2023-02-09 22:38:43 -05:00
cloudwithax 3714656f0e add version comparison 2023-02-05 23:16:48 -05:00
cloudwithax 15d0f316a1 cleam up code 2023-02-05 22:56:58 -05:00
cloudwithax 14c82c1b56 wrap up apple music, v2 is done 2023-02-05 22:51:56 -05:00
cloudwithax c1a9d7603f manually sync out of date changes into v2 2023-02-05 13:27:43 -05:00
cloudwithax d08f07ffdc get objects in place for apple music client 2023-02-05 13:08:49 -05:00
cloudwithax 809bb4aa3f get basic code for the apple music client in place and working 2023-02-03 19:22:49 -05:00
cloudwithax 25c6d399e8 fix some issues + add auth to send() 2023-02-01 23:00:55 -05:00
cloudwithax 73dbc35401 correct get url 2023-02-01 22:13:44 -05:00
cloudwithax 0089caea09 whoopsie forgot to make that a rest uri 2023-02-01 22:12:21 -05:00
cloudwithax fc2b12af4e finally done translating all methods over to REST 2023-02-01 22:06:54 -05:00
cloudwithax 6b513d1e67 getting ready for pomice v2 2023-01-24 13:58:51 -05:00
cloudwithax cab2f2d3a1 remove debug print 2022-10-25 21:33:01 -04:00
cloudwithax c50930bc11 whoops forgot if statement 2022-10-25 21:21:13 -04:00
cloudwithax b6516f2d09 change where filters are set to preload 2022-10-25 21:20:35 -04:00
cloudwithax 4013bf94f3 change filter check 2022-10-25 21:13:47 -04:00
cloudwithax 0e9399af3f Add Filters.has_global 2022-10-25 21:08:16 -04:00
cloudwithax 0ef5db476b Make global filters take precedence over track filter 2022-10-25 21:00:20 -04:00
cloudwithax 8a9425c662 Removed unused enums/params 2022-10-12 18:13:45 -04:00
cloudwithax e504088da1 add function to clear filters on all tracks 2022-10-12 18:12:10 -04:00
cloudwithax 1e12d79d68 add per-track filter applying 2022-10-10 23:25:53 -04:00
cloudwithax c9bba65f48 fix version number 2022-10-06 19:32:58 -04:00
cloudwithax 3687f9b33a Revert "Remove all Spotify client code in preparation for 1.1.8"
This reverts commit ab708a1cfb.
2022-10-06 19:31:38 -04:00
cloudwithax 827ab0a1ef Revert "remove .original from code"
This reverts commit 216c9d8bf5.
2022-10-06 19:31:15 -04:00
ilkergzlkkr c58ce76ac8 DiscordPyOutdated for v2 or below, not above 2022-09-04 02:06:11 +03:00
cloudwithax 216c9d8bf5 remove .original from code 2022-09-03 12:27:35 -04:00
cloudwithax ab708a1cfb Remove all Spotify client code in preparation for 1.1.8 2022-09-03 10:36:25 -04:00
cloudwithax 0c8485971b edit DiscordPyOutdated exception 2022-08-29 19:59:51 -04:00
Clxud e04aa9ba30
Merge pull request #30 from ilkergzlkkr/main
Never search for spotify track that searched before
2022-08-29 19:37:01 -04:00
cloudwithax fd0a2c5c26 Add queue system and fix a few issues 2022-08-09 20:03:37 -04:00
ilkergzlkkr e0e5d4b776 fix: lavalink track_id parser error 2022-07-28 20:03:35 +03:00
ilkergzlkkr 6967b6467f fix: never search for track that searched before 2022-07-21 11:49:37 +03:00
cloudwithax 6a0765d712 Fixed discord py outdated exception 2022-07-05 05:19:58 -04:00
cloudwithax 8928b7b6f2 Added versioning based off of discord.py versioning 2022-07-05 05:17:48 -04:00
cloudwithax 535c3bfe79 Fix issues with Spotify tracks not having ISRCs + others 2022-07-05 05:12:34 -04:00
cloudwithax 2c4c07a349 forgot to add voiceprotocol change 2022-06-15 16:21:37 -04:00
cloudwithax 9c702876f8 1.7 update part 1 2022-06-15 16:18:40 -04:00
cloudwithax 822fa1e3c4 Fix reset_filter function and some minor fixes before PRs 2022-03-28 13:18:45 -04:00