1
0
Commit Graph

537 Commits

Author SHA1 Message Date
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
acd0087ddf
Oh, if http server stop fail, then most listened song will not be saved. Fix that. 2023-03-13 02:20:57 +04:00
4e16f2b3ed
Add *.log file to .gitignore. 2023-03-13 02:15:25 +04:00
7f5a3bdb7f
Let's actually add a test config and a testing run target in makefile. 2023-03-13 02:14:52 +04:00
dd1469c957
Added .right class to align a text to right. 2023-03-13 02:12:38 +04:00
8e0d5e4fb7
Date format was moved out to a const. 2023-03-13 02:12:21 +04:00
95e9d97a22
Updated web.Index() call in a handler. 2023-03-13 02:12:02 +04:00
184561ab29
Convert date of a most listened song to client's local time. 2023-03-13 02:11:33 +04:00
bdf778cc67
Version up to 23.10.1. 2023-03-13 01:54:55 +04:00
0fffbce646
First try to load currently playing song. 2023-03-13 01:53:52 +04:00
2e60f2bb8a
Check for empty prev song. 2023-03-13 01:42:24 +04:00
f24953ae7c
Amount of listeners of next song is actually how much listeners was by the end of a prev song. 2023-03-13 01:42:00 +04:00
3207395b67
Load and store most listened song. 2023-03-13 01:41:13 +04:00
1ab82003e6
Catch SIGSEGV as well. 2023-03-13 01:40:56 +04:00
1b91f70edd
Added most_listened_song_file_path option. 2023-03-13 01:40:30 +04:00
2b47748c30
Show most listened song on a page. 2023-03-13 00:04:53 +04:00
e84a811a1d
Update most listened song. 2023-03-13 00:04:34 +04:00
8f16b5d96f
Implemented a functionality for storing and showing most listened song. 2023-03-13 00:03:59 +04:00
53d24c5781
Store current song in a separate variable. A base for most listened song functionality. 2023-03-12 22:25:58 +04:00
63fcb36e60
Nah, 3KiB should be enought to read. 2023-03-12 22:06:15 +04:00
341ea73e97
Check if tbody is present and create it if doesn't. 2023-03-12 21:57:03 +04:00
6b1f2e76e3
Do not remove first row while there is less than 10 rows. 2023-03-12 21:50:06 +04:00
d48972caa0
Okay, now let's return original idea of adding songs one by one. 2023-03-12 21:48:01 +04:00
6d4a276dd8
IcecastLastSongs() (formerly known as IcecastLastPlayedSongs()) args were changed, so let's delete unneeded arg. 2023-03-12 21:32:29 +04:00
517dd0e534
Fixed last songs displaying. 2023-03-12 21:31:18 +04:00