1
0
Commit Graph

604 Commits

Author SHA1 Message Date
bd35189caa
Updated a year in a template. 2023-02-07 02:54:30 +04:00
6d26d695ec
Pass ListLastNSongs to an Index template in handlers.go. 2023-02-07 02:46:10 +04:00
ac3e2b8e92
Updated go:generate statement in web.go. 2023-02-07 02:45:40 +04:00
97294bd9f0
index.jade was changed to index.pug because... Why not? :) 2023-02-07 02:44:31 +04:00
dde372fd5d
Pass number of last songs to a template. 2023-02-07 02:37:30 +04:00
39486e7cf0
Removed section for the most listened song. 2023-02-07 02:37:08 +04:00
9e72a59fba
Don't store generated index.pug.go. 2023-02-07 02:35:10 +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
dc8ec51530
Func LoadConfiguration() was renamed to Load(). Added a comment for it. Edited a comment for SplitNetworkAddress() func. 2023-02-07 02:29:45 +04:00
bde8a59a31
Removed a comment for type Configuration that was from httpprocprobed service. 2023-02-07 02:28:54 +04:00
37643156fe
pkg/logging package was removed. 2023-02-07 02:27:57 +04:00
7c5e1465af
handlers moved to internal/http. Logging changed to std log. Type RadioHandlers renamed to Handlers. 2023-02-07 02:27:30 +04:00
91329ceaec
Server moved to internal/http. 2023-02-07 02:26:10 +04:00
af40ccfd2c
r.sock changed to sock in nginx.conf. 2023-02-07 02:25:18 +04:00
0ff8f4310e
r.sock changed to sock. 2023-02-07 02:24:58 +04:00
192fa0d58f
Removed ToStdout option from Configuration. 2023-02-07 02:24:44 +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
8db8086c58
Updated version number to 23.6.0. 2023-02-07 02:17:36 +04:00
62aef657a8
Version updated. 2022-09-21 04:57:13 +04:00
7e83be82cb
Calculate offset for ReadAt() instead of using Seek().
Fixed going out of bounds.
2022-09-21 04:56:06 +04:00
52e5f1be55
In playlist wrote a full name Yggdrasil instead of just Ygg. 2022-09-19 01:59:01 +04:00
f631fdfa7c
Playlist log watcher was made into a struct. 2022-09-19 01:55:09 +04:00
3727f44381
lastPlayedSongs changed to icecastLastPlayedSongs. playlistFired changed to playlistChanged. 2022-09-19 01:37:47 +04:00
a7d91dc92e
Reflect the changes in main.go. 2022-09-19 01:33:52 +04:00
e8e3570a8f
Liquidsoap code moved to radio package. ErrNotRunning -> ErrLiquidsoapNotRunning. 2022-09-19 01:32:23 +04:00
73fc9861fd
Renamed Song() method to more clear name SongName(). 2022-08-31 00:52:50 +04:00
fb891c5603
Removed unused run and clean targets from a Makefile. 2022-08-31 00:50:01 +04:00
025bc6509c
Version was increased to 22.35.1. 2022-08-31 00:47:44 +04:00
3e39839df3
Replaced depricated method map_metadata() with metadata.map. 2022-08-31 00:46:39 +04:00
98b0a8085a
No, it skips 2 tracks instead of 1. Let's get back to -2. 2022-08-30 18:20:24 +04:00
49793150b3
Install script doesn't needed. A tar.gz archive used instead of git. 2022-08-30 02:35:30 +04:00
0620f82940
lastPlayedSong was made into lastPlayedSongs. Now it retrieves up to n songs from a log. 2022-08-30 02:29:11 +04:00
df67314f2a
It didn't allow to run liquidsoap. So these options were removed. 2022-08-30 02:13:58 +04:00
2c0f0ce61b
Oh, liquid var is nil. We don't need to call Stop(). 2022-08-30 01:57:11 +04:00
64eed7ac7e
Oops, last line also has a newline. So the last one is empty. 2022-08-30 00:51:21 +04:00
ef9af21de1
Added an Yggdrasil link to m3u. 2022-08-30 00:32:52 +04:00
1e43b67670
A little fix in an install script. 2022-08-30 00:21:06 +04:00
e3112cb4d2
Added a --no-liquidsoap flag to not start a liquidsoap. 2022-08-30 00:14:39 +04:00
29cc7afb77
Now it is statically linked. 2022-08-29 23:15:53 +04:00
1e6b51a2c0
IsRunning() method had no use. 2022-08-29 23:12:47 +04:00
f211602a4b
Implemented sane script validation. WTF did I think later..? 2022-08-29 23:10:39 +04:00
7dd517ea8f
Check if path is valid. Simplified error handling. 2022-08-29 22:20:05 +04:00
b26f23b4e3
Set liquidsoap to log into a file. 2022-08-29 22:17:31 +04:00
7f50eafc89
Increase log file size to 10M. 2022-08-29 22:16:56 +04:00
37b3ccd3ae
Liquidsoap's ;ogging to stdout is ruled in vars file. 2022-08-29 20:24:47 +04:00
cf63f471a8
Commented out Tor. Fixed formating. Removed unneeded scheme header. 2022-08-29 20:06:58 +04:00