Hi,
This is my first post on this forum. I just flashed my planex router to install a soundcard and play music via mpd.
Everything went fine, I got it to work and mpd plays music, but only mp3s.
I have libvorbis, libvorbisidec and libogg installed on an usb drive, but I made symlinks to all the libraries in /usr/lib. Still mpd does not want to add ogg files to the library, and if a do install a file by entering it directly in the database, it won't play it.
I really don't know where to go from there...
Any idea?
Little update
When I give as a music directory a directory containing only ogg files, the indexing process does not detect anything
Here is the output on a Folder with three ogg files:
root@OpenWrt:/mnt/disk1/home# mpd mpd.conf -v --no-daemon --stdout
config: loading file mpd.conf
path: path_set_fs_charset: fs charset is: UTF-8
Failed to load database: Failed to open database file "/opt/home/database": No such file or directory
disabling the last.fm playlist plugin because account is not configured
daemon: opening pid file
daemon: writing pid file
update: spawned thread for update job id 1
state_file: Loading state file /opt/home/state
state_file: failed to open /opt/home/state: No such file or directory
update: starting
database: removing empty directories from DB
database: sorting DB
database: writing DB
update: finished
Here is the output on a folder with mp3 files:
root@OpenWrt:/mnt/disk1/home# mpd mpd.conf -v --no-daemon --stdout
config: loading file mpd.conf
path: path_set_fs_charset: fs charset is: UTF-8
Failed to load database: Failed to open database file "/opt/home/database": No such file or directory
disabling the last.fm playlist plugin because account is not configured
daemon: opening pid file
daemon: writing pid file
update: spawned thread for update job id 1
state_file: Loading state file /opt/home/state
state_file: failed to open /opt/home/state: No such file or directory
update: starting
update: added /Supertramp - Breakfast in America - Breakfast in America.mp3
update: added /Pat Metheny - Secret Story - Always and Forever.mp3
update: added /John Scofield & Pat Metheny - I Can See Your House From Here - No Matter What.mp3
update: added /Dave Holland - Prime Directive - Jugglers Parade.mp3
mad: detected LAME version 3.91 ("LAME3.91 ")
mad: LAME peak found: 0.000000
mad: encoder delay is 576, encoder padding is 1188
update: added /Nouvelle Vague - The Killing Moon.mp3
update: added /Thom Yorke - The Eraser - The Eraser.mp3
update: added /Dire Straits - Dire Straits - Sultans of Swing.mp3
update: added /Safri Duo - Episode II - Everything Epilogue.mp3
update: added /Steely Dan - Two Against Nature - Gaslighting Abbie.mp3
update: added /Pat Metheny Group - Offramp - Au Lait.mp3
update: added /Pat Metheny - Secret Story - The Truth Will Always Be.mp3
update: added /Pat Metheny Group - Quartet - As I Am.mp3
etc. etc.
update: added /Suspended Variation II.mp3
mad: detected LAME version 3.97 ("LAME3.97 ")
mad: LAME peak found: 0.000000
mad: LAME track gain found: -0.300000
mad: encoder delay is 576, encoder padding is 1212
update: added /The First Touch.mp3
update: added /The Wizard's Song.mp3
update: added /Vignette.mp3
database: removing empty directories from DB
database: sorting DB
database: writing DB
update: finished
My mpd should be able of ogg support since
root@OpenWrt:/mnt/disk1/home# mpd -V
mpd (MPD: Music Player Daemon) 0.16.1
Copyright (C) 2003-2007 Warren Dukes <warren.dukes@gmail.com>
Copyright (C) 2008-2010 Max Kellermann <max@duempel.org>
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Supported decoders:
[mad] mp3 mp2
[oggflac] ogg oga
[flac] flac
[audiofile] wav au aiff aif
[faad] aac
Supported outputs:
shout null fifo alsa httpd recorder
Supported encoders:
null vorbis wave flac
Supported protocols:
file:// http:// mms:// mmsh:// mmst:// mmsu://
ANy idea?
(Last edited by benjou on 11 Apr 2011, 13:11)