us and vn can go
This commit is contained in:
parent
dc9e7ca68e
commit
296bb0837d
3 changed files with 6 additions and 6 deletions
|
@ -481,7 +481,7 @@ const app = new Vue({
|
|||
if (item.includes("ra.")) {
|
||||
type = "stations";
|
||||
}
|
||||
let found = await app.mk.api.v3.music(`/v1/catalog/us/${type}/${item}`);
|
||||
let found = await app.mk.api.v3.music(`/v1/catalog/${app.mk.storefrontId}/${type}/${item}`);
|
||||
this.socialBadges.mediaItems.push(found.data.data[0]);
|
||||
} catch (e) {}
|
||||
});
|
||||
|
@ -2014,7 +2014,7 @@ const app = new Vue({
|
|||
get: (searchParams, prop) => searchParams.get(prop),
|
||||
});
|
||||
id = params.id;
|
||||
app.mk.api.v3.music(`/v1/editorial/vn/multiplex/${id}?art%5Burl%5D=f&format%5Bresources%5D=map&platform=web`).then((data) => {
|
||||
app.mk.api.v3.music(`/v1/editorial/${app.mk.storefrontId}/multiplex/${id}?art%5Burl%5D=f&format%5Bresources%5D=map&platform=web`).then((data) => {
|
||||
let item = data.data.results?.target ?? [];
|
||||
app.routeView(item);
|
||||
});
|
||||
|
@ -2023,7 +2023,7 @@ const app = new Vue({
|
|||
}
|
||||
}
|
||||
} else if (kind == "multiplex") {
|
||||
app.mk.api.v3.music(`/v1/editorial/vn/multiplex/${id}?art%5Burl%5D=f&format%5Bresources%5D=map&platform=web`).then((data) => {
|
||||
app.mk.api.v3.music(`/v1/editorial/${app.mk.storefrontId}/multiplex/${id}?art%5Burl%5D=f&format%5Bresources%5D=map&platform=web`).then((data) => {
|
||||
let item = data.data.results?.target ?? [];
|
||||
app.routeView(item);
|
||||
});
|
||||
|
@ -4491,7 +4491,7 @@ const app = new Vue({
|
|||
],
|
||||
},
|
||||
};
|
||||
/*
|
||||
/*
|
||||
if (this.cfg.advanced.AudioContext) {
|
||||
menus.normal.items.find(i => i.id === 'audioLab').hidden = false
|
||||
menus.normal.items.find(i => i.id === 'equalizer').hidden = false
|
||||
|
|
|
@ -208,7 +208,7 @@
|
|||
if (this.search.term == "") {
|
||||
return
|
||||
}
|
||||
app.mk.api.v3.podcasts("/v1/catalog/us/search", {
|
||||
app.mk.api.v3.podcasts(`/v1/catalog/${app.mk.storefrontId}/search`, {
|
||||
term: this.search.term,
|
||||
types: ["podcasts"],
|
||||
limit: 25
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
}
|
||||
},
|
||||
async mounted() {
|
||||
app.mk.api.v3.music("/v1/catalog/us/artists/669831761").then(response => {
|
||||
app.mk.api.v3.music(`/v1/catalog/${app.mk.storefrontId}/artists/669831761`).then(response => {
|
||||
this.artist = response.data.data[0];
|
||||
this.artistLoaded = true;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue