Review your favorite Linux distribution.
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 09-30-2009, 02:53 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Question [ubuntu] How to check what mplayer is playing from other console.


I have a simple one question.
How can I check what mplayer is playing ( artist, title, album, year, comment, etc. ) from other console.
I want to use it in conky config 'coz I am using mplayer to listen music at most, so its important to me.

Can I do it with d-bus ?? I read those info from amarok by

Hope u will help me.
Thx in advance.
Greets, M.
Old 09-30-2009, 03:34 AM   #2
Registered: Feb 2004
Location: Sydney - Australia
Distribution: Ubuntu, OpenSUSE, Mythbuntu, Embedded Linux
Posts: 46

Rep: Reputation: 18
If I understand what your asking for:

Quickest way (at the CLI level) is to do a "pstree" or "ps aux|grep mplayer" to see if the process is working and then even "fuser -vum /dev/dvd" to see if any process has hold of the DVD. - of course after ssh'ing into the other remote machine your interested in. Alternatively, read the doco, sometimes mplayer may use a specific port for status things (a lot like mythtv does) where you maybe able to get the information you seek.

Hope this assists you.
Cheers WP.
Old 09-30-2009, 06:18 AM   #3
LQ Newbie
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0

Almost ...

Simply - I start *.mp3 on mplayer at the console number 1 and it keeps playing. Then I open console number 2 and then I check with command(s) what mplayer in console number one is playing. The result I am interested in are tags ( would be the best ) or just file name.

Greets, M.


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
MPlayer not playing anything rangalo Debian 14 01-16-2007 06:53 AM
ubuntu 5.10 x86_64: mplayer/xine/... stop playing video after a couple of frames Tinkster Ubuntu 2 01-10-2006 01:13 PM
mplayer not playing films in console Sastian Linux - Newbie 4 09-27-2003 02:11 AM
Playing DVD's in Mplayer flamesrock Linux - Software 3 09-15-2003 06:06 PM
MPlayer halts while playing SmokinTux Linux - Software 4 09-15-2003 02:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:06 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