1
0
Commit Graph

677 Commits

Author SHA1 Message Date
9f361be6c4
On SIGHUP reload a playlist file. 2023-10-01 06:38:21 +04:00
6ebe24fa5a
In SongList Add check if a current song wasn't set yet. 2023-10-01 06:37:47 +04:00
10b817df2e
In oggtag handle a case when tag name are in upper case. 2023-10-01 06:36:47 +04:00
2ea74277ab
Added run-dj test target in Makefile. 2023-10-01 06:13:15 +04:00
ae4b2c9dee
In radiodj main fixed loading of an MLS file. 2023-10-01 06:10:27 +04:00
d8aa7076c3
In Makefile added radiodj bash scripts. 2023-10-01 06:05:09 +04:00
9673da35ce
In Makefile added radiodj. 2023-10-01 05:59:33 +04:00
707b45e4ad
Added a systemd unit for radiodj. 2023-10-01 05:58:49 +04:00
59d2c1dbf9
Just found a typo in a directory name. 2023-10-01 05:55:01 +04:00
a4f7366213
In handlers made use of a SongList. 2023-10-01 05:43:52 +04:00
8c1e46900a
Added a SongList and Song_ types. An underscore is temporary and is because there is an another Song type in an icecast.go file. 2023-10-01 05:42:55 +04:00
cbfc1549ed
Added a mutex for Listeners struct for thread safety. 2023-10-01 04:18:43 +04:00
5a058aa706
Added most listened song and song list length. Also removed a year 2022 from a version string. 2023-10-01 04:17:49 +04:00
07d11ce3ff
A dummy Song handler was added. 2023-10-01 03:35:33 +04:00
18bd1fb12d
Implementation of a simple OGG tag reader. 2023-10-01 03:34:16 +04:00
ca33de09cc
Added a playlist instance and pass a PlaylistNext handler. 2023-10-01 01:33:55 +04:00
88b5f21343
Added playlist handler. 2023-10-01 01:32:57 +04:00
3d2b172deb
Replaced unused r arg with _ in handlers. 2023-10-01 01:32:17 +04:00
2e6f9f27c4
Added a Playlist struct. 2023-10-01 00:47:07 +04:00
855397ad0c
In a bash script for disconn handling a resp code 204 was replaced by 200. 2023-10-01 00:02:04 +04:00
8677af243c
Added main for a radiodj service. 2023-10-01 00:00:39 +04:00
978a2602d8
Added handlers used in a radiodj service. Currently just for listeners. 2023-09-30 23:59:48 +04:00
61e2f6d8fd
Added bash scripts that are used in Ezstream to fetch the next song, and for Icecast to handle conns/disconns. 2023-09-30 23:59:06 +04:00
328dbc644e
A struct to hold a number of current and peak listeners was added. 2023-09-30 23:57:31 +04:00
c3b3604a6f
Found and fixed a typo in nginx.conf. And added a X-Real-IP header for :8000 HTTP port. 2023-09-23 23:09:47 +04:00
e3f555a01a
In PKGBUILD provides= and conflicts= options were removed since there is no need to add $pkgname itself. It implicitly is there. 2023-09-23 03:33:47 +04:00
758bc50e50
Added an intake for a future dwelling-radiodj utility. 2023-09-21 05:01:33 +04:00
18b3ecd135
In PKGBUILD added ezstream.xml to a backup= option. 2023-09-21 03:31:48 +04:00
cbf00cc0f8
Fixed a typo in Makefile. 2023-09-21 03:24:46 +04:00
8a182a7fb0
In ezstream.service added an ExecReload option to reread a playlist. 2023-09-21 02:11:05 +04:00
c760b5ce99
In ezstream.service added missing -c flag in ExecStart. 2023-09-21 02:06:32 +04:00
d2df4b1bf7
Added description of pe command in radioctl. 2023-09-21 02:05:17 +04:00
fbcd656348
Version set to 23.38.0. 2023-09-21 02:02:48 +04:00
ef740eeeca
Added ezstream in Makefile. 2023-09-21 02:02:13 +04:00
bb2c7e4e6d
Due to all the strange headaches with liquidsoap and since I don't have any jingles or live streams I added support for ezstream. 2023-09-21 02:00:28 +04:00
89f7d0e49c
In liquidsoap.service a switch name was changed to default. 2023-09-20 03:39:36 +04:00
f52d52b1b3
In radioctl fixed -c param for cut in playlist. 2023-09-20 03:39:02 +04:00
b86cd122b3
In radio.liq *.set() replaced by := for settings. 2023-09-20 03:38:22 +04:00
b02d89836f
In radio.liq replaced fade.initial and fade.final by fade.in and fade.out. 2023-09-20 03:37:53 +04:00
4b8ab610d5
Added comments for separator* consts. 2023-09-17 19:18:18 +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
ad5608375c
Updated httpr to v0.3.2. 2023-09-15 04:39:51 +04:00
4a620c30fa
Version set to 23.37.0. 2023-09-15 04:24:31 +04:00
b1428812c8
Comment out log in a benchmark. 2023-09-15 04:24:12 +04:00
60045d4ca2
icecastLastPlayedSongs was replaced by icecastCurrentSong that fetch only one song at the very end of a playlist.log. Also added a benchmark for this func. 2023-09-15 04:19:28 +04:00
7bb91cfcbe
A little reorganisation in icecast.go. 2023-09-15 03:20:12 +04:00
e8ad10a16d
In CheckAndUpdateMostListenedSong pass cur and prev songs by pointer. 2023-09-15 03:17:44 +04:00
2cf6e1a6cb
append() was replaced with more efficient copy() (only 1 allocation with make). 2023-09-14 18:20:47 +04:00
978b4c6454
Removed unused error returning (error is always nil). 2023-09-14 17:59:14 +04:00
a6f92b56da
Reorganised Handlers struct fields. 2023-09-14 17:58:35 +04:00