[Mplayer-os2] MPlayer / Gnash OS/2 Port: Howto pass the parameter value from "Firefox add on MPC" to *.cmd

RainerStroebel at t-online.de RainerStroebel at t-online.de
Thu Aug 9 16:01:17 CEST 2007


Gnash OS/2 Port:  Howto pass the parameter value from  "Firefox add on
MPC  Media PlayerConnectivity  to the  MPalyer.cmd  / gnash.cmd
========================================================================================================

First  draft   status: 2007-08-09   Rainer


Software 

Firefox 2.0.0.6

Firefox Add on MPC MediaPlayerConnectivity 0.8.3   

https://addons.mozilla.org/en-US/firefox/addon/446

OS/2 with standard command processor  cmd.exe

Command  procedures  gnash.cmd and mplayer.cmd used by MPC to call the
player with passed parameter from web side 


Problem: 
========

The  YouTube flash URL contains the sign "=" and
the standard OS/2 command processor truncates the parm string at the
first "=" value in string

Same problem for some video  URLs for MPlayer


Solution:
==========

MCP properties,

entry for flash:     Gnash.cmd     "%f"


in the field argument enclose the  %f   with quotes

   %f     --->   "%f"



Now the value of the string passed as parameter form MCP to the *.cmd is
not to truncated



kind regards

Rainer








More information about the MPlayer-os2 mailing list