Backend for songs.zachdecook.com
Diffstat (limited to 'laravel/public/song.gmi.php')
| -rwxr-xr-x | laravel/public/song.gmi.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/laravel/public/song.gmi.php b/laravel/public/song.gmi.php index edf9b2a..7da3606 100755 --- a/laravel/public/song.gmi.php +++ b/laravel/public/song.gmi.php @@ -25,6 +25,8 @@ printf("30 " . Song::inRandomOrder()->first()->id . "\r\n");return; => <?= $song->id ?>?q Transpose from <?= $song->plain_key ?> +<?= $song->audio ? "=> {$song->audio} Listen to this song" : "" ?> + ```chord sheet <?= $txt = $song->textTranspose(getenv('QUERY_STRING')??'') ?> |