Re: I'm stuck at getting the playlists' names in python , some help ?
Donagh Horgan <[email protected]> Fri, 14 Feb 2014 15:38:36 +0000
| Newsgroups | gmane.comp.gnome.apps.rhythmbox.devel |
|---|---|
| Message-ID | <CAK1wx5t66KZgxXPaqezP08RYza_H=TowtVFFWBAasYLq4raVgw@mail.gmail.com> |
Hi Petko, Try using this: pl_man = shell.props.playlist_manager playlist_names = [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]> 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] > https://mail.gnome.org/mailman/listinfo/rhythmbox-devel > _______________________________________________ rhythmbox-devel mailing list [email protected] https://mail.gnome.org/mailman/listinfo/rhythmbox-devel