Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-18-2012, 02:44 PM   #1
LQ Newbie
Registered: Nov 2012
Posts: 15

Rep: Reputation: Disabled
Query Play Status in Rhythmbox

I was just wondering if anyone knew how to query the play status in rhythmbox from either the terminal, or through rhythmbox's python terminal (so I could write a python script to query the play status).

for the record, I'm looking for if a song is paused, playing, or stopped.

rhythmbox-client doesn't seem to have an option for play status
rhythmbox-client --print-playing-format
Python Console:
And although I am unfamiliar with Python, I think the following is a subroutine, so it won't give me access to if a song is playing, it just reports back "True" if the play/pause action is completed successfully.

I'm trying to report information to my xmobar. I have a status bar for volume, and I am using UTF-8 characters for my rhythmbox status. Currently it keeps track of my multimedia button pushes - but it would be nice if changes while rhythmbox was open would automatically be pushed to my xmobar.

Last edited by kaivai; 12-18-2012 at 02:46 PM.


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
LXer: Play the Guitar with Rhythmbox LXer Syndicated Linux News 0 08-19-2012 08:12 PM
Rhythmbox can't play music CD satimis Debian 1 04-02-2009 11:21 PM
Why don't mp3's play in rhythmbox? tom_oa731 Fedora 11 10-30-2006 01:39 PM
Can't play MP3s with Amarok or RhythmBox raccoonone Ubuntu 5 09-15-2006 02:31 PM
Rhythmbox locks up when I try to play any song irwinr Linux - Software 7 12-29-2004 11:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration