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, 11 months ago by beaon.
-
AuthorPosts
-
03/12/2007 at 10:12 AM #13641Bo MellbergParticipant
@blamm wrote:
@Bo Mellberg wrote:
I’ll make a test.
Cool 😮
It turns out, not so cool. I have created the XSPF XML-file, set it’s mime to “application/xspf+xml” and it’s populated with the songlist contents. However, there is no way to get the file to the user. All I can do is use “XML.send” which would send the file to a web server, which means that you would have to have a server side script to take care of the xml.
Tricky.
03/12/2007 at 10:34 AM #13642AnonymousInactiveIf I open up a URL like: http:///rsp/stream/467
It opens up my mediaplayer and starts to play the song.
Something you could do with that from FirePlay?
Let it handle all songs as if it could play it, but if it’s not mp3, have it send the URL to a local app as soon as you hit play?03/12/2007 at 10:38 AM #13643Bo MellbergParticipant@Franc wrote:
Something you could do with that from FirePlay?
That’s what we’re trying to do…See above.
@Franc wrote:have it send the URL to a local app as soon as you hit play?
Flash does not allow you to save files to local filesystem, neither does it allow you to open up applications of your choice. All because of security issues.
03/12/2007 at 10:44 AM #13644AnonymousInactive@Bo Mellberg wrote:
@Franc wrote:
Something you could do with that from FirePlay?
That’s what we’re trying to do…See above.
I know, but I wasn’t thinking about sending a separate playlist, but have it create the sonlist as it does now, only as soon as the player hits a non-MP3 file while playing, it fires off a URL that you could handle locally…
But hey, if Flash doesn’t let you do that….03/12/2007 at 10:51 AM #13645Bo MellbergParticipant@Franc wrote:
@Bo Mellberg wrote:
@Franc wrote:
Something you could do with that from FirePlay?
That’s what we’re trying to do…See above.
I know, but I wasn’t thinking about sending a separate playlist, but have it create the sonlist as it does now, only as soon as the player hits a non-MP3 file while playing, it fires off a URL that you could handle locally…
But hey, if Flash doesn’t let you do that….OK, I see what you mean now. Flash actually can fire off that URL request, but what happens then? Should I go on to the next song? I can never know when the external player has finished playing.
03/12/2007 at 11:40 AM #13646blammParticipant@Bo Mellberg wrote:
@blamm wrote:
@Bo Mellberg wrote:
I’ll make a test.
Cool 😮
It turns out, not so cool. I have created the XSPF XML-file, set it’s mime to “application/xspf+xml” and it’s populated with the songlist contents. However, there is no way to get the file to the user. All I can do is use “XML.send” which would send the file to a web server, which means that you would have to have a server side script to take care of the xml.
Tricky.
Probably revealing my ignorance here but here is a flash based XSPF player that appears to allow you provide a URL for the song that is playing.
http://musicplayer.sourceforge.net/
The specific page is here
03/12/2007 at 11:57 AM #13647blammParticipant@Bo Mellberg wrote:
@Franc wrote:
@Bo Mellberg wrote:
@Franc wrote:
Something you could do with that from FirePlay?
That’s what we’re trying to do…See above.
I know, but I wasn’t thinking about sending a separate playlist, but have it create the sonlist as it does now, only as soon as the player hits a non-MP3 file while playing, it fires off a URL that you could handle locally…
But hey, if Flash doesn’t let you do that….OK, I see what you mean now. Flash actually can fire off that URL request, but what happens then? Should I go on to the next song? I can never know when the external player has finished playing.
Not really expecting Fireplay to interact with the external player or fire off URLs automatically but just to provide a URL to a playlist or song that the user can select manually.
The scenario would simply be.
1. Use Fireplay to find and display the song or songs in the songlist
2. Click on the link to the song or songlist to launch in an external player.
3. Use the external player to play the song(s)
4. Rinse and repeat.To reduce the interaction between Fireplay and the external player the links would be available for all songs (mp3 or not)
Ta
03/12/2007 at 12:47 PM #13648Bo MellbergParticipant@blamm wrote:
Probably revealing my ignorance here but here is a flash based XSPF player that appears to allow you provide a URL for the song that is playing.
http://musicplayer.sourceforge.net/
The specific page is here
Exactly. Loading XML and producing an “in Flash Playlist” and playing songs from within Flash is no problem, in fact that’s what FirePlay is doing today. It’s the other way around that is tricky.
The linked player uses Flash 7, which enables customized context menus. As FirePlay is written in Flash 6 I don’t have that option.
I can provide a link for “download selected songs”, but I can not generate the playlist file, and make that playlist file downloadable.
03/12/2007 at 1:01 PM #13649blammParticipantAh well. Thanks for trying.
03/12/2007 at 1:11 PM #13650Bo MellbergParticipant@blamm wrote:
Ah well. Thanks for trying.
How about I display the XSPF-file in a multiline text window, from which you can copy/paste the playlist? You’d have to save it as txt and then changing it to application/xspf+xml though…
-
AuthorPosts
- The forum ‘Add-on Software’ is closed to new topics and replies.