1
0
Commit Graph

303 Commits

Author SHA1 Message Date
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
1ebecc91d9
Keep last songs section even if there are no songs. Otherwise a JS code will be broken without further bloating. 2023-03-12 04:05:07 +04:00
0409da3ca3
Oh, last commit led to loading of full list of prev songs. Let's remove this code. 2023-03-12 04:01:32 +04:00
10048c671e
Prevent reading latest song from a log right after a service started. 2023-03-12 03:53:09 +04:00
e73a9a3b12
Added my full name in a footer. 2023-03-12 03:06:02 +04:00
24b78e00ff
Put actual number of last songs displayed in a privacy statements. 2023-03-12 02:58:51 +04:00
ab19f045d2
Set log flag to only pring source file name and line. 2023-03-12 02:38:34 +04:00
028708e5aa
Changed version to 23.10.0. 2023-03-12 02:37:48 +04:00
db02047268
Now lastPlayedCache's initial capacity is not hardcoded to 10. And it will be filled slowly, instead of initial read of last N songs from a playlist.log. 2023-03-12 02:19:07 +04:00
47e3ff37ba
Reduced bufferSize because 16KiB is more than enough for a max of 10 songs. 2023-03-12 02:16:55 +04:00
38f995302d
Added optional dependencies to PKGBUILD. 2023-03-12 01:28:34 +04:00
71bbcd1edc
Set normalization to its current values, only threshold was changed from -75. to -40.. 2023-03-12 01:03:46 +04:00
e4ca8e424d
Change go version back to 1.17 what the program was initially made with. 2023-03-12 01:01:37 +04:00
6424702375
Do not keep bin dir since it is being created at compile time. 2023-03-12 00:58:59 +04:00
970fd2bb6a
Version up to 23.8.1. 2023-02-25 14:53:54 +04:00
9a27077d55
Made use of replaygain and tweaked normalization, so my radio must become louder. 2023-02-25 14:53:31 +04:00
0db75f30a2
Version up to 23.8.0. 2023-02-23 17:49:59 +04:00
83cdc222c7
Change arav.top to arav.su. 2023-02-23 17:49:01 +04:00
edfcb9526b
Fixed MIME type to text/html. 2023-02-19 22:26:25 +04:00
0339ce27f6
Check if jade compiler installed in PKGBUILD. 2023-02-19 22:08:55 +04:00
4ef674dcb7
Upped go version to 1.20 in go.mod. 2023-02-19 21:49:19 +04:00
297b8d5985
Removed ability to set out name for filelist.html. 2023-02-19 21:42:21 +04:00
77183bb14e
Added Content-Type header for filelist. 2023-02-19 21:41:58 +04:00
e58b44191d
Removed robots.txt file. 2023-02-19 21:37:38 +04:00
3dc2380e09
Comment out Onion-Location header in nginx.conf. 2023-02-19 21:24:56 +04:00
7ffc108b11
Removed robots.txt endpoint from nginx.conf. 2023-02-19 21:23:38 +04:00
aa0d818488
Added robots.txt endpoint. 2023-02-19 21:22:56 +04:00
182a4c02c9
Added reading of filelist.html file from disk. 2023-02-19 21:18:36 +04:00
cac1ad56fb
Eliminated systemd dir in an init dir. 2023-02-19 20:29:42 +04:00
90d683f424
Added install-jade target to install a standalone jade compiler. And added installing of a dwelling-radioctl script. 2023-02-19 20:22:41 +04:00
4c74b45c58
Version up to 23.7.0. 2023-02-19 20:21:39 +04:00
44080a8a66
Added a helper bash script for radio. 2023-02-19 20:21:05 +04:00
fb6ab57a29
Changed fallback song format to ogg. 2023-02-19 20:19:58 +04:00
c7894bd472
Added go generate in Makefile. 2023-02-07 03:17:16 +04:00
bd35189caa
Updated a year in a template. 2023-02-07 02:54:30 +04:00