Commit Graph

65 Commits (90d57f1bc195ebc97505a718e94e75701a4effe7)

Author SHA1 Message Date
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
Stein Ivar Berghei e1de3e07e0 Do not limit threads on the encoding. 2022-11-20 22:13:31 +01:00
Stein Ivar Berghei a3fd159984 Add ambiance download progress information to websocket 2022-11-20 22:10:57 +01:00
Stein Ivar Berghei c2d41e5d95 Remove trailing newline from exec.Command 2022-11-20 22:10:27 +01:00
Stein Ivar Berghei bba1bc5fa0 Remove unused code and general cleanup 2022-11-20 17:30:22 +01:00
Stein Ivar Berghei 10e5400fd5 Fix the edgecase where the buffer would empty before ffmpeg was outputting data.. 2022-11-20 14:28:03 +01:00
steino 47adefe034 Merge pull request 'Delay touch sortable items on touch devices' (#5) from haste/delay-touch into master
Reviewed-on: #5
2022-11-19 19:47:32 +01:00
Trond Ekseth aa79f168a9 Delay touch sortable items on touch devices 2022-11-19 19:46:55 +01:00
steino f205d4e46a Merge pull request 'Tweak max width and column' (#4) from haste/tweak-width into master
Reviewed-on: #4
2022-11-19 18:57:55 +01:00
Trond Ekseth bbcfdde600 Tweak max width and column 2022-11-19 18:31:19 +01:00
steino aa8c052c93 Merge pull request 'Add config for ytdl name/path' (#3) from haste/ytdl-bin-config into master
Reviewed-on: #3
2022-11-19 18:06:47 +01:00
Trond Ekseth 72cfdea882 Add config for ytdl name/path 2022-11-19 18:05:09 +01:00
steino a87b30f88c Merge pull request 'haste/some-style-changes' (#2) from haste/some-style-changes into master
Reviewed-on: #2
2022-11-19 17:49:53 +01:00