08-21-2019, 10:51 PM
@Im bored
I'm a bit lost here.
You said:
What exactly did you do in step 3?
For each station, did you use the "+" icon in the Radio Directory to open the "New Station" popup and in it enter your station name, URL, Logo, and then hit the "Create" button? This creates the database entry and the .pls file and copies in the .jpg files.
The "Refresh" button does not enter stations but it does scan the .pls file directory. If you've added your own .pls files to the /var/lib/mpd/music/RADIO directoy and .jpg files to the /var/www/images/radio-logos and ../thumbs directories, then they will show up in the UI after the refresh. However, they will not automagically be entered into the database and my script will not know of their existence. That's spelled out in the comment block at the head of each script.
I don't understand also why you did all this on one moOde player. The point is to be able to save stations which have been created on one player and load them onto others.
As an aside, I can see I made a mistake adding my example tar file. I'll have to modify the repo to hide it in a subdirectory to avoid unnecessary confusion. Also, I need to check savemyradios.py to make sure it doesn't create a tar file if it will be empty.
Regards,
Kent
I'm a bit lost here.
You said:
Quote:1. Update to 6.10 via ISO
2. go through and setup manually
3. manually add radio stations and images
What exactly did you do in step 3?
For each station, did you use the "+" icon in the Radio Directory to open the "New Station" popup and in it enter your station name, URL, Logo, and then hit the "Create" button? This creates the database entry and the .pls file and copies in the .jpg files.
The "Refresh" button does not enter stations but it does scan the .pls file directory. If you've added your own .pls files to the /var/lib/mpd/music/RADIO directoy and .jpg files to the /var/www/images/radio-logos and ../thumbs directories, then they will show up in the UI after the refresh. However, they will not automagically be entered into the database and my script will not know of their existence. That's spelled out in the comment block at the head of each script.
I don't understand also why you did all this on one moOde player. The point is to be able to save stations which have been created on one player and load them onto others.
As an aside, I can see I made a mistake adding my example tar file. I'll have to modify the repo to hide it in a subdirectory to avoid unnecessary confusion. Also, I need to check savemyradios.py to make sure it doesn't create a tar file if it will be empty.
Regards,
Kent