Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Gustavo Sverzut Barbieri
Ok, Just a tought. I don't use windows anyway, so no problem for me. And I have no backslash problem, since I use the traditional filenames, without space and likes, only [a-zA-Z0-9] and '_' '.' '-'. Gustavo --- Krister Lagerstrom <[EMAIL PROTECTED]> escreveu: > Gustavo Sverzut Barbieri wrote:

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Krister Lagerstrom
Aubin Paul wrote: > On Wed, Feb 26, 2003 at 01:36:24PM -0600, Krister Lagerstrom wrote: > >>I didn't say that you *can't* create backslash filenames, I meant that >>it is a lot less likely compared to people wanting to use their Winamp >>playlists. It is only error prone if people actually have we

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Aubin Paul
On Wed, Feb 26, 2003 at 01:36:24PM -0600, Krister Lagerstrom wrote: > I didn't say that you *can't* create backslash filenames, I meant that > it is a lot less likely compared to people wanting to use their Winamp > playlists. It is only error prone if people actually have weirdly named > files. W

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Krister Lagerstrom
Giuseppe Ciotta wrote: > On Wed, Feb 26, 2003 at 01:51:40PM -0500, Aubin Paul wrote: > >>On Wed, Feb 26, 2003 at 12:41:27PM -0600, Krister Lagerstrom wrote: >> >>>Sure, it *can* go wrong, but how likely is that? Do you have any >>>specific examples that people actually might have problems with? I

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Giuseppe Ciotta
On Wed, Feb 26, 2003 at 01:51:40PM -0500, Aubin Paul wrote: > On Wed, Feb 26, 2003 at 12:41:27PM -0600, Krister Lagerstrom wrote: > > Sure, it *can* go wrong, but how likely is that? Do you have any > > specific examples that people actually might have problems with? I can't > > recall seeing any f

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Aubin Paul
On Wed, Feb 26, 2003 at 12:41:27PM -0600, Krister Lagerstrom wrote: > Sure, it *can* go wrong, but how likely is that? Do you have any > specific examples that people actually might have problems with? I can't > recall seeing any files in unix with backslashes. Escaped spaces. i.e. a file on my

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Krister Lagerstrom
Gustavo Sverzut Barbieri wrote: > IMHO is cleaner to make a script to convert the playlists to a > .freevo or whatever, if we find and > .freevo, we use the latter. Cleaner perhaps, but not very user-friendly if you have a bunch of playlists that you edit a lot using winamp for instance. > Auto

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Gustavo Sverzut Barbieri
IMHO is cleaner to make a script to convert the playlists to a .freevo or whatever, if we find and .freevo, we use the latter. Auto converting these files could lead to undesireable results. Gustavo --- Krister Lagerstrom <[EMAIL PROTECTED]> escreveu: > Matthieu Weber wrote: > > > Wouldn't i

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Matthieu Weber
On Wed 26.02.2003 at 07:11:38AM -0600, Krister Lagerstrom wrote: > Matthieu Weber wrote: > > > Wouldn't it be cleaner to use os.path.join() (or someting like that) > > instead of blindly replacing backslashes with slashes? > > Isn't os.path.join() only for when you write scripts that have to be >

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-26 Thread Krister Lagerstrom
Matthieu Weber wrote: > Wouldn't it be cleaner to use os.path.join() (or someting like that) > instead of blindly replacing backslashes with slashes? Isn't os.path.join() only for when you write scripts that have to be cross platform compatible? Freevo is Unix only. If anyone has a Python snippe

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-25 Thread Matthieu Weber
On Tue 25.02.2003 at 09:53:15PM -0600, Krister Lagerstrom wrote: > Luigi Capriotti wrote: > > Hi buddies, > > > > I thought you might be interested in merging the following patch to the > > official version. > > > > I'm quite new to freevo, and had a number of previous m3u playlists made in > >

Re: [Freevo-devel] support for DOS relative paths in playlists

2003-02-25 Thread Krister Lagerstrom
Luigi Capriotti wrote: > Hi buddies, > > I thought you might be interested in merging the following patch to the > official version. > > I'm quite new to freevo, and had a number of previous m3u playlists made in > Windows via WinAMP. Those files have relative pathnames inside, i.e. > > Direc

[Freevo-devel] support for DOS relative paths in playlists

2003-02-25 Thread Luigi Capriotti
Hi buddies, I thought you might be interested in merging the following patch to the official version. I'm quite new to freevo, and had a number of previous m3u playlists made in Windows via WinAMP. Those files have relative pathnames inside, i.e. DirectoryName\FileName1.mp3 DirectoryName\File