From: Bruce W. <br...@mi...> - 2002-02-06 14:32:54
|
> M3U Play list: > Make sure there are no commas (,) and ampersand (&) in the file names of > your m3u files. If you have spaces in your file names, you might > also have > problems. To solve this, I added the following line in mp3_playlist.pl: > > $file =~ s/ /%20/g; ... > The line $file =~ s/ /%20/g will replace any space in the file name with > %20 so that they get url will work correctly. (Sorry, I just > couldn't figure > out how to change the , and & in the filename to work properly!) Looks good. Here are a few other escapes that should work: $file =~ s/ /%20/g; $file =~ s/\#/%23/g; $file =~ s/\&/%26/g; $file =~ s/\'/%27/g; $file =~ s/\,/%2C/g; > Next problem I had was if Winamp was playing at my desired sound > level, and > MH made any sounds, the Winamp level went way up. I had to > either click on > the volume control slider of Winamp or have MH lower and then raise the > volume level to have it go back to the previous desired level. Tonight I > added in some lines to mh_sound.pl and my own hawkeyes.pl routines. Cool. I added your code as mh/code/examples/volume_level_reset_httpq.pl . Bruce |