mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: listen setlist as youtube playlist
This commit is contained in:
parent
09b7b0bc10
commit
1b792eecfb
8 changed files with 65 additions and 5 deletions
|
|
@ -57,7 +57,8 @@ async function findById(id) {
|
|||
|
||||
async function findSongs(setlistId) {
|
||||
const { rows } = await pool.query(
|
||||
`SELECT ss.id, ss.setlist_id, ss.song_id, s.title, s.artist, ss.position, ss.note, ss.is_encore
|
||||
`SELECT ss.id, ss.setlist_id, ss.song_id, s.title, s.artist, s.youtube_url, s.spotify_url,
|
||||
ss.position, ss.note, ss.is_encore
|
||||
FROM setlist_songs ss
|
||||
JOIN songs s ON s.id = ss.song_id
|
||||
WHERE ss.setlist_id = $1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue