Expose episode title and podcast title in GPodderPlayback

This commit is contained in:
Thomas Perl 2014-02-03 20:51:19 +01:00
parent 3b53c3c557
commit 3e45909551
2 changed files with 6 additions and 0 deletions

View file

@ -267,6 +267,8 @@ class gPotherSide:
self.core.save()
pyotherside.send('is-new-changed', episode_id, episode.is_new)
return {
'title': episode.title,
'podcast_title': episode.parent.title,
'source': episode.local_filename(False)
if episode.state == gpodder.STATE_DOWNLOADED
else episode.url,