Commit Graph

114 Commits

Author SHA1 Message Date
Nekojimi 5ec62d4d43 Add support for uploading tracks to play them. 2024-04-14 19:55:50 +01:00
Nekojimi a9c5bb37f8 Disable streaming mode for now. 2024-04-14 19:53:28 +01:00
Nekojimi 6759afe76b WIP: initial work on streaming instead of downloading. 2024-04-14 18:46:44 +01:00
Nekojimi c8684dbe75 Fix exception raised if something is added to the queue while Chords isn't present. 2024-04-14 18:45:42 +01:00
Nekojimi 11c8991943 Fix track skipping not clearing the current track. 2024-04-14 18:44:53 +01:00
Nekojimi 95d2e41a03 Add support for Tracks to store new input stream formats, not just files. 2024-04-04 13:01:35 +01:00
Nekojimi 536743c6c1 MusicHandler: properly skip tracks on error. 2024-04-04 13:00:15 +01:00
Nekojimi 143f5dacda Prevent error if queue command is used while not in a channel. 2024-04-04 12:59:37 +01:00
Nekojimi 758f6a0d48 Fix issue where no URL would be retrieved for search results. 2024-04-04 12:59:00 +01:00
Nekojimi a901163af3 Retry opening audio streams after all exceptions, not just IO failure. 2024-04-04 12:57:18 +01:00
Nekojimi abd676fa49 Retry opening track files after failure, and gracefully handle final failure by skipping the track. 2024-04-01 12:39:09 +01:00
Nekojimi dd977cc899 Fuck my entire existence 2024-04-01 12:12:08 +01:00
Nekojimi 1d78f2a3fb Download 8 fragments in parallel. 2024-04-01 12:07:57 +01:00
Nekojimi c2c748470f Possibly optimise download speed by rate-limiting update messages? 2024-04-01 12:07:25 +01:00
Nekojimi 268af0ff3f Stop pretending to be Android. 2024-04-01 11:47:21 +01:00
Nekojimi 26010946c2 Temporarily fix Downloader. 2024-04-01 11:34:32 +01:00
Nekojimi ab26e65fdb Remove bad references to Recommender. 2024-03-31 22:13:36 +01:00
Nekojimi 571139a59c Screw it, more changes 2024-03-24 17:29:23 +00:00
Nekojimi 95f838c392 Fix play command search result selection. 2024-02-27 20:07:16 +00:00
Nekojimi 7d3795b10a Remove debug audio output. 2024-01-17 16:23:41 +00:00
Nekojimi 3899792e7f Update README.md 2024-01-17 16:23:41 +00:00
Nekojimi fdbd8937f5 Change pipeline to use pull architecture. 2024-01-17 16:23:41 +00:00
Nekojimi b41f5c97a3 Delete 'pom.xml.orig' 2023-11-07 00:59:50 +00:00
Nekojimi 1ad6617914 Update '.gitignore' 2023-11-07 00:59:20 +00:00
Nekojimi 16c2c61e76 Fix auto-disconnect when last user leaves. 2023-11-07 00:35:05 +00:00
Nekojimi 2a25e1368d Mega-refactor: change song to track everywhere. 2023-11-05 22:35:35 +00:00
Nekojimi abfab9a18d Clean up code. 2023-11-05 21:55:42 +00:00
Nekojimi 07b45309c1 Ensure tracks play in the correct order by using PriorityQueue. 2023-11-05 21:55:19 +00:00
Nekojimi 310158a39b Add support for downloading entire playlists. 2023-11-05 21:54:44 +00:00
Nekojimi de807b4524 Add equals and hashcode to Format. 2023-11-05 21:52:44 +00:00
Nekojimi d9a7da27f2 Fix issue with skip command not ending current track. 2023-10-30 14:51:03 +00:00
Nekojimi be6036cd5d Merge branch 'jda-v5' 2023-03-26 19:59:00 +01:00
Nekojimi c7ab883d5e Update JDA to v5.0. 2023-03-26 19:54:57 +01:00
Nekojimi 3ff544d699 Report download progress while downloading. 2023-03-04 19:55:10 +00:00
Nekojimi 9fa5e36cdc Handle new format listing style in yt-dlp. 2023-03-04 19:54:22 +00:00
Nekojimi d50657ef90 Move local address handling to first part of initialisation. 2023-03-04 19:52:38 +00:00
Nekojimi f1cc31dcd9 Send acknowledgement message for new songs immediately, instead of after download is scheduled. 2023-03-04 19:51:53 +00:00
Nekojimi 0914cadaf5 Move some text-parsing methods to Util class. 2023-03-04 19:48:51 +00:00
Nekojimi 490101fcad Update JDA to v5.0. 2023-03-04 01:08:30 +00:00
Nekojimi 1dba55620f Print local address to debug on start. 2023-03-03 23:45:22 +00:00
Nekojimi 0c29d56317 Made LocalBindSocketFactory much more hardcore. 2023-03-03 23:34:49 +00:00
Nekojimi 6ef49c9e51 Fixed some silly mistakes with local address handling. 2023-03-03 23:34:19 +00:00
Nekojimi 7c4ea13e3c Change local address handling to also apply to JDA's HTTPClient. 2023-03-03 23:01:30 +00:00
Nekojimi 7cd118985a Add new settings system, and allow youtube-dl command to be set via it. 2023-03-03 18:41:02 +00:00
Nekojimi 2ec6da49b5 Fix main class in pom.xml. 2022-11-09 22:39:59 +00:00
Nekojimi f043ab906d Add debug warning if music player starts pulling tricky shit again 2022-11-09 13:08:34 +00:00
Nekojimi 6f23b60511 Update references to main class. 2022-11-09 13:07:30 +00:00
Nekojimi 1b7d4adeb9 Rename main class to "Chords". 2022-11-09 13:05:33 +00:00
Nekojimi 000e0e5d5c Fix reading of API token. 2022-08-11 12:38:27 +01:00
Nekojimi 52e34493bd Add JCommander to dependencies. 2022-08-11 12:21:35 +01:00