1
0
Commit Graph

582 Commits

Author SHA1 Message Date
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
696bcb9e89
Removed unused radio-status from JS. 2023-08-22 03:40:48 +04:00
865bdd7eca
For update button replaced getElementById with getElementsByName. 2023-08-22 03:40:09 +04:00
472a68768c
Updated player's JS. 2023-08-22 03:39:29 +04:00
3837ca9c56
Updated CSS. 2023-08-22 03:38:51 +04:00
347fb97cf2
Changed naming of tags. 2023-08-22 03:38:19 +04:00
c0018f3d50
In sitemap.xml updated lastmod for /. 2023-08-21 18:40:04 +04:00
b40942b5fb
Made volume slider vertical. 2023-08-21 18:33:00 +04:00
4b68b93e7b
Removed vol up and down buttons. 2023-08-21 18:32:39 +04:00
e082527edc
In case of an http error show Offline in a Now playing field. 2023-08-21 18:31:06 +04:00
9ac60e9f28
Don't show server start date and time on a page. 2023-08-21 18:30:21 +04:00
5c16576fa4
Removed one nesting level by removing select statement. 2023-08-21 06:08:21 +04:00
76b3e2e8ad
For some log messages changed capital letter to lowercase. 2023-08-21 05:45:12 +04:00
60fae56a28
Set min-width for a player. Sorted properties. 2023-08-21 05:22:22 +04:00
007691c534
Defer server Stop and writing of MLS instead of call after doneSignal fired. 2023-08-21 04:39:38 +04:00
e53fb45bd9
Show zeroes in cur-time. 2023-08-20 18:22:33 +04:00
60f59f423d
Version set to 23.33.2. 2023-08-20 18:20:48 +04:00
f7fcfc1ba0
Set column direction for player on narrow screens. 2023-08-20 18:06:14 +04:00
f9b2afdd50
Added log for failed attempts on retrieving songs from playlist.log. 2023-08-20 18:03:51 +04:00
48bbd32eb8
Remove a debug print accidenatlly commited. 2023-08-20 03:27:08 +04:00
075e171b40
Populate a freshly created cache with songs if there are any. 2023-08-20 03:26:14 +04:00
7df94bef12
Only then call make on cache if it is nil. 2023-08-20 03:20:49 +04:00
e402829724
Removed repeated ProtectProc= from services. 2023-08-20 02:45:47 +04:00
8ab04a7906
Forgot to revert src back. Set version to 23.33.1. 2023-08-20 02:38:05 +04:00
681d1afc68
Shortened a code for changing maskImage. 2023-08-20 02:23:00 +04:00
af0cbda364
Added -webkit-mask-image to work on Chrome. 2023-08-20 02:19:04 +04:00
3566e90b1a
Correct audio stopping. 2023-08-20 02:10:29 +04:00
b874b533ca
Version set to 23.33.0. 2023-08-20 01:22:05 +04:00
8d546917d3
Added SVG play and stop buttons. 2023-08-20 01:21:01 +04:00
dbaa813815
Added styling for a custom player. 2023-08-20 01:20:41 +04:00
8d372645ce
Added JS code for a custom player. 2023-08-20 01:20:28 +04:00