Removed offensive music genre

The genre is a bad joke, not a real thing.

See http://en.wikipedia.org/wiki/Negerpunk

Change-Id: I073c89e286ef4b8f9d678e1b137c657b26066099
This commit is contained in:
Johan Redestig
2012-08-29 12:16:30 +02:00
parent 0dab1a198e
commit c3ea477e21

View File

@@ -283,7 +283,7 @@ public class MediaScanner
"Terror",
"Indie",
"Britpop",
"Negerpunk",
null,
"Polsk Punk",
"Beat",
"Christian Gangsta",
@@ -683,7 +683,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;