Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
onny
nextcloud-app-radio
Commits
2d68c459
Commit
2d68c459
authored
Nov 17, 2020
by
onny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix add favorite and add to recent on certain pages
parent
336e51bd
Pipeline
#207
failed with stages
in 11 minutes and 36 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
src/components/Main.vue
src/components/Main.vue
+14
-2
src/components/Player.vue
src/components/Player.vue
+2
-0
No files found.
src/components/Main.vue
View file @
2d68c459
...
...
@@ -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
:
station
Src
,
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
:
station
Src
,
favicon
:
station
.
favicon
,
stationuuid
:
station
.
stationuuid
,
}
...
...
src/components/Player.vue
View file @
2d68c459
...
...
@@ -24,6 +24,8 @@
@
change=
"saveVolume($event)"
>
<div
class=
"playerMetadata"
>
{{
player
.
title
}}
{{
player
.
isPlaying
}}
{{
player
.
isBuffering
}}
</div>
</div>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment