Author |
Topic |
laser
Advanced Member
Australia
3859 Posts |
Posted - 14 November 2004 : 00:36:00
|
Wouldn't it be better to translate the ampersand properly ?
Using your function "fish & chips" becomes "fish chips", but wouldn't something like fish & chips be better ? |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 14 November 2004 : 03:42:45
|
Hey dayve, you know of any possible way to add the same sorta thing you have with your winamp plugin, with LaunchCast?
I've crawled all over the launchcast site, cant find anything.... I e-mailed tech support to see if they have anything that could allow us to do that. Figured u might know of a way... |
-Stim |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 14 November 2004 : 12:37:02
|
quote: Originally posted by laser
Wouldn't it be better to translate the ampersand properly ?
Using your function "fish & chips" becomes "fish chips", but wouldn't something like fish & chips be better ?
& would cause it to fail as well because it contains an ampersand in it
However, I suppose you can use the CHR value of the item to replace with, I can test, but I did what I did for simplistic creation of the XML file. I believe this could work.
fstring = Replace(fstring, "&", chr(38)) fstring = Replace(fstring, "<", chr(60)) fstring = Replace(fstring, ">", chr(62)) fstring = Replace(fstring, """, chr(34)) fstring = Replace(fstring, "'", chr(39))
quote: Originally posted by Da_Stimulator
Hey dayve, you know of any possible way to add the same sorta thing you have with your winamp plugin, with LaunchCast?
I've crawled all over the launchcast site, cant find anything.... I e-mailed tech support to see if they have anything that could allow us to do that. Figured u might know of a way...
I get questions like this a lot and generally my response is ANY plugin for ANY music player that allows for HTTP post will work with my script. So, if LaunchCast has a plugin or native ability to post what is playing via HTTP, then yes, it can easily be configured to work with my script. |
|
Edited by - dayve on 14 November 2004 12:52:33 |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 14 November 2004 : 13:24:21
|
quote: I get questions like this a lot and generally my response is ANY plugin for ANY music player that allows for HTTP post will work with my script. So, if LaunchCast has a plugin or native ability to post what is playing via HTTP, then yes, it can easily be configured to work with my script.
I know it has this ability, because in Yahoo messanger when launchcast is running it will display the info beside my name.
For instance, right now I'm listening to A Perfect Circle - Halo
so in yahoo you see my name as da_stimulator2002 "A Perfect Circle - Halo"
and it links to more info on the song, so there has to be a way to duplicate this via http |
-Stim |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 14 November 2004 : 13:32:31
|
I guess I should clarify. Not so much if it can, but if you have access to changing the settings. Here is a screenshot of the plugin I use with Winamp:
If LaunchCast allows you access in your player settings, then it is no problem.
|
|
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 14 November 2004 : 15:15:50
|
quote: & would cause it to fail as well because it contains an ampersand in it
Yeah, it could do, but I thought the error was really that you couldn't have whitespace after the &. As I said (or meant to say ), the error only happens occasionally, so it's not high on my hit list. |
|
|
Topic |
|
|
|