Skip to content

Commit

Permalink
Merge pull request #996 from rern/UPDATE
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
rern authored Aug 28, 2022
2 parents 9c1e308 + 24d571b commit df23552
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions srv/http/mpdlibrary.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,15 @@ function htmlFind( $lists, $f ) { // non-file 'find' command
$val1 = $each->$key1;
$name = $date_genre ? $val1.'<gr> • </gr>'.$val0 : $val0.'<gr> • </gr>'.$val1;
} else {
$val0 = $each->$f[ 0 ];
$key0 = $f[ 0 ];
$val0 = $each->$key0;
$val1 = '';
$name = $val0;
}
$index = strtoupper( mb_substr( $each->sort, 0, 1, 'UTF-8' ) );
$indexes[] = $index;
if ( !$val0 && !$val1 ) continue;

$index = strtoupper( mb_substr( $each->sort, 0, 1, 'UTF-8' ) );
$indexes[] = $index;
if ( property_exists( $each, 'path' ) ) { // cue //////////////////////////
$path = $each->path;
$datamode = $mode;
Expand Down

0 comments on commit df23552

Please sign in to comment.