Tag: 1.10

Intermediate commits (oldest → newest):
- fix of permissions
- path fix
- another approach
- test
- test2
- Test
- Fix
- Skip track
- fix
This commit is contained in:
2025-10-30 16:59:05 +01:00
parent 6f3eee90bb
commit b2af595122
3 changed files with 31 additions and 7 deletions
+14
View File
@@ -0,0 +1,14 @@
$dodaj_do_ulubionych 100 nightwish
$dodaj_do_ulubionych 100 amon amarth
$dodaj_do_ulubionych 100 tactical sekt
$dodaj_do_ulubionych 100 lacuna coil
$dodaj_do_ulubionych 100 sefa
$dodaj_do_ulubionych 100 frenchcore
$dodaj_do_ulubionych 100 peacock
$dodaj_do_ulubionych 100 vavamuffin
$dodaj_do_ulubionych 100 abradab
$dodaj_do_ulubionych 100 eluveitie
$dodaj_do_ulubionych 100 youtube
$dodaj_do_ulubionych 100 elyose
$dodaj_do_ulubionych 1 artisans du chaos
+3 -3
View File
@@ -102,11 +102,11 @@ radio = fallback(id="switcher2", track_sensitive=false, [s, emergency])
# Set up an interactive control for skipping tracks
p = interactive.bool("Skip track", false)
def http_skip(_):
def http_skip(~protocol, ~data, ~headers, uri)=
radio.skip()
http.response(data="Skipped")
http.response(code=200,data="Skipped")
end
harbor.http.register.simple(port=54321, "/skip", http_skip)
harbor.http.register(port=54321,method="GET","/skip", http_skip)
# Function to process the request queue and skip the current track if requested