mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-25 17:11:27 +00:00
Volume level for player
This commit is contained in:
parent
eac531c373
commit
5556a0c3de
|
@ -82,6 +82,7 @@ radio_event_gen = threading.Event()
|
|||
@logger.catch
|
||||
def radio_load(id_radio=None, type_radio='custom', name=None, related_object=None):
|
||||
show_like_button = get_config('show_like_button')
|
||||
player.volume = get_config('mpv_volume')
|
||||
requested_radio = {
|
||||
'custom_radio': id_radio,
|
||||
'radio_type': type_radio,
|
||||
|
|
|
@ -24,6 +24,7 @@ def set_http_header(headers=[]):
|
|||
@logger.catch
|
||||
def player_menu(header='', storage={}):
|
||||
player_fw_storage.storage = storage
|
||||
player.volume = get_config("mpv_volume")
|
||||
while True:
|
||||
try:
|
||||
player_items_menu = ['Next', 'Prev', 'Pause',
|
||||
|
|
|
@ -39,6 +39,7 @@ default_conf = {
|
|||
"shitnoise.monster"
|
||||
],
|
||||
'prefetch_playlist': True,
|
||||
'mpv_volume': 100,
|
||||
'show_like_button': True,
|
||||
'show_artist_name_in_albums': False
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue