[PLUGIN] Now Playing

Hi everyone,

I have uploaded v0.2.3 of the Now Playing plugin. This version adds features requested by @lausiv and @M1ck :

  • Album art border
  • Background overlay gradients
  • Track info display order
  • Different icon and text sizes / colors for Volume Indicator Tweak

Configure these in the plugin settings. Some knowledge of CSS would help, especially when it comes to setting borders and gradients. E.g.:

  • Album art border: 3px solid #00eeff
  • Background Overlay → Custom (Gradient) → Gradient CSS: linear-gradient(150deg, rgba(0,0,0,0.0) , rgba(0,0,0,0.3), rgba(0,0,0,1), rgba(0,0,0,1))


Have fun~ and yeah, you can’t really update the plugin from the plugin store (just tested myself). You would have to:

  1. Uninstall current version (you will lose all settings)
  2. Reboot Volumio
  3. Go to plugin store, click Details under the plugin and Install the latest beta version

(Don’t ask me to fix this because this isn’t a problem with the plugin itself)

4 Likes

@patrickkfkan

Won’t ask for a fix, but a repair then? :joy:

Darn, its getting better and better each release. :+1:

Nice one :+1: I’ll give that a try in the next few days.

How easy would it be to implement an option to save your settings to *directory as a work around for when updating, could be usefull when re-installing Volumio too.

1 Like

@M1ck

When you have Volumio installed in your preferred way, you beter create a backup of the SD and use that image if you need to restore Volumio. That will only take 15-20 minutes.

It makes more sense to resolve it within the code of plugin store, because it affects not only a single plugin.

Yes I always backup and also written to a second SD card, for those times you just want get on with a session.

But I also like to try out the latest Volumio once in a while. Like many I always do it from a clean install.

No problem, just thought if it was easy enough to do it would also make a handy feature.

@patrickkfkan

Ive had a play around and its looking good, everything seems to be working OK on the Basic view ( which is all I really use )

Nit picking now, the ability to also alter the font size and colour for the times on the seek bar would be finishing touches.

Thanks again for a great plugin.

Liking the portrait view at the minute.

Sure.

1 Like

@patrickkfkan

I have just installed this new version, very good job. Congratulations!

On 5 April I updated volumio, the touchscreen plugin and the now playing plugin. Everything seems to work as expected but the now playing progress bar. At the end of the first track played it stays to the far right. Changing tracks or album seems to have no effect on the progress bar. The track time under the progress is updated but is always one second more than the actual track time. The progress control on the web page seems to be working normally.

I have the new 3 dot menu button so it would appear the update worked.

The hardware is a raspberry pi 4b with 4 gig ram. I using volumio as a upnp renderer with an asset upnp server. I am using hifi cast on a samsung tablet as the upnp control point.

Has anyone else had this issue? Any suggestions on how to fix this?

1 Like

@Wheaten

Slightly Ot but what are you using to back up your SD cards ?

I usually use Paragon Backup and restore CE 17.
It used to work great with Volumio 2, It would correctly truncate the image, so you could write it back to any size ( larger or smaller ) SD cards.
It no long works with V3.

So what do you use ?
Cheers

1 Like

I am just using win32Diskimager.
I don’t truncate or make smaller images. Just using a 8GB SD card to configure and setup everything. When completed I take that as backup image.
I can the flash it to any desired card of 8GB or greater.

1 Like

@Wheaten
Ok thanks for the reply.
I used to use win32diskimager a while ago, just was hit and miss with the different brand and sized cards.

nm… I spose I need to look deeper as to why its not working right.

I noticed a similar anomaly last night.

The seek bar would get to the end and not return to the beginning on the next track, but instead would carry on untill the edge of the screen and stay there.
A pause and resume for me resets it back to where it should be.

@Daniel_Hatmaker , @M1ck

Does this happen for any kind of track? And can it be reproduced easily?

1 Like

Very easy. Not related to the plugin though. Most easy to reproduce is using a streaming service. Just hit the next prev buttuns a couple of time or click at 30% 60% 50% of a track an the seek bar gets confused.

1 Like

I noticed it happening last night. It did it 4 or 5 times over a 3 hour period.

No special circumstances, I wasnt jumping back and fourth on the time line. Just playing a play list which on occasion I maybe selected a track further down the list. But I cannot say that it correlated with doing this either.

Also I have just tried to recreate with how Wheaten suggested and cannot, but all my tracks are on a local network drive, not internet streaming.

This was on a clean install of 3.251 with only 3 plugins now playing, rotary encoder II and gpiobuttons.
I used the same setup last week but with V3.233 and cant say I noticed it doing it then. So may well be a Volumio issue. If I notice it again i will check to see if the volumio seek bar is fixed too.

I play a mix of flac and dsd files and seems to happen with either continually. I did notice today that if I jump around in the queue manually it often reset to zero time.

As someone else posted pressing pause, in hifi cast in my situation, resets the now playing progress bar to zero along with the web page progress control regardless of the elapsed time. This is a behavior I have always noticed from day one with volumio. I doubt that has anything to do with the plugin.

Hi @patrickkfkan

Done it again last night, Checked the Volumio GUI and that hadnt stuck.
Its not just the seek bar, the track info doesnt update either.
See pic of what its doing

I have managed to work out why its doing this.
Its to do with network connectivity. If the device drops network connectivity (probably due to power saving turning off wifi etc) just before the end of the track then now playing seek bar justs carries on untill it gets another update of the track changing or a pause play etc.

Not sure why but this doesnt happen with the Volumio GUI, that just seems to deal with it.

Its quite easily replicated. On most laptops there is a “fn” key to turn the wifi on and off. You can use this to simulate wifi off.

1 Like