Added sorting for Quick Selections

This commit is contained in:
maniacikarus
2009-01-19 22:31:09 +01:00
parent 305e18807a
commit f7d548951a
2 changed files with 5 additions and 5 deletions

View File

@@ -367,7 +367,7 @@ print <<END
END
;
foreach ($mpd->collection->all_artists()){
foreach (sort($mpd->collection->all_artists())){
if ( $_ ne '' ){
print "<option>".encode('utf-8', $_)."</option>\n";
}
@@ -384,7 +384,7 @@ print <<END
END
;
foreach ($mpd->collection->all_albums()){
foreach (sort($mpd->collection->all_albums())){
if ( $_ ne '' ){
print "<option>".encode('utf-8', $_)."</option>\n";
}
@@ -403,7 +403,7 @@ print <<END
END
;
foreach ($mpd->collection->all_years()){
foreach (sort($mpd->collection->all_years())){
if ( $_ ne '' ){
print "<option>$_</option>\n";
}
@@ -420,7 +420,7 @@ print <<END
END
;
foreach ($mpd->collection->all_genre()){
foreach (sort($mpd->collection->all_genre())){
if ( $_ ne '' ){
print "<option>$_</option>\n";
}

View File

@@ -30,7 +30,7 @@ THISAPP = mpfire-$(VER)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = mpfire
PAK_VER = 5
PAK_VER = 6
DEPS = "mpd mpc alsa libshout libogg libmad libid3tag libvorbis"