[MPlayer-users] MPlayer and backslashes in .asx files ?

Corey Hickey bugfood-ml at fatooh.org
Fri May 23 23:24:29 CEST 2003


Joonas Koivunen wrote:
> if that's not an option, with a simple script you could accomplish 
> it..
> 

Yes, and to give a hint:
$ cat playlist.asx | tr '\\' /

I don't think that'll break anything, but I don't deal with asx files at
all. Make sure there never occur any backslashes for anything other than
DOS-style paths.

The rest just depends on how you want to set it up. You could make a
simple wrapper something like:

#!/bin/bash
cat $1 | tr '\\' / > /tmp/playlist
shift 1
mplayer -playlist /tmp/playlist $@


-Corey



More information about the MPlayer-users mailing list