Open davidhedlund opened 6 years ago
Here's the XML file structure:
$ xmllint yp.xml
<?xml version="1.0" encoding="UTF-8"?>
<directory>
<entry>
<server_name>ilovehaze</server_name>
<listen_url>http://streaming210.radionomy.com:80/ilovehaze</listen_url>
<server_type>audio/mpeg</server_type>
<bitrate>128</bitrate>
<channels>0</channels>
<samplerate>0</samplerate>
<genre>hip</genre>
<current_song>Fake Love - Drake</current_song>
</entry>
<entry>
<server_name>Mozartiana</server_name>
<listen_url>http://streaming211.radionomy.com:80/Mozartiana</listen_url>
<server_type>audio/mpeg</server_type>
<bitrate>128</bitrate>
<channels>0</channels>
<samplerate>0</samplerate>
<genre>classical</genre>
<current_song>Symphony No. 16 In C, K. 128: III. Allegro - Neville Marriner</current_song>
</entry>
<entry>
<server_name>Raadio Elmar</server_name>
<listen_url>http://217.146.71.24:80/elmar_high.mp3</listen_url>
<server_type>audio/mpeg</server_type>
<bitrate>256</bitrate>
<channels>0</channels>
<samplerate>0</samplerate>
<genre>rock</genre>
<current_song>Miina & Refiller - Kahe Vahel</current_song>
</entry>
...
</directory>
@segler-alex I can export http://dir.xiph.org/yp.xml to a different format so you can import it to MariaDB. Which format do you prefer?
@segler-alex I noticed that you are familiar with http://dir.xiph.org/yp.xml in this maililng list http://lists.xiph.org/pipermail/icecast/2009-October/011501.html. Do you already periodically merge http://dir.xiph.org/yp.xml to the database used by radio-browser.info?
Sent to the Icecast-dev mailing-list: [Icecast-dev] Please make permanent playlist URLs
Oh!! @davidhedlund nice!! I didn't see this issue when I posted in https://github.com/segler-alex/radiobrowser/issues/45. You're proactive!
The nice advantage Radio-Browser has over Xiph's raw data is the crowdsourced metadata/voting. The VLC radio directory always loads in a different order and with no tags and I never know what's good. I just click at random until I find something I like.
Oh!! @davidhedlund nice!! I didn't see this issue when I posted in segler-alex/radiobrowser#45. You're proactive!
Thank you. Hopefully the Icecast Radio Directory will be imported in the future so you can add votes to their stations on radio-browser.info.
I emailed Icecast-dev@xiph.org and got positive feedback how to use their data almost immediately: