View Single Post
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#34
BDIFD ("Boy, Do I Feel Dumb"):

playlist formats (like .asx and .pls) are handled in mplayer. You just have to add the -playlist parameter in front of the %s. No fancy file parsing necessary. So you can scrap my custom .asx handler and make it just like .avi, just change it to

Code:
mplayer -playlist %s
EDIT: I installed the latest dbus-switchboard, removed the custom handler, and edited the new config files as follows:

.dbus-switch-apps.cfg, added the following line:
Code:
MPlayer-playlist,cli,/usr/bin/mplayer -playlist %params%
.dbus-switch-xref.cfg, added the following lines:
Code:
.pls,MPlayer-playlist
.asf,MPlayer-playlist
.asx,MPlayer-playlist
Also, I'm changing my mind about mplayer performance with wmv streams. I am getting lots of "J-type picture is not supported" errors when trying to play those streams, while the realmedia streams seem to play more cleanly in Media Player.

Last edited by qole; 2008-03-23 at 00:00. Reason: poor mplayer wmv performance, asf fix
 

The Following User Says Thank You to qole For This Useful Post: