Commit Graph

50 Commits

Author SHA1 Message Date
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 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
Nekojimi 0a8d526ff1 pom.xml: add JSON library. 2021-10-26 23:51:55 +01:00
AwesomeToaster 617d1ebacf Update pom.xml 2021-10-04 23:46:26 +01:00
Nekojimi c31e32c96e Add secrets.yml to .gitignore. 2021-10-04 23:42:45 +01:00
Nekojimi 3437887551 Downloader: Download to temporary directory, and read track info from
JSON before download.
2021-10-04 23:42:45 +01:00
Nekojimi 03ffc9d994 Output artist and track number in Song.toString() 2021-10-04 23:42:45 +01:00
Nekojimi 3ee4f8fde5 Disable autoplay, remove track number tag in download messages. 2021-10-04 23:42:45 +01:00
Nekojimi 7c1000ba55 Update pom.xml to use aven-assembly-plugin instead. 2021-10-01 14:16:12 +01:00
Jim d24bb58b68 Remove Maven noise from repo. 2021-10-01 14:04:37 +01:00
Nekojimi ce21d0b5de Sweet mother of jesus that wasn't a fix at all 2021-10-01 14:02:30 +01:00
Nekojimi a5bccb1657 Fix pom.xml probably. 2021-10-01 13:58:26 +01:00
Nekojimi fe2f46938f Update pom.xml with main class definition. 2021-10-01 13:50:05 +01:00
Nekojimi 851c173a27 Change MusicSearcher dependency. 2021-10-01 13:42:10 +01:00
Nekojimi 6d1e3b78a3 Update .gitignore to ignore Maven files. 2021-10-01 13:07:34 +01:00
Nekojimi 5c814b4cd3 Updated dependencies and searchproviders.yml 2021-09-30 21:15:06 +01:00
Nekojimi 66cdca8f0d Add music searching support. 2021-09-30 20:49:28 +01:00
Nekojimi cf24072f35 Song: add sequence number. 2021-09-30 20:48:29 +01:00
Nekojimi b7f0794bc4 Downloader: keep track of download queue. 2021-09-30 20:47:43 +01:00
AwesomeToaster 579fb01a20 Don't respond to messages unless they're in a text channel with "music"
in the name.
2021-09-29 22:10:25 +01:00
Nekojimi 42a9f0047b MusicHandler: rewrite to use circular byte buffer.
Also now attempts to initially fill buffer in a single read.
2021-09-29 22:08:53 +01:00
Nekojimi 2412d57f4d Downloader: change timeout to 300 seconds, and fix destination parsing. 2021-09-29 22:07:56 +01:00
Nekojimi 603b7e2cd8 Print user's proper name, not ID. 2021-09-29 20:08:59 +01:00
Nekojimi 3695e4bb13 Downloader: try to get low-quality audio for now. 2021-09-29 20:08:36 +01:00
Nekojimi c8810ca271 Implement multithreaded downloading (Downloader class) 2021-09-29 19:57:13 +01:00
Nekojimi 2f7bb13dc6 Fix various problems. 2021-09-27 22:13:51 +01:00
Nekojimi 367f2b93de Add Song class for storing details about queue items. 2021-09-24 20:22:17 +01:00
Nekojimi ed610ebdae Reformat code. 2021-09-24 18:30:00 +01:00
Jim b8b7a99a8d Moved MusicHandler to it's own source file. 2021-09-24 18:26:46 +01:00
Nekojimi 358b4e11c8 Add initial version of searchproviders YAML. 2021-09-24 15:39:03 +01:00
Nekojimi e603a6aea9 Update .gitignore to ignore target/ 2021-09-24 10:54:02 +01:00
Jim d2e02ef2f1 Remove temporary files. 2021-09-24 10:44:33 +01:00
Nekojimi d68fed6d4b Update .gitignore to ignore Syncthing noise. 2021-09-24 10:41:52 +01:00
Nekojimi 97e13ee83d Update .gitignore to ignore audio files. 2021-09-24 10:40:52 +01:00
Jim 8f29ee87e3 Add local changes. 2021-09-24 10:33:47 +01:00
Nekojimi 536ea6ca2f Initial commit 2021-09-24 10:31:25 +01:00
Jim 9b93ed88a9 First commit 2021-09-24 10:30:37 +01:00