Commit Graph

77 Commits (react)

Author SHA1 Message Date
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
Stein Ivar Berghei fa7e5b5baf Serve files with servecontent so that ETags etc should work. 2022-11-22 00:33:43 +01:00
Trond Ekseth cb33ba2d41 Handle touch input in chrome mobile 2022-11-21 23:52:07 +01:00
Stein Ivar Berghei 8b775cb39f Fix youtube api paging 2022-11-21 23:49:43 +01:00
Stein Ivar Berghei 8ccc426618 Make sure public is created before docker is run or else it will be owned by root 2022-11-21 12:28:52 +01:00
Stein Ivar Berghei 8727594413 move everything into public instead of src/public 2022-11-21 12:26:33 +01:00
Stein Ivar Berghei da00ab1b66 Fix default target 2022-11-21 09:09:01 +01:00
Stein Ivar Berghei 87b76ecd8a Make the Makefile functional 2022-11-21 08:30:02 +01:00
Stein Ivar Berghei 27032d75a5 Add makefile, clean up some docker stuff 2022-11-21 00:37:49 +01:00
Stein Ivar Berghei ddf24071b0 Sometimes brain no work.. 2022-11-20 23:36:14 +01:00