mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 23:09:18 +02:00
fix(import): save media files during podcast import + set missing media fields
This commit is contained in:
parent
58e2a00a87
commit
a9989d841a
8 changed files with 48 additions and 20 deletions
|
|
@ -345,7 +345,7 @@ class PodcastImportController extends BaseController
|
|||
'title' => $item->title,
|
||||
'slug' => $slug,
|
||||
'guid' => $item->guid ?? null,
|
||||
'audio_file' => download_file(
|
||||
'audio' => download_file(
|
||||
(string) $item->enclosure->attributes()['url'],
|
||||
(string) $item->enclosure->attributes()['type']
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue