The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: How to import radio stations
#1
Lightbulb 
Hey all,

A while ago I've created a React web client for streaming internet radio: RadioMii

The client pulls the info about the streams from radio-browser.info

Favorites created in RadioMii can be exported with XSPF or M3U format.

As it seems, Moode does not provide an option yet to import radio stations via M3U files. When I copy a M3U file to /var/lib/mpd/playlists, its radio stations don't appear in the UI, presumably because of missing entries in the db and missing cover images.

Looking into Moode's default radio playlist, the #EXTIMG tag shows that the station images seem to be stored locally, so the images are presumably referenced in the db entries then:

Code:
#EXTGENRE:Various
#EXTIMG:local
http://subfm.radioca.st/Sub.FM
http://kdhx-ice.streamguys1.com:80/live

I wonder if there is a way on console level to do a M3U bulk import with fetching station images dynamically and write them to Moode's database. I could adjust the RadioMii M3U export so that it contains the link to an image in #EXTIMG and also some other data like the stations genre, homepage, language, country, bitrate etc. as extended info key-value pairs.

Cheers
Andrea
Reply


Messages In This Thread
How to import radio stations - by haeckse - 06-11-2023, 09:13 AM
RE: Import radio stations - by TheOldPresbyope - 06-11-2023, 12:24 PM
RE: Import radio stations - by Tim Curtis - 06-11-2023, 01:18 PM
RE: Import radio stations - by haeckse - 06-11-2023, 04:20 PM

Forum Jump: