kirtan-shah / nowplaying-cli

macOS command-line utility for retrieving currently playing media
GNU General Public License v3.0
148 stars 9 forks source link

elapsedTime continues to increase the number, although the song has long ended #15

Open imyoric opened 8 months ago

imyoric commented 8 months ago

./nowplaying-cli get elapsedTime continues to increase the number, although the song has long ended.

https://github.com/kirtan-shah/nowplaying-cli/assets/63288807/1d7352f4-224f-40d3-9044-ebdcc897e321

Vilos92 commented 4 weeks ago

Experiencing this as well. Building a Neovim plugin that polls media player status using nowplaying-cli, and it works wonderfully except for this issue with the continuously incrementing elapsedTime.

I'm able to detect when elapsedTime exceeds duration so that I can at least hide the status bar at that time, but it would be great of elapsedTime was consistent with the media player.