12-22-2020, 10:19 AM
(12-22-2020, 12:46 AM)TheOldPresbyope Wrote: Do you hate it enough to hack your moOde 7.0.0 player?
I don't mind it myself---indeed I lean toward liking it---but with a few minutes to spare after dinner I sussed out enough of the feature to come up with a little script you can execute from the command line in user pi's home directory. Afterward, the 'now-playing line' in the queue will be denoted by an static ellipsis instead of by the animated bargraph.
Code:sudo mv /var/www/images/4band-npicon/audiod.svg /var/www/images/4band-npicon/audiod.bak
sudo mv /var/www/images/4band-npicon/audiow.svg /var/www/images/4band-npicon/audiow.bak
sudo ln -s /var/www/images/dots.png /var/www/images/4band-npicon/audiod.svg
sudo ln -s /var/www/images/dots.png /var/www/images/4band-npicon/audiow.svg
If you don't like the effect, you can reverse your steps with
Code:sudo mv /var/www/images/4band-npicon/audiod.bak /var/www/images/4band-npicon/audiod.svg
sudo mv /var/www/images/4band-npicon/audiow.bak /var/www/images/4band-npicon/audiow.svg
Why does this work? The animation is contained entirely within the two scalable vector graphics files. By replacing each of them with a link to a static image file already available in the distro we kill the animation.
Why not just edit the Javascript/CSS files that point to the svg files and instead show the line number like moOde used to? I'll leave that to you (hint - minification).
Why not point to a better image file? Hey, do I have to do everything? If you got this far, you can do as you like.
As always, no guarantees---I may be causing damage to some other part of moOde out of ignorance (I'm not a frontend developer). I'm sure if I am I'll hear about it
Regards,
Kent
You are way too fast, I was hacking something similar myself. I too quite like the dancing bars, but I understand why they might not be loved. Nicely done sir.
----------------
Robert
Robert