Created
May 4, 2019 21:47
-
-
Save rewida17/466fae53c6d51a3baa2e871ce958e748 to your computer and use it in GitHub Desktop.
chromebook Thinkpad 11e mpv.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
if ![[ -e ~/.config/mpv/mpf.conf]] | |
then | |
mkdir -pv ~/.config/mpv | |
echo 'LS1od2RlYz12YWFwaQotLXZvPXZhYXBpCi0teXRkbC1mb3JtYXQ9YmVzdHZpZGVvW2hlaWdodDw9PzcyMF1bZnBzPD0/NjBdW3Zjb2RlYyE9P3ZwOV0rYmVzdGF1ZGlvL2Jlc3QKLS12b2x1bWUtbWF4PTIwMAotLXNhdmUtcG9zaXRpb24tb24tcXVpdAo=' |base64 -d > ~/.config/mpv/mpv.conf | |
elif [[ -e ~/.config/mpv/mpv.conf]] | |
then | |
echo -e 'mpv.conf already exist, nothing to do.\\nBye :)' | |
#INSIDE BASE64 SRTING | |
#--hwdec=vaapi | |
#--vo=vaapi | |
#--ytdl-format=bestvideo[height<=?720][fps<=?60][vcodec!=?vp9]+bestaudio/best | |
#--volume-max=200 | |
#--save-position-on-quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment