bablokb / pi-webradio

An Internet-Radio built around a Waveshare 7.9" Display
GNU General Public License v3.0
12 stars 3 forks source link

Channel List doesn't refresh #5

Closed Gurkenpetr closed 1 year ago

Gurkenpetr commented 1 year ago

Hi! I just did a clean installation of pi-webradio and everything seems to work fine so far. I also updated the pi-webradio.channels file and uploaded the station logos, but the channel list doesn't update in the tool even though i restarted the service and rebooted.

Is there any kind of hint that you could give?

bablokb commented 1 year ago

The installation-routine keeps an existing /etc/pi-webradio.channels and copies the new one to /etc/pi-webradio.channels.new. Maybe this is the problem.

Gurkenpetr commented 1 year ago

Thanks for the quick answer, @bablokb!

As this was a totally new installation on a new sd card I guess this may not be related.

This is my channel file

[

{ "name": "NDR 1", "url": "https://www.ndr.de/resources/metadaten/audio/m3u/ndr1niedersachsen.m3u", "logo": "ndr1.png" },

{ "name": "NDR 2", "url": "https://www.ndr.de/resources/metadaten/audio/m3u/ndr2.m3u", "logo": "ndr2.png" },

{ "name": "N-JOY", "url": "https://www.ndr.de/resources/metadaten/audio/m3u/n-joy.m3u", "logo": "njoy.png" },

{ "name": "NDR Info", "url": "https://www.ndr.de/resources/metadaten/audio/m3u/ndrinfo.m3u", "logo": "ndrinfo.png" }
]

(stored in /files/etc)

Could this be a total rookie mistake topic? :-/

bablokb commented 1 year ago

Yes, it should be in /etc. Or you put in in files/etc and then run the installation. files/etc is within the cloned directory and the installation routine mainly copies everything below files/ to the system.

Gurkenpetr commented 1 year ago

Thanks for the quick response (again), but it still doesn't work. I'll start over with a new installation.

Gurkenpetr commented 1 year ago

OK, I reinstalled on a clean system, implemented the channel file before the installation and now it's working like a charm!

Thanks for your work @bablokb!