Commit Graph

199 Commits

Author SHA1 Message Date
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
VP a228ed4ac1 revert previous commit - redundant 2021-12-28 13:49:10 +02:00
VP 8972a1c913 set _guild on voice state update just to be safe 2021-12-28 13:47:47 +02:00
VP d8388456f2 hopefully fix player.guild bs (+ cleanup) 2021-12-27 10:34:01 +02:00
VP 5acc3625a0 cleanup 2021-12-27 10:33:42 +02:00
VP ab9acdb033 change mentions of _guild to guild 2021-12-22 15:45:10 +02:00
VP 84ebca1c12 remove player._guild 2021-12-22 15:42:19 +02:00
cloudwithax 42dde4ce44 Add new node algo, NodeAlgorithm.by_players 2021-12-21 20:34:06 -05:00
cloudwithax 14c4a68af8 Set optional args to None by default 2021-12-11 12:21:44 -05:00
RPS a61220401c
New description 2021-12-08 21:05:42 +08:00
RPS 22be91bb09
Fix 2021-12-08 03:15:19 -08:00
RPS 0a78a8f5c7
Make ``__init__`` better 2021-12-08 02:14:53 -08:00
cloudwithax 50429277ea Fix __init__ to support discord.py forks 2021-12-06 17:58:21 -05:00
cloudwithax d1d2463680 Added new reset_filter() helper function, fixed bug with Spotify tracks not retaining thumbnails and some other QoL features 2021-12-05 16:29:01 -05:00
vveeps fcbca4e8e1 fix invalid equalizer payload 2021-11-26 17:39:52 +02:00
vveeps 148dcf2414 fix self._factory call in Equalizer init 2021-11-26 16:53:04 +02:00
cloudwithax 70d4f5a63d bump versioing for minor bug fix 2021-11-25 11:22:26 -05:00
cloudwithax 18f6f906fe why did i use a generator expression lmao 2021-11-25 11:11:25 -05:00
cloudwithax d249d84f9f added node algos, cleaned up events.py, add node arg to Player() 2021-11-23 13:59:20 -05:00
cloudwithax c3135b7798 Decrease heartbeat interval so that people can stop complaining about it not working on heroku 2021-11-22 15:00:03 -05:00
cloudwithax 106d151157 Finally fixed thumbnails 2021-11-19 11:11:51 -05:00
cloudwithax 063d2d08af why was the node.stats property async 2021-11-13 13:13:04 -05:00
cloudwithax fc71bdda1f woops forgot to add https to rest uri if the node is securre 2021-11-13 13:10:27 -05:00
cloudwithax 2e77a7d7df Added secure kwarg to create_node() and fixed some bugs 2021-11-12 21:07:50 -05:00
vveeps 3115989f42 fix Track.original and make some Playlist attrs consistent 2021-11-12 18:01:40 +02:00
cloudwithax 360889e048 Fixed attribute semantics 2021-11-11 17:31:44 -05:00
cloudwithax 11e4a34a96 Added original spotify track to pomice.Track as an attribute 2021-11-11 17:13:34 -05:00
vveeps 267fd32898 ignore playlist items with track: null 2021-11-11 16:52:31 +02:00
vveeps c13181beae don't set _current to None if track was replaced 2021-11-07 14:46:43 +02:00
vveeps d396ac44f1 use current.original in internal logic 2021-11-07 14:34:09 +02:00
vveeps 81bf0b9756 fix spotify url issue and handle local tracks properly 2021-11-06 23:07:11 +02:00
vveeps ec02cbe146 make spotify tracks seekable and change Playlist.selected_track 2021-11-06 23:05:51 +02:00
cloudwithax 3d20c8cf5e Fixed some bugs and cleaned up some code 2021-11-04 21:06:29 -04:00
cloudwithax 43edfacda1 Revert property changes and fix bugs 2021-11-04 08:07:27 -04:00
vveeps 3e09556e11 return -> raise 2021-10-31 19:57:43 +02:00
cloudwithax c83e59e91f Merge branch 'main' of https://github.com/cloudwithax/pomice 2021-10-30 12:03:08 -04:00
cloudwithax 36bddc1de6 Added 100% coverage of all filters and exception field for TrackExceptionEvent for Lavalink 3.4 release 2021-10-30 12:02:45 -04:00
vveeps 0cac9594e4 add player.is_dead 2021-10-29 16:14:01 +03:00
cloudwithax 10506a1fbe Some code cleanup before release 2021-10-28 17:55:48 -04:00
vveeps 2e0daa4840 T 2021-10-28 18:10:01 +03:00
vveeps 8c9e1114da bump version to 1.1.0 because changes are majorish 2021-10-28 18:04:45 +03:00
vveeps b72258cb60 make player.destroy useful 2021-10-28 17:58:59 +03:00
vveeps f4ffbcd5b8 make player.destroy work even when already disconnected 2021-10-28 17:38:32 +03:00
vveeps 7fda302a31 code cleanup 2021-10-28 17:23:48 +03:00
vveeps df9ae54e6c spotify code cleanup 2021-10-28 16:48:25 +03:00
vveeps 5bc27bad58 don't stop playback on disconnect (+ change some docstrings) 2021-10-28 16:13:36 +03:00
cloudwithax 89b18e7a2a Changed versioning for PyPI release 2021-10-27 17:56:24 -04:00
vveeps d344f82325 player.current should be None after a track ends 2021-10-26 21:22:06 +03: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
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 be0a1eb699 Updated versioning for PyPI release 2021-10-17 12:18:17 -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