mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 03:57:45 +02:00
feat(media): add s3 to manage media files
Users may choose between filesystem (FS) or S3 to store and manage their media files
This commit is contained in:
parent
9fc49a7430
commit
d93fc98469
85 changed files with 2169 additions and 977 deletions
|
|
@ -59,9 +59,7 @@ class Analytics extends BaseConfig
|
|||
*/
|
||||
public function getAudioUrl(Episode $episode, array $params): string
|
||||
{
|
||||
helper(['media', 'setting']);
|
||||
|
||||
$audioFileURI = new URI(media_base_url($episode->audio->file_path));
|
||||
$audioFileURI = new URI(service('file_manager')->getUrl($episode->audio->file_key));
|
||||
$audioFileURI->setQueryArray($params);
|
||||
|
||||
// Wrap episode url with OP3 if episode is public and OP3 is enabled on this podcast
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue