Compare commits
8 Commits
bc85efb3db
...
b0f24b25b9
Author | SHA1 | Date |
---|---|---|
Alexander Andreev | b0f24b25b9 | |
Alexander Andreev | c795c2b87b | |
Alexander Andreev | dbba53c0fa | |
Alexander Andreev | 34d4da946b | |
Alexander Andreev | 10ca532844 | |
Alexander Andreev | 8c0d070b41 | |
Alexander Andreev | 78b2740c58 | |
Alexander Andreev | 0bd91c3c1f |
2
Makefile
2
Makefile
|
@ -6,7 +6,7 @@ SYSDDIR:=${SYSDDIR_:/%=%}
|
|||
DESTDIR:=
|
||||
PREFIX:=/usr/local
|
||||
|
||||
VERSION=23.40.1
|
||||
VERSION=24.10.0
|
||||
|
||||
FLAGS:=-buildmode=pie -modcacherw -mod=readonly -trimpath
|
||||
LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: Alexander "Arav" Andreev <me@arav.su>
|
||||
pkgname=dwelling-radio
|
||||
pkgver=23.40.1
|
||||
pkgver=24.10.0
|
||||
pkgrel=1
|
||||
pkgdesc="Arav's dwelling / Radio"
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
|
|
|
@ -20,7 +20,7 @@ var (
|
|||
listenAddress = flag.String("listen", "/var/run/dwelling-radio/sock", "listen address (ip:port|unix_path)")
|
||||
filelistPath = flag.String("filelist", "/mnt/data/appdata/radio/filelist.html", "path to a filelist.html file")
|
||||
playlist = flag.String("playlist", "", "path to a playlist")
|
||||
fallbackSong = flag.String("fallback-song", "", "path to a fallbacl song")
|
||||
fallbackSong = flag.String("fallback-song", "", "path to a fallback song")
|
||||
mostListenedSongPath = flag.String("mls-file", "/mnt/data/appdata/radio/mostlistenedsong", "path to a file that stores info about the most listened song")
|
||||
songListLen = flag.Int("list-length", 10, "number of songs to show in last N songs table")
|
||||
|
||||
|
@ -34,7 +34,7 @@ func main() {
|
|||
log.SetFlags(log.Lshortfile)
|
||||
|
||||
if *showVersion {
|
||||
fmt.Println("dwelling-radio ver.", version, "\nCopyright (c) 2022,2023 Alexander \"Arav\" Andreev <me@arav.su>")
|
||||
fmt.Println("dwelling-radio ver.", version, "\nCopyright (c) 2022-2024 Alexander \"Arav\" Andreev <me@arav.su>")
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
@ -136,6 +136,8 @@ button#radio-play {
|
|||
button#radio-play:hover { text-decoration: none; }
|
||||
|
||||
input#radio-volume {
|
||||
appearance: slider-vertical;
|
||||
-webkit-appearance: slider-vertical;
|
||||
accent-color: var(--primary-color);
|
||||
height: 5rem;
|
||||
margin-left: .5rem; }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://radio.arav.su/</loc>
|
||||
<lastmod>2023-10-08</lastmod>
|
||||
<lastmod>2024-03-06</lastmod>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://radio.arav.su/filelist</loc>
|
||||
|
|
|
@ -24,7 +24,7 @@ html(lang='en')
|
|||
a(href=mainSite) Back to main website
|
||||
h1 Radio
|
||||
section#banner
|
||||
video(playsinline='' autoplay='' loop='')
|
||||
video(playsinline='' autoplay='' loop='' muted='')
|
||||
source(src="/assets/img/stopit.mp4", type="video/mp4")
|
||||
section
|
||||
small.player-links
|
||||
|
@ -52,7 +52,7 @@ html(lang='en')
|
|||
p Now playing: #[span#radio-song ] ( #[span#radio-duration-estimate ] #[span#radio-duration ] )
|
||||
p Current/peak listeners: #[span#radio-listeners #{listeners.Current()}] / #[span#radio-listener-peak #{listeners.Peak()}]
|
||||
p
|
||||
small Notice: information updates every 45 seconds. But you can #[button#radio-update update] it forcibly.
|
||||
small Notice: information updates every new song. But you can #[button#radio-update update] it forcibly.
|
||||
section
|
||||
h2 Last #{songList.MaxLen()} songs
|
||||
table#last-songs
|
||||
|
@ -68,4 +68,4 @@ html(lang='en')
|
|||
if mls != nil
|
||||
p.right Most listened song was "#[span#radio-mls-song #{mls.Song}]" on #[span#radio-mls-date #{utils.ToClientTimezone(mls.Date, r).Format(radio.MostListenedDateFormat)}] with #[b#radio-mls-listeners #{mls.Listeners}] listeners.
|
||||
footer
|
||||
| 2017—2023 Alexander "Arav" Andreev <#[a(href='mailto:me@arav.su') me@arav.su]> #[a(href=mainSite+'/privacy') Privacy statements]
|
||||
| 2017—2024 Alexander "Arav" Andreev <#[a(href='mailto:me@arav.su') me@arav.su]> #[a(href=mainSite+'/privacy') Privacy statements]
|
||||
|
|
Loading…
Reference in New Issue