Stream Connection

Need help? Post your questions here.

Moderator: moderators

Stream Connection

Postby mornindew » Sat Nov 01, 2008 7:00 am

Hi all,
There might be an easy solution to this but I don't know of any off hand. I am building a new controller that will have an imbedded flash player. Is there a way to tell on the server side whether the stream has completed (or finished the playlist)? I want to be able to automatically refresh the playlist with new music. Thank you for your help. Craig
mornindew
 
Posts: 7
Joined: Mon Oct 27, 2008 4:47 pm

Postby sindre_mehus » Sat Nov 01, 2008 7:13 am

There is some similar functionality in PlaylistInputStream.java, line 91:

Code: Select all
// If playlist is in auto-random mode, populate it with new random songs.
if (playlist.getIndex() == -1 && playlist.getRandomSearchCriteria() != null) {
    populateRandomPlaylist(playlist);
}
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Help

Who is online

Users browsing this forum: No registered users and 8 guests