add 3rd party radio station support #689

also add disabled property for next button
This commit is contained in:
yazninja 2022-05-24 01:09:23 +08:00
parent de692c9dc8
commit eedf9304da
6 changed files with 78 additions and 7 deletions

View file

@ -98,7 +98,7 @@
async mounted() {
await this.getBadges()
if (typeof this.item.attributes.playParams == "object") {
if (this.item.attributes.playParams.kind.includes("radioStation") && (this.item.attributes.playParams.streamingKind == 1 || this.item.attributes.playParams.streamingKind == 2)) {
if (this.item.attributes.playParams.kind.includes("radioStation") && (this.item.attributes.playParams.streamingKind == 1)) {
this.unavailable = true
}
} else {