Article 5H1T9 [SOLVED] Massive soma radio station database

[SOLVED] Massive soma radio station database

by
BenCollver
from LinuxQuestions.org on (#5H1T9)
Attached is a shell script that parses the nightly MySQL dump from the Community Radio Browser and imports stations into the local soma configuration.

It depends on the uncsv command.

It takes about six minutes to finish on my machine.

It heavily filters the list to reduce size. This helps avoid limits imposed by the shell and dialog.

Warning: This script overwrites ~/.soma/genres/*.conf and ~/.soma/stations.conf
Attached Files
txt.gifradio-browser-to-soma.txt (7.9 KB)
latest?d=yIl2AUoC8zA latest?i=uF1JlwqLm08:pdzqiYACSxg:F7zBnMy latest?i=uF1JlwqLm08:pdzqiYACSxg:V_sGLiP latest?d=qj6IDK7rITs latest?i=uF1JlwqLm08:pdzqiYACSxg:gIN9vFwuF1JlwqLm08
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments