1
0
Commit Graph

361 Commits

Author SHA1 Message Date
832387f663
A little refactoring in main.go. 2023-07-22 23:17:45 +04:00
4cc4d0138a
Return an empty IcecastStatus struct instead of nil in case of an error. 2023-07-22 23:08:18 +04:00
877b5d4013
Playlist file renamed to playlist.m3u. 2023-07-22 22:58:42 +04:00
46b78b4667
In a Makefile added a rm liquidsoap service statement in an uninstall target. 2023-07-22 22:58:17 +04:00
64d2347eef
Uncomment Onion-Location header. Removed a separate I2P listen statement. 2023-07-22 22:49:43 +04:00
b05b878910
Version set to 23.29.0. 2023-07-22 22:16:28 +04:00
38f04aa9f8
Removed code for liquidsoap. 2023-07-22 22:15:24 +04:00
4512e6aa53
In radioctl convert added check for existing ogg file. 2023-07-08 17:41:31 +04:00
abf815ddf3
Added missing break;; 2023-06-25 22:10:44 +04:00
94e777bbd4
Added duration cmd to radioctl. 2023-06-25 22:07:32 +04:00
2c9117dbb6
Send SIGINT to stop Liquidsoap correctly. With default SIGKILL it hangs. 2023-06-13 00:40:32 +04:00
205eb0ab76
Decided to move privacy statements on a separate page on a main site. 2023-06-12 22:01:25 +04:00
12a7c7732b
Now if a list is emty and a table doesn't contains a tbody element it will be correctly created and a song will be added. 2023-06-12 21:50:10 +04:00
f05fe5d888
No-no-no, service itself demands a runtime dir. 2023-06-12 21:38:35 +04:00
b4d38e6146
In logrotate truncate file instead of recreating it. 2023-06-12 21:35:24 +04:00
914784bb9f
Run liquidsoap as a separate service instead. Added a -no-liquidsoap flag to radio service. systemd.service renamed to radio.service. Version was set to 23.24.0. 2023-06-12 21:34:56 +04:00
3ef213ab0d
Changed main a little. 2023-05-27 00:36:23 +04:00
cac5751ede
Removed AssetsFS() since it is not needed anymore. 2023-05-27 00:36:03 +04:00
f6b9a511ae
Oh, forgot to change jade to pug. 2023-05-27 00:35:27 +04:00
de4e5204e9
Removed jade check in PKGBUILD. Updated version. 2023-05-26 23:58:13 +04:00
66df3e0ea8
Removed httprouter dependency in go.mod/.sum. 2023-05-26 23:56:33 +04:00
17b5ab48ca
Use httpr instead of httprouter. 2023-05-26 23:56:00 +04:00
8b439bbd5a
Removed httprouter. 2023-05-26 23:55:40 +04:00
84e25ae7a2
Added web/*.jade.go target to Makefile. 2023-05-26 23:55:15 +04:00
898642dfa5
Changed icecast port in radio.vars.liq. 2023-05-26 23:37:45 +04:00
1dd1ffd83e
Changed icecast port in nginx.conf to 8001. 2023-05-26 23:03:52 +04:00
af5bafea5c
VERSION isn't used in an install make target. 2023-05-21 23:39:39 +04:00
f4bbfad9a9
Week part of version was incremented to 20. 2023-05-21 23:11:45 +04:00
3e513087ca
Let's dynamically calculate bufferSize with 320 bytes per line. 2023-05-21 23:11:15 +04:00
95a6da8f5d
Removed unneeded fields from PKGBUILD. 2023-05-21 22:49:24 +04:00
47bc1a8e02
Added sitemap.xml. 2023-05-21 22:44:09 +04:00
2987cf4a2a
Moved RobotsTxt handler out of Handlers struct. 2023-05-21 22:42:17 +04:00
ca4391784a
Added /favicon.svg endpoint. 2023-05-21 22:35:37 +04:00
7a12928a56
Version up in PKGBUILD. 2023-05-02 17:48:05 +04:00
15dc540c0e
Fixed a typo in radioctl. 2023-05-02 17:47:36 +04:00
1517060296
Make use of VERSION var in Makefile. 2023-05-02 17:38:10 +04:00
d1253242d4
Make use of $pkgver in PKGBUILD. Pass VERSION var to Makefile. 2023-05-02 17:36:04 +04:00
eb6b0c68b3
No need in preloading. Because in this moment liquidsoap starts and adds a new song that Icecast writes in playlist.log so IN_MODIFY is being triggered. 2023-03-13 05:35:39 +04:00
c02442ebcd
Okay, there is actually a new line at the end of file. Let's skip that. 2023-03-13 05:10:17 +04:00
c58ef0685a
Another missing / was found. 2023-03-13 04:55:24 +04:00
c7773874c5
Added -trimpath flag. FLAGS var created. 2023-03-13 04:47:43 +04:00
38b427815f
Replace pkgdir with srcdir for gopath. 2023-03-13 04:43:14 +04:00
3ecd86db10
Added missing slashes in Makefile. 2023-03-13 04:38:03 +04:00
f477a3a829
Added missing -. xD 2023-03-13 04:13:39 +04:00
e5558e3f89
Added -modcacherw in Makefile. 2023-03-13 04:11:02 +04:00
eaea8df71e
Log only critical errors. Level 2 produces sentences like Decoding some/song.ogg ended: Ogg.End_of_stream for every song. 2023-03-13 04:02:05 +04:00
31a892e43d
Remove log section from config, since it is not used anymore. 2023-03-13 03:31:40 +04:00
aac6d8e43a
Logically separate handlers with new lines in main.go. 2023-03-13 03:28:01 +04:00
d1b1d2537f
Set min ver for go dependency. Set GOPATH. Set PREFIX. 2023-03-13 03:18:00 +04:00
285b9f75e2
First, learned about := operator that means assign once. Second, added PREFIX var. Third, do not copy LICENSE file. 2023-03-13 03:17:14 +04:00