Commit Graph

85 Commits

Author SHA1 Message Date
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
Nekojimi 824d08caad Add command line option to bind to a local socket. Also, add command line parsing. 2022-08-11 12:16:30 +01:00
Nekojimi b0415b0324 Downloader: link preferred bitrate to JDA requested format. 2022-06-23 21:06:49 +01:00
Nekojimi ae7fe8cc7b Add back support for restarting the current track. 2022-06-23 17:58:15 +01:00
Nekojimi 4e654d2d18 Read format info from Youtube JSON response. 2022-06-23 17:57:53 +01:00
Nekojimi ca3ebd712b Add new invocation system to command structure. 2022-06-20 17:17:24 +01:00
Nekojimi 916e73eebd Add playlist playback support, loading & saving. 2022-06-20 14:38:10 +01:00
Nekojimi f6fde8d694 Remove debug messages. 2022-06-19 23:32:48 +01:00
Nekojimi 4ec47df625 Fix issues with queue not playing. 2022-06-19 23:25:20 +01:00
Nekojimi 9a6520f426 Merge commit '594ffa9ba9bb36e2505a6cf25423817a2f3f0bf3' 2022-06-19 20:23:34 +01:00
Nekojimi 594ffa9ba9 Move song queue to new QueueManager class. 2022-06-19 19:40:43 +01:00
Nekojimi d7c48b38fa Add debug method. 2022-06-19 00:00:45 +01:00
Nekojimi 795e31aa62 Fix playback issues caused by new track player.
Submitted ByteBuffer needed to be rewound, and provide method should return true until there are zero bytes left in the buffer.
2022-06-19 00:00:15 +01:00
Nekojimi 6c3d66069c Properly clear presence message when the queue runs dry. 2022-05-18 20:57:51 +01:00
Nekojimi 1fa14ba168 Update .gitignore to properly ignore target. 2022-05-18 20:45:37 +01:00
Nekojimi 4c62889ba1 Add new song requests system, and update request messages.
Also set the Discord presence to the currently playing song.
2022-05-18 20:45:18 +01:00
Nekojimi 14492728ab Fix no-argument !join command. 2022-05-18 20:43:40 +01:00
Nekojimi f64ed119a7 WIP: work on new track player system. 2022-04-19 23:44:35 +01:00
Nekojimi 3f5ed0af08 Add initial version of PlayList class. 2022-04-19 23:43:49 +01:00
Nekojimi 2345ddf17f Main: Log various events to stdout. 2022-04-19 23:43:25 +01:00
Nekojimi 76921f6855 Song: add isDownloaded() method. 2022-04-19 23:42:48 +01:00
Nekojimi 983b4b0123 WIP: add logic for joining the user's current voice channel. 2022-04-19 23:40:47 +01:00
Nekojimi e9ee8a575d Change downloader to allow different destinations for downloaded songs. 2022-02-15 22:58:24 +00:00
Nekojimi 4220222ad5 Move command implementation into command classes. 2022-02-13 15:54:04 +00:00
Nekojimi e8727d163c Add initial version of serialisation to Song and Format. 2022-02-13 12:33:02 +00:00
Nekojimi a4e4093f40 Add initial version of command structure. 2021-11-20 13:04:45 +00:00
Nekojimi 2bd51ea856 Try multiple manual download formats before falling back to auto, and display the bitrate and download size to the user. 2021-11-20 01:22:11 +00:00
Nekojimi 83bb9e5805 Optimise downloads by selecting download format manually. 2021-11-20 00:40:52 +00:00
Nekojimi cc17eb0bd9 Added "keep" flag to songs, which will stop them being deleted. 2021-11-19 19:55:32 +00:00
Nekojimi 17591cd6a7 Added leave command. 2021-11-19 19:55:10 +00:00