Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for volumes. #20

Closed
wants to merge 2 commits into from
Closed

Conversation

internetztube
Copy link

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/',
    ]
],

@internetztube
Copy link
Author

A detailed code review is highly appreciated.

@khalwat
Copy link
Contributor

khalwat commented Nov 9, 2019

I think the way it makes sense to handle this is via a Field type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants