Skip to content

Editing SEPIA Radio Stations

Florian Quirin edited this page Jun 18, 2020 · 1 revision

Editing SEPIA radio stations for the "radio" service

SEPIA has a list of radio stations or to be more precise "audio streams" of any kind that can be customized.
The list can be found on your SEPIA server at this location:

~/SEPIA/sepia-assist-server/Xtensions/ServiceProperties/radio-stations.json

If you edit this file don't forget to restart your server so the changes take effect.
Oh and if you find good stations please SHARE them with other users e.g. via the issues section.

Please note: Currently SEPIA updates will overwrite this file since there are regular changes for some streams, so if you edit it keep a backup somewhere to restore it later ;-)

Basic structure of the radio-stations.json

"stations"

Object that holds all stations. A station itself usually looks like this:

"delta_föhnfrisur": [{
	"streamURL": "https://delta....",
	"name": "delta radio Föhnfrisur"
}]

But it ca also be an array of existing other stations like this:

"ego_fm": [
    "ego_fm_pure", 
    "ego_fm_riff", 
    ... 
]

You can combine both versions as well (there are examples in the file). SEPIA will always start auto-play of the first station in the array and offer the other stations as list in the chat. The "key" like delta_föhnfrisur or ego_fm is the basis for what SEPIA will search when you say "Play radio ego FM" or "Play radio dela Föhnfrisur".
Adding the correct streamURL can be tricky sometimes since not all radio stations are showing them publicly. Some small stations might even use a rotating URL and redirect from some domain to that. Redirecting links are likely to fail when used as audio stream :/

"collections"

Collections are stations grouped by a keyword, e.g. rock for "Play a rock radio".

"playlists"

Some stations have a link to their playlist that will be shown in the chat and in the future it might be used to call some playlist API maybe. Use the "name" field of the station to connect a station with its playlist.

"deprecations"

These are just some stations that don't work anymore and are parked here in case someone whats to try and fix them ;-) (if possible).