Closed internetztube closed 4 years ago
The config now has the option for volumes. To enable the volumes option, just pass an array with the options instead of the alias-string.
e.g:
'transcoderPaths' => [ 'default' => [ 'volume' => 'transcoder', 'folder' => '/', ], 'video' => [ 'volume' => 'transcoder', 'folder' => 'videos/', ], 'audio' => [ 'volume' => 'transcoder', 'folder' => 'audio/', ], 'thumbnail' => [ 'volume' => 'transcoder', 'folder' => 'thumbnail/', ], 'gif' => [ 'volume' => 'videos', 'folder' => 'gif/', ] ],
A detailed code review is highly appreciated.
I think the way it makes sense to handle this is via a Field type
The config now has the option for volumes. To enable the volumes option, just pass an array with the options instead of the alias-string.
e.g: