You are here: Home » Topic » FirePlay Flash client for FireFlypage 5

FirePlay Flash client for FireFly

Viewing 15 posts - 61 through 75 (of 874 total)
  • Author
    Posts
  • #13331
    Bo Mellberg
    Participant

    OK, here it comes:

    http://www.mellberg.org/FlashDAAPv0.3.zip

    Unzip to your admin-root folder as usual.

    Limitations in this version (will be fixed asap):

    – Double clicking a song is not implemented.
    – Next and Prev is not implemented.
    – Only one song is played, the song list is not traversed.

    Please try this version on the Wii if you have one. Would be nice if it worked.

    /Bo

    #13332
    sonichouse
    Participant

    Hi Bo,

    v.03 connects from IE7 on my laptop, but hangs when requesting playlists.

    On closer inspection it killed my mt-daapd processes on my slug.

    I got this in my log

    2007-11-14 12:57:26 (0006d404): Thread 435: Entering ws_returnerror (401: Unauthorized)
    2007-11-14 12:57:35 (0006f404): malloc error in vasprintf
    2007-11-14 12:57:35: Aborting
    2007-11-14 12:57:35 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
    2007-11-14 12:57:35: Aborting
    #13333
    Bo Mellberg
    Participant

    I have no idea why that is…

    Oops, I should have mentioned: Playlists are not implemented at all, they are just displayed. All queries are done on the “Library” playlist.

    Also, I have had problems with artists and albums containing certain characters. I have asked Ron how to escape the query strings but I am still waiting for an answer.

    /Bo

    #13334
    sonichouse
    Participant

    I cranked log to debug=9 and got

    2007-11-14 13:20:39 (00002403): Executing: select count(*) FROM songs
    2007-11-14 13:20:39 (00002403): Creating new db handle
    2007-11-14 13:20:39 (00002403): Executing: select count(*) FROM playlists
    2007-11-14 13:20:39 (00002403): Updating Content-Type from application/x-dmap-tagged to text/xml
    2007-11-14 13:20:39 (00002403): Updating Connection from keep-alive to Close
    2007-11-14 13:20:39 (00002403): Emitting reponse header Expires: -1
    2007-11-14 13:20:39 (00002403): Emitting reponse header Cache-Control: no-cache
    2007-11-14 13:20:39 (00002403): Emitting reponse header DAAP-Server: firefly/svn-1696
    2007-11-14 13:20:39 (00002403): Emitting reponse header Accept-Ranges: bytes
    2007-11-14 13:20:39 (00002403): Emitting reponse header Content-Language: en_us
    2007-11-14 13:20:39 (00002403): Emitting reponse header Content-Type: text/xml
    2007-11-14 13:20:39 (00002403): Emitting reponse header Server: mt-daapd/svn-1696
    2007-11-14 13:20:39 (00002403): Emitting reponse header Connection: Close
    2007-11-14 13:20:39 (00002403): Emitting reponse header Date: Wed, 14 Nov 2007 13:20:39 GMT
    2007-11-14 13:20:39 (00002403): malloc error in vasprintf
    2007-11-14 13:20:39: Aborting
    2007-11-14 13:20:39 (00000400): Processing rendezvous message
    2007-11-14 13:20:39 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
    2007-11-14 13:20:39: Aborting

    Also I tried the sql manually, and that returns as expected

    bash-3.2# sqlite3 /opt/var/mt-daapd/songs3.db
    SQLite version 3.4.1
    Enter ".help" for instructions
    sqlite> select count(*) from playlists;
    12
    sqlite>

    Hope that helps ?

    BTW running firefly version 1696 on my slug.

    [edit]
    Memory usage is OK… I get


    CPU[###***** 13.0%] Tasks: 61 total, 1 running
    Mem[|||||||||||||||||||||||||##########**************13/29MB] Load average: 1.06 1.02 1.00
    Swp[||||| 9/117MB] Uptime: 13 days, 02:45:27

    [/edit]

    #13335
    Anonymous
    Inactive

    Hmm, this one doesn’t get as far as the last version.

    The status flicks through very quickly, but what I could make out, it connects to the right host and port, then after a few very quick “Asking for…” processes it asks for the playlists and then displays “Connected to undefined” without noticeably pulling anything off the server (I have ~14k tracks, so it’s noticeable when it does). The “artists” list displays “All undefined artists…”.

    With regards to the layout, it already looks more usable than Amarok, I just look forward to using it 🙂

    #13336
    Bo Mellberg
    Participant

    It seems as if my query for the playlists is not recognised on your machines.

    Could you try pasting this into your browser:

    http://www.yourserver.com:3689/databases/1/containers?meta=dmap.itemid,dmap.itemname,dma.persistentid,com.apple.itunes.smart-playlist&output=xml
    #13337
    Bo Mellberg
    Participant

    Try this one. It doesn’t have the meta garbage:

    http://www.mellberg.org/FlashDAAP.swf

    (right-click and download)

    /Bo

    #13338
    sonichouse
    Participant

    @Bo Mellberg wrote:

    Try this one. It doesn’t have the meta garbage:

    http://www.mellberg.org/FlashDAAP.swf

    (right-click and download)

    /Bo

    Still no joy with that version. The XML above returned fine.

    #13339
    Bo Mellberg
    Participant

    Could you post the XML reply to the query without the meta?

    #13340
    sonichouse
    Participant

    @Bo Mellberg wrote:

    Could you post the XML reply to the query without the meta?

    Sure, here it is

      
    -
    200
    0
    12
    12
    -
    -
    1
    2697
    1
    Library

    -
    3
    11
    1
    Muse - Black Holes & Revelations

    -
    4
    10
    1
    Prince - Planet Earth

    -
    5
    18
    1
    Moby - Play

    -
    6
    14
    1
    Jamelia - Thank You

    -
    7
    13
    1
    Coldplay - X & Y

    -
    8
    12
    1
    KT Tunstall - Eye to the telescope

    -
    10
    15
    1
    Jack Johnson

    -
    11
    11
    1
    Lily Allen - Alright Still

    -
    12
    14
    1
    Shaggy

    -
    14
    501
    1
    The Rolling Stone Magazines 500 Greatest Songs Of All Time

    -
    15
    24
    podcast


    The Rolling Stones had 500 tracks, so I edit the playlist to return 0 tracks, but it still fails.

    #13341
    Anonymous
    Inactive

    The new client doesn’t make a lot of difference. I queried my server with that string and it returned data, but it didn’t look like any XML I’ve seen, more like a munge of pseudo-binary text stuff. Is this the issue?

    I thought I was on the latest mt-daapd version, but if it’s not returning XML and it’s supposed to…

    #13342
    Bo Mellberg
    Participant

    If it hangs on the playlist request, it could be that it doesnt get the server-info properly.

    Could you both do a:

    http://www.yourserver.com:3689/server-info?output=xml

    Perhaps my parsing is specific to my machine only…

    #13343
    sonichouse
    Participant
      
    -
    200
    2.0.0
    3.0.0
    1800
    firefly svn-1696 on slug
    0
    0
    0
    0
    0
    0
    1
    #13344
    Bo Mellberg
    Participant

    It looks exactly like mine.

    Doesn’t it show: “Connected to firefly svn-1696 on slug” when you run it?

    #13345
    sonichouse
    Participant

    @Bo Mellberg wrote:

    It looks exactly like mine.

    Doesn’t it show: “Connected to firefly svn-1696 on slug” when you run it?

    It connects, gets a sessionid, and the last message i see is “Asking for playlists” on the status panel at the top.

Viewing 15 posts - 61 through 75 (of 874 total)
  • The forum ‘Add-on Software’ is closed to new topics and replies.