mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
feat: add premium podcasts to manage subscriptions for premium episodes
closes #193
This commit is contained in:
parent
b6114d3d93
commit
3234500e2d
101 changed files with 2572 additions and 110 deletions
|
|
@ -288,6 +288,14 @@ class SettingsController extends BaseController
|
|||
cache()->clean();
|
||||
}
|
||||
|
||||
if ($this->request->getPost('rename_episodes_files') === 'yes') {
|
||||
$allAudio = (new MediaModel('audio'))->getAllOfType();
|
||||
|
||||
foreach ($allAudio as $audio) {
|
||||
$audio->rename();
|
||||
}
|
||||
}
|
||||
|
||||
return redirect('settings-general')->with('message', lang('Settings.housekeeping.runSuccess'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue