Moode Forum
[SOLVED] Failing to add new radio station icon - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Failing to add new radio station icon (/showthread.php?tid=4877)



Failing to add new radio station icon - ATE-666 - 05-29-2022

Hi,
I am using Release 8.0.2 2022-03-25, and I am experiencing an issue when adding an icon to a radio station I am creating: the icon does not get added (or does not get saved) when I save the radio settings.
If it helps, I have noticed this, as if the issue was caused by a lack of permissions:


Code:
pi@moode:~ $ ls -l /var/local/www/imagesw/radio-logos/

(...)

-rwxrwxrwx 1 root root  73153 Mar 26 12:34 'Radio Swiss Classic.jpg'
-rwxrwxrwx 1 root root  58790 Mar 26 12:34 'Radio Swiss Jazz.jpg'
-rwxrwxrwx 1 root root  51813 Mar 26 12:34 'Radio Swiss Pop.jpg'
-rw-r--r-- 1 root root  71475 May 26 19:00 'Rainy Day.jpg'

(...)

-rw-r--r-- 1 root root  71475 May 26 18:43 '__tmp__New station.jpg'

(...)

That is: the previous three built-in radios have a the icon files with full rwx permissions for everyone, while the one I created (Rainy Day) has limited ones.
Same thing on the sub-folder:


Code:
pi@moode:~ $ ls -l /var/local/www/imagesw/radio-logos/thumbs/

(...)

-rw-r--r-- 1 root root   9387 May 26 19:00 'Rainy Day.jpg'
-rw-r--r-- 1 root root   2132 May 26 19:00 'Rainy Day_sm.jpg'

(...)

-rw-r--r-- 1 root root   9387 May 26 18:43 '__tmp__New station.jpg'
-rw-r--r-- 1 root root   2132 May 26 18:43 '__tmp__New station_sm.jpg'



RE: Failing to add new radio station icon - Tim Curtis - 05-29-2022

The files below are leftovers from development and can be deleted

*__tmp__New station*

As far as the station logo goes, it looks like the "Rainy Day" files are there so I would try opening moOde in "Private" browsing mode (Safari) to see if the image appears. If it does then try refreshing the Browser or clearing the cache.


RE: Failing to add new radio station icon - ATE-666 - 05-29-2022

(05-29-2022, 04:10 PM)Tim Curtis Wrote: The files below are leftovers from development and can be deleted

*__tmp__New station*

As far as the station logo goes, it looks like the "Rainy Day" files are there so I would try opening moOde in "Private" browsing mode (Safari) to see if the image appears. If it does then try refreshing the Browser or clearing the cache.

You're right! It was a browser issue.
Sorry for raising a non-issue.