mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 04:57:46 +02:00
fix: save transcript and chapters files to podcasts folder
This commit is contained in:
parent
8d9bba4e9f
commit
63f49c719f
1 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ class Episode extends Entity
|
||||||
|
|
||||||
$this->attributes['transcript_file_path'] = save_media(
|
$this->attributes['transcript_file_path'] = save_media(
|
||||||
$transcriptFile,
|
$transcriptFile,
|
||||||
$this->getPodcast()
|
'podcasts/' . $this->getPodcast()
|
||||||
->name,
|
->name,
|
||||||
$this->attributes['slug'] . '-transcript',
|
$this->attributes['slug'] . '-transcript',
|
||||||
);
|
);
|
||||||
|
|
@ -248,7 +248,7 @@ class Episode extends Entity
|
||||||
|
|
||||||
$this->attributes['chapters_file_path'] = save_media(
|
$this->attributes['chapters_file_path'] = save_media(
|
||||||
$chaptersFile,
|
$chaptersFile,
|
||||||
$this->getPodcast()
|
'podcasts/' . $this->getPodcast()
|
||||||
->name,
|
->name,
|
||||||
$this->attributes['slug'] . '-chapters',
|
$this->attributes['slug'] . '-chapters',
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue