add podcast and section EQL variables for use with SsRr functions
(s('...', podcast)) (s('...', section))
This commit is contained in:
parent
d2db5b001c
commit
d8320aa204
|
@ -117,6 +117,10 @@ class Matcher(object):
|
|||
return episode.total_time / 60
|
||||
elif k in ('remaining', 'rem'):
|
||||
return (episode.total_time - episode.current_position) / 60
|
||||
elif k == 'podcast':
|
||||
return episode.channel.title
|
||||
elif k == 'section':
|
||||
return episode.channel.section
|
||||
|
||||
raise KeyError(k)
|
||||
|
||||
|
|
Loading…
Reference in New Issue