geoffrey45 2ee8d27bf0 server: add get album bio from last fm function
- co-written by Github Copilot
2022-01-17 12:32:27 +03:00

68 lines
1.2 KiB
JavaScript

import { ref } from "@vue/reactivity";
const search_query = ref("");
const queue = ref([
{
title: "Nothing played yet",
artists: ["... blah blah blah"],
image: "http://127.0.0.1:8900/images/defaults/5.webp",
_id: {
$oid: "",
},
},
]);
const folder_song_list = ref([]);
const folder_list = ref([]);
const current = ref({
title: "Nothing played yet",
artists: ["... blah blah blah"],
image: "http://127.0.0.1:8900/images/defaults/1.webp",
_id: {
$oid: "",
},
});
const prev = ref({
title: "The previous song",
artists: ["... blah blah blah"],
_id: {
$oid: "",
},
});
const album_song_list = ref([]);
const album_info = ref([]);
const album_artists = ref([]);
const filters = ref([]);
const magic_flag = ref(false);
const loading = ref(false);
const is_playing = ref(false);
const search_tracks = ref([]);
const search_albums = ref([]);
const search_artists = ref([]);
export default {
search_query,
queue,
folder_song_list,
folder_list,
current,
prev,
filters,
magic_flag,
loading,
is_playing,
search_tracks,
search_albums,
search_artists,
album_song_list,
album_info,
album_artists,
};