Re: [Rhythmbox-devel] determine the active Playlist
- From: Jonathan Matthew <jonathan d14n org>
- To: wistful tut by
- Cc: rhythmbox-devel gnome org
- Subject: Re: [Rhythmbox-devel] determine the active Playlist
- Date: Sun, 23 May 2010 23:14:42 +1000
On Mon, May 17, 2010 at 3:02 PM, subscribe-life tut by <wistful tut by> wrote:
> Hi!
> I know python and want to write a rhytmbox plugin.
> I know how to choose a list of playlists but can not determine the active.
>
> How to determine the name of the active Playlist ?
You can get the playing source by calling the get_playing_source()
method of the RBShellPlayer object. In the python console, for
example:
>>> shell.props.shell_player.get_playing_source().props.name
'Music'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]