Hi there,
But I can't find a way to get a reference to the currently selected playlist item.
I did get the reference to the playlist header item as:
display_page_model = shell.props.display_page_model.props.child_model
Here
I see AutoPlaylistSource, StaticPlaylistSource objects which seems to
be not iterable. I think I'd need to get an array of playback URIs of
songs in the selected playlist.
I'm quite new to Gtk and think this as an great opportunity for me learn and contribute. Any help is highly appreciated!
Code: https://github.com/reversiblean/export-playlist/blob/master/export-playlist.py
Thanks,
Gayan