Page 1 of 1

Streaming mp3?

Posted: 06 Jul 2012, 04:10
by schreiber
Would it be possible to use a playlist instead of an actual mp3? Let's say I have a dj mix of one hour (100mb in size) or maybe a mp3 radio stream i want to use. Would that be possible?

Re: Streaming mp3?

Posted: 06 Jul 2012, 04:49
by mjau-mjau
schreiber wrote:Would it be possible to use a playlist instead of an actual mp3?
Playlist as in a playlist file? At best, this would just be a source of mp3 files in a folder anyway. When you upload mp3 files into the audio folder, this is your playlist.
schreiber wrote:Let's say I have a dj mix of one hour (100mb in size) or maybe a mp3 radio stream i want to use. Would that be possible?
Where is this hosted? Imagevue already streams mp3 files in what they call a "progressive" stream. Imagevue does not do any more streaming that that, and you cant just add a "radio" stream unfortunately.

Re: Streaming mp3?

Posted: 06 Jul 2012, 05:38
by schreiber
mjau-mjau wrote: Playlist as in a playlist file? At best, this would just be a source of mp3 files in a folder anyway. When you upload mp3 files into the audio folder, this is your playlist.
Nope. Any ".pls" file could refer to an ip address or a streaming feed from something like shoutcast.com or similar.
mjau-mjau wrote:
schreiber wrote:Let's say I have a dj mix of one hour (100mb in size) or maybe a mp3 radio stream i want to use. Would that be possible?
Where is this hosted?
Hosted on my own server or a million other places. It doesnt matter where it's hosted. My point is, would it be possible to play an mp3 file that's not in the mp3 folder in the imagevue content folder, but somewhere else on the internet?

Thank You for your answers. I really appreciate your time.

Re: Streaming mp3?

Posted: 06 Jul 2012, 07:48
by mjau-mjau
schreiber wrote:Nope. Any ".pls" file could refer to an ip address or a streaming feed from something like shoutcast.com or similar.
This will not work with playlists, or at least it would be a lot of development to load some format of playlist, and then attempt to load from remote server. Not to mention that the remote server would require a policy file to be able to stream to other domains. You could perhaps hack a custom SWF shoutcast player, and load it as an imagevue "background". But it would just stream a shoutcast stream, it wouldnt load and parse playlists and place tracks and stuff into the Imagevue-native audioplayer.
schreiber wrote:Hosted on my own server or a million other places. It doesnt matter where it's hosted. My point is, would it be possible to play an mp3 file that's not in the mp3 folder in the imagevue content folder, but somewhere else on the internet?
It does kinda matter, because Flash has limitations when trying to load data from other domains. It would require policy files. Also, Imagevue uses PHP to read folder content ... If the data is on a different server, it cant possibly "read" what data is in a folder. This would need to be populated by XML or so, and this creates other challenges again, but for now it simply is not implemented in any way.

Re: Streaming mp3?

Posted: 06 Jul 2012, 09:28
by schreiber
Ok, thanks for the answer.