goto and goToPosition got me confused and upon googleing I found out, that most people call such behevaiour "to jump to a song", so I renamed it jump, I hope you don't mind.
Also if you send the current position with playlist-pos it already restarts the track on the mpv side, so there was no need to manually check for it and call goToPosition(0) :)
goto
andgoToPosition
got me confused and upon googleing I found out, that most people call such behevaiour "to jump to a song", so I renamed it jump, I hope you don't mind.Also if you send the current position with
playlist-pos
it already restarts the track on the mpv side, so there was no need to manually check for it and callgoToPosition(0)
:)Thanks a ton for the contribution