|
f0aa00b932
|
Added a fallback song option. Altered a PlaylistNext() header to use it.
|
2023-10-08 02:52:37 +04:00 |
|
|
1599d502c1
|
Decided to keep handlers for /api/{song,songs,mostlistenedsong} but disable them. Everything can be fetched at an /api/status endpoint.
|
2023-10-08 02:03:06 +04:00 |
|
|
0d8032da46
|
MostListenedSong was rewritten.
|
2023-10-08 00:52:40 +04:00 |
|
|
62f6e3b976
|
Updated SIG* handling code in main().
|
2023-10-06 04:58:58 +04:00 |
|
|
8079058b5c
|
Added a handler for SIGHUP signal that is used for playlist reloading.
|
2023-10-05 17:37:13 +04:00 |
|
|
8587225dfc
|
Added SIGABRT to doneSignal.
|
2023-10-05 17:26:48 +04:00 |
|
|
d0722131df
|
Added handlers and flags and instantiated all need stuff. Removed flags for icecast.
|
2023-10-02 03:16:17 +04:00 |
|
|
fea96118bc
|
Set a new path to radio files (where playlists, filelist, and music are stored).
|
2023-09-17 19:15:56 +04:00 |
|
|
c020031127
|
Do not overwrite mostlistenedsong file if a song wasn't changed.
|
2023-09-10 18:23:06 +04:00 |
|
|
76b3e2e8ad
|
For some log messages changed capital letter to lowercase.
|
2023-08-21 05:45:12 +04:00 |
|
|
007691c534
|
Defer server Stop and writing of MLS instead of call after doneSignal fired.
|
2023-08-21 04:39:38 +04:00 |
|
|
6c46d2cf5f
|
Changed path to a mostlistenedsong file.
|
2023-08-19 19:48:28 +04:00 |
|
|
5bf80666d6
|
Removed explicit type for showVersion var.
|
2023-08-06 03:44:06 +04:00 |
|
|
a1bf9cf30a
|
Use flags instead of config file. Also replaced HttpServer with a new code.
|
2023-08-06 03:17:18 +04:00 |
|
|
832387f663
|
A little refactoring in main.go.
|
2023-07-22 23:17:45 +04:00 |
|
|
38f04aa9f8
|
Removed code for liquidsoap.
|
2023-07-22 22:15:24 +04:00 |
|
|
3ef213ab0d
|
Changed main a little.
|
2023-05-27 00:36:23 +04:00 |
|
|
17b5ab48ca
|
Use httpr instead of httprouter.
|
2023-05-26 23:56:00 +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 |
|
|
aac6d8e43a
|
Logically separate handlers with new lines in main.go.
|
2023-03-13 03:28:01 +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 |
|
|
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 |
|
|
ab19f045d2
|
Set log flag to only pring source file name and line.
|
2023-03-12 02:38:34 +04:00 |
|
|
83cdc222c7
|
Change arav.top to arav.su.
|
2023-02-23 17:49:01 +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 |
|
|
c18c52e839
|
Changed imports in main.go.
|
2023-02-07 02:32:34 +04:00 |
|
|
c1296cb7c5
|
Use new internal/http package.
|
2023-02-07 02:31:57 +04:00 |
|
|
ca8613745f
|
First check if a unix socket used and only then defer a removing of it.
|
2023-02-07 02:31:30 +04:00 |
|
|
3eb739bc28
|
LoadConfiguration() changed to Load() in main.go.
|
2023-02-07 02:30:31 +04:00 |
|
|
98786e6964
|
Ver. -> ver.
|
2023-02-07 02:23:41 +04:00 |
|
|
0bb2cf9a08
|
Removed log-stdout flag. Ditched self-made logging.
|
2023-02-07 02:23:04 +04:00 |
|
|
f631fdfa7c
|
Playlist log watcher was made into a struct.
|
2022-09-19 01:55:09 +04:00 |
|
|
a7d91dc92e
|
Reflect the changes in main.go.
|
2022-09-19 01:33:52 +04:00 |
|
|
2c0f0ce61b
|
Oh, liquid var is nil. We don't need to call Stop().
|
2022-08-30 01:57:11 +04:00 |
|
|
e3112cb4d2
|
Added a --no-liquidsoap flag to not start a liquidsoap.
|
2022-08-30 00:14:39 +04:00 |
|
|
a5d7aacb4c
|
Make inability to run liquidsoap fatal.
|
2022-08-29 19:35:11 +04:00 |
|
|
fec2a4b524
|
Okay, the problem with liquidsoap is with permissions. So, now it is not mandatory.
|
2022-08-29 14:14:29 +04:00 |
|
|
23f246857e
|
Launch and stop liquidsoap in a main file.
|
2022-08-29 07:20:58 +04:00 |
|
|
a03a874466
|
Version now is being passed by ld.
|
2022-08-02 02:54:47 +04:00 |
|
|
ebfe0b42b4
|
Incremented version.
|
2022-06-13 22:33:10 +04:00 |
|
|
0532ab5300
|
Updated version of a program.
|
2022-06-13 18:49:26 +04:00 |
|
|
89429d7fd2
|
Updated version.
|
2022-05-24 23:45:11 +04:00 |
|
|
6dbe154bbc
|
Added SIGHUP handler for logger file reopening.
|
2022-05-24 23:34:16 +04:00 |
|
|
d3cce3d0cb
|
Updated version.
|
2022-05-24 18:53:23 +04:00 |
|
|
89bc554fc0
|
Removed robots.txt handler and /stats endpoint renamed to /status.
|
2022-05-24 18:40:52 +04:00 |
|
|
8b34c1e935
|
nt var was renamed to more understandable typ.
|
2022-05-24 18:28:23 +04:00 |
|