WXforum.net
May 22, 2013, 04:45:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
Members: 6617  •  Posts: 178537  •  Topics: 18117
Please welcome TheMOX, our newest member.
Welcome to the the new hosting for WXforum.net.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: WinAmp  (Read 570 times)
0 Members and 1 Guest are viewing this topic.
katlon
LONNIE'S WEATHER STATION
Contributor
***
Offline Offline

Posts: 129


GO HEELS!!!


WWW
« on: November 01, 2011, 04:59:53 PM »

I spent most of my spare time for years trying to work on getting my weather pages to offer what most people in my area wanted. Now I am streaming music to the internet through Winamp and Icecast.  Pretty much the same setup I use to stream the NOAA Weather Radio. I am using a script that generates a .png file that shows what is the "current playing" song. Here is where the problem is. When the .png file is generated every word that has an ' (apostrophe) in it gets shown as /'. I need to know what I can do to get rid of the /. I can post the script if that would help someone help figure out how to get rid of this little devil. Below is the link to the png generated image. If you don't see what I am talking about just wait a few minutes and I am sure a song will come along that shows the problem. Thanks for any help.

Lonnie

http://pulliamjr.com/gen_httppost/output.png
Logged
jay_hoehn
Forecaster
*****
Offline Offline

Posts: 422



WWW
« Reply #1 on: November 01, 2011, 06:51:36 PM »

Not to be the bearer of bad news, but have you paid the royalty fee to be able to do this.  The fine if you haven't can be very steep.

Jay
Logged

Davis Vantage Pro2 Plus
VVP
VWS
VP Live
Cumulus
WeatherFlash
Image Salsa
Movie Salsa
katlon
LONNIE'S WEATHER STATION
Contributor
***
Offline Offline

Posts: 129


GO HEELS!!!


WWW
« Reply #2 on: November 01, 2011, 07:02:31 PM »

This is a plugin listed on Winamps pages. The guy who listed it did it in 2006. I have emailed him for info but haven't received any returns.

Lonnie
Logged
WeatherHost
Forecaster
*****
Offline Offline

Posts: 1651



« Reply #3 on: November 01, 2011, 07:25:43 PM »

You're asking for a whole lot of legal problems and financial hurtin' if you don't own the rights.
Logged
xykotik
DonkeyTailWX DW6891
Forecaster
*****
Offline Offline

Posts: 691


I'll deal with it tomorrow


WWW
« Reply #4 on: November 01, 2011, 10:43:58 PM »

By "script" do you mean something interpretive and server-side like perl or php?  Here are a couple of blurbs that might get you moving in the right direction.  It sounds like essentially you want to replace a specific character with a null or a space to mitigate the illegal character fault.  If this doesn't help, it's the only idea I have.  I remember this from an "Upper-Case/Lower-Case" issue I once had.

http://www.w3schools.com/php/func_string_str_replace.asp

http://www.misc-perl-info.com/perl-arrays.html
Logged



Facit solem suum oriri super bonos et malos et pluit super iustos et iniustos.

Springtime in Seattle...  March comes in like a lion and out like a wet lion.
kray1000
Purveyor of wry
Forecaster
*****
Offline Offline

Posts: 1308



WWW
« Reply #5 on: November 01, 2011, 10:56:36 PM »

I am using a script that generates a .png file that shows what is the "current playing" song. Here is where the problem is. When the .png file is generated every word that has an ' (apostrophe) in it gets shown as /'. I need to know what I can do to get rid of the /. I can post the script if that would help someone help figure out how to get rid of this little devil.

It's actually a backslash (\) that appears before the apostrophe.  Almost sounds like the script might be coded to use an escape character when it doesn't need to.

Posting the portion of the script that prints the text on the graphic might be helpful.
Logged

Kevin Ray
Roanoke, VA

Wireless VP2, Stardot NetCam, ImageSalsa 2.0.12, MovieSalsa, Nexstorm, WASP2, Skymet, VWS14.01p33, WD 10.37N build 03
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.115 seconds with 19 queries.