Commit e97d066d authored by Edward Wang's avatar Edward Wang
Browse files

Genres in vlc-android should be case insensitive

parent 70c0c687
......@@ -256,7 +256,10 @@ public class Media implements Comparable<Media> {
public String getGenre() {
return mGenre;
if(mGenre == VLCApplication.getAppContext().getString(R.string.unknown_genre))
return mGenre;
else /* Make genres case insensitive via normalisation */
return Character.toUpperCase(mGenre.charAt(0)) + mGenre.substring(1).toLowerCase();
public String getCopyright() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment