am 7a4d856c: Merge "Removed offensive music genre"
* commit '7a4d856c881ef48ad590d9e5a0456c94d188898a': Removed offensive music genre
This commit is contained in:
@@ -283,7 +283,7 @@ public class MediaScanner
|
||||
"Terror",
|
||||
"Indie",
|
||||
"Britpop",
|
||||
"Negerpunk",
|
||||
null,
|
||||
"Polsk Punk",
|
||||
"Beat",
|
||||
"Christian Gangsta",
|
||||
@@ -700,7 +700,7 @@ public class MediaScanner
|
||||
try {
|
||||
short genreIndex = Short.parseShort(number.toString());
|
||||
if (genreIndex >= 0) {
|
||||
if (genreIndex < ID3_GENRES.length) {
|
||||
if (genreIndex < ID3_GENRES.length && ID3_GENRES[genreIndex] != null) {
|
||||
return ID3_GENRES[genreIndex];
|
||||
} else if (genreIndex == 0xFF) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user