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

How Smplayer gets status of running video from Mplayer?

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

How Smplayer gets status of running video from Mplayer?

Postby srikanth » Mon Dec 02, 2013 1:49 pm

Hi everyone,
I am trying implement a webinterface for a commandline only player (Omxplayer for Raspberry pi). For this i need to share the current status of video plying of Omxplayer like Seek, Volume level, subtitles enable\disable status, Mute, pause etc. But i dont know how i can capture this information for sharing with mobile client. Same kind of implementation is done in Smplayer (which is a front-end for Mplayer, a CLI only player) so i downloaded the smplayer0.8.6 code and started looking into it but i could not find how this information if given to the frontend of the smplayer from mplayer backgroung process. Can anyone tell me how this is implemented in smplayer and where to look exactly in the smplayer0.8.6 code.

Thanks,
Srikanth
India
srikanth
 
Posts: 2
Joined: Mon Dec 02, 2013 1:35 pm

Re: How Smplayer gets status of running video from Mplayer?

Postby rvm » Tue Dec 03, 2013 4:22 am

SMPlayer gets the info from mplayer reading its output messages.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: How Smplayer gets status of running video from Mplayer?

Postby srikanth » Tue Dec 10, 2013 10:41 am

Thanks for the reply.
srikanth
 
Posts: 2
Joined: Mon Dec 02, 2013 1:35 pm


Return to General

Who is online

Users browsing this forum: No registered users and 21 guests