Il Blog di Fabrizio Mondo

Configurazione di Gnump3d su Linux, Server Features

novembre 13, 2007 8:12 pm

Nota musicale
Quarantaseiesimo articolo dedicato alle web radio.

Passiamo adesso alle caratteristiche del server. Sono delle opzioni inerenti lo streaming.

# This next option controls what happens when you click upon a
# single MP3 file.
#
# If always_stream is set to ‘1′, and you click upon it you’ll
# actually get a .m3u (playlist) file containing a link to it -
# the advantage of doing this is that you don’t have to download
# the file in its entirety to listen to it – it should start playing
# immediately.
#
# If set to ‘0′ the playlists will work via streaming, but selecting
# an individual MP3 file will cause it to be downloaded to your local
# machine prior to playing – one drawback of this is that playback
# will probably not start until the entire file has downloaded.
#
always_stream = 1

Abbiamo parlato di gnump3d come un mezzo per potere fare radio, e questo è vero, ma principalmente, questo è un server per lo streaming on demand. Questa opzione, permette di trasformare il server di streaming on demand, in un server di semplice download di media files.

Se l’opzione always_stream è settata ad 1, allora ogni click su un singolo file (ad esempio un mp3) causerà la creazione di un file m3u di playlist e di conseguenza un ascolto in streaming. Se l’opzione è settata a 0, molto probabilmente il file non verrà eseguito se non dopo il suo completo download. La differenza è minima ed è una mera questione di tempi di scaricamento, ma per la siae, la differenza tra streaming e download di media è la stessa di quella tra un graffitaro e un bombarolo.

# There is a link placed at the top of every directory, which allows you
# to play the songs within that directory recursively.
#
# By default the recursive option plays all the tracks in a
# sorted order – by uncommenting the following option you can
# have the recursive playlists default to being in a random order.
#
# recursive_randomize = 1
#

C’è un link posizionato in alto su ciascuna directory, che permette l’ascolto dei brani di quella directory ricorsivamente. Di default tale ricorsione è ordinata, ma decommentando questa opzione, si ottiene un ascolto randomizzato.

# This next setting controls the format of the playslist files.
#
# There are two formats this server supports, simple playlists which
# are just plain listings of tracks, and advanced playlists which contain
# copies of the song tags in comments.
#
# The advanced playlists will allow you to view song tag information
# inside the playlist windows of both XMMS and WinAMP
#
#
advanced_playlists = 1
#

Questa opzione permette di utilizzare le playlist avanzate, che sono dei file scritti in dialetto XML (come già discusso per i file ASX et similia) che permettono la visualizzazione di informazioni sui tag ID3 delle canzoni. Utile per avere maggiori informazioni, soprattutto nei player.

No Responses to “Configurazione di Gnump3d su Linux, Server Features”

Care to comment?