Commit Graph

114 Commits

Author SHA1 Message Date
Crussader ff1c089a75
spotify code cleanup 2021-10-28 18:25:38 +04:00
Crussader adadc1f9c4
spotify code cleanup 2021-10-28 18:25:02 +04:00
Crussader e739fbd501
spotify code cleanup 2021-10-28 18:24:24 +04:00
Crussader 3b999dc02d
spotify code cleanup 2021-10-28 18:23:47 +04:00
Crussader f7a830dc3a
spotify code cleanup 2021-10-28 18:23:19 +04:00
Crussader 901b4781d2
updated NodePool.get_node() 2021-10-27 21:27:02 +04:00
Crussader cc2b00be95
Update player.py 2021-10-27 21:10:33 +04:00
Crussader fc113e362f
updated change_nodes and check task 2021-10-27 20:56:08 +04:00
Crussader 81d25e3868
fixed typos & added set_pause to change_node 2021-10-27 17:48:00 +04:00
Crussader e211f32c94
fixed typos 2021-10-27 17:36:35 +04:00
Crussader d564b620bc
fixed typos 2021-10-27 17:29:16 +04:00
Crussader 22b490829a
fixed typos 2021-10-27 17:19:32 +04:00
Crussader 57c089724f
Update pool.py 2021-10-27 10:13:50 +04:00
Crussader e4d39fe455
removed commented lines 2021-10-27 10:07:35 +04:00
Crussader 9b64e65801
removed commented lines 2021-10-27 10:05:29 +04:00
Crussader 2a81d9d995
Update player.py
Removed two unnecessary  lines in `change_node`
2021-10-26 21:15:19 +04:00
Crussader 36356914c0
Update exceptions.py
New Exception `OptionNotToggled`
2021-10-26 21:13:11 +04:00
Crussader 5651ac4fb1
Update player.py
- This has an implementation of Automatic Node Swtiching
Issues:
     - Takes time in playing after swtiching nodes
     - The Volume becomes low and muffled after the song ends and another song is played.
2021-10-26 21:11:37 +04:00
Crussader 4d4587b179
Update pool.py
- Introduced new function `NodePool.get_player()` which gets the player after searching from all the nodes.
- Added the algorithim to the `NodePool.get_node()`
- Added config (its a dictionary for now, but it can be modified later on ), allows in customizing in toggling of settings
2021-10-26 21:06:31 +04:00
Crussader 292c9d18c7
Update utils.py
i have added `NodeAlgorithims` i have copied them from wavelink and its a handy feature, and can improve and introduce more algorithims.
2021-10-26 21:00:54 +04:00
vveeps fd2d5645fe improve disconnect logic a bit 2021-10-26 18:07:22 +03:00
vveeps 762160e84b dont error on imageless spotify tracks 2021-10-26 17:57:42 +03:00
vveeps 1b54aae3b3 small fix 2021-10-26 15:39:21 +03:00
vveeps 12544691eb improve play command payloads a bit (+ run autoformatting) 2021-10-26 15:32:08 +03:00
cloudwithax 2aca3a8d3a Improved Spotify playlist querying to be a little less janky 2021-10-20 19:54:39 -04:00
VP 38b40b676b cleanup (i hate single quotes) 2021-10-20 22:50:24 +03:00
VP db9f1cfba3 add param for play noReplace 2021-10-20 22:44:39 +03:00
VP 5d6c50f11e remove unused line 2021-10-20 22:31:24 +03:00
VP c782b718cb Merge branch 'main' of https://github.com/cloudwithax/pomice 2021-10-20 21:18:27 +03:00
VP 2afff11a5e handle LOAD_FAILED loadtype without erroring xd 2021-10-20 21:17:30 +03:00
VP 70c06fd12f
PR #10 (Crussader/main) / Player.__call__ 2021-10-20 21:16:41 +03:00
Crussader d7bc7a8958
updated player.py
updated with `__call__` dunder.
2021-10-20 22:12:07 +04:00
VP 7b83a9fc69 cleanup / type stuff 2021-10-20 14:36:12 +03:00
VP 584f6e5286 event rewrite 2 2021-10-20 14:36:01 +03:00
cloudwithax 7d53934697 Major Spotify impl rewrite + some other goodies 2021-10-19 20:29:24 -04:00
cloudwithax ea6c2baf3c Fix examples to better reflect changes in library 2021-10-17 17:21:24 -04:00
cloudwithax fde5f9711a Fix banner lol 2021-10-17 13:24:16 -04:00
cloudwithax ccdc1141a8 Add banner to README 2021-10-17 13:20:22 -04:00
cloudwithax 8466ab9816 Merge branch 'main' of https://github.com/cloudwithax/pomice 2021-10-17 13:19:09 -04:00
cloudwithax 849b710e35 Added banner 2021-10-17 13:18:53 -04:00
Clxud dc8af24385
Update README.md 2021-10-17 13:01:15 -04:00
cloudwithax be0a1eb699 Updated versioning for PyPI release 2021-10-17 12:18:17 -04:00
cloudwithax abfcfd04a0 Added examples and updated README 2021-10-17 12:08:37 -04:00
cloudwithax a6ffce0215 Added examples and updated README 2021-10-17 12:07:29 -04:00
vveeps b8c263166f fix websocket event class names
https://github.com/freyacodes/Lavalink/blob/master/IMPLEMENTATION.md#incoming-messages
2021-10-11 11:25:54 +03:00
cloudwithax e4ee754d30 Fixed SearchType parsing + version bump 2021-10-09 18:26:39 -04:00
vveeps a20209d5c8 make search prefix detection a bit stricter for good practice 2021-10-10 01:03:12 +03:00
vveeps e0f38e50f8 dont prepend search type if it's already there 2021-10-10 00:59:12 +03:00
cloudwithax fb07aca29e Version bump 2021-10-09 17:31:45 -04:00
cloudwithax a900f77424 Added better query parsing to get_tracks() to make it easier to search up keywords rather than having the end user implementing it themself 2021-10-09 17:30:16 -04:00