Expose episode title and podcast title in GPodderPlayback
This commit is contained in:
parent
3b53c3c557
commit
3e45909551
2 changed files with 6 additions and 0 deletions
2
main.py
2
main.py
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue