Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philipp Wolfer
funkwhale
Commits
4fed82a3
Verified
Commit
4fed82a3
authored
Apr 21, 2021
by
Georg Krause
Browse files
Merge branch 'petitminion/funkwhale-change_start_radio_to_Play_radio' into develop
parents
1492e252
cb9a5cdf
Changes
4
Hide whitespace changes
Inline
Side-by-side
changes/changelog.d/1400.enhancement
0 → 100644
View file @
4fed82a3
Changin Start Radio to Play Radio (#1400)
docs/users/radios.rst
View file @
4fed82a3
...
...
@@ -40,7 +40,7 @@ Listening to a Radio
To start listening to a radio:
- Navigate to ``https://your-instance/library/radios`` or click "Browse Library" and select "Radios" along the top of the screen
- Find the radio you want to listen to and click on "
Start
radio"
- Find the radio you want to listen to and click on "
Play
radio"
- Your queue will be populated with the **currently playing** song and the **next song on the radio**
To stop listening to a radio:
...
...
front/src/components/audio/PlayButton.vue
View file @
4fed82a3
...
...
@@ -25,7 +25,7 @@
<i
class=
"play icon"
></i>
{{ labels.playNow }}
</button>
<button
v-if=
"track"
class=
"item basic"
:disabled=
"!playable"
@
click.stop.prevent=
"$store.dispatch('radios/start', {type: 'similar', objectId: track.id})"
:title=
"labels.startRadio"
>
<i
class=
"feed icon"
></i><translate
translate-context=
"*/Queue/Button.Label/Short, Verb"
>
Start
radio
</translate>
<i
class=
"feed icon"
></i><translate
translate-context=
"*/Queue/Button.Label/Short, Verb"
>
Play
radio
</translate>
</button>
<div
class=
"divider"
></div>
<button
v-if=
"filterableArtist"
ref=
"filterArtist"
data-ref=
"filterArtist"
class=
"item basic"
:disabled=
"!filterableArtist"
@
click.stop.prevent=
"filterArtist"
:title=
"labels.hideArtist"
>
...
...
front/src/components/radios/Button.vue
View file @
4fed82a3
...
...
@@ -2,7 +2,7 @@
<button
@
click=
"toggleRadio"
:class=
"['ui', 'primary',
{'inverted': running}, 'icon', 'labeled', 'button']">
<i
class=
"ui feed icon"
role=
"button"
></i>
<template
v-if=
"running"
><translate
translate-context=
"*/Player/Button.Label/Short, Verb"
>
Stop radio
</translate></
template
>
<
template
v-else
><translate
translate-context=
"*/Queue/Button.Label/Short, Verb"
>
Start
radio
</translate></
template
>
<
template
v-else
><translate
translate-context=
"*/Queue/Button.Label/Short, Verb"
>
Play
radio
</translate></
template
>
</button>
</template>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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