Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def analyzeResult
variousArtists = true
end
end
@md.artist = @md.artist[0..-4]
@md.artist = @md.artist[0..-4] if @md.artist.end_with?(' / ')
if @musicbrainzRelease.elements['title'] and @musicbrainzRelease.elements['title'].text
@md.album = @musicbrainzRelease.elements['title'].text
end
Expand Down Expand Up @@ -164,7 +164,7 @@ def analyzeResult
# ' / ' is default separator
artist << (credit.attributes['joinphrase'] || ' / ')
end
artist = artist[0..-4]
artist = artist[0..-4] if artist.end_with?(' / ')
varArtist[track.elements['position'].text.to_i] = artist
end
# extraDiscInfo => [Depends. What do you want?]
Expand Down