Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


mpc can't seek backward
#1
Hi! Asking for little help with seeking backward Smile

I can't manage to seek backward with terminal. It just pause for a very short time (like 100ms) and continue at the same moment. This will be associated with a remote.

What I'm using:

Code:
/usr/bin/mpc seek -00:05:00       I need 5 minutes for using it with very long audio files

The seek command with positive duration is working, everything else is too!!

Tried without solution: switch to latest MPD, another install, seekthrough command (same behavior: positive value is OK, negative duration is not)
I havent find the error in logs —hope I'm not missing one place but tried the most recent  with debug extented.
I haven't tried to switch from nfs to smb share for now.


Code:
pi@bOom:~ $ /usr/bin/mpc seekthrough -00:05:00
Arnaud Rebotini - Mix dazed 2012
[playing] #1/1  30:33/55:24 (55%)
volume: 65%   repeat: off   random: off   single: off   consume: off

Thank you for the wonderful sound system that moode brought to me   Angel Smile Heart
Reply
#2
I don't think MPD accepts negative seek values anymore.

You might want to check the MPD docs (which may or may not be 100% accurate), and also search the Git issues.
https://www.musicpd.org/doc/html/protocol.html
https://github.com/MusicPlayerDaemon/MPD/issues
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(09-05-2019, 11:45 PM)Tim Curtis Wrote: I don't think MPD accepts negative seek values anymore.

You might want to check the MPD docs (which may or may not be 100% accurate), and also search the Git issues.
https://www.musicpd.org/doc/html/protocol.html
https://github.com/MusicPlayerDaemon/MPD/issues

Thank you Tim, I found something about negative values being deactivated on MPD like you say. It has something to do with buffering (im not sure though). I ll watch mpd  future developpment.
Have a good weekend!Smile
Reply


Forum Jump: