Re: Cannot add single tracks to playlist in 3.1b

dean blackketter <[email protected]> Mon, 17 Feb 2003 13:28:01 -0800
Newsgroups gmane.music.equipment.slimp3.dev
Message-ID <[email protected]>
On Monday, February 17, 2003, at 01:11  PM, Robert Moser II wrote:

> At 12:34 PM 2/17/2003 -0800, you wrote:
>> Why not require that absolute paths start with / or C: (depending on
>> the platform)?
>>
>> Let virtual paths then be like relative paths?
>
> That seems like a good way to do it.
>
> Currently all our paths start with / or \ (for unix and windows 
> systems),
> so I'll have to see if I can work around that.  I'm also not certain 
> how
> MacOS (not OS X) systems will handle the change, since they do absolute
> paths in an odd fashion.
Don't worry about MacOS 9, we aren't actively supporting it.  Unix and 
Win32 is fine.

> I figured out why I was seeing different behavior in the compiled vs. 
> the
> CVS versions.  In virtualToAbsolute it checks to see if the supplied 
> path
> starts with $mp3dir.  It makes this comparison in a case sensitive
> manner.  Well, in my CVS version I have the mp3dir set up with the case
> matching the file system, but when I set up the compiled version I 
> used all
> lower case, which didn't match.
>
> So, another question, should that check be case sensitive?
I'm generally in favor of text comparisons being case insensitive, 
especially when it comes to file names in MacOS X and Win32 systems.  
Feel free to update it to be case insensitive.

-dean


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/