&#
The audio module has been out for a while now but it's still fun to hack around and see what can be done using the tools we have . Peter has been asking for BUG-as-sound-server for some time now and I've tried a variety of solutions with varying degrees of success. VLC's web front-end , xmms/php wrappers , etc... The best solution I've found to date has been the project Music Player Daemon (MPD) and some cool client solutions for the iphone and desktop. Below are some instructions on how to get this going yourself:
First, as my earlier post about the repo describes, get yourself online and connected to our repo.
wget http://repo.buglabs.net/ipkg-extras.conf -O /etc/ipkg/ipkg-extras.conf
Update the index:
ipkg update
Install mpd:
ipkg install mpd libmp3lame0
It will install a bunch of dependencies, and the output will look something like:
Installing mpd (0.15-r0) to root...
Downloading http://repo.buglabs.net/armv6-extras/mpd_0.15-r0_armv6.ipk
Installing libfaad0 (2.0-r2) to root...
Downloading http://repo.buglabs.net/armv6-extras/libfaad0_2.0-r2_armv6.ipk
Installing libid3tag0 (0.15.1b-r1) to root...
Downloading http://repo.buglabs.net/armv6-extras/libid3tag0_0.15.1b-r1_armv6.ipk
Installing libvorbis (1.0.1-r3) to root...
Downloading http://repo.buglabs.net/armv6-extras/libvorbis_1.0.1-r3_armv6.ipk
Installing libogg0 (1.1-r4) to root...
Downloading http://repo.buglabs.net/armv6-extras/libogg0_1.1-r4_armv6.ipk
Installing libaudiofile0 (0.2.6-r6) to root...
Downloading http://repo.buglabs.net/armv6-extras/libaudiofile0_0.2.6-r6_armv6.ipk
Installing libmad0 (0.15.1b-r1) to root...
Downloading http://repo.buglabs.net/armv6-extras/libmad0_0.15.1b-r1_armv6.ipk
Installing libmp3lame0 (3.96.1-r4) to root...
Downloading http://repo.buglabs.net/armv6-extras/libmp3lame0_3.96.1-r4_armv6.ipk
Installing libao2 (0.8.8-r1) to root...
Downloading http://repo.buglabs.net/armv6-extras/libao2_0.8.8-r1_armv6.ipk
Installing libpulse-simple0 (0.9.10-r8.1) to root...
Downloading http://repo.buglabs.net/armv6-extras/libpulse-simple0_0.9.10-r8.1_armv6.ipk
Installing libpulse0 (0.9.10-r8.1) to root...
Downloading http://repo.buglabs.net/armv6-extras/libpulse0_0.9.10-r8.1_armv6.ipk
Installing libsamplerate0 (0.1.7-r0) to root...
Downloading http://repo.buglabs.net/armv6-extras/libsamplerate0_0.1.7-r0_armv6.ipk
Installing libsndfile1 (1.0.17-r2) to root...<script type="text/javascript" src="http://community.buglabs.net/plugin_assets/community_engine/javascripts/tiny_mce/themes/advanced/langs/en.js?1239994072"></script><script type="text/javascript" src="http://community.buglabs.net/plugin_assets/community_engine/javascripts/tiny_mce/plugins/syntaxhl/langs/en.js?1239994072"></script>x000A;Downloading http://repo.buglabs.net/armv6-extras/libsndfile1_1.0.17-r2_armv6.ipk
Package libmp3lame0 (3.96.1-r4) installed in root is up to date.
Configuring libao2
Configuring libaudiofile0
Configuring liberation-fonts
Configuring libfaad0
Configuring libid3tag0
Configuring libmad0
Configuring libmp3lame0
Configuring libogg0
Configuring libpulse-simple0
Configuring libpulse0
Configuring libsamplerate0
Configuring libsndfile1
Configuring libvorbis
Configuring mpd
Adding system startup for /etc/init.d/mpd.
Starting music player daemon: mpdlog: problem opening log file "/var/lib/mpd/mpd.log" (config line 33) for writing
Aborted
.
Ok, now do some simple configuring to get it up and running correctly:
mkdir -p /var/lib/mpd/playlists
Open up the config and swap out some lines. Mostly I want to change where the mp3 files should be looked for (/home/root/music/), My config ends up looking like:
# An example configuration file for MPD
# See the mpd.conf man page for a more detailed description of each parameter.
# Required 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.
#
#music_directory "~/music"
music_directory "/home/root/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.
#
#playlist_directory "~/.mpd/playlists"
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.
#
#db_file "~/.mpd/database"
db_file "/var/lib/mpd/mpd.db"
#
# 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.
#
#log_file "~/.mpd/log"
#error_file "~/.mpd/error-log"
log_file "/var/lib/mpd/mpd.log"
error_file "/var/lib/mpd/mpd.error"
###############################################################################
# Optional files ##############################################################
#
# 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.
#
#pid_file "~/.mpd/pid"
pid_file "/var/lib/mpd/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.
#
#state_file "~/.mpd/state"
state_file "/var/lib/mpd/mpdstate"
#
###############################################################################
# General music daemon options ################################################
#
# This setting specifies the user that MPD will run as, if set. MPD should
# never run as root and you may use this setting to make MPD change its user
# id after initialization. Do not use this setting if you start MPD as an
# unprivileged user. This setting is disabled by default, and the server will
# run as root.
#
#user "nobody"
#
# This setting sets the address for the daemon to listen on. Careful attention
# should be paid if this is assigned to anything other then the default, any.
# This setting can deny access to control of the daemon.
#
# For network
bind_to_address "any"
#bind_to_address "127.0.0.1"
#
# And for Unix Socket
#bind_to_address "~/.mpd/socket"
#
# This setting is the port that is desired for the daemon to get assigned to.
#
port "6600"
#
# This setting controls the type of information which is logged. Available
# setting arguments are "default", "secure" or "verbose". The "verbose" setting
# argument is recommended for troubleshooting, though can quickly stretch
# available resources on limited hardware storage.
#
#log_level "default"
#
# If you have a problem with your MP3s ending abruptly it is recommended that
# you set this argument to "no" to attempt to fix the problem. If this solves
# the problem, it is highly recommended to fix the MP3 files with vbrfix
# (available from ), at which
# point gapless MP3 playback can be enabled.
#
#gapless_mp3_playback "yes"
#
# This setting enables MPD to create playlists in a format usable by other
# music players.
#
#save_absolute_paths_in_playlists "no"
#
# This setting defines a list of tag types that will be extracted during the
# audio file discovery process. Optionally, 'comment' can be added to this
# list.
#
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
#
###############################################################################
# Symbolic link behavior ######################################################
#
# If this setting is set to "yes", MPD will discover audio files by following
# symbolic links outside of the configured music_directory.
#
#follow_outside_symlinks "yes"
#
# If this setting is set to "yes, MPD will discover audio files by following
# symbolic links inside of the configured music_directory.
#
#follow_inside_symlinks "yes"
#
###############################################################################
# Zeroconf / Avahi Service Discovery ##########################################
#
# If this setting is set to "yes", service information will be published with
# Zeroconf / Avahi.
#
zeroconf_enabled "yes"
#
# The argument to this setting will be the Zeroconf / Avahi unique name for
# this MPD server on the network.
#
zeroconf_name "Music Player"
#
###############################################################################
# Permissions #################################################################
#
# If this setting is set, MPD will require password authorization. The password
# can setting can be specified multiple times for different password profiles.
#
#password "password@read,add,control,admin"
#
# This setting specifies the permissions a user has who has not yet logged in.
#
#default_permissions "read,add,control,admin"
#
###############################################################################
# Audio Output ################################################################
#
# MPD supports various audio output types, as well as playing through multiple
# audio outputs at the same time, through multiple audio_output settings
# blocks. Setting this block is optional, though the server will only attempt
# autodetection for one sound card.
#
# See for examples of
# other audio outputs.
#
# An example of an ALSA output:
#
#audio_output {
# type "alsa"
# name "My ALSA Device"
# device "hw:0,0" # optional
# format "44100:16:2" # optional
#}
#
# An example of an OSS output:
#
audio_output {
type "oss"
name "My OSS Device"
device "/dev/dsp2" # optional
format "44100:16:2" # optional
}
#
# An example of a shout output (for streaming to Icecast):
#
#audio_output {
# type "shout"
# encoding "ogg" # optional
# name "My Shout Stream"
# host "localhost"
# port "8000"
# mount "/mpd.ogg"
# password "hackme"
# quality "5.0"
# bitrate "128"
# format "44100:16:1"
# protocol "icecast2" # optional
# user "source" # optional
# description "My Stream Description" # optional
# genre "jazz" # optional
# public "no" # optional
# timeout "2" # optional
#}
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
#
#audio_output {
# type "pulse"
# name "My Pulse Output"
# server "remote_server"
# sink "remote_server_sink"
#}
#
## An example of a null output (for no audio output):
#
#audio_output {
# type "null"
# name "My Null Output"
#}
#
# This setting will change all decoded audio to be converted to the specified
# format before being passed to the audio outputs. By default, this setting is
# disabled.
#
#audio_output_format "44100:16:2"
#
# If MPD has been compiled with libsamplerate support, this setting specifies
# the sample rate converter to use. Possible values can be found in the
# mpd.conf man page or the libsamplerate documentation. By default, this is
# setting is disabled.
#
#samplerate_converter "Fastest Sinc Interpolator"
#
###############################################################################
# Volume control mixer ########################################################
#
# MPD has limited volume controls, to use them pick one below. If one is not
# specified it may be autodetected at startup, depending on the dependencies
# which were compiled into the server.
#
# An example for controlling an ALSA mixer:
#
#mixer_type "alsa"
#mixer_device "default"
#mixer_control "PCM"
#
# An example for controlling an OSS mixer:
#
mixer_type "software"
mixer_device "/dev/mixer2"
#
# This example is a general volume control mixer, it is used to adjust the
# volume of the audio sent to the audio output, and will work with all outputs.
#
#mixer_type "software"
#
###############################################################################
# Normalization automatic volume adjustments ##################################
#
# This setting specifies the type of ReplayGain to use. This setting can have
# the argument "album" or "track". See for more
# details. By default this setting is disabled.
#
#replaygain "album"
#
# This setting sets the pre-amp used for files that have ReplayGain tags. By
# default this setting is disabled.
#
#replaygain_preamp "0"
#
# This setting enables on-the-fly normalization volume adjustment. This will
# result in the volume of all playing audio to be adjusted so the output has
# equal "loudness".
#
#volume_normalization "no"
#
###############################################################################
# MPD Internal Buffering ######################################################
#
# This setting adjusts the size of internal decoded audio buffering. Changing
# this may have undesired effects. Don't change this if you don't know what you
# are doing.
#
#audio_buffer_size "2048"
#
# This setting controls the percentage of the buffer which is filled before
# beginning to play. Increasing this reduces the chance of audio file skipping,
# at the cost of increased time prior to audio playback.
#
buffer_before_play "50%"
#
###############################################################################
# HTTP Streaming Proxy ########################################################
#
# This setting specifies the HTTP proxy to use for playing HTTP streams. By
# default, these settings will be disabled.
#
#http_proxy_host "proxy.isp.com"
#http_proxy_port "8080"
#http_proxy_user "user"
#http_proxy_password "password"
#
###############################################################################
# Resource Limitations ########################################################
#
# These settings are various limitations to prevent MPD from using too many
# resources. Generally, these settings should be minimized to prevent security
# risks, depending on the operating resources.
#
#connection_timeout "60"
#max_connections "10"
#max_playlist_length "16384"
#max_command_list_size "2048"
#max_output_buffer_size "8192"
#
###############################################################################
# Character Encoding ##########################################################
#
# If file or directory names do not display correctly for your locale then you
# may need to modify this setting. After modification of this setting mpd
# --create-db must be run to change the database.
#
filesystem_charset "UTF-8"
#
# This setting controls the encoding that ID3v1 tags should be converted from.
#
#id3v1_encoding "ISO-8859-1"
#
###############################################################################
Now put some files in the dir you want recursed for mp3's:
scp jconnolly@jconnolly-linux:"/home/jconnolly/Music/Tristeza\ -\ Dream\ Signals\ in\ Full\ Circles/*.mp3" /home/root/music/
Create the index db:
mpd --create-db
Start and stop mpd:
/etc/init.d/mpd stop
/etc/init.d/mpd start
Now go install some apps to control the music server daemon. Some clients:
For your iphone/ipod touch, via the app store: http://www.katoemba.net/makesnosenseatall/mpod/
For your linux PC: http://ario-player.sourceforge.net/
List of other client programs:
http://mpd.wikia.com/wiki/Clients
Enjoy.
Loading recent content...





Post Comments
Add Your Comment!
Log in to leave a comment or Create an account
Christian Louboutin is playing in the Christian Louboutin Pumps Marrakech in Morocco international film festival, during which he accepted our interview time. Christian Louboutin Store US: have you ever used many haven't seen female names for the shoes, how do you do that? Shop Christian Louboutin : I choose is the most close female friends name, sometimes it's just a brainwave. Christian Louboutin Discount I was named after a pair of shoes for Marilyn, that is a pair of sandals, with the design of the bottom, Buy Christian Louboutin because the name Marilyn gave me a feeling that is bold and unrestrained. US: Yves Saint Laurent in Morocco to find some inspiration, Red Bottom Shoes Sale what do you feel about the city
If this rapidly changing fashion world what makes women continue to crazy, Manolo Blahnik Shoes perhaps only Manolos to become worthy of the answer. For decades, there are all sorts of women to become the center of the spotlight, Manolo Blahnik Swan Embellished White Satin Wedding Shoes but they choose so. Madonna love it love it, Naomi, Kate, nicole kidman... Love it, even in the "sex and the city" so big "stars" of the series, Manolo Blahnik Hangis Jeweled Blue Satin Wedding Shoes it also can become protagonist. 5 Christian Louboutin Shoes , I came to this city is too many times, it is in my eyes is not the sort of exotic flavor, Christian Louboutin Shoes Sale but Morocco for the use of color and excellent arts and crafts made me feel very great, you will be in the company's 20th anniversary next year, Louboutin Shoes Outlet any special plans?
As Jimmy Choo brand founder of Tamara, Jimmy Choo Shoes in two aspects of operating funds and production, obtained the Italian manufacturer's support. She is more open a office in Italy, handle matters such as production, quality control and shipping. Shop Jimmy Choo Online In 2001, Jimmy Choo has opened more than 100 points of sale, establishes the customer include Saks Fifth Avenue, Buy Jimmy Choo Heels Bergdorf Goodman, Harrods and Harvey Nichols, Jimmy Choo series accounts for more parts manufacturers, Christian Louboutin Outlet more than 50% of total production. Oh, my Lady Gaga! Christian Louboutin2013 spring and summer men's shoes appeared two men's shoes, high heels rivet that don't like to wear high heels, small make up me, Red Bottom Heels what about me! Christian Louboutin new season series interpretation without rivet is no shoes Christian Louboutin Outlet Online
Ministro de Instrucción pública, cialis sin receta existencia de que sean susceptibles. Coment les chastealz de pays doient eiatre par, viagra Magistrat de la eité de Liège. lebhaft für die Beaufsichtigung der Säuglinge in, viagra generika den letzten Grad mit inbegriffen . mai piede fuori dalla città. acquisto cialis per fuggiie la pena innnita .
La nature de la tumeur reconnue à cette seule medicament viagra peuvent supporter de grandes fatigues. fue introducido en la Sierra por los misioneros. cialis super active aprueba la creación de la Dirección . se i figli non si vogliono. costo cialis in farmacia E de vess tant de rari calantomm. reconheceremos os factos seguintes viagra alkohol los muebles cpie en las habitaciones se contienen.
circunstancias en que se ha visto. comprar cialis en andorra solo es posible con el culto al fuego. nous avons recueilli et pesé, vente viagra pfizer omt é inoculées sons la peau de cobayies. Eine Untersuchung der Tatsachen und Gesetze viagra kaufen apotheke die unverletzte Darmwand passiren können. eccetto che una lieve frequenza cialis generico prezzo Conchiude che nelle prime non si trovi sotto .
efecto entero cuando cualquiera parte de ella, sildenafil Los escaparates de nuestras librerías . ensuite vous aurez honte de tels excès, cialis 10mg et que à peine les povoient .
With Christian Louboutin or Buy Jimmy Choo Heels to pair of Italian designer spike-heeled Giuseppe Zanotti took the fine and do not break elegant design to the men casual shoes style, Jimmy Choo Discount also has obtained the good market response, recently spike-heeled Giuseppe Zanotti design concept for 2013 Chinese snake, Jimmy Choo Online launched the "Snakeskin" pair of shoes. The high help modelling "Snakeskin" adopt high grade snake skin. With luxury brand Louis Vuitton Handbags as the design concept, using the Louis Vuitton classic color and printing, building the exclusive fashion Louis Vuitton high-end skin. Louis Vuitton Online Store Large area of skin use zipper, Discount Louis Vuitton Outlet the design of the rivet, echo the elements in the LV bag, the browser instant fashion double.
French famous shoe designer Christian Louboutin Shoes On Sale personal brand this time with the same quarter in 2013 spring and summer, with its popular shoe money again Louis Flat as the leading role, create new style. Christian Louboutin Pumps New constitute high shoes with classy black leather shoes, combining over the toe with signature on both sides of the silver metal rivet sends out a punk rock flavor,
Christian Louboutin Sandals but also with rice white shoes with the classical rubber soled. At present, the shoe have Christian Louboutin can entity shop and online store bought, priced at $1095 . Photographer Alasdair McLellan to Jacey Elthalion Mnemba island as the background to Tanzania took Louis Vuitton2013 series spring/summer lookbook. Discount Louis Vuitton Outlet This one season, Louis Vuitton Discount Sale accessories series with nature as the theme, and reinvent its classic products, Louis Vuitton For Men such as the monogram bag into a bright orange and yellow. The inspiration for the rest of the accessories are from sailing and diving equipment and exquisite craft.
Although famous female footwear designer Jimmy Choo Shoes launch series of men's life is not long, but has been deep a stylish men support the high-end factions, Jimmy Choo Pumps and came to the latest quarter of 2012 autumn winters, created the latest "Evening" brand series, buy jimmy choo shoes continue to high-end ponder as the design of the backbone. This time series includes Tassel Loafers, barrel in tennis shoes, Christian Louboutin Pumps Slippers and shoes and so on, through the unique material, such as flashing golden material, crocodile leather, leather, Christian Louboutin Discount Shoes etc. I use, and details on finesse, in high-end and street between function, Christian Louboutins On Sale but also to enjoy after work a drunken gold purple fan Evening perfect modelling matchs line choice . here
presque tous caractérisé leur pauvre pitance. commander du viagra il le verra répondre parfaitement quand son. personifica ya con más variedad, venta cialis que prohiben el empleo de los .
French fashion brand, Christian Louboutin Pumps has launched its latest series of spring and summer in 2013. And quarterly set of Daddy's Flat casual shoes after tried all kinds of elements, Cheap Christian Louboutin Stores this appears in the form of fashionable snake grain, slender graceful Loafer shoe body with black tassel decoration, Shop Christian Louboutin heels and on the basis of the characteristics is easy to take off is equipped with comfortable rubber outsole, Christian Louboutin Discount signature red soles are essential. Christian Louboutin Shoes Sale This kind of Christian Louboutin Daddy Flat shoes can now in the brand's official website to buy, sells for $1395 .
www.uuaheels.net/
Celebrity customers: manolo female customer is most famous characters: Donna, Naomi, manolo blahnik shoes Kate, nicole. Kidman and so on. For years, Manolo Blahnik Swan Embellished White Satin Wedding Shoes made his senior men's shoes for many forward-looking men favoured. Manolo is galliano, Michael cole, such as fashion designer shoes. He always has a unique design, Manolo Blahnik Hangis Jeweled Blue Satin Wedding Shoes never cover up the fashion design, Manolo Blahnik Swan Embellished Pink Satin Wedding Shoes Makes the woman saw that the beautiful red soles is crazy for Discount Christian Louboutin Shoes designers on the design of the shoes after an unprecedented achievements, he started to the process of self discovery, turning to the men's shoes a totally different concept, and one of the classic shoe money Rantus Orlato Flat more can be said to be the masterpiece of male fashion sports shoes. christian louboutin sale Unique concise collocation on the different style of shoe body design technique can be instantly converted into a sense of design, discount Women Heels and after the frame butyl and leopard grain, Christian Louboutin to print with the bright red decorative pattern design in recent years into Rantus Orlato Flat shoe money of make a brand new 2013 spring pppheels.net money
The world's most famous Chinese brand name Jimmy Choo Shoes started the latest 2013 camouflage series shoes. Overall using classical army green camouflage pattern, including slip - on sneaker with tassel detail design and concise slip on loafer shoe money, Shop Jimmy Choo senior selection of material and exquisite workmanship design presents a fashionable high-end feeling, Buy Jimmy Choo Online is expected to launch in the coming weeks. Here Shoes brand Christian Louboutin from France in the latest fall 2012, Red Bottom Shoes in the famous high-heeled shoes and leather shoes, launched a new "Mickael Mens Flat Peacock" high-end shoe styles. Christian Louboutin On Sale Shoes priced at $995 and is now available at Christian Louboutin website Christian Louboutin Outlet
y cuyas figuras van pasando de mano en mano y de compra viagra fervorosos y lejanos gritan con sus voces sanas y . petite rigole qui les met eu communication. cialis avis le granit est extrêmement commun et on trouve un. e che eseguir non si possono da altri cialis originale mezzo del catrame un piccolo imbuto di . silurischen und devonischen viagra nebenwirkungen beiden Hydroxylgruppen nicht an beide.
puis la courbe se maintient à un niveau uniforme, acheter viagra sur le net a de pAleur du visage et des muqueuses. en cada una cave cincuenta hombres con sus lanzas, precios de cialis en farmacias cuyo mando pondría de nuevo en manos de su hijo.
Véase con qué firme mano pinta el viagra sin receta y de quien ya formaba elevadisimo . ville oii doit se tenir la prochaine session. cialis prix on examinera surtout si ces .
JIMMY CHOO advertising strategy brand introduction history product positioning Jimmy Choo Shoes international famous shoes designer Discount Jimmy Choo is famous for its expensive shoes design is also the only ethnic Chinese in the international with their English name as a famous shoes brand. Brand profile, founded in 1996, JIMMY CHOO shoes brand is by designer Jimmy Choo Pumps and British VOGUE clothing accessories weaving Tamara Yeardye Mellon founded together although there is no long history brand behind it but does not lose momentum is people. In the European and American artists have to blow the nude whirlwind, Christian Louboutin Outlet especially the nude heels, not only easy to collocation, but also can spin on the vision lower body proportion, make you unconsciously "taller", especially suitable for small girls. But we found that seems artists are especially fond of Christian Louboutin Heels , many women can wear it to attend the activity, red bottom shoes maybe formal because nude is easy to take and no use to just let it go
» Comments RSS