|
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 |
|
|
238705b00f
|
In an index.pug file make a copy of a current song for thread safety.
|
2023-10-07 05:25:13 +04:00 |
|
|
020676f113
|
While I want thread safety I also want a not set current song to not appear in a status JSON object.
|
2023-10-07 05:23:45 +04:00 |
|
|
07b0199193
|
In a PlaylistNext() handler pass a current song as a copy.
|
2023-10-07 05:20:27 +04:00 |
|
|
f53f30963d
|
sync.Mutex was replaced by sync.RWMutex for SongList.
|
2023-10-07 05:16:16 +04:00 |
|
|
1d50bbe790
|
In MarshalJSON() for Song a string field Duration was removed, just msec left.
|
2023-10-07 05:11:58 +04:00 |
|
|
62f6e3b976
|
Updated SIG* handling code in main().
|
2023-10-06 04:58:58 +04:00 |
|
|
3251d9e983
|
In .gitignore added a file mls-test.
|
2023-10-06 03:17:59 +04:00 |
|
|
2f96976f19
|
In DJHandlers.Status in an anonymous struct removed a pointer to Song.
|
2023-10-05 18:54:44 +04:00 |
|
|
c33ff03bd8
|
Updated using of SongList.Current() in an index.pug file.
|
2023-10-05 18:53:57 +04:00 |
|
|
9beb179cc0
|
SongList.Current() now returns a copy of Song instead of a pointer.
|
2023-10-05 18:52:18 +04:00 |
|
|
9b14d7846b
|
In CheckAndUpdateMostListenedSong() accept Song by value instead of a pointer.
|
2023-10-05 18:19:41 +04:00 |
|
|
c7f6b3072d
|
Embedded a sync.Mutex to a ListenerCounter.
|
2023-10-05 18:18:48 +04:00 |
|
|
f1eaba016f
|
In DJHandlers.ListenersInc() a code for updating max listeners was replaced by a function call to UpdateCurrentMaxListeners().
|
2023-10-05 18:05:27 +04:00 |
|
|
eeadbc4f96
|
To a SongList a method UpdateCurrentMaxListeners() was added, it checks and updates max listeners for a current song in a thread safe manner.
|
2023-10-05 18:04:15 +04:00 |
|
|
b659464118
|
For Song.ArtistTitle() a comment was updated.
|
2023-10-05 18:02:33 +04:00 |
|
|
8079058b5c
|
Added a handler for SIGHUP signal that is used for playlist reloading.
|
2023-10-05 17:37:13 +04:00 |
|
|
f8fd13f8ed
|
In playlist load() add an error message.
|
2023-10-05 17:36:02 +04:00 |
|
|
e0fa65fbd7
|
Decided to remove inotify watcher from playlist.
|
2023-10-05 17:31:12 +04:00 |
|
|
8587225dfc
|
Added SIGABRT to doneSignal.
|
2023-10-05 17:26:48 +04:00 |
|
|
6ae8a40493
|
In oggtag.go a struct named OggFIle was created, ReadFile turned into a constructor NewOggFile. And GetTag and GetDuration turned into methods.
|
2023-10-05 17:26:13 +04:00 |
|
|
10bc3a3785
|
In Playlist embed a sync.Mutex instead.
|
2023-10-04 18:37:13 +04:00 |
|
|
6ce4700420
|
In index.pug: songList.Len() was replaced with songList.MaxLen().
|
2023-10-04 18:15:09 +04:00 |
|