Moode Forum
mpc can't seek backward - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: mpc can't seek backward (/showthread.php?tid=1690)



mpc can't seek backward - lelobster - 09-05-2019

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


RE: mpc can't seek backward - Tim Curtis - 09-05-2019

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


RE: mpc can't seek backward - lelobster - 09-06-2019

(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