New Golang Backend + Minor Fixes

This commit is contained in:
shiny_nematoda 2022-04-13 08:03:42 -04:00
parent f80a86a3ae
commit 03b4c151f9
8 changed files with 24 additions and 20 deletions

View file

@ -29,11 +29,11 @@ defineEmits([
:author="song.uploaderName || ''"
:title="song.title || song.name"
:channel="song.uploaderUrl || ''"
:play="song.url || song.watchId"
:play="song.url || '/watch?v=' + song.videoId"
@open-song="
$emit('get-song', {
url: song.url || song.watchId,
title: song.title,
url: song.url || '/watch?v=' + song.id,
title: song.title || song.name,
})
"
@get-artist="
@ -72,7 +72,7 @@ defineEmits([
@open-album="
$emit(
'get-album',
album.url || '/playlist?list=' + album.playlistId,
album.url || '/playlist?list=' + album.id,
)
" />
</template>
@ -89,7 +89,7 @@ defineEmits([
:author="artist.subtitle"
:name="artist.title"
:art="'--art: url(' + artist.thumbnails[0].url + ');'"
@open-album="$emit('get-artist', artist.artistId)" />
@open-album="$emit('get-artist', artist.id)" />
</template>
</div>
</div>