mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-02 02:13:33 +00:00
Removed featuring artists from the artist's name of downloaded item
This commit is contained in:
parent
ed4dc9fb63
commit
6e715d58a3
3 changed files with 25 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue