mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-01-31 06:42:06 +00:00
Removed featuring artists from the artist's name of downloaded item
This commit is contained in:
@@ -6,6 +6,7 @@ import androidx.room.Entity;
|
||||
import androidx.room.PrimaryKey;
|
||||
|
||||
import com.cappielloantonio.play.App;
|
||||
import com.cappielloantonio.play.util.MusicUtil;
|
||||
import com.cappielloantonio.play.util.PreferenceUtil;
|
||||
|
||||
@Entity(tableName = "download")
|
||||
@@ -57,7 +58,7 @@ public class Download {
|
||||
this.albumId = song.getAlbumId();
|
||||
this.albumName = song.getAlbumName();
|
||||
this.artistId = song.getArtistId();
|
||||
this.artistName = song.getArtistName();
|
||||
this.artistName = MusicUtil.normalizedArtistName(song.getArtistName());
|
||||
this.primary = song.getPrimary();
|
||||
this.duration = song.getDuration();
|
||||
this.server = PreferenceUtil.getInstance(App.getInstance()).getServerId();
|
||||
|
||||
Reference in New Issue
Block a user