1
0
Commit Graph

241 Commits

Author SHA1 Message Date
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
314138641a
Set a path to a liquidsoap. 2022-08-29 19:35:38 +04:00
a5d7aacb4c
Make inability to run liquidsoap fatal. 2022-08-29 19:35:11 +04:00
3df0ec2d69
Removed no more used commands. 2022-08-29 19:28:48 +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
16e849eb65
Rewritten lastPlayedSong() in a sane way. Hope it will work. 2022-08-29 12:47:06 +04:00
d608cf1a2d
Added missing / in radio_dir. 2022-08-29 10:07:24 +04:00
0c5cf57b80
Enabled stdout logs for liquidsoap. 2022-08-29 10:07:01 +04:00
d43b2fe897
Removed handling of imposible cases. 2022-08-29 09:19:35 +04:00
1996743470
Cache vars moved to the top of the file. 2022-08-29 09:08:08 +04:00
c935db8ce7
Implemented lastPlayedSong() function that retrieves one song from a playlist.log file that doesn't run external commands for it.
And now we start with an empty list.
2022-08-29 08:58:35 +04:00
23f246857e
Launch and stop liquidsoap in a main file. 2022-08-29 07:20:58 +04:00
0da8077ab7
Implemented a liquidsoap process launcher. 2022-08-29 07:20:36 +04:00
b2791aa13a
Updated version in a Makefile. Added copying of liquidsoap script. 2022-08-29 07:19:59 +04:00