Enable mpv cache-secs (10 sec)

This commit is contained in:
localhost_frssoft 2022-12-21 04:21:04 +03:00
parent b74e5ce026
commit 07d137f72d

View File

@ -9,7 +9,7 @@ import sys
fzf = FzfPrompt() fzf = FzfPrompt()
player = mpv.MPV() player = mpv.MPV(cache_secs=10)
player.ytdl = False # Prevent attempts load track with yt-dlp player.ytdl = False # Prevent attempts load track with yt-dlp
player.volume = get_config('mpv_volume') player.volume = get_config('mpv_volume')
player.prefetch_playlist = get_config('prefetch_playlist') player.prefetch_playlist = get_config('prefetch_playlist')