Commit 2d68c459 authored by onny's avatar onny

fix add favorite and add to recent on certain pages

parent 336e51bd
Pipeline #207 failed with stages
in 11 minutes and 36 seconds
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment