Moode Forum
So, you hate the animated bargraph 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: So, you hate the animated bargraph icon? (/showthread.php?tid=3282)

Pages: 1 2


RE: So, you hate the animated bargraph icon? - Tim Curtis - 12-22-2020

We started with a 3 bar spectrum but one of its animation cycles looked like it was flipping the bird, lol

  |
  |
| | |


RE: So, you hate the animated bargraph icon? - TheOldPresbyope - 12-22-2020

(12-22-2020, 03:19 PM)Tim Curtis Wrote: We started with a 3 bar spectrum but one of its animation cycles looked like it was flipping the bird, lol

  |
  |
| | |

Cute.

I was wondering about the presence of the 3band-npicon directory.


RE: So, you hate the animated bargraph icon? - grasshopper - 12-22-2020

I actually quite like the animation, I don't spend much time studying thr UI in MoOde, I queue a few albums of music on my phone then listen to them, but I quite like it, so it has my vote.


RE: So, you hate the animated bargraph icon? - gbh_uk - 12-22-2020

(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 Tongue

Regards,
Kent

Many thanks for this Kent,

I didn't really have an issue with the animation but I tried your script and subsequently decided that a static indication just looked 'cleaner' to me.

I share the following as the potentially 'better' image file you mention above:

https://1drv.ms/u/s!AnwUPxE5ivkChTufPSNiMsHY5XQJ?e=kd0rxI

Link to 'nowplaying.zip' containing two images - npd.svg and npw.svg - one for light (npd.svg) and one for dark (npw.svg) background themes.
I kept to the fill-colour of the original animated icons.

Your script would now become:

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/npd.svg /var/www/images/4band-npicon/audiod.svg
sudo ln -s /var/www/images/npw.svg /var/www/images/4band-npicon/audiow.svg

...after first copying the images to the var/www/images directory of course.

Here's how they look (attachment):


RE: So, you hate the animated bargraph icon? - fdealexa - 01-03-2021

(12-22-2020, 03:03 PM)TheOldPresbyope Wrote: Nah, I'm not trying to re-engineer the WebUI. It's just that my curiosity about the animation was piqued by the recent posts.


Personally, whether it's animated or static, I seem to need an obvious icon to the left of the now-playing item.

<rambling>
Gotta love SVG. I was using it in the 00's to generate dynamic, data-driven displays in a laboratory setting when only Adobe had a SVG browser worth spit and only my Silicon Graphics workstations had a decent graphics subsystem. Good times.

During my salad days as a student, I was involved in radio as a side hustle way last century. Recently I've been a tech mentor to my grandkids' high school theater group. It feels natural to me to see bouncing meters and/or bars on the console. I still occasionally poke at PeppyMeter to see how I would go about integrating it into moOde as an alternative to CoverView.
</rambling>


Regards,
Kent

Hi Kent,
first of all happy new year. I am very happy to see that you may be interested in integrating PeppyMeter into moOde.
I've already tried asking for help:
- http://moodeaudio.org/forum/showthread.php?tid=2153&pid=19573&highlight=peppymeter#pid19573
- http://moodeaudio.org/forum/showthread.php?tid=155&pid=19915&highlight=peppymeter#pid19915
but, unfortunately, I never received an answer.
As you already know I am not a valid programmer but, if you want, we can try to start a thread for this IDEA.
You probably already know that someone has integrated PeppyMeter into Volumio and this seems to be the result:


[Image: 2f17f0eb9f7c5987b4876cb7d41a2e4005b5bafb.jpeg]

It is one of my dreams to have the VUmeter OLD VINTAGE STYLE in mode, as you described:

"The images in the documentation are still fantastic. The 'vintage' meter reminds me of my days as chief engineer of my college radio station, many decades ago, when vacuum tubes ruled the world."

I'm old enough to remember when (in the late 60's and early 70's here in Italy) HiFi and FM radio started to grow and I began to install and repair those equipments, during the college.

Thanks and best regards,

Francesco


RE: So, you hate the animated bargraph icon? - TheOldPresbyope - 01-03-2021

@fdealexa 

That McIntosh conversion is lovely. I could only dream of such gear back in the day---the closest I got to it was in the listening room of our lone high-end audio store. I built my electronics from kits (Dynaco had a great run with its Dynakits) so I could save enough to buy what were then new-fangled acoustic suspension bookshelf speakers (which I still have; miracle of miracles they still work!).

PeppyMeter is good looking but I don't see myself concentrating on it any time soon. I have the attention span of a newt (as in, "She turned me into a newt" if you're familiar with Monty Python movies).

Certainly you could start a thread---probably best in the Feature Requests subforum---to try to attract birds of a feather.

Felice Anno Nuovo! (I had to look that up. My Italian falters after "Una birra lager, per favore").

Regards,
Kent