llGetParcelMusicURL and llGetParcelMusicTitle
|
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
06-21-2004 18:45
Fixing llSetParcelMusicURL so that it works the same as setting the stream URL manually ought to be a priority, but when that's done, we should have a mechanism to get both the current URL and the current stream title.
This would allow for decent jukebox systems, though of course, XML-RPC would be necessary for a really good one.
|
|
Grim Lupis
Dark Wolf
Join date: 11 Jul 2003
Posts: 762
|
06-21-2004 19:37
A parcel jukebox system is in the works.
Or rather, it will be as soon as my new colo host actually gets my friggin server set up! :-/
_____________________
Grim
"God only made a few perfect heads, the rest of them he put hair on." -- Unknown
|
|
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
|
06-21-2004 20:25
I endorse these ideas/features.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
|
|
Kex Godel
Master Slacker
Join date: 14 Nov 2003
Posts: 869
|
Re: llGetParcelMusicURL and llGetParcelMusicTitle
06-22-2004 06:48
From: someone Originally posted by Catherine Omega we should have a mechanism to get both the current URL and the current stream title.
The stream title is not readily available to the SL servers. The servers simply forward a URL to your client; they have no idea about the stream's content. To make the title available would mean the SL servers themselves would also have to pull a stream from the source, meaning they would have to read (and toss out) a lot of data just to look for the title to make it available by script. The URL shouldn't be a problem since that information is stored on SL's servers.
|
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
06-22-2004 14:29
Yes, Kex. I know. I thought that was implied.  Heh. I agree, it's not a lot of payoff for the effort required, but it could be useful.
|
|
Oz Spade
ReadsNoPostLongerThanHand
Join date: 23 Sep 2003
Posts: 2,708
|
06-22-2004 17:08
I thought whatever SL was using for streaming (was it FMOD?) has a built in function to get the title?
Thought I saw that somewhere, could be mistaken.
_____________________
"Don't anticipate outcome," the man said. "Await the unfolding of events. Remain in the moment." - Konrad
|
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
06-22-2004 18:19
Yeah, Oz... FSOUND_Stream_Net_SetMetadataCallback. Unfortunately, if it IS called, it would be called on the client only -- the server certainly doesn't have anything to do with fmod.
The only way to get that information to a script would be for the server to page the stream, which would be kind of inconvenient, if you think about it.
|
|
Jon Morgan
Senior Member
Join date: 28 May 2004
Posts: 174
|
06-22-2004 19:44
Are scripts strictly server-based?
|
|
Chip Midnight
ate my baby!
Join date: 1 May 2003
Posts: 10,231
|
06-22-2004 19:46
Would be cool to have a way to get the current song title from shoutcast too.
_____________________
 My other hobby: www.live365.com/stations/chip_midnight
|
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
06-23-2004 04:21
From: someone Originally posted by Jon Morgan Are scripts strictly server-based? Yes and No. Scripts definitely exist and run on the server, but some functions cause the server to order the viewer to perform a strictly client-side function, like llTargetOmega. The object may spin, but the rotation stored on the server never changes. This causes all sorts of weird problems...
|