Moode Forum
[SOLVED] 9.1.0 Radio thumbs. - 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] 9.1.0 Radio thumbs. (/showthread.php?tid=6919)

Pages: 1 2


9.1.0 Radio thumbs. - the_bertrum - 09-17-2024

Very nice to see the higher resolution on the Radio thumbs, but...
... I have modifed some of the logos for a couple of default stations, and while my new artwork shows up on the now playing page, the thumbs remain the old versions.  Is there a way to force them to update again?  I've tried the usual browser cache, thumb cache, database regeneration routines, and yet the original thumbs are resolute.


RE: 9.1.0 Radio thumbs. - Tim Curtis - 09-17-2024

Try emptying the Browser cache for example in Chrome you can open the Browser console, right click on the refresh icon and select "Empty cache and hard reload"


RE: 9.1.0 Radio thumbs. - the_bertrum - 09-18-2024

(09-17-2024, 05:13 PM)Tim Curtis Wrote: Try emptying the Browser cache for example in Chrome you can open the Browser console, right click on the refresh icon and select "Empty cache and hard reload"

Yup, I tried all that, no joy.

On further investigation...

Code:
master@prometheus:/var/local/www/imagesw/radio-logos/thumbs $ ls -ltr

...

-rwxrwxrwx 1 root root  67745 Sep 17 14:40 'NPO Klassiek.jpg'
-rwxrwxrwx 1 root root   2638 Sep 17 15:12 'Ancient FM - Mediaeval and Renaissance Music_sm.jpg'
-rwxrwxrwx 1 root root   1190 Sep 17 15:21 'Classic FM_sm.jpg'
So the _sm thumbs are being made correctly, but what gets shown in the UI is:

Code:
http://prometheus.local/imagesw%2Fradio-logos%2Fthumbs%2FAncient%20FM%20-%20Mediaeval%20and%20Renaissance%20Music.jpg

Which is unaltered:

Code:
-rwxrwxrwx 1 root root 105366 Sep 17 14:40 'Ancient FM - Mediaeval and Renaissance Music.jpg'



RE: 9.1.0 Radio thumbs. - DRONE7 - 09-18-2024

Ancient FM - Mediaeval and Renaissance Music

Nice ! :-)


RE: 9.1.0 Radio thumbs. - the_bertrum - 09-18-2024

(09-18-2024, 07:28 AM)DRONE7 Wrote: Ancient FM - Mediaeval and Renaissance Music

Nice ! :-)

Simply the best radio stream there is.  I'll brook no argument.


RE: 9.1.0 Radio thumbs. - Tim Curtis - 09-18-2024

(09-18-2024, 06:59 AM)the_bertrum Wrote:
(09-17-2024, 05:13 PM)Tim Curtis Wrote: Try emptying the Browser cache for example in Chrome you can open the Browser console, right click on the refresh icon and select "Empty cache and hard reload"

Yup, I tried all that, no joy.

On further investigation...

Code:
master@prometheus:/var/local/www/imagesw/radio-logos/thumbs $ ls -ltr

...

-rwxrwxrwx 1 root root  67745 Sep 17 14:40 'NPO Klassiek.jpg'
-rwxrwxrwx 1 root root   2638 Sep 17 15:12 'Ancient FM - Mediaeval and Renaissance Music_sm.jpg'
-rwxrwxrwx 1 root root   1190 Sep 17 15:21 'Classic FM_sm.jpg'
So the _sm thumbs are being made correctly, but what gets shown in the UI is:

Code:
http://prometheus.local/imagesw%2Fradio-logos%2Fthumbs%2FAncient%20FM%20-%20Mediaeval%20and%20Renaissance%20Music.jpg

Which is unaltered:

Code:
-rwxrwxrwx 1 root root 105366 Sep 17 14:40 'Ancient FM - Mediaeval and Renaissance Music.jpg'

How would I be able to repro your issue?
In the Radio feature there are three images for each station as below. 

Code:
radio-logos/image.jpg               Main Playback screen and CoverView
radio-logos/thumbs/image.jpg        Radio view (was 200px now same as main image, up to 600px)
radio-logos/thumbs/image_sm.jpg     Queue (80px)



RE: 9.1.0 Radio thumbs. - the_bertrum - 09-18-2024

(09-18-2024, 10:19 AM)Tim Curtis Wrote:
(09-18-2024, 06:59 AM)the_bertrum Wrote:
(09-17-2024, 05:13 PM)Tim Curtis Wrote: Try emptying the Browser cache for example in Chrome you can open the Browser console, right click on the refresh icon and select "Empty cache and hard reload"

Yup, I tried all that, no joy.

On further investigation...

Code:
master@prometheus:/var/local/www/imagesw/radio-logos/thumbs $ ls -ltr

...

-rwxrwxrwx 1 root root  67745 Sep 17 14:40 'NPO Klassiek.jpg'
-rwxrwxrwx 1 root root   2638 Sep 17 15:12 'Ancient FM - Mediaeval and Renaissance Music_sm.jpg'
-rwxrwxrwx 1 root root   1190 Sep 17 15:21 'Classic FM_sm.jpg'
So the _sm thumbs are being made correctly, but what gets shown in the UI is:

Code:
http://prometheus.local/imagesw%2Fradio-logos%2Fthumbs%2FAncient%20FM%20-%20Mediaeval%20and%20Renaissance%20Music.jpg

Which is unaltered:

Code:
-rwxrwxrwx 1 root root 105366 Sep 17 14:40 'Ancient FM - Mediaeval and Renaissance Music.jpg'

How would I be able to repro your issue?
In the Radio feature there are three images for each station as below. 

Code:
radio-logos/image.jpg               Main Playback screen and CoverView
radio-logos/thumbs/image.jpg        Radio view (was 200px now same as main image, up to 600px)
radio-logos/thumbs/image_sm.jpg     Queue (80px)

So, the first and third image are updated correctly, it is only the radio-logos/thumbs/image.jpg that does not update.

To repro, simply edit a station that already has a logo and replace the logo with a different image.  The main playback, and queue images will change but not the radio view image.


RE: 9.1.0 Radio thumbs. - the_bertrum - 09-18-2024

Here are the logo files I use just in case there's something special about them...
[attachment=4047]
[attachment=4048]

Why do I change them?  They look "cleaner" to my eye.  I just prefer them is all.


RE: 9.1.0 Radio thumbs. - Tim Curtis - 09-18-2024

I'll investigate.


RE: 9.1.0 Radio thumbs. - Tim Curtis - 09-18-2024

This is a refactoring error involving wrong output directory :-0