Share your library on the local network using DAAP

If you have all your music library on a pc and you want listen to it en otra, without have to to copy files, you may be interested in this tutorial on daap.


Today I wanted to listen to the music I had on my desktop pc from my brother's netbook. The first thing that occurred to me was to create a streaming server using VLC, which brings the option to stream, but I could never get it to work.

So I started looking in the ubuntu software center for a streaming server and I found several, but I didn't like the idea of ​​not being able to choose the music I wanted to listen to or the impossibility of changing songs at any time. Searching Over there I found the solution: daap

DAAP is a protocol created by those of the bitten apple to share music through iTunes on a local network. DAAP is a proprietary and closed protocol and there is no official specification but free implementations of the protocol have been created.

I found several ways to use DAAP on my ubuntu, but I will only show one:

employee

On the pc where we have the music we must install the DAAP server, there are many DAAP servers in the repositories, the one we will use now will be tangerineTo install it in Ubuntu, we simply look for it in the software center or click on the hyperlink of the name or:

sudo apt-get install tangerine

Then we run the program and it will show us a window like this

The configuration is very simple and intuitive, to start the server we must tick the checkbox that says "enable music sharing". In "Share name" we write the name with which we want the library to be seen. In «Select Folder» we select the folder to share, or we can use the Amarok, Banshee or Rhythmbox library by selecting «Find music in:».

We can also limit the number of users and use a password.
Once we have finished configuring it, we close it and the server remains running.

It is important that the folder we want to share has read permission for any user.

Client

In the computers where we want to access the shared library we must use a DAAP client, the programs that work as DAAP clients are many, I will show how to do it in 2: Banshee y Exile.

Banshee

Banshee comes pre-installed on the latest ubuntu distributions, but if we wanted to install it:

sudo apt-get install banshee
Banshee only checks for DAAP servers when it starts up, so it must be opened after the server has started.

Once we start Banshee, it will show us the available DAAP libraries:

In the left sidebar there is a section called Shared Music, there are the available DAAP libraries.

Exile

To install exaile:

sudo apt-get install install

Exaile by default does not have the DAAP client enabled, to enable it we go to Edit> Preferences> Plugins and enable the DAAP client.

Once this is done we go to Tools> Connect to DAAP ... and select the desired library.

The last tab is the DAAP library, it may take some time to load, you have to be patient.

Android client

If you want to listen to your music on your mobile with android in the market there are many options, the one I have tried is DAAP Media Player which has the particularity of using the player that comes in the mobile. To install:


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   HacKan & CuBa co. said

    Very cool: D. I ask you a question: what port / s must be opened in the firewall?
    Regards!

  2.   Francisco Pablo Castillo-Roig said

    Man, why don't you make it completely standard and you mount a server with DLNA / UPnP, like rygel if you use gnome. So it will be compatible with your tv or mobile.

    And if you only need a mediaserver and not a mediarenderer like rygel, then you have a media-tomb.

  3.   Let's use Linux said

    It's true Carlos, UDP would have been a better option ...

  4.   Gudu chango said

    that good infoooooo .. !!! thanks for sharing 😉 and hold on to the chaco hahahahaha

  5.   Carlos Coronado said

    I think the port is 3689 according to what I have seen in google ... but I am surprised that I use tcp. I thought that for streaming the udp was better so that tcp is reliable and udp ignores small errors that may be in the transfer so that there are no cuts in the audio or video.
    in short then I try. Thanks for the input

  6.   Let's use Linux said

    UPD does not ignore failures, but does not do the 3 way handshake like TCP, that is, it does NOT have to do the whole connection process: make a request to the server, the server responds, the client accepts and connects.

    UDP allows datagrams to be sent over the network without a connection having been previously established, since the datagram itself incorporates sufficient addressing information in its header. It also has no confirmation or flow control, so packets can run ahead of each other; and it is also not known if it has arrived correctly, since there is no delivery or receipt confirmation.

  7.   Guest said

    UDP is a good option if you are streaming to multiple clients at a great distance, but since you are considering two computers in a local network then the TCP overhead is practically imperceptible.

  8.   Ali reyes said

    ...

  9.   Ali reyes said

    Excellent player Banshee, I do not know why they want to change it in the next v12.04 its memory consumption the maximum it can reach at least in my lap is 80mb and 24mb using only the tools link. One question, once this procedure is done, can I make a copy of the folder where all the music is stored? that is to say, copy it to the native folder from where it is reproduced, I don't know if I explain myself.

  10.   Fast House Sales said

    I'm really amazed by this blog. Tons of useful posts and info on here. Thumbs up, thanks a lot.
    Rent-to-Own

  11.   fahrenheit451 cruzertonium said

    Since I see that they have knowledge of this topic, I wonder if they can
    clarify some ideas. My question is that I want to use a player
    like Banshee, Rythmbox, and better yet if you can Clementine or Amarok,
    to send the music for playback on a Yamaha AV receiver that has
    entry for local network server. Currently I am able to do this
    playing with Leia http://leia.sommerfeldt.f-m.fm/ but even though
    that works very well does not have the possibilities of the interface of
    previous. That is, can I use the previous players that you have
    Daap or Upnp support as Playback Controller (DMC) to send
    music to the Yamaha receiver (DMR)? thanks for any help or clarification, regards