1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 02:39:47 +02:00

Add browse filter and light sidebar options

Add overload to force library item art display
This commit is contained in:
Afterster 2016-02-29 22:51:42 +01:00
parent 5f3d59ed74
commit 0630676eb6
26 changed files with 163 additions and 136 deletions

View file

@ -165,9 +165,9 @@ class Live_Stream extends database_object implements media, library_item
return null;
}
public function display_art($thumb = 2)
public function display_art($thumb = 2, $force = false)
{
if (Art::has_db($this->id, 'live_stream')) {
if (Art::has_db($this->id, 'live_stream') || $force) {
Art::display('live_stream', $this->id, $this->get_fullname(), $thumb, $this->link);
}
}