1
0
Commit Graph

644 Commits

Author SHA1 Message Date
a18d5432b5
In ezstream.xml port 8001 was replaced by 8000. 2023-10-09 01:22:03 +04:00
7d4de3f6a6
Add 5 seconds to time.Now() to more accurately represent the time when a song actually starts to play. 2023-10-09 01:15:05 +04:00
46dbe72253
In icecast.xml authentication added missing s to http in URLs. 2023-10-09 01:03:42 +04:00
b76d861ab6
In icecast.xml set listen-port to 8000. 2023-10-09 00:34:44 +04:00
c43bd5ea92
In nginx.conf changed Icecast's port to 8000. And set to listen on 192.168.144.2:8000. 2023-10-09 00:30:16 +04:00
c9e30f76e6
Let's actually hide RWMutex's methods to clean a namespace. 2023-10-09 00:21:44 +04:00
5de3f8e9af
In oggtag.go bufTail was renamed to a more suitable bufLast. 2023-10-09 00:15:21 +04:00
3ba47c2d41
Updated sitemap.xml. 2023-10-09 00:12:32 +04:00
54fb77c8ae
In Makefile -fallback-song added in a run target. 2023-10-09 00:10:39 +04:00
fb46a912f7
In song.go updated comments. 2023-10-09 00:05:28 +04:00
f960d8516a
Since SongList.Current() now return a copy then this code is no longer needed. 2023-10-08 23:55:55 +04:00
e63f0aead3
Make a SongList.Current() return a copy of a current song. 2023-10-08 23:52:10 +04:00
04e09dd800
Removed debug fmt.Println from ListenersUpdate. 2023-10-08 23:07:04 +04:00
c548bc3382
Add a default source password to ezstream.xml. 2023-10-08 23:04:24 +04:00
c8e1176d8d
In nginx.conf fixed location path. 2023-10-08 22:51:38 +04:00
27affc5e73
Let's actually remove unused handlers. 2023-10-08 22:50:36 +04:00
bbfdb8c956
In nginx.conf added allow 127.0.0.1. Also found out a proxy_bind option. With it Icecast will see client's IP. 2023-10-08 22:49:04 +04:00
490eed2a24
Do not copy radio-listener-* scripts. 2023-10-08 22:20:16 +04:00
a1b951845f
Version set to 23.40.1. 2023-10-08 22:19:49 +04:00
dbf71f3f64
Fixed listeners number update, well, on-dis/connect in mount is for a SOURCE. To get listeners you need to use <authentication type="url">.
Also, disabled all listener handler, added POST /api/listener/icecast handler.
2023-10-08 22:17:56 +04:00
635fc4ec1d
Fixed a typo in Makefile. 2023-10-08 04:30:46 +04:00
5c061b82f0
In radio-* scripts fixed the malformed URLs. 2023-10-08 04:30:19 +04:00
7f1a49ec91
In main.js also update MLS. 2023-10-08 04:09:41 +04:00
2ea21e12b2
In index.pug added ids for MLS fields. 2023-10-08 04:09:05 +04:00
24ce8115e7
MostListenedDateFormat was changed. 2023-10-08 04:08:27 +04:00
b9ecf9a3c6
In Makefile un/install target added an override for an Icecast service. 2023-10-08 03:12:52 +04:00
740d47fb9d
Added an override for icecast.service. 2023-10-08 03:06:53 +04:00
730bc0599f
In ezstream.service changed order in Requires= and After=. 2023-10-08 03:04:55 +04:00
a567007463
In ezstream.service Requires= also added a dwelling-radio.service. 2023-10-08 03:02:26 +04:00
1efa8b73ed
In ezstream.service After= added a dwelling-radio.service. 2023-10-08 03:01:31 +04:00
83955866c9
Alter an artist tag to tell that there is nothing left to play, so a fallback song is used to fill a silence. 2023-10-08 02:56:19 +04:00
22a6200ddb
In radio.service added a -fallback-song option. 2023-10-08 02:52:57 +04:00
f0aa00b932
Added a fallback song option. Altered a PlaylistNext() header to use it. 2023-10-08 02:52:37 +04:00
e0e5e314f1
Added icecast.xml. 2023-10-08 02:40:54 +04:00
d549393e42
Updated radioctl. Changed a name for ezstream playlist gen. Added commands to reaload a playlist for ezstream and dwelling-radio. 2023-10-08 02:39:23 +04:00
099824bfed
Version set to 23.40.0. 2023-10-08 02:05:18 +04:00
6311b998d4
In nginx.conf deny access to /api/{listener,playlist} from outside, scripts are connecting directly to theservice via a unix socket. 2023-10-08 02:04:24 +04:00
1599d502c1
Decided to keep handlers for /api/{song,songs,mostlistenedsong} but disable them. Everything can be fetched at an /api/status endpoint. 2023-10-08 02:03:06 +04:00
eb65071b51
In OggFile.GetTag() was added another layer of indexing, this time we are looking for a capitalised tag name (e.g. Artist). Why there's no consistency in OGG vorbis tags..? *Sigh* 2023-10-08 01:23:28 +04:00
0d8032da46
MostListenedSong was rewritten. 2023-10-08 00:52:40 +04:00
d84d985962
In ListenerCounter a sync.Mutex was replaced by a sync.RWMutex. 2023-10-07 23:21:00 +04:00
da4e97f1aa
In Playlist.load() a check for an empty file was added. 2023-10-07 23:17:42 +04:00
131ea35341
A reduntant method Song.ArtistTitle() was removed. 2023-10-07 21:31:00 +04:00
4a4c228984
In main.js added a call to updateStatus() before starting an interval. 2023-10-07 21:30:19 +04:00
eba2c7d18f
Do not install liquidsoap's files. 2023-10-07 18:03:12 +04:00
141e0f3717
In radio-listener-* vars was removed. 2023-10-07 06:04:49 +04:00
0590eaa1c5
Fixed and simplified radio-fetch. 2023-10-07 06:03:16 +04:00
65ec8c1db2
In index.pug avoid nil pointer dereferencing. 2023-10-07 05:35:16 +04:00
b8afed6e1b
In PlaylistNext() CheckAndUpdateMostListenedSong() call was moved after songList.Add to avoid nil pointer dereferencing. 2023-10-07 05:34:50 +04:00
f0420e9bcd
main.js was rewritten and now it displays estimate and total duration of a current song. 2023-10-07 05:33:57 +04:00