FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Add-on Software › FirePlay Flash client for FireFly
- This topic has 873 replies, 99 voices, and was last updated 13 years, 10 months ago by beaon.
-
AuthorPosts
-
14/11/2007 at 12:49 PM #13331Bo MellbergParticipant
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
14/11/2007 at 1:10 PM #13332sonichouseParticipantHi 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: Aborting14/11/2007 at 1:14 PM #13333Bo MellbergParticipantI 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
14/11/2007 at 1:26 PM #13334sonichouseParticipantI 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: AbortingAlso 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]
14/11/2007 at 1:26 PM #13335AnonymousInactiveHmm, 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 🙂
14/11/2007 at 1:33 PM #13336Bo MellbergParticipantIt 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
14/11/2007 at 1:39 PM #13337Bo MellbergParticipantTry this one. It doesn’t have the meta garbage:
http://www.mellberg.org/FlashDAAP.swf
(right-click and download)
/Bo
14/11/2007 at 2:10 PM #13338sonichouseParticipant@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.
14/11/2007 at 2:12 PM #13339Bo MellbergParticipantCould you post the XML reply to the query without the meta?
14/11/2007 at 2:20 PM #13340sonichouseParticipant@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.
-
AuthorPosts
- The forum ‘Add-on Software’ is closed to new topics and replies.