You are here: Home » Topic » DAAP Protocol – Getting a song to play

DAAP Protocol – Getting a song to play

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1126
    kidA
    Participant

    Hi All,
    I was wondering what documentation there is on calling the firefly server to start streaming a song. I am able to execute the http xml request to do library queries and browse my media however i don’t know how get a song t start playing. Is this a DAAP request that I make with the itemid?

    Thanks a bunch,
    kidA

    #9303
    rpedde
    Participant

    @kidA wrote:

    Hi All,
    I was wondering what documentation there is on calling the firefly server to start streaming a song. I am able to execute the http xml request to do library queries and browse my media however i don’t know how get a song t start playing. Is this a DAAP request that I make with the itemid?

    Thanks a bunch,
    kidA

    Hi again.

    rsp is easiest and fastest for xml requests, so this is generally it:

    server:port/rsp/info

    gets you server info

    server:port/rsp/db

    gets you a list of playlists (and id’s)

    server:port/rsp/db/

    gets you a list of items (and id’s). You can use get args for index and offset to just get a slice of the data and page through it.

    You can do:

    server:port/rsp/db//artist
    server:port/rsp/db//album
    server:port/rsp/db//genre
    server:port/rsp/db//composer

    to browse by those categories. You *should* be able to browse by any field, but I don’t have that implemented yet, as no client uses it.

    server:port/rsp/stream/

    to stream a song.

    — Ron

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.