1
0
Commit Graph

271 Commits

Author SHA1 Message Date
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
63c9c2b036
Okay, without dynamically linked libc it gets permission denied error when running bash. 2022-06-13 23:24:42 +04:00
ebfe0b42b4
Incremented version. 2022-06-13 22:33:10 +04:00
27599c7e9a
Remove /usr/lib64 from ExecPaths since our executable is purely static now. 2022-06-13 22:32:22 +04:00
9e4ac0816f
Making executable purely static by removing dependency from cstdlib. 2022-06-13 22:31:47 +04:00
f8f7294c0d
Removed github.com/Joker/jade from dependencies. 2022-06-13 19:08:59 +04:00