1
0
Commit Graph

226 Commits

Author SHA1 Message Date
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
c55146a8bf
Changed service description. Added a dependance on Icecast. 2022-08-29 07:18:59 +04:00
e1141e3d6f
Added liquidsoap script. 2022-08-29 07:18:07 +04:00
e94973920e
Added configuration fields for a liquidsoap. 2022-08-29 07:17:40 +04:00
e0794d395d
Version updated to 22.35.0. Added install script with a reminder. 2022-08-29 07:17:04 +04:00
e9c6a12f23
Rearranged options in a logrotate file. 2022-08-29 07:16:20 +04:00
8267d7d907
Removed '-git' from package name in PKGBUILD. 2022-08-24 21:29:10 +04:00
3c477e95c1
Changed Go version to 1.18 in go.mod. 2022-08-24 21:28:43 +04:00
2a1e5d8d08
Reduced go.sum. 2022-08-24 21:28:20 +04:00
c3fa7f6adf
Removed unneded SYSCTL var from the Makefile. 2022-08-02 02:55:57 +04:00
a03a874466
Version now is being passed by ld. 2022-08-02 02:54:47 +04:00
0b51ed1cbd
Holy shit, I found it only now. 2022-08-02 02:50:05 +04:00
3a901f662e
Updated version. 2022-08-01 01:12:20 +04:00
adbab10507
To MainSite() added an Yggdrasil address. 2022-08-01 01:12:10 +04:00
0d701dba34
Removed unused HTTP methods handler setters. 2022-06-30 00:26:36 +04:00
91755551ee
Fixed path in logrotate config. 2022-06-30 00:26:18 +04:00