From eb02ddd9d5aa6d3c7072925b67a273b147ad3aa3 Mon Sep 17 00:00:00 2001 From: auouymous Date: Wed, 25 Jan 2023 16:30:47 -0700 Subject: [PATCH] Add 'url', 'link' and 'filename' EQL nouns. --- src/gpodder/query.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gpodder/query.py b/src/gpodder/query.py index 1ce5e044..8ebbb1f8 100644 --- a/src/gpodder/query.py +++ b/src/gpodder/query.py @@ -121,6 +121,12 @@ class Matcher(object): return episode.channel.title elif k == 'section': return episode.channel.section + elif k == 'url': + return episode.url + elif k == 'link': + return episode.link + elif k == 'filename': + return episode.download_filename raise KeyError(k) -- 2.11.4.GIT