Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] MPD stopps after every song
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Nov 16, 2013 9:02 am    Post subject: [solved] MPD stopps after every song Reply with quote

Good morning everybody.

Since already a few months I have the problem, that MPD plays only the current selected song in the playlist and stopps after that.

The logfile gives a strange output:
Code:
Nov 16 09:53 : playlist: play 0:"Aerosmith/1973_Aerosmith/Aerosmith - 01 - Make It.mp3"
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : playlist: queue song 1:"Aerosmith/1973_Aerosmith/Aerosmith - 02 - Somebody.mp3"
Nov 16 09:53 : client: [0] process command "idle"
Nov 16 09:53 : client: [0] command returned 1
Nov 16 09:53 : decoder_thread: probing plugin mad
Nov 16 09:53 : mad: detected LAME version 3.93 ("LAME3.93 ")
Nov 16 09:53 : mad: LAME peak found: 0.000000
Nov 16 09:53 : mad: encoder delay is 576, encoder padding is 2268
Nov 16 09:53 : decoder: audio_format=44100:24:2, seekable=true
Nov 16 09:53 : client: [0] process command "status"
Nov 16 09:53 : alsa: opened iec958:CARD=Intel,DEV=0 type=HOOKS
Nov 16 09:53 : alsa: format=S32_LE (Signed 32 bit Little Endian)
Nov 16 09:53 : alsa: buffer: size=32..262144 time=725..5944309
Nov 16 09:53 : alsa: period: size=16..131072 time=362..2972155
Nov 16 09:53 : alsa: default period_time = buffer_time/4 = 500000/4 = 125000
Nov 16 09:53 : alsa: buffer_size=22050 period_size=4410
Nov 16 09:53 : output: opened plugin=alsa name="HDA Intel" audio_format=44100:32:2
Nov 16 09:53 : output: converting from 44100:24:2
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : client: [0] process command "idle"
Nov 16 09:53 : client: [0] command returned 1
Nov 16 09:53 : client: [0] process command "status"
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : client: [0] process command "currentsong"
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : client: [0] process command "currentsong"
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : client: [0] process command "idle"
Nov 16 09:53 : client: [0] command returned 1
Nov 16 09:53 : client: [0] process command "seekid 9 207"
Nov 16 09:53 : playlist: queue song 1:"Aerosmith/1973_Aerosmith/Aerosmith - 02 - Somebody.mp3"
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : client: [0] process command "idle"
Nov 16 09:53 : client: [0] command returned 1
Nov 16 09:53 : client: [0] process command "status"
Nov 16 09:53 : client: [0] command returned 0
Nov 16 09:53 : client: [0] process command "idle"
Nov 16 09:53 : client: [0] command returned 1
Nov 16 09:54 : decoder_thread: probing plugin mad
Nov 16 09:54 : mad: detected LAME version 3.93 ("LAME3.93 ")
Nov 16 09:54 : mad: LAME peak found: 0.000000
Nov 16 09:54 : mad: encoder delay is 576, encoder padding is 1560
Nov 16 09:54 : decoder: audio_format=44100:24:2, seekable=true
Nov 16 09:54 : player_thread: played "Aerosmith/1973_Aerosmith/Aerosmith - 01 - Make It.mp3"
Nov 16 09:54 : playlist: queue song 2:"Aerosmith/1973_Aerosmith/Aerosmith - 03 - Dream On.mp3"
Nov 16 09:54 : client: [0] process command "status"
Nov 16 09:54 : client: [0] command returned 0
Nov 16 09:54 : client: [0] process command "idle"
Nov 16 09:54 : client: [0] command returned 1
Nov 16 09:54 : client: [0] process command "status"
Nov 16 09:54 : client: [0] command returned 0
Nov 16 09:54 : client: [0] process command "currentsong"
Nov 16 09:54 : client: [0] command returned 0
Nov 16 09:54 : client: [0] process command "currentsong"
Nov 16 09:54 : client: [0] command returned 0
Nov 16 09:54 : client: [0] process command "idle"
Nov 16 09:54 : client: [0] command returned 1
Nov 16 09:57 : state_file: Saving state file /var/lib/mpd/state

So, when start the playlist by pressing play in QtMPC, it start song 0 (01 - Make It) and puts song 1 (02 - Somebody) into the queue. Then song 0 has been finished playing it puts song 2 (03 - Dream On) into the playlist, but doesn't start to play song 1.

The state file
/var/lib/mpd/state:
sw_volume: 100
audio_device_state:1:HDA Intel
state: pause
current: 1
time: 0
random: 0
repeat: 0
single: 1
consume: 0
crossfade: 0
mixrampdb: 0.000000
mixrampdelay: nan
playlist_begin
0:Aerosmith/1973_Aerosmith/Aerosmith - 01 - Make It.mp3
1:Aerosmith/1973_Aerosmith/Aerosmith - 02 - Somebody.mp3
2:Aerosmith/1973_Aerosmith/Aerosmith - 03 - Dream On.mp3
3:Aerosmith/1973_Aerosmith/Aerosmith - 04 - One Way Street.mp3
4:Aerosmith/1973_Aerosmith/Aerosmith - 05 - Mama Kin.mp3
5:Aerosmith/1973_Aerosmith/Aerosmith - 06 - Write Me.mp3
6:Aerosmith/1973_Aerosmith/Aerosmith - 07 - Movin' Out.mp3
7:Aerosmith/1973_Aerosmith/Aerosmith - 08 - Walkin' The Dog.mp3
playlist_end


What's wrong here? I can't find an error message.


Last edited by musv on Sat Nov 16, 2013 9:45 am; edited 1 time in total
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Nov 16, 2013 9:18 am    Post subject: Reply with quote

Ok, found that bug:

http://bugs.musicpd.org/view.php?id=3499
Quote:
MPD will not stop correctly after enable 'single' and 'consume' modes while setting crossfading as 6 seconds.

Where can I set the 'single' mode?

I'm using QtMPC and didn't find such an option.
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sat Nov 16, 2013 9:44 am    Post subject: Reply with quote

Installed Cantata and it works. Seems the "single" option is missing in QtMPC. Deinstalled QtMPC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum