- added shuffle/save/clear to queue
- custom piped api (1/2 #154)
- track numbers for songs in album/playlist (see #147)
- use dash if managed mse is available
- store artist name for local playlist
This commit is contained in:
Shiny Nematoda 2023-12-12 09:31:31 +00:00
parent d1592eef0c
commit 129f14c64f
13 changed files with 541 additions and 452 deletions

View file

@ -1,5 +1,5 @@
<script setup>
import { ref, onMounted } from 'vue';
import { ref } from 'vue';
import AddToPlaylist from '@/components/AddToPlaylist.vue';
@ -97,16 +97,13 @@ const openSong = el => {
useShare(data);
};
onMounted(() => {
console.log(props.channel, artist.state.playlistId);
});
</script>
<template>
<AddToPlaylist
v-if="showPl"
:song="play"
:title="title"
:artist="author"
@show="e => (showPl = e)" />
<div
@ -117,7 +114,12 @@ onMounted(() => {
<img class="pop-2 bg-img song-bg" loading="lazy" :src="art" alt />
<span class="flex content">
<h4>{{ title }}</h4>
<h4>
<template v-if="results.items?.songs?.title"
>{{ index + 1 }}.
</template>
{{ title }}
</h4>
<a
class="ign"
:href="channel"