fix add favorite and add to recent on certain pages
This commit is contained in:
parent
336e51bd1d
commit
2d68c45970
@ -135,10 +135,16 @@ export default {
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
let stationSrc = ''
|
||||
if (!station.url_resolved) {
|
||||
stationSrc = station.urlresolved
|
||||
} else {
|
||||
stationSrc = station.url_resolved
|
||||
}
|
||||
const stationMap = {
|
||||
id: -1,
|
||||
name: station.name,
|
||||
urlresolved: station.url_resolved,
|
||||
urlresolved: stationSrc,
|
||||
favicon: station.favicon,
|
||||
stationuuid: station.stationuuid,
|
||||
}
|
||||
@ -205,10 +211,16 @@ export default {
|
||||
|
||||
/* Put into recent stations */
|
||||
try {
|
||||
let stationSrc = ''
|
||||
if (!station.url_resolved) {
|
||||
stationSrc = station.urlresolved
|
||||
} else {
|
||||
stationSrc = station.url_resolved
|
||||
}
|
||||
const stationMap = {
|
||||
id: -1,
|
||||
name: station.name,
|
||||
urlresolved: station.url_resolved,
|
||||
urlresolved: stationSrc,
|
||||
favicon: station.favicon,
|
||||
stationuuid: station.stationuuid,
|
||||
}
|
||||
|
@ -24,6 +24,8 @@
|
||||
@change="saveVolume($event)">
|
||||
<div class="playerMetadata">
|
||||
{{ player.title }}
|
||||
{{ player.isPlaying }}
|
||||
{{ player.isBuffering }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user