Skip to content

getCurrentSongTime() is not working/duration is not available #2

@graindcafe

Description

@graindcafe

I’m using MPD 0.19

Moreover, the duration is not sent so getCurrentSongTime() return, NaN.
That’s why I needed to request update to get the ‘elapsed’ that is returned by MPD.
It seems that the status is not updating by itself. I made a fork that allow the client to request an update.

I don’t really understand how one is supposed to get the music length if the duration is not sent … but I’m using Auremo on the same MPD and it seems to work.

I will make a PR as soon as I fixed this problem but if you can help me to understand how I should proceed it would help!

Thanks for this project :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions