[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


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
![]() | radio-browser-to-soma.txt (7.9 KB) |