Hello again,
Just randomly checking CPU usage with top and noticed that midori is using 70% cpu! I'm sure this can't be right? It seems to be happening when I am listening to radio stations.
When I stop the stream it stays at 70%, but if I then start playing music from the attached HDD it drops to <10%.
Sometimes, If I open a radio stream after reboot, midori CPU is at <10%, but as soon as I change the stream to a different radio station it goes up to 70%.
This can also make the UI slow and sometimes totally unresponsive, with the infinite spinning circle.
The only modification I have made is to srv/http/assets/js/runeui.js to customise the Library Home screen (as per this post:
is-it-possible-to-change-the-order-of-the-library-t3133.html).
Any ideas why this is happening? Is it normal? My setup has been great for weeks, but now I have unstable UI and broken radio. Its been on all day so I'll try again in the morning.
Let me know if you need debug info.
On a related issue: why do radio streams have to be added to the play queue? Is this necessary because of the way Rune works? Could it be handled differently? There is really no point having radio streams in there.
Many thanks for your help.
---- EDIT----
It's the next morning and just playing around with my system again. The UI is stable again now, but still have high CPU issues with midori.
I replaced runeui.js with Frank's updated files from here
download/file.php?id=941 just to see if my messing around with the .js files was the cause, but the issue is still there with the stock files.
I can bring down the CPU % by playing a file from HDD and then switching back again to radio stream via the queue. Also once I have done this I can keep the % low by changing stations from within the play queue.
If I 'Add and Play' or 'Add Replace and Play' a station from the library the CPU shoots up to 70% for all stations.
I have 1 station that stays at 70% no matter what I do. The only visible difference with this station is that the station name has '00:00' after it in faint font. The other stations sometimes have this until I click on them it disappears, but with this one station it remains behind.
Also this station is the only one that will bring down the CPU% when I press the stop button. With all the others the CPU stays high even when the stream is stopped.
So this seems to be something to do with the play queue? It's very weird..... Sorry for the rambling post, but maybe all these observations can help find out what is wrong?