mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 01:39:28 +02:00
Add artist prefix on album art title
This commit is contained in:
parent
4dd4917ff9
commit
be38dca973
3 changed files with 9 additions and 3 deletions
|
@ -824,7 +824,8 @@ class Album extends database_object implements library_item
|
|||
}
|
||||
|
||||
if ($id !== null && $type !== null) {
|
||||
Art::display($type, $id, $this->get_fullname(), $thumb, $this->link);
|
||||
$title = '[' . ($this->f_album_artist_name ?: $this->f_artist) . '] ' . $this->f_name;
|
||||
Art::display($type, $id, $title, $thumb, $this->link);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,12 @@
|
|||
?>
|
||||
<div class="np_group" id="np_group_3">
|
||||
<div class="np_cell cel_albumart">
|
||||
<?php Art::display('album', $media->album, $media->get_fullname(), 1, AmpConfig::get('web_path') . '/albums.php?action=show&album=' . $media->album);
|
||||
<?php
|
||||
$album = new Album($media->album);
|
||||
if ($album->id) {
|
||||
$album->format();
|
||||
$album->display_art(1);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -40,7 +40,7 @@ if ($albums) {
|
|||
$thumb = 11;
|
||||
$show_play = false;
|
||||
}
|
||||
Art::display_item($album, $thumb, $album->link);
|
||||
$album->display_art($thumb);
|
||||
} else {
|
||||
?>
|
||||
<a href="<?php $album->link;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue