Skip to content

Commit

Permalink
Always add composer from track's metadata (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbevp authored Jul 31, 2021
1 parent 0234f9b commit 73fbcc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/rescan_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def process_file(location, codec, path)
role: :main,
order: 1
}]
if t_composer.present? && t_composer != t_artist
if t_composer.present?
composer = Artist.find_by(name: t_composer) || Artist.new(name: t_composer, review_comment: 'New artist')
track_artists << {
artist: composer,
Expand Down

0 comments on commit 73fbcc3

Please sign in to comment.