mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
cf27ed713d
Koel can now integrate and use the rich information from Last.fm. Now whenever a song is played, its album and artist information will be queried from Last.fm and cached for later use. What's better, if an album has no cover, Koel will try to update its cover if one is found on Last.fm. In order to use this feature, users only need to provide valid Last.fm API credentials (namely LASTFM_API_KEY and LASTFM_API_SECRET) in .env. A npm and gulp rebuild is also required - just like with every update.
38 lines
951 B
Text
38 lines
951 B
Text
APP_ENV=local
|
|
APP_DEBUG=true
|
|
APP_KEY=SomeRandomString
|
|
|
|
# Username and password for the initial admin account
|
|
# This info will be populated into the database during `php artisan db:seed`
|
|
# After that, it can (and should) be removed from this .env file
|
|
ADMIN_EMAIL=
|
|
ADMIN_NAME=
|
|
ADMIN_PASSWORD=
|
|
|
|
# The maximum scan time, in seconds. Increase this if you have a huge library.
|
|
APP_MAX_SCAN_TIME=600
|
|
|
|
# The streaming method.
|
|
# Can be either 'php' (default), 'x-sendfile', or 'x-accel-redirect'
|
|
# See https://github.com/phanan/koel/wiki#streaming-music for more information.
|
|
STREAMING_METHOD=php
|
|
|
|
# If you want Koel to integrate with Last.fm, set the API details here.
|
|
LASTFM_API_KEY=
|
|
LASTFM_API_SECRET=
|
|
|
|
DB_HOST=localhost
|
|
DB_DATABASE=homestead
|
|
DB_USERNAME=homestead
|
|
DB_PASSWORD=secret
|
|
|
|
CACHE_DRIVER=file
|
|
SESSION_DRIVER=file
|
|
QUEUE_DRIVER=sync
|
|
|
|
MAIL_DRIVER=smtp
|
|
MAIL_HOST=mailtrap.io
|
|
MAIL_PORT=2525
|
|
MAIL_USERNAME=null
|
|
MAIL_PASSWORD=null
|
|
MAIL_ENCRYPTION=null
|