Commit Graph

112 Commits

Author SHA1 Message Date
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
Zander M. 347a6e0b96
Refactor sourceName to use track_info object. 2024-03-11 13:50:07 -04:00
Zander M. 6817cd8e07
Fix build_track failure with Lavalink v4 decodetrack format. 2024-03-11 13:23:42 -04: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 a926616028 actually make logging optional lol 2024-02-01 22:03:30 -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
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
NiceAesth 1acc594467 fix: undefined data in `_configure_resuming` 2023-08-23 20:00:36 +03:00
cloudwithax f3c5461854 patch load types and track events for v4 2023-08-23 10:44:51 -04:00
pre-commit-ci[bot] 50b5eab860 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-07 21:21:47 +00:00
pre-commit-ci[bot] 223be29384 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-07-31 21:42:43 +00:00
pre-commit-ci[bot] 6670da76e8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-06-12 20:45:28 +00:00
cloudwithax 02d22f20b5
edit filters, log level matches handler, other fixes 2023-05-21 10:42:43 -04:00
cloudwithax 2d8acf7800
patch build track to escape chars properly 2023-05-19 19:50:10 -04:00
cloudwithax 00ac166371
fix websocket issue and add node resuming 2023-05-07 19:27:11 -04:00
cloudwithax 334d74095e
remove handling of videos in playlists 2023-05-03 19:47:37 -04:00
cloudwithax b461b91587
fix attribute error with spotify/am client 2023-05-03 19:45:46 -04:00
cloudwithax 394e3a3907
stop using async with and make external clients use node session 2023-05-01 21:01:12 -04:00
cloudwithax 248cce6656
make debug logs for node more verbose 2023-05-01 01:20:10 -04:00
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 ab374d4ba8 added type checking exception for port number in node 2023-04-05 22:58:30 -04:00
cloudwithax b73af37bbf add local sources, fix queue jumping on loop 2023-03-27 00:08:46 -04:00
cloudwithax 206adbd70b logging was broken if you didnt set a handler 2023-03-13 19:44:46 -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 367a215b05 feat: allow disabling logging handler; fix: code quality 2023-03-13 15:15:27 +02: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
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 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