Commit Graph

45 Commits

Author SHA1 Message Date
Choco
df5373353c Refactor track recommendation logic and add TrackRecType enum
Moved recommendation query generation from Node to Track using the new TrackRecType enum, simplifying and centralizing platform-specific recommendation formatting. Updated related methods to use Track.get_recommendations, removed Node.get_recommendations, and improved enum handling for search platform matching. Also exposed TrackRecType in voicelink.__init__.
2025-10-09 11:12:02 +08:00
Choco
7d8bec787c Refactor modals to use BaseModal and update node stats
Replaced custom ExecuteModal and AddNodeModal classes with a generic BaseModal for code execution and node creation. Updated Node class to initialize _stats attribute. Adjusted logic in NodesPanel to check for node stats before displaying memory info.
2025-10-06 16:10:53 +08:00
Choco
3831c87f9b Add default_search_platform option for customizable search platform 2025-09-29 21:15:23 +08:00
Choco
ef54f96f51 Migrate scripts to voicelink, rewrite handlers and views 2025-09-29 19:39:19 +08:00
Choco
f1fa4606ed Fix track existence check in Node.get_tracks
Corrects a variable name in the track existence check from 'track' to 'tracks', ensuring the method properly returns an empty list when no tracks are found.
2025-09-16 14:49:52 +08:00
Choco
026b262752 return empty list if track not found 2025-06-11 14:34:24 +08:00
Choco
8b81c05d98 Disable yt ratelimit if there are no tokens provided 2025-05-14 09:37:33 +08:00
Choco
1b54e83cea Fixed some bugs 2025-04-10 11:37:14 +08:00
Choco
8007555759 Rewrite get_track function 2025-03-25 15:11:04 +08:00
Choco
5498c60466 Replaced internal spotify with lavalink 2025-03-22 18:42:28 +08:00
Choco
5b88f89894 Changed yt-ratelimit to optional 2025-02-26 16:17:55 +08:00
Choco
f5af35a6a1 Added yt ratelimiter 2025-02-21 11:26:24 +08:00
Choco
e933fd3645 Fixed Node Reconnection Functionality 2025-01-22 15:00:23 +08:00
Choco
6dfedf0e44 Fixed bugs and optimized code 2025-01-07 15:13:06 +08:00
Choco
5a22a930f5 Fixed loading issue for some Spotify playlists 2025-01-06 21:33:49 +08:00
Choco
9d505caf7f Updated voicelink enum 2024-11-19 11:32:02 +08:00
Choco
c75dc909d1 Fixed autoplay for spotify 2024-10-20 16:09:55 +08:00
Choco
9c32fd4767 Fixed no song suggestions when spotify_client is None 2024-08-24 10:27:40 +08:00
Choco
5be87b60ee Update pool.py 2024-08-16 15:01:25 +08:00
Choco
7ef2700730 Optimized some code 2024-06-26 07:42:37 +08:00
Choco
51d7f70870 Optimized Spotify client code 2024-06-14 21:55:44 +08:00
Choco
5b64389313 Fixed some bugs 2024-06-04 23:16:49 +08:00
Choco
1894b8e20e Added get_recommendations into node class 2024-05-26 15:56:27 +08:00
Choco
d4cb50a067 Added nodes panel in debug view 2024-04-20 13:21:20 +08:00
Choco
0189c1985f Optimized code 2024-04-18 15:00:41 +08:00
Choco
88a879f98a Optimized code 2024-04-12 19:36:35 +08:00
Choco
e68788f429 Updated logging system 2024-03-18 20:45:31 +08:00
Choco
4655b6e54c Added logging system 2024-03-18 17:33:47 +08:00
Choco
9069e5fa7e Fixed some bugs 2024-02-22 16:18:58 +08:00
Choco
58e9caa86f Fixed some bugs 2024-02-22 15:52:22 +08:00
Choco
774edaefff Fixed not able to playlist 2024-02-16 22:30:54 +08:00
Choco
a3e909a257 Fixed a bug 2024-02-16 10:43:00 +08:00
Choco
532ba52500 Optimized code 2024-02-16 10:38:40 +08:00
Choco
ad6743e9c6 Fixed some bugs 2023-09-17 14:13:56 +08:00
Choco
c8fd1cca19 Fixed issue with being able to play playlists 2023-09-11 13:19:32 +08:00
Choco
0ba96704f0 Supported Lavalink v4 beta3 2023-09-08 13:59:57 +08:00
Choco
40e1d343ea Updated Mit License 2023-09-08 13:47:38 +08:00
Choco
e6a1d30026 Optimize code for improved cleanliness and enhanced performance. 2023-08-08 13:14:07 +08:00
Choco
4f29cb06bd General clean code 2023-07-27 22:08:03 +08:00
Choco
12d2e6fcfc Fixed lavalink connection header 2023-07-16 15:40:11 +08:00
Choco
3ef66e7705 Fixed node connect method 2023-07-09 20:20:16 +08:00
Choco
a44b6c9384 Transfer track info to track id 2023-05-16 19:03:48 +08:00
Choco
9570c0e9d3 General Clean Code 2023-04-05 22:48:12 +08:00
Choco
8387ce17c2 To use REST over WebSocket 2023-02-11 12:50:39 +08:00
Choco
0d1ddb399b Ready for public use 2023-02-02 21:06:51 +08:00