Post Reply 
Let's brainstorm..Setting up MinimServer to feed a USB DAC
26-11-2013, 22:49
Post: #42
RE: Let's brainstorm..Setting up MinimServer to feed a USB DAC
(26-11-2013 22:23)simoncn Wrote:  Thanks for these suggestions. The file appears to start playing for a fraction of a second and then stops immediately (no timer numbers). I'm attaching a debug log. I've left the player property as its default setting of player=mpd. Should it be OK to play a WAV file, or would some other format work better?

Hi Simon,

Thanks for testing again.
It looks like mediaplayer is passing the file to mpd, but for some reason mpd is not playing the file.

Code:
2013-11-26 21:11:19,854 [Thread-5] DEBUG [org.rpi.radio.parsers.FileParser] WAV File: http://192.168.0.10:9790/minimserver/*/music/musicfiles/HMA1951727/01*20-*20Kyrie*20-*20Christe*20-*20Kyrie.flac/$!transcode-24.wav
2013-11-26 21:11:19,878 [Thread-5] DEBUG [org.rpi.mpdplayer.MPDPlayer] ADD TO PLAYLIST{Id=6}
2013-11-26 21:11:20,528 [Thread-0] DEBUG [org.rpi.mpdplayer.StatusMonitor] Song Changed From : 5 To: 6
2013-11-26 21:11:20,558 [Thread-0] DEBUG [org.rpi.mpdplayer.MPDPlayer] Status Changed: Stopped
2013-11-26 21:11:20,559 [Thread-0] DEBUG [org.rpi.player.PlayManager] Track Stopped, get Next Track
2013-11-26 21:11:20,560 [Thread-0] INFO  [org.rpi.player.PlayManager] We have Reached the End of the PlayList

I have tested wav files but not 24bit wav files.

If may be worth trying a different file format, or if using Kinsky try playing one of the radio sources.

Also another thing to look at would be the mpd log file
In the mpd config file the log level can be set, the config file is in the directory
Code:
/etc/mpd.conf
there is a setting for the log file
log_level
if you can set that to verbose and send me the log which can be found in the directory
/var/log/mpd

If you get time it might also be worth trying to install mplayer
Code:
sudo apt-get install mplayer

And then you can test the playback without using mediaplayer by using the command
Code:
mplayer <url>

for example

Code:
mplayer http://192.168.0.10:9790/minimserver/*/music/musicfiles/HMA1951727/01*20-*20Kyrie*20-*20Christe*20-*20Kyrie.flac/$!transcode-24.wav

Thanks again,

Pete.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Let's brainstorm..Setting up MinimServer to feed a USB DAC - PeteManchester - 26-11-2013 22:49

Forum Jump:


User(s) browsing this thread: 1 Guest(s)