You are not logged in.
I would like to play a movie on my desktop and control it from my laptop since my bed is far from my bed/speakers/hard drive.
I use ncmpcpp via "ssh -X" to control mpd (I like watching ncmpcpp and alsamixer react almost instantly on my desktop)...so I would believe it if someone told me it's possible. However, mpd is hardly similar to mplayer, so I'm not optimistic.
Possible w/o buying a remote?
Last edited by pw_f100_220 (2010-04-08 04:35:21)
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
mkfifo and rejoice.
//blue/0/~/ grep fifo .mplayer/config
# input fifo: mplayer will accept commands
# echo'd into a fifo
input = file=/home/patrick/.mplayer_fifo
//blue/0/~/ echo pause > .mplayer_fifo
.
//github/
Offline
A remote / cordless mouse / kbd would be easier ;P
Edit: Back in the day we didn't even have remotes for an ordinary TV and just 20 years later - look ...
Last edited by karol (2010-04-06 02:01:42)
Offline
You only cite mplayer but dont say what player you use, I'm gonna assume that you use mplayer
Yes it is possible to control mplayer via ssh, read the mplayer man, look for the input option, using the file= you can use a fifo to pass mplayer commands
Read the documentation for more info
EDIT: brisbin33 beat me
Last edited by kazuo (2010-04-06 02:06:20)
Offline
A bit offtopic... but with vlc you can set up a web interface, and granted you have the same file on two computers located anywhere, you can watch the same movie at the same time.
Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw
Offline
Easy.
Through SSH:
export DISPLAY=":0"
mplayer ---
Offline
haven't gotten around to trying mkfifo, but codl's solution works exactly as I want! Quick and clean!
(Mplayer is what I use, typically from terminal)
Thanks everyone!
Sometimes I just want people to expect me to do what I would do instead of what most people would do.
Offline
For those that end up here, there is a new Android project that uses an SSH connection to control MPlayer. The " export DISPLAY=":0" " is handled directly by the app. If anyone is interested it can be downloaded here:
Offline
Easy.
Through SSH:export DISPLAY=":0" mplayer ---
This suits my needs too. Simple and to the point, thanks.
(sorry for bumping an old thread)
Last edited by corstar (2011-01-15 02:42:07)
Offline