[ubuntu] How to check what mplayer is playing from other console.
Hello
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 Code:
qdbus Thx in advance. Greets, M. |
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. |
:)
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. |
All times are GMT -5. The time now is 05:38 AM. |