mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +00:00
Always save contributing_artist_id for S3 put
This commit is contained in:
parent
40deeb9f8b
commit
a123243658
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class SongController extends Controller
|
|||
$song = Song::updateOrCreate(['id' => Media::getHash($path)], [
|
||||
'path' => $path,
|
||||
'album_id' => $album->id,
|
||||
'contributing_artist_id' => $compilation ? $artist->id : null,
|
||||
'contributing_artist_id' => $artist->id,
|
||||
'title' => trim(array_get($tags, 'title', '')),
|
||||
'length' => array_get($tags, 'duration', 0),
|
||||
'track' => (int) array_get($tags, 'track'),
|
||||
|
|
Loading…
Reference in a new issue