I'm not sure exactly what you are looking for here but here is what I'm
doing. I'm on a Ubuntu system with the *playerctl*(1) package installed.
This gives me keyboard control over clementine. It also allows data from
the player to be probed. I've written a script that request's info and
reports on the current status of the player.
You can get the overall duration with a call to:
*playerctl metadata --format "{{duration(mpris:length)}}"*
and get the current position with:
*playerctl metadata --format "{{duration(position)}}"*
Then you can do whatever you like with the data, including making your own
progress bar. I use this and other data to display the status of the
player. It can loop and update the info at whatever desired frequency.
I'm not sure if playerctl is available on other OSs, but if not, maybe you
can locate another package that provides similar functionality.
--
You received this message because you are subscribed to the Google Groups
"Clementine Music Player" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/clementine-player/760f2082-6248-4cba-bc76-0e618759dda1%40googlegroups.com.