[Voyage-linux] MPD database and WAV files

Punky Tse (spam-protected)
Sat May 19 22:14:48 HKT 2012


Hi Walter,

mount ntfs is read-only.  This should explain why your problem is.  For 
read-write NTFS, you need to install ntfs-3g package

http://packages.debian.org/squeeze/ntfs-3g

See also:
http://wiki.debian.org/NTFS

Regards,
Punky

On 5/19/2012 9:57 PM, Walter Lowes wrote:
> I am new to VoyageMPD and attempting to sort out anomolies with DB.
> I use WAV files ripped with EAC on a WDLivebook NAS. I have mounted the NAS
> with CIFS and have mpd.conf pointed to the NAS for most of its files.
> music_directory	         "/music1/Music"
> playlist_directory        "/music1/MPD/Playlists"
> db_file			"/music1/MPD/mpd.db"
> log_file			"/music1/MPD/mpd.log"
> pid_file			"/music1/MPD/mpd.pid"
> state_file		"/music1/MPD/mpdstate"
>
> root at voyage:/music1/MPD# ls -l
> total 1984
> drwxrwxrwx 1 root root       0 Apr 13  2012 Playlists
> -rwxrwxrwx 1 root root    6984 Apr 13  2012 bkmpd.db
> -rwxrwxrwx 1 root root    6984 Apr 11  2012 mpd.db
> -rwxrwxrwx 1 root root 1873479 Apr 14  2012 mpd.log
> -rwxrwxrwx 1 root root       5 Apr 16  2012 mpd.pid
> -rwxrwxrwx 1 root root    2180 Jan  2 11:06 mpdstate
> -rwxrwxrwx 1 root root       0 Apr 11  2012 sticker.sql
> root at voyage:/music1/MPD#
>
>
> I can see the music_directory in GMPC.  After booting up, MPD searches the
> directory for about 5 mins and then the directory structure displays
> correctly and the WAV files can be played. (sound is excellent).
>
> 2 strange anomolies.
>
> First, MPD only sees about 75% of the WAV files.  In some cases 100% of
> files will show, in others every other file is missing even thought it is on
> the NAS.
>
> Second issues is the db_file never updates. It still contains the list of
> songs that were on the usb stick I first put in the ALIX to test sound.
> When I removed the USB stick and set MPD to use /music/Music,
> It refused to update the Tag_cache file.  I pointed MPD db_file my NAS
> directory it would not create a new db.  So I copied the tag_cache file to
> mpd.db on the NAS.  It still does not update the file.  When I first boot
> VoyageMPD the MPD client sees the old mpd.db file contents.  It thinks there
> is still the usb stick exactly as I used it that first time.  After running
> an update that takes 5 mins, it sees the directory of the /music/Music
> directory.
>
> Any ideas on what I would need to do to get MPD to update the db_file?
>
> Any ideas why MPD only sees a subset of the files on my NAS?
>
> The NAS is formated with NTFS.  Some have suggested Linux prefers FAT32.  I
> know there are
>
>


-- 

Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage ONE   (http://linux.voyage.hk/voyage-one)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
* Voyage Store   (http://store.voyage.hk)





More information about the Voyage-linux mailing list