2016-08-21 15:19:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Admin Credentials
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| When running `php artisan koel:init` the admin is set using the .env
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'admin' => [
|
|
|
|
'name' => env('ADMIN_NAME'),
|
|
|
|
'email' => env('ADMIN_EMAIL'),
|
|
|
|
'password' => env('ADMIN_PASSWORD'),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Sync Options
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| A timeout is set when using the browser to scan the folder path
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'sync' => [
|
|
|
|
'timeout' => env('APP_MAX_SCAN_TIME', 600),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Streaming Configurations
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Many streaming options can be set, including, 'bitrate' with 128 set
|
|
|
|
| as the default, 'method' with php as the default and 'transcoding'
|
|
|
|
| to configure the path for FFMPEG to transcode FLAC audio files
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'streaming' => [
|
|
|
|
'bitrate' => env('OUTPUT_BIT_RATE', 128),
|
|
|
|
'method' => env('STREAMING_METHOD'),
|
|
|
|
'transcoding' => env('FFMPEG_PATH', '/usr/local/bin/ffmpeg'),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Youtube Integration
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Youtube integration requires an youtube API key, see wiki for more
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'youtube' => [
|
|
|
|
'key' => env('YOUTUBE_API_KEY'),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Last.FM Integration
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| See wiki on how to integrate with Last.FM
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'lastfm' => [
|
|
|
|
'key' => env('LASTFM_API_KEY'),
|
|
|
|
'secret' => env('LASTFM_API_SECRET'),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| CDN
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'cdn' => [
|
|
|
|
'url' => env('CDN_URL'),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Downloading Music
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Koel provides the ability to prohibit or allow [default] downloading music
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'download' => [
|
|
|
|
'allow' => env('ALLOW_DOWNLOAD', true),
|
|
|
|
],
|
|
|
|
|
2016-09-17 15:56:58 +00:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Ignore Dot Files
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Ignore dot files and folders when scanning for media files.
|
|
|
|
|
|
|
|
|
*/
|
2016-09-19 02:08:50 +00:00
|
|
|
'ignore_dot_files' => env('IGNORE_DOT_FILES', true),
|
2016-09-17 15:56:58 +00:00
|
|
|
|
2016-12-11 13:08:30 +00:00
|
|
|
'itunes' => [
|
|
|
|
'enabled' => env('USE_ITUNES', true),
|
|
|
|
'affiliate_id' => '1000lsGu',
|
2016-12-11 13:08:50 +00:00
|
|
|
],
|
2016-12-11 13:08:30 +00:00
|
|
|
|
2016-08-21 15:19:03 +00:00
|
|
|
];
|