Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have built a media center tv system which uses mplayer to play both music and video. I have been meaning to build a LIRC adaptor for it so ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4

    Smile accessing running process


    Hi,

    I have built a media center tv system which uses mplayer to play both music and video. I have been meaning to build a LIRC adaptor for it so I can use a remote control, but in the meantime I have been using my laptop to control it. If I want to pause a movie I have to vnc in to the media center to do it.

    What I was wondering was if there was a way to use ssh and access an already running process such as Mplayer to pause, play, etc.. from the command line.

    Hope someone can help

  2. #2
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    Not in general (that I know of), but some applications allow you to control already-running processes (for instance, "audacious -e" enqueues a song into an existing process of audacious).

    I believe that there is some sort of MPlayer Remote that does something similar for mplayer. Try to see what you can find.

  3. #3
    Just Joined!
    Join Date
    Mar 2008
    Posts
    4
    Thanks for the response, after some more googling it looks like you can setup mPlayer with a named pipe, which allows you to then send commands to it.

    Thanks for the help.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •