Echo ha scritto:Mi serve per testare la mia libreria attuale su mpd prima di fare una macchina dedicata, nello specifico vorrei capire se posso mantenere la mia libreria di itunes inalterata perchè nella rete casalinga vorrei continuare ad utilizzare itunes nelle postazioni non dedicate solo all'audio ...per capirci vorrei avere la mia sala audio con una macchina dedicata con mpd ma vorrei poter ascoltare la stessa musica anche mentre sono con il mio macbook attraverso l'interfaccia di itunes.
dipende da come è fatta la libreria di iTunes. MPD di per se si aspetta di trovare i files con le singole traccie audio all'interno di un albero di directories (o folders che dir si voglia).
In alcuni files dedicati, che possono risiedere sullo stesso disco che contiene la "libreria" dei files audio oppure anche altrove, mantiene un suo "database" delle traccie disponibili. Questo viene automaticamente aggiornato all'avvio, scandendo l'albero che contiene i files audio e leggendo i TAG di quelli (eventualmente) modificati e/o non presenti nell'archivio in precedenza.
Vedi estratto del file di configurazione (esempio) relativo alla sezione files and directories:
Codice: Seleziona tutto
# Files and directories #######################################################
#
# This setting controls the top directory which MPD will search to discover the
# available audio files and add them to the daemon's online database. This
# setting defaults to the XDG directory, otherwise the music directory will be
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.
#
music_directory "/media/music"
#
# This setting sets the MPD internal playlist directory. The purpose of this
# directory is storage for playlists created by MPD. The server will use
# playlist files not created by the server but only if they are in the MPD
# format. This setting defaults to playlist saving being disabled.
#
playlist_directory "/var/lib/mpd/playlists"
#
# This setting sets the location of the MPD database. This file is used to
# load the database at server start up and store the database while the
# server is not up. This setting defaults to disabled which will allow
# MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol.
#
db_file "/var/lib/mpd/tag_cache"
#
# These settings are the locations for the daemon log files for the daemon.
# These logs are great for troubleshooting, depending on your log_level
# settings.
#
# The special value "syslog" makes MPD use the local syslog daemon. This
# setting defaults to logging to syslog, otherwise logging is disabled.
#
log_file "/var/log/mpd/mpd.log"
#
# This setting sets the location of the file which stores the process ID
# for use of mpd --kill and some init scripts. This setting is disabled by
# default and the pid file will not be stored.
#
pid_file "/var/run/mpd/pid"
#
# This setting sets the location of the file which contains information about
# most variables to get MPD back into the same general shape it was in before
# it was brought down. This setting is disabled by default and the server
# state will be reset on server start up.
#
state_file "/var/lib/mpd/state"
#
# The location of the sticker database. This is a database which
# manages dynamic information attached to songs.
#
sticker_file "/var/lib/mpd/sticker.sql"
Se iTunes conserva i files audio in una struttura compatibile, non vedo motivi per cui ci debbano essere interferenze. L'unico problema casomai è nel formato dei files stessi. AFAIK, di default Voyage NON supporta ALAC. Se con un plugin puoi far leggere i FLAC ad iTunes, ti conviene convertire tutto (i files lossless) in flac.
A quanto vedo, con un po' di lavoro forse si potrebbe anche far leggere gli ALAC ad MPD:
http://translate.google.it/translate?hl ... ormance%2F (indicazione del problema, vecchie info)
http://translate.google.it/translate?hl ... ckports%2F (soluzione aggiornata)
ma al momento direi che se appena possibile la soluzione migliore è quella di convertire in FLAC.