1
0
Commit Graph

612 Commits

Author SHA1 Message Date
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
eccf0ff4e9
Removed unused const FormatISO8601. 2023-09-14 17:51:15 +04:00
fd3775d5fb
In nginx.conf added b32.i2p address to a server_name option. 2023-09-14 03:15:42 +04:00
c020031127
Do not overwrite mostlistenedsong file if a song wasn't changed. 2023-09-10 18:23:06 +04:00
cbf8eb8747
Made a ${TARGET} target dependable on a web/*.pug.go target. Also added ifeq ... endif check for jade compiler. 2023-09-10 18:18:41 +04:00
812d374354
Removed all target and fixed .PHONY. 2023-09-10 18:16:45 +04:00
39e872256b
Added -buildmode=pie for security. 2023-09-10 18:16:07 +04:00
8385e36340
Version set to 23.34.0. 2023-08-22 17:34:25 +04:00
21f48e2366
Don't show elapsed time under a play button. 2023-08-22 17:11:15 +04:00
8a5666743f
Further code shortening in main.js! 2023-08-22 16:50:27 +04:00
790b08e22c
Changed formatting in main.js. Also innerText was replaced with textContent. 2023-08-22 16:37:00 +04:00
28c2cf21a0
$() func was made into an arrow func. 2023-08-22 16:35:43 +04:00
bc9437cd2c
Replaced everything with id. Also #last-played renamed to #last-songs. Everything in #player got a prefix radio-. 2023-08-22 04:37:17 +04:00
5e247f8d5c
Refactored main.js. 2023-08-22 04:18:30 +04:00
82e2720156
Removed excessive div. 2023-08-22 04:18:05 +04:00
3120855858
In updateLastPlayedSong ' symbol replaced by ". 2023-08-22 03:41:09 +04:00