laut.fm Current Song
Displays the currently playing track from a laut.fm station.
| System | AWTRIX NG Scripts |
|---|---|
| Firmware | AWTRIX NG |
| Topic | Miscellaneous |
| Built by | eXiratA |
| File | uZ3QqkugUG9u.ax · 0.9 KB |
| Icons | — |
| Published | 19 Aug 2026 · updated 19 Aug 2026 |
This script displays the currently playing track from a laut.fm station as a scrolling text.
You need the "laut.fm Data Collector" to run this Script.
The script requires the "3841" icon for correct display.
uZ3QqkugUG9u.ax
# @name LautFM Current Song
# @desc Interpret und Titel als Laufschrift
# @config speed number "Scrollgeschwindigkeit" default=100 min=25 max=300 unit=%
# @config repeat number "Anzahl Durchläufe" default=1 min=1 max=10
# @config color color "Textfarbe" default=#FFFFFF
class LautFmCurrentSong
var speed
var repeat
var color
var song
def init()
self.speed = store.get("speed")
self.repeat = store.get("repeat")
self.color = store.get("color")
self.song = "Lade..."
end
def loop()
var value = shared.get("lautfm-data.song", nil)
if value != nil
self.song = value
end
end
def draw()
clear()
icon("3841", 0, 0)
scroll_text(
9,
6,
width() - 9,
self.song,
self.color,
{
"speed": self.speed,
"repeat": self.repeat,
"entry": "offscreen"
}
)
end
end
return LautFmCurrentSong()
Install it on your AWTRIX NG
Your browser writes the script straight to the device on your network. It joins the app rotation right away.
Some browsers refuse to talk to a device on your network from a public page. Download the flow and paste it into the Scripts tab of your device, or install it from a terminal:
More flows for AWTRIX NG Scripts or Miscellaneous
Something wrong with this flow? Report it.