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.")) {
|
if (item.includes("ra.")) {
|
||||||
type = "stations";
|
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]);
|
this.socialBadges.mediaItems.push(found.data.data[0]);
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
});
|
});
|
||||||
|
@ -2014,7 +2014,7 @@ const app = new Vue({
|
||||||
get: (searchParams, prop) => searchParams.get(prop),
|
get: (searchParams, prop) => searchParams.get(prop),
|
||||||
});
|
});
|
||||||
id = params.id;
|
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 ?? [];
|
let item = data.data.results?.target ?? [];
|
||||||
app.routeView(item);
|
app.routeView(item);
|
||||||
});
|
});
|
||||||
|
@ -2023,7 +2023,7 @@ const app = new Vue({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (kind == "multiplex") {
|
} 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 ?? [];
|
let item = data.data.results?.target ?? [];
|
||||||
app.routeView(item);
|
app.routeView(item);
|
||||||
});
|
});
|
||||||
|
|
|
@ -208,7 +208,7 @@
|
||||||
if (this.search.term == "") {
|
if (this.search.term == "") {
|
||||||
return
|
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,
|
term: this.search.term,
|
||||||
types: ["podcasts"],
|
types: ["podcasts"],
|
||||||
limit: 25
|
limit: 25
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async mounted() {
|
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.artist = response.data.data[0];
|
||||||
this.artistLoaded = true;
|
this.artistLoaded = true;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue