'."\n".json_encode($translations)."\n\n"; print '\n"; print ''."\n"; print ''."\n"; print ''."\n"; ?> '."\n"; } include ("includes/globals.php"); ?>
'; print ''; // print ''; print ''; ?>

'.get_int_text("albumart_title").'

'.get_int_text('label_loading').'
'.get_int_text("albumart_allartists").'
'; print ''; print ''; do_artists_db_style(); } ?>
'; print "
\n"; print "\n"; print '\n"; print "\n"; print "\n"; function do_artists_db_style() { $alist = get_list_of_artists(); foreach ($alist as $artist) { print ''; } } function do_covers_db_style() { global $count; global $albums_without_cover; $alist = get_list_of_artists(); foreach ($alist as $artist) { print '
'; print '
'; print '

'.$artist['Artistname'].'

'; print "
\n"; print '
'; $blist = get_list_of_albums($artist['Artistindex']); foreach ($blist as $album) { print '
'; print '
'; $class = "clickable clickicon clickalbumcover droppable"; $src = ""; if ($album['Image'] && $album['Image'] !== "") { $src = $album['Image']; } else { $class = $class . " notexist"; $albums_without_cover++; } print ''; print ''; print ''; print '
'.$album['Albumname'].'
'; print '
'; print '
'; $count++; } print "
\n"; print "
\n"; } } function do_radio_stations() { global $count; global $albums_without_cover; $playlists = get_user_radio_streams(); if (count($playlists) > 0) { print '
'; print '
'; print '

Radio Stations

'; print "
\n"; print '
'; foreach ($playlists as $file) { print '
'; print '
'; $class = ""; $src = ""; if ($file['Image']) { $src = $file['Image']; } else { $class = " notexist"; $albums_without_cover++; } print ''; print ''; print ''; $albumimage = new baseAlbumImage(array('artist' => 'STREAM', 'album' => $file['StationName'])); print ''; print '
'.htmlentities($file['StationName']).'
'; print '
'; print '
'; $count++; } print "
\n"; print "
\n"; } } function do_playlists() { global $count; global $albums_without_cover; global $PLAYER_TYPE; logger::log("PLAYLISTART", "Player type is", $PLAYER_TYPE); $player = new $PLAYER_TYPE(); $playlists = $player->get_stored_playlists(false); if (!is_array($playlists)) { $playlists = array(); } $plfiles = glob('prefs/userplaylists/*'); foreach ($plfiles as $f) { $playlists[] = basename($f); } print '
'; print '
'; print '

Saved Playlists

'; print "
\n"; print '
'; sort($playlists, SORT_STRING); foreach ($playlists as $pl) { logger::log("PLAYLISTART", "Playlist",$pl); print '
'; print '
'; $class = ""; $albumimage = new baseAlbumImage(array('artist' => 'PLAYLIST', 'album' => $pl)); $src = $albumimage->get_image_if_exists(); if ($src === null) { $class = " plimage notfound"; $src = ''; $albums_without_cover++; } $plsearch = preg_replace('/ \(by .*?\)$/', '', $pl); print ''; print ''; print ''; print ''; print '
'.htmlentities($pl).'
'; print '
'; print '
'; $count++; } print "
\n"; print "
\n"; } ?>