Various artists is working
This commit is contained in:
parent
2ed5e236da
commit
6747af076f
3 changed files with 31 additions and 5 deletions
|
@ -299,6 +299,13 @@ object MusicUtil : KoinComponent {
|
|||
return tempName == "unknown" || tempName == "<unknown>"
|
||||
}
|
||||
|
||||
fun isVariousArtists(artistName: String): Boolean {
|
||||
if (artistName == Artist.VARIOUS_ARTISTS_DISPLAY_NAME) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
fun isFavorite(context: Context, song: Song): Boolean {
|
||||
return PlaylistsUtil
|
||||
.doPlaylistContains(context, getFavoritesPlaylist(context).id, song.id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue