Thank you for your donation!


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


Solved: Importing my radio stations to moode
#1
Hello together,

in the past, every time I updated to a new version of moode, I was copying a bunch of *.pls files to /var/lib/mpd/music/RADIO, and they appeared in the list of radio stations,but this does not work any longer with version 8, because it seems that the way radio stations are showed up in moode library is changed.

I found out, that fileowner of my *.pls files was pi:pi and changed it to root:root, did a library update, but this did not help.

For test I wanted to create one of that stations, but got the error message, that the station does already exists, what is correct, because the pls file with that name indeed exist.

Then I created a new radio station with default name "New station" and found the file 'New station.pls' in the folder /var/lib/mpd/music/RADIO, but my pls files still are not visible in the library RADIO.

I was testing the functions "Un-hide all" and "show hidden" but this will not help at all.

Because I'm a Linux admin, the way of just copying the *.pls files into /var/lib/mpd/music/RADIO was a very simple task and I now I start to despair, why I couldn't manage it at all.

Someone with an idea, what I did wrong or what I did miss?

Thanks in advance for a note on how to solve this issue.
If I had to reenter all of them manually, is there a way to export/import without additional tools?

Best regards,
Andy - [Atman]
Reply
#2
@TheOldPresbyope covers export and import in the following thread https://moodeaudio.org/forum/showthread.php?tid=3522
Reply
#3
(03-05-2023, 02:26 PM)bitlab Wrote: @TheOldPresbyope covers export and import in the following thread https://moodeaudio.org/forum/showthread.php?tid=3522

Errm, I think that thread may be out of date. I'll have to reread and possibly update it.

The basic tenet is correct. The script in question now resides in the moOde image at /var/www/util/station-manager.py and in the moOde github repo at https://raw.githubusercontent.com/moode-...manager.py

Regards,
Kent
Reply
#4
@TheOldPresbyope & @bitlab


I must confess, that was actually an easy task.

I have seen that there is a script on github, but could not imagine that this can also be solved with onboard functions, which is now actually possible.

The backup and restore function I have actually already seen... and did not consider it further  Blush

Fortunately, I still have my version 7 installation of moode on an SD card, so I installed it and ran the backup.
After that I reflashed the actual version 8, booted, ran the restore, rebooted moode again and:
Yeah, all my radio stations are back in place.

I really appreciate your help and thank you very much.

Next I'll get to work on adding my 4TB Music NAS to the library again, that took 2 hours yesterday of building the library database, maybe I should upgrade the Pi, I still have unused Pi 3B lying here, then I can at least install the 64bit version.
Reply
#5
@djatman 

Glad you got the stations-transfer problem sorted.

But a 4TB library, yikes! I'm surprised it took only 2 hours to index.

Regards,
Kent
Reply
#6
@TheOldPresbyope

For quality reasons, I'm in the process to replayce all mp3 with flac files, so the size of the library is not the point...
but yes, still more than 300000 files to index...


I don't know if this makes sense, usualy I use moode to listen to one of my own three Radio streams... (mpd&icecast2)


I am undecided whether I should publish them, because of the copyright problems and because I am afraid that my asynchronous internet line (1126,4 Mbit/s down but only 52,5 Mbit/s up) will break down if there are too much listeners.
Reply
#7
(03-05-2023, 03:38 PM)djatman Wrote: @TheOldPresbyope

For quality reasons, I'm in the process to replayce all mp3 with flac files, so the size of the library is not the point...
but yes, still more than 300000 files to index...


I don't know if this makes sense, usualy I use moode to listen to one of my own three Radio streams... (mpd&icecast2)


I am undecided whether I should publish them, because of the copyright problems and because I am afraid that my asynchronous internet line (1126,4 Mbit/s down but only 52,5 Mbit/s up) will break down if there are too much listeners.

I wouldn't go there!

Major media companies have whole staffs devoted to tracking down and obtaining rights (frequently involving the exchange of money) to everything they air or screen that they didn't create themselves. I read an interesting blog recently about what it took just to show 30-year old arcade-game splash screens/play as a background in a scene set in a mall in some post-apocalyptic TV show.

Regards,
Kent
Reply
#8
@TheOldPresbyope

yes, I think you are right... so only a handful of friends can enjoy the streams.
I don't need any trouble with the content industry, although I am far from the mainstream anyway  Wink
Best regards,
Andy - [Atman] (आत्मन्)
Reply


Forum Jump: