This website requires JavaScript.
4d93cb26a0
Rearranged options alphabetically in radio.service.
Alexander "Arav" Andreev
2023-08-19 19:46:42 +0400
a31d93aa70
Further hardening in a radio's systemd unit.
Alexander "Arav" Andreev
2023-08-19 19:40:24 +0400
bb5ec9f791
Version set to 23.32.0.
v23.32.0
Alexander "Arav" Andreev
2023-08-13 00:59:47 +0400
9b7ea6984e
Added stopit.mp4 banner at the index page. :)
Alexander "Arav" Andreev
2023-08-13 00:59:07 +0400
83a0277d71
make run command changed to use new args.
Alexander "Arav" Andreev
2023-08-13 00:48:40 +0400
cfb9837974
Updated httpr to version 0.3.1.
Alexander "Arav" Andreev
2023-08-12 20:37:19 +0400
5bf80666d6
Removed explicit type for showVersion var.
v23.31.0
Alexander "Arav" Andreev
2023-08-06 03:44:06 +0400
dc52b7b3be
/filelist in sitemap.xml was changed to changefreq always.
Alexander "Arav" Andreev
2023-08-06 03:37:56 +0400
ab0634ba17
Removed auto-generated jade.go from repo and ignored it.
Alexander "Arav" Andreev
2023-08-06 03:35:32 +0400
53c28dc409
For ffmpeg optdepend updated description in PKGBUILD.
Alexander "Arav" Andreev
2023-08-06 03:26:43 +0400
8acc18dfba
In PKGBUILD removed radio.yaml from backup=.
Alexander "Arav" Andreev
2023-08-06 03:25:41 +0400
bf79f77788
Added mod=readonly flag. Removed config.yaml from install target.
Alexander "Arav" Andreev
2023-08-06 03:25:05 +0400
7a9c673721
From go.mod and go.sum removed yaml.v3 and updated httpr packages.
Alexander "Arav" Andreev
2023-08-06 03:22:58 +0400
1df162445e
Removed configuration file.
Alexander "Arav" Andreev
2023-08-06 03:19:26 +0400
7518420289
Version was set to 23.31.0.
Alexander "Arav" Andreev
2023-08-06 03:17:48 +0400
a1bf9cf30a
Use flags instead of config file. Also replaced HttpServer with a new code.
Alexander "Arav" Andreev
2023-08-06 03:17:18 +0400
832387f663
A little refactoring in main.go.
v23.29.0
Alexander "Arav" Andreev
2023-07-22 23:17:45 +0400
4cc4d0138a
Return an empty IcecastStatus struct instead of nil in case of an error.
Alexander "Arav" Andreev
2023-07-22 23:08:18 +0400
877b5d4013
Playlist file renamed to playlist.m3u.
Alexander "Arav" Andreev
2023-07-22 22:58:42 +0400
46b78b4667
In a Makefile added a rm liquidsoap service statement in an uninstall target.
Alexander "Arav" Andreev
2023-07-22 22:58:17 +0400
64d2347eef
Uncomment Onion-Location header. Removed a separate I2P listen statement.
Alexander "Arav" Andreev
2023-07-22 22:49:43 +0400
b05b878910
Version set to 23.29.0.
Alexander "Arav" Andreev
2023-07-22 22:16:28 +0400
38f04aa9f8
Removed code for liquidsoap.
Alexander "Arav" Andreev
2023-07-22 22:15:24 +0400
4512e6aa53
In radioctl convert added check for existing ogg file.
Alexander "Arav" Andreev
2023-07-08 17:41:31 +0400
abf815ddf3
Added missing break;;
Alexander "Arav" Andreev
2023-06-25 22:10:44 +0400
94e777bbd4
Added duration cmd to radioctl.
Alexander "Arav" Andreev
2023-06-25 22:07:32 +0400
2c9117dbb6
Send SIGINT to stop Liquidsoap correctly. With default SIGKILL it hangs.
Alexander "Arav" Andreev
2023-06-13 00:40:32 +0400
205eb0ab76
Decided to move privacy statements on a separate page on a main site.
v23.24.0
Alexander "Arav" Andreev
2023-06-12 22:01:25 +0400
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.
Alexander "Arav" Andreev
2023-06-12 21:50:10 +0400
f05fe5d888
No-no-no, service itself demands a runtime dir.
Alexander "Arav" Andreev
2023-06-12 21:38:35 +0400
b4d38e6146
In logrotate truncate file instead of recreating it.
Alexander "Arav" Andreev
2023-06-12 21:35:24 +0400
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.
Alexander "Arav" Andreev
2023-06-12 21:34:56 +0400
3ef213ab0d
Changed main a little.
Alexander "Arav" Andreev
2023-05-27 00:36:23 +0400
cac5751ede
Removed AssetsFS() since it is not needed anymore.
Alexander "Arav" Andreev
2023-05-27 00:36:03 +0400
f6b9a511ae
Oh, forgot to change jade to pug.
Alexander "Arav" Andreev
2023-05-27 00:35:27 +0400
de4e5204e9
Removed jade check in PKGBUILD. Updated version.
Alexander "Arav" Andreev
2023-05-26 23:58:13 +0400
66df3e0ea8
Removed httprouter dependency in go.mod/.sum.
Alexander "Arav" Andreev
2023-05-26 23:56:33 +0400
17b5ab48ca
Use httpr instead of httprouter.
Alexander "Arav" Andreev
2023-05-26 23:56:00 +0400
8b439bbd5a
Removed httprouter.
Alexander "Arav" Andreev
2023-05-26 23:55:40 +0400
84e25ae7a2
Added web/*.jade.go target to Makefile.
Alexander "Arav" Andreev
2023-05-26 23:55:15 +0400
898642dfa5
Changed icecast port in radio.vars.liq.
Alexander "Arav" Andreev
2023-05-26 23:37:45 +0400
1dd1ffd83e
Changed icecast port in nginx.conf to 8001.
Alexander "Arav" Andreev
2023-05-26 23:03:52 +0400
af5bafea5c
VERSION isn't used in an install make target.
v23.20.0
Alexander "Arav" Andreev
2023-05-21 23:39:39 +0400
f4bbfad9a9
Week part of version was incremented to 20.
Alexander "Arav" Andreev
2023-05-21 23:11:45 +0400
3e513087ca
Let's dynamically calculate bufferSize with 320 bytes per line.
Alexander "Arav" Andreev
2023-05-21 23:11:15 +0400
95a6da8f5d
Removed unneeded fields from PKGBUILD.
Alexander "Arav" Andreev
2023-05-21 22:49:24 +0400
47bc1a8e02
Added sitemap.xml.
Alexander "Arav" Andreev
2023-05-21 22:44:09 +0400
2987cf4a2a
Moved RobotsTxt handler out of Handlers struct.
Alexander "Arav" Andreev
2023-05-21 22:42:17 +0400
ca4391784a
Added /favicon.svg endpoint.
Alexander "Arav" Andreev
2023-05-21 22:35:37 +0400
7a12928a56
Version up in PKGBUILD.
Alexander "Arav" Andreev
2023-05-02 17:48:05 +0400
15dc540c0e
Fixed a typo in radioctl.
Alexander "Arav" Andreev
2023-05-02 17:47:36 +0400
1517060296
Make use of VERSION var in Makefile.
Alexander "Arav" Andreev
2023-05-02 17:38:10 +0400
d1253242d4
Make use of $pkgver in PKGBUILD. Pass VERSION var to Makefile.
Alexander "Arav" Andreev
2023-05-02 17:36:04 +0400
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.
23.10.1
Alexander "Arav" Andreev
2023-03-13 05:35:39 +0400
c02442ebcd
Okay, there is actually a new line at the end of file. Let's skip that.
Alexander "Arav" Andreev
2023-03-13 05:10:17 +0400
c58ef0685a
Another missing / was found.
Alexander "Arav" Andreev
2023-03-13 04:55:24 +0400
c7773874c5
Added -trimpath flag. FLAGS var created.
Alexander "Arav" Andreev
2023-03-13 04:47:43 +0400
38b427815f
Replace pkgdir with srcdir for gopath.
Alexander "Arav" Andreev
2023-03-13 04:43:14 +0400
3ecd86db10
Added missing slashes in Makefile.
Alexander "Arav" Andreev
2023-03-13 04:38:03 +0400
f477a3a829
Added missing -. xD
Alexander "Arav" Andreev
2023-03-13 04:13:39 +0400
e5558e3f89
Added -modcacherw in Makefile.
Alexander "Arav" Andreev
2023-03-13 04:11:02 +0400
eaea8df71e
Log only critical errors. Level 2 produces sentences like Decoding some/song.ogg ended: Ogg.End_of_stream for every song.
Alexander "Arav" Andreev
2023-03-13 04:02:05 +0400
31a892e43d
Remove log section from config, since it is not used anymore.
Alexander "Arav" Andreev
2023-03-13 03:31:40 +0400
aac6d8e43a
Logically separate handlers with new lines in main.go.
Alexander "Arav" Andreev
2023-03-13 03:28:01 +0400
d1b1d2537f
Set min ver for go dependency. Set GOPATH. Set PREFIX.
Alexander "Arav" Andreev
2023-03-13 03:18:00 +0400
285b9f75e2
First, learned about := operator that means assign once. Second, added PREFIX var. Third, do not copy LICENSE file.
Alexander "Arav" Andreev
2023-03-13 03:17:14 +0400
acd0087ddf
Oh, if http server stop fail, then most listened song will not be saved. Fix that.
Alexander "Arav" Andreev
2023-03-13 02:20:57 +0400
4e16f2b3ed
Add *.log file to .gitignore.
Alexander "Arav" Andreev
2023-03-13 02:15:25 +0400
7f5a3bdb7f
Let's actually add a test config and a testing run target in makefile.
Alexander "Arav" Andreev
2023-03-13 02:14:52 +0400
dd1469c957
Added .right class to align a text to right.
Alexander "Arav" Andreev
2023-03-13 02:12:38 +0400
8e0d5e4fb7
Date format was moved out to a const.
Alexander "Arav" Andreev
2023-03-13 02:12:21 +0400
95e9d97a22
Updated web.Index() call in a handler.
Alexander "Arav" Andreev
2023-03-13 02:12:02 +0400
184561ab29
Convert date of a most listened song to client's local time.
Alexander "Arav" Andreev
2023-03-13 02:11:33 +0400
bdf778cc67
Version up to 23.10.1.
Alexander "Arav" Andreev
2023-03-13 01:54:55 +0400
0fffbce646
First try to load currently playing song.
Alexander "Arav" Andreev
2023-03-13 01:53:52 +0400
2e60f2bb8a
Check for empty prev song.
Alexander "Arav" Andreev
2023-03-13 01:42:24 +0400
f24953ae7c
Amount of listeners of next song is actually how much listeners was by the end of a prev song.
Alexander "Arav" Andreev
2023-03-13 01:42:00 +0400
3207395b67
Load and store most listened song.
Alexander "Arav" Andreev
2023-03-13 01:41:13 +0400
1ab82003e6
Catch SIGSEGV as well.
Alexander "Arav" Andreev
2023-03-13 01:40:56 +0400
1b91f70edd
Added most_listened_song_file_path option.
Alexander "Arav" Andreev
2023-03-13 01:40:30 +0400
2b47748c30
Show most listened song on a page.
Alexander "Arav" Andreev
2023-03-13 00:04:53 +0400
e84a811a1d
Update most listened song.
Alexander "Arav" Andreev
2023-03-13 00:04:34 +0400
8f16b5d96f
Implemented a functionality for storing and showing most listened song.
Alexander "Arav" Andreev
2023-03-13 00:03:59 +0400
53d24c5781
Store current song in a separate variable. A base for most listened song functionality.
Alexander "Arav" Andreev
2023-03-12 22:25:58 +0400
63fcb36e60
Nah, 3KiB should be enought to read.
Alexander "Arav" Andreev
2023-03-12 22:06:15 +0400
341ea73e97
Check if tbody is present and create it if doesn't.
Alexander "Arav" Andreev
2023-03-12 21:57:03 +0400
6b1f2e76e3
Do not remove first row while there is less than 10 rows.
Alexander "Arav" Andreev
2023-03-12 21:50:06 +0400
d48972caa0
Okay, now let's return original idea of adding songs one by one.
Alexander "Arav" Andreev
2023-03-12 21:48:01 +0400
6d4a276dd8
IcecastLastSongs() (formerly known as IcecastLastPlayedSongs()) args were changed, so let's delete unneeded arg.
Alexander "Arav" Andreev
2023-03-12 21:32:29 +0400
517dd0e534
Fixed last songs displaying.
Alexander "Arav" Andreev
2023-03-12 21:31:18 +0400
1ebecc91d9
Keep last songs section even if there are no songs. Otherwise a JS code will be broken without further bloating.
23.10.0
Alexander "Arav" Andreev
2023-03-12 04:05:07 +0400
0409da3ca3
Oh, last commit led to loading of full list of prev songs. Let's remove this code.
Alexander "Arav" Andreev
2023-03-12 04:01:32 +0400
10048c671e
Prevent reading latest song from a log right after a service started.
Alexander "Arav" Andreev
2023-03-12 03:53:09 +0400
e73a9a3b12
Added my full name in a footer.
Alexander "Arav" Andreev
2023-03-12 03:06:02 +0400
24b78e00ff
Put actual number of last songs displayed in a privacy statements.
Alexander "Arav" Andreev
2023-03-12 02:58:51 +0400
ab19f045d2
Set log flag to only pring source file name and line.
Alexander "Arav" Andreev
2023-03-12 02:38:34 +0400
028708e5aa
Changed version to 23.10.0.
Alexander "Arav" Andreev
2023-03-12 02:37:48 +0400
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.
Alexander "Arav" Andreev
2023-03-12 02:19:07 +0400
47e3ff37ba
Reduced bufferSize because 16KiB is more than enough for a max of 10 songs.
Alexander "Arav" Andreev
2023-03-12 02:16:55 +0400
38f995302d
Added optional dependencies to PKGBUILD.
Alexander "Arav" Andreev
2023-03-12 01:28:34 +0400