I used to subscribe new podcasts by calling "rhythmbox [url of podcast]", but that is no longer working due to this bug. It just opens Rhythmbox instead of opening and subscribing. (although it does pre-fill it if you happen to click "add" in the podcast section)
Is there some new way GTK3 apps are supposed to communicate with each other, or is there just no way for an app to simply tell Rhythmbox to subscribe a certain podcast?
Update: Looking at an answer here I found the following with a lot of tab key in iPython:
from gi.repository import RB
....
In [2]: RB.PodcastManager.insert_feed_url
Out[2]: gi.FunctionInfo(insert_feed_url)
In [3]: RB.PodcastManager.insert_feed_url('http://feeds.feedburner.com/NodeUp')
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-b6415d6bfb17> in <module>()
----> 1 RB.PodcastManager.insert_feed_url('http://feeds.feedburner.com/NodeUp')
TypeError: insert_feed_url() takes exactly 2 arguments (1 given)
This seems like the right API, but what are the arguments? Will it work in systems pre-GTK3?
Update Going through the Python api here, I think I almost have it:
from gi.repository import RB
mypod = RB.PodcastChannel() #Creates blank podcast object
RB.podcast_parse_load_feed(mypod, 'http://wpdevtable.com/feed/podcast/', False)
#loads mypod.url, mypod.description etc.
RB.PodcastManager.add_parsed_feed(mypod); #fails
It appears the documentation on add_parsed_feed is incorrect, and wants 2 arguments, not 1. I know internally class' functions are defined with def thing(self, firstarg)
, is this causing a problem here with Python bindings to Rhythmbox somehow? Why can I not add the parsed podcast into Rhythmbox?