Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-01-2005, 04:03 AM   #1
Registered: Jan 2005
Distribution: Fedora 5, Debian
Posts: 56

Rep: Reputation: 15
Web page control for Mplayer?

Does anyone know of a plugin or similar that you can use in conjunction with mplayer on a remote machine to control a playlist?

Failing that does anyone know of any software that does this sort of thing?

I've got an old PC that I've set up as a media centre and want to be able to access it easily remotely via windows and linux machines... I figured the easiest way would be a web page. I currently use SSH but I can't control an already running instance of mlpayer.
Old 03-01-2005, 06:43 AM   #2
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
You should look at streamtuner . It will do what you want, though perhaps not the way you want.
Old 03-01-2005, 07:23 AM   #3
Registered: Jan 2005
Distribution: Fedora 5, Debian
Posts: 56

Original Poster
Rep: Reputation: 15
Doesn't seem to.. I need to be able to play the files on the remote PC from any other PC?
Old 03-01-2005, 08:59 AM   #4
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
I am interested in this as well. Currently, I log into the remote sever via ssh with the -Y flag and open the app. This works well on linux, but I had to install Cygwin with the X-server to make this work with Windows. It would be real nice to just open a browser and start playing tunes remotely. Let us know if youfind anything. Thanks.

I do remember there being a jukebox type app out there. the name escapes me.
Old 03-01-2005, 09:39 AM   #5
Senior Member
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,072

Rep: Reputation: 59
What about VNC?
Old 03-01-2005, 09:51 AM   #6
Registered: Jan 2005
Distribution: Fedora 5, Debian
Posts: 56

Original Poster
Rep: Reputation: 15
That would mean you'd only be able to control it remotely and not locally then!
Old 10-06-2005, 11:46 AM   #7
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
maybe you solved it but, in case it's useful for someone...
What I do is to use the slave mode of mplayer.
Do this:
mkfifo /tmp/mplayer_cmd
cat /tmp/mplayer_cmd | mplayer -slave some_file.ogm
Now you send commands to mplayer through "/tmp/mplayer_cmd", so you can access remotely and just do
echo pause > /tmp/mplayer_cmd
to pause the movie. For more commands see the documentation. Somewhere there you'll have a "slave.txt" file (or click here).
I know it's not exactly what you intended, but it's fairly close...
Old 11-01-2005, 05:47 AM   #8
LQ Newbie
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
nice trick, exactly what i'm looking for ...

but why the first works :
echo pause > /tmp/mplayer_cmd

and a second does nothing, blocking the process:
echo pause > /tmp/mplayer_cmd

any ideas ?
Old 05-10-2006, 04:54 AM   #9
Registered: Jun 2004
Distribution: Slack
Posts: 214

Rep: Reputation: 30
Did you ever solve the problem with the second pause command and I'm having the same issue? I think it's something to do with the fifo pipe getting blocked, but I can't work out how to fix it?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant make web server run my local web page... Nik0s Linux - Newbie 22 10-08-2006 11:30 PM
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 01:41 AM
PHP : Online quiz cache control and page expiration devansh LQ Suggestions & Feedback 1 09-17-2004 02:37 PM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 06:16 PM
Jerky mouse when web browsers download web page stodge Linux - Software 1 07-08-2003 11:29 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration