Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeking on opus files will make MPD skip current music #470

Closed
vinipsmaker opened this issue Jan 28, 2019 · 5 comments
Closed

Seeking on opus files will make MPD skip current music #470

vinipsmaker opened this issue Jan 28, 2019 · 5 comments

Comments

@vinipsmaker
Copy link

Opus files were created by opusenc from opus-tools 0.2 using libopusenc 0.2.1 (although opusenc --version is reporting libopus 1.3 to me...). mpd is 0.21.4.

@MaxKellermann
Copy link
Member

What does "skip current music" mean?
Paste a verbose log.

@vinipsmaker
Copy link
Author

What does "skip current music" mean?
Paste a verbose log.

Log:

fev 01 14:30:29 saturn mpd[21490]: player: played "the final rewind.opus"

I use mpc seek 0 to seek current music to position 0, but then the current song instead finishes.

Seeking forward works, but backwards will skip current song as if it has finished.

@MaxKellermann
Copy link
Member

This log is incomplete. I don't see your seek command and I don't see start of playback.

@vinipsmaker
Copy link
Author

mpd

fev 02 23:49:04 vinipsmaker-netbook mpd[25587]: exception: OutputThread could not get realtime scheduling, continuing anyway: sched_setscheduler failed: Operation not pe>
fev 02 23:49:04 vinipsmaker-netbook mpd[25587]: client: [0] closed
fev 02 23:49:13 vinipsmaker-netbook mpd[25587]: client: [1] opened from [::1]:39840
fev 02 23:49:13 vinipsmaker-netbook mpd[25587]: client: [1] closed
fev 02 23:49:13 vinipsmaker-netbook mpd[25587]: player: played "Angra/Temple Of Shadows/01-angra-deus_le_volt.opus"
fev 02 23:49:18 vinipsmaker-netbook mpd[25587]: client: [2] opened from [::1]:39846
fev 02 23:49:18 vinipsmaker-netbook mpd[25587]: player: played "Angra/Temple Of Shadows/02-angra-spread_your_fire.opus"
fev 02 23:49:18 vinipsmaker-netbook mpd[25587]: client: [2] closed
fev 02 23:49:28 vinipsmaker-netbook mpd[25587]: client: [3] opened from [::1]:39854
fev 02 23:49:28 vinipsmaker-netbook mpd[25587]: client: [3] closed

mpc

vinipsmaker ~ $ mpc --verbose play
Angra - Deus Le Volt!
[playing] #15/27   0:02/0:52 (3%)
volume: n/a   repeat: on    random: off   single: off   consume: off
vinipsmaker ~ $ mpc --verbose seek 0
Angra - Deus Le Volt!
[playing] #15/27   0:00/0:52 (0%)
volume:100%   repeat: on    random: off   single: off   consume: off
vinipsmaker ~ $ mpc --verbose seek 0
Angra - Angels And Demons
[playing] #17/27   0:00/4:11 (0%)
volume:100%   repeat: on    random: off   single: off   consume: off
vinipsmaker ~ $ mpc --verbose pause
Angra - Angels And Demons
[paused]  #17/27   0:10/4:11 (3%)
volume:100%   repeat: on    random: off   single: off   consume: off

This time, the mpc seek 0 worked on the first time and I had to re-run it a second time for the music to be skipped.

@vinipsmaker
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants