Commit Graph

86 Commits (master)

Author SHA1 Message Date
Stein Ivar Berghei 9ce9a768b9 Remove unused variable 2023-11-04 11:22:14 +01:00
Stein Ivar Berghei d072f85d05 Make websockets less jank, fixes #10 2023-11-04 11:16:48 +01:00
Stein Ivar Berghei d450fb5bf7 Optimize dockerfile 2023-11-03 01:17:05 +01:00
Stein Ivar Berghei f65a57964f Merge branch 'master' of git.stein-ivar.net:steino/dndmusicbot 2023-11-02 21:33:05 +01:00
Stein Ivar Berghei e4d87bf7d6 Fix wrong path in esbuild 2023-11-02 21:32:49 +01:00
Stein Ivar Berghei 8aebf4cfe7 Update .gitignore 2023-11-02 21:32:12 +01:00
steino 7047dcc7c3 Merge pull request 'Big audiostuff changes' (#12) from youtube into master
Reviewed-on: #12
2023-11-02 20:31:32 +00:00
Stein Ivar Berghei ad8cbbd57d Big audiostuff changes 2023-11-02 21:30:29 +01:00
steino 2b01cd239a Merge pull request 'Time for React!' (#11) from react into master
Reviewed-on: #11
2023-11-02 20:10:51 +00:00
Stein Ivar Berghei 5b1c693bcd Time for React! 2023-11-02 21:08:46 +01:00
Stein Ivar Berghei 605bd7f29e Re-add ShufflePlaylist 2023-10-26 22:50:02 +02:00
Stein Ivar Berghei 891fa050e1 Change beep package and change some audio stuff 2023-10-26 22:49:39 +02:00
Stein Ivar Berghei 6124ed3dbf Use new ytdl method for ambiance 2023-10-26 22:44:53 +02:00
Stein Ivar Berghei cd264e0fc9 Change the way youtube-audio is added to mpd 2023-10-23 20:24:52 +02:00
Stein Ivar Berghei b26b43f163 Fix ambiance download 2023-09-06 22:46:05 +02:00
Stein Ivar Berghei 1888592d07 Increase volume ranges 2023-08-20 11:45:10 +02:00
Stein Ivar Berghei 1d2374a398 Ignore parsefloat errors 2023-08-20 11:44:23 +02:00
Stein Ivar Berghei bec3683b44 Update image to bookworm 2023-08-20 11:43:47 +02:00
Stein Ivar Berghei 1eb81d2da5 Handle if getting cookies errors for some reason.. 2023-03-31 00:37:59 +02:00
Stein Ivar Berghei 91e9e9093d Use our own gompd fork 2023-03-30 23:59:16 +02:00
Stein Ivar Berghei 90c7c65973 Handle auth. 2023-03-30 23:57:00 +02:00
Stein Ivar Berghei 90d57f1bc1 Add Dockerfile for bot, rename old Dockerfile 2023-03-30 18:44:53 +02:00
Stein Ivar Berghei 1f07fc01de Redo mpd.pid handling. Fixes #9 2023-03-30 18:38:53 +02:00
Stein Ivar Berghei 33230a54d5 Use different discord library 2022-12-20 16:36:54 +01:00
Stein Ivar Berghei 38a43bde59 Add volume control 2022-12-03 19:22:05 +01:00
Stein Ivar Berghei ddf7ea2f15 Use the same opus lib for encoding as decoding. Simplify by encoding float64 directly. 2022-12-01 10:48:25 +01:00
Stein Ivar Berghei 2f3c14c3cb Use os.Create so that the file will be fully written on every startup 2022-12-01 08:55:52 +01:00
Stein Ivar Berghei b770f341d0 Update go.mod/sum 2022-11-28 14:27:05 +01:00
Stein Ivar Berghei 2478ecba3c Remove troubleshooting code 2022-11-28 14:02:38 +01:00
Stein Ivar Berghei 16498a8c7d Add mutex and context for better playlist handling 2022-11-28 14:02:17 +01:00
Stein Ivar Berghei 8a3e07c1d1 Remove reference to pause 2022-11-28 10:58:49 +01:00
Stein Ivar Berghei 13cfa0afb6 Make sure the mpd fifo doesnt block and don't send silence over the udp connection. 2022-11-28 10:52:23 +01:00
Stein Ivar Berghei 7f288e541d Add opus streamer used in new ambiance 2022-11-28 00:42:51 +01:00
Stein Ivar Berghei 2eb108d185 Remove unused discord things 2022-11-28 00:42:32 +01:00
Stein Ivar Berghei 45f9c0024a Handle ambiance somewhat differently. 2022-11-28 00:40:35 +01:00
Stein Ivar Berghei f2063f5d18 Download opus 48k:16:2 so we don't need to resample 2022-11-25 10:05:31 +01:00
Stein Ivar Berghei 715144a9e7 Set some usefull debug flags 2022-11-23 23:31:31 +01:00
Stein Ivar Berghei 0b255b518c Remove some debug log output 2022-11-23 23:30:40 +01:00
Stein Ivar Berghei 757275c8f6 Add some volume adjustments 2022-11-23 23:29:45 +01:00
Stein Ivar Berghei 8667839c44 Use mpd to handle playlists. 2022-11-23 18:29:06 +01:00
Stein Ivar Berghei c6b4c061de Give an error if the speaker doesnt init correctly 2022-11-23 10:26:07 +01:00
Stein Ivar Berghei 3a0c09c7e0 Have the Makefile rebuild when go.mod/sum changes 2022-11-23 08:39:41 +01:00
Stein Ivar Berghei f160c3855e Small optimization 2022-11-23 08:38:55 +01:00
steino 09fe6ae380 Merge pull request 'Working makefile' (#6) from makefile into master
Reviewed-on: #6
2022-11-22 08:51:04 +01:00
steino f8d3637554 Merge branch 'master' into makefile 2022-11-22 08:50:57 +01:00
Stein Ivar Berghei 4b45d14c68 Serve files with servecontent so that ETags etc should work. 2022-11-22 08:31:44 +01:00
Trond Ekseth 02bceabbac Handle touch input in chrome mobile 2022-11-22 08:31:44 +01:00
Stein Ivar Berghei cbd1749367 Fix youtube api paging 2022-11-22 08:31:44 +01:00
steino bb29c92cc0 Merge pull request 'Handle touch input in chrome mobile' (#8) from haste/handle-touch into master
Reviewed-on: #8
2022-11-22 07:43:21 +01:00
steino 64914e9be0 Merge branch 'master' into haste/handle-touch 2022-11-22 07:43:11 +01:00