feat: support podcast:txt tag with verify use case

closes #468
This commit is contained in:
Guy Martin (Dwev) 2024-04-24 10:03:20 +00:00 committed by Yassine Doghri
commit 57e459e187
7 changed files with 87 additions and 19 deletions

View file

@ -224,6 +224,7 @@ class PodcastController extends BaseController
'location' => $this->request->getPost('location_name') === '' ? null : new Location(
$this->request->getPost('location_name')
),
'verify_txt' => $this->request->getPost('verify_txt'),
'custom_rss_string' => $this->request->getPost('custom_rss'),
'is_blocked' => $this->request->getPost('block') === 'yes',
'is_completed' => $this->request->getPost('complete') === 'yes',
@ -320,6 +321,9 @@ class PodcastController extends BaseController
$this->podcast->location = $this->request->getPost('location_name') === '' ? null : new Location(
$this->request->getPost('location_name')
);
$this->podcast->verify_txt = $this->request->getPost('verify_txt') === '' ? null : $this->request->getPost(
'verify_txt'
);
$this->podcast->custom_rss_string = $this->request->getPost('custom_rss');
$this->podcast->new_feed_url = $this->request->getPost('new_feed_url') === '' ? null : $this->request->getPost(
'new_feed_url'