mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 09:49:30 +02:00
forgot commit (show lyrics)
This commit is contained in:
parent
bb0405fc9c
commit
11a5195bc5
1 changed files with 2 additions and 0 deletions
2
song.php
2
song.php
|
@ -34,6 +34,8 @@ switch ($_REQUEST['action']) {
|
|||
// does user want to display lyrics?
|
||||
$show_lyrics = Config::get('show_lyrics');
|
||||
if($show_lyrics == 1) {
|
||||
$lyric = new Artist();
|
||||
$return = scrub_out($lyric->get_song_lyrics($song->id, ucwords($song->f_artist), ucwords($song->title)));
|
||||
require_once Config::get('prefix') . '/templates/show_lyrics.inc.php';
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue