Questions tagged [rhythmbox]

For issues relating to the Rhythmbox music player for GNOME.

Rhythmbox is a music playing application for . Most new self-contained features, such as integration with web services and support for hardware devices, are added to Rhythmbox as plugins. Plugins can be written in C, Python, or Vala.

Resources:

32 questions
6
votes
1 answer

How to continuously monitor rhythmbox for track change using bash

I'd like to do the same thing as is described here, but using shell scripting (preferably in bash) instead of python. It seems like such a thing should be possible using dbus-monitor, but I'm not very familiar with dbus, and it's not clear to me how…
jbeard4
  • 12,664
  • 4
  • 57
  • 67
5
votes
1 answer

how to display an accelerator for a Gio.MenuItem

I'm trying to display the shortcut key accelerator for a Gio.Menuitem As you can see, the RandomAlbum menu item does not have an accelerator displayed - however, I have added added the accelerator and connected it to the Gio.MenuItem successfully…
fossfreedom
  • 2,903
  • 2
  • 19
  • 40
5
votes
2 answers

How can I set the rating of a song playing in Rhythmbox 2.96?

I am trying to create a Python plugin which will set the rating of the currently playing song in Rhythmbox 2.96. It appears that Rhythmbox 2.96 doesn't let you use the API (Python modules) to set the rating of a song anymore; player related actions…
Mendhak
  • 8,194
  • 5
  • 47
  • 64
4
votes
2 answers

Check if Rhythmbox is running via Python

I am trying to extract information from Rhythmbox via dbus, but I only want to do so, if Rhythmbox is running. Is there a way to check if Rhythmbox is running via Python without starting it if it is not running? Whenever I invoke the dbus code like…
cschol
  • 12,799
  • 11
  • 66
  • 80
4
votes
0 answers

gtk_css_value_inherit_free: code should not be reached

I making one plugin with Python for Rhythmbox. I get an randomly error when start the plugin. Then of some seconds I reset Rhythmbox and the plugin run ok. What will the cases that probably originy the…
alditis
  • 4,633
  • 3
  • 49
  • 76
4
votes
4 answers

How to continuously monitor rhythmbox for track change using python

I want to monitor the change of track in Rhythmbox using python. I want to continuously check for change of track and execute a set of functions if the track is changed. I have written a piece of code which gets hold of the Rhythmbox interfaces from…
Mane
  • 41
  • 1
  • 2
4
votes
2 answers

Rhythmbox plugin to access podcast files doesn't see them

I am writing a Rhythmbox plugin to iterate over all podcast files currently known to Rhythmbox (whether downloaded or not) and to do something with them. After some research and testing in the Rhythmbox's Python Shell, I succeeded to get a list of…
eumiro
  • 207,213
  • 34
  • 299
  • 261
4
votes
2 answers

How to continuously monitor rhythmbox for track change using python revisited

Running the following Python code from this SO answer #!/usr/bin/python import dbus import dbus.mainloop.glib import glib # This gets called whenever Rhythmbox sends the playingUriChanged signal def playing_song_changed (uri): global shell …
My other car is a cadr
  • 1,429
  • 1
  • 13
  • 21
4
votes
3 answers

How do I get the currently playing song in Rhythmbox using Python

Im using Ubuntu 12.04. I want to access Rhythymbox using Python . This is how I've proceeded so far: Ive gone through this site https://live.gnome.org/RhythmboxPlugins/WritingGuide , but it gives details on how to write plugins , which Im not…
Manoj
  • 961
  • 4
  • 11
  • 37
3
votes
1 answer

How to list all artists in a rhythmbox plugin

I'm trying to list all artists in the rhythmbox database from within a rhythmbox python plugin. The only solution I have found is to make the UI select all artists and all songs, loop through every song and add that song's artist name to a set. The…
3
votes
0 answers

Rhythmbox and Android - MTP sync issue

I found problem in syncronizing Rhythmbox and my Android 4 phone. I think that there is a problem with the MTP protocol or with Rhythmbox core. Rhythmbox crashes during Sync! Any suggestion? Detailed info: Rhythmbox: v2.99.1 OS: Ubuntu…
Teodoro
  • 33
  • 7
2
votes
1 answer

Rhythmbox: how do I access the 'rating' field of a track through Python script?

I would like the capability to get/set the rating associated with a specific track through a Python. How do I achieve this?
jldupont
  • 93,734
  • 56
  • 203
  • 318
2
votes
2 answers

How do I invoke Twisted from a plugin to a GTK program that is already running the main loop?

I wrote a Rhythmbox plugin and I'm trying to add some code to download some JSON asynchronously. Callbacks are registered in the do_activate function: def do_activate(self): shell = self.object sp = shell.props.shell_player self.db =…
noisecapella
  • 814
  • 7
  • 17
1
vote
2 answers

Rhythmbox - Get current track path

Is there a way to programmatically get the full path of the currently played track in rhythmbox (or even any music player on linux)? It could be a linux command or in python. I need this to sort my new music albums with shortcuts (i.e., delete or…
Zach
  • 600
  • 5
  • 16
1
vote
2 answers

how to force linking on linux libgpod and rhythmbox

Ok, I've added some functionality to a linux library. However even after 'make install' the program I'm trying to confirm functionality is linking to the previous version. So 'make install' puts my libraries…
Gary
  • 2,241
  • 3
  • 19
  • 21
1
2 3