Re: I'm stuck at getting the playlists' names in python , some help ?

Petko Ditchev <[email protected]> Fri, 14 Feb 2014 17:48:28 +0200
Newsgroups gmane.comp.gnome.apps.rhythmbox.devel
Message-ID <[email protected]>
Thank you very much, that solves it !

On 02/14/2014 05:38 PM, Donagh Horgan wrote:
> Hi Petko,
>
> Try using this:
>
> pl_man = shell.props.playlist_manager
> playlist_names = [playlist.props.name <http://playlist.props.name> for 
> playlist in pl_man.get_playlists()]
>
> All the best,
> Donagh
>
>
> On Fri, Feb 14, 2014 at 2:39 PM, Petko Ditchev <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     import rb
>     import ... some other stuff
>
>     pl_man = shell.props.playlist_manager
>     pl_man.get_playlist_names()
>
>     and I get (true, ...gibberish...)
>     the second part of the result is probably a pointer to the list of
>     names but I cant figure out how to use it in python ?!
>
>     Petko
>     _______________________________________________
>     rhythmbox-devel mailing list
>     [email protected] <mailto:[email protected]>
>     https://mail.gnome.org/mailman/listinfo/rhythmbox-devel
>
>

_______________________________________________
rhythmbox-devel mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rhythmbox-devel