This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

Interface a 3rd party script with SMPlayer and/or mplayer

Problems, bugs, suggestions... anything related to SMPlayer.

Interface a 3rd party script with SMPlayer and/or mplayer

Postby yann.p » Thu Sep 09, 2010 10:31 am

Hello,

I have a small DIY LCD screen with some buttons connected to my serial port and I would like to control mplayer and display some information on the LCD.

To send command to mplayer I've added the following argument "-input file=/tmp/fifo" in SMPlayer configuration. Then my script writes commands to the named pipe and it's working fine.

My problem is to get information from mplayer. If I send "get_time_pos" for example, the value is printed on mplayer's stdout. But I cannot read it as mplayer is run through SMPlayer.

Do you have any idea? Maybe I can interface my script directly with SMPlayer but I could not find any documentation on how to do so.

Regards,
Yann.
yann.p
 
Posts: 1
Joined: Thu Sep 09, 2010 10:11 am

Return to General

Who is online

Users browsing this forum: No registered users and 35 guests