Skip to content

Instantly share code, notes, and snippets.

@rewida17
Created May 4, 2019 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rewida17/466fae53c6d51a3baa2e871ce958e748 to your computer and use it in GitHub Desktop.
Save rewida17/466fae53c6d51a3baa2e871ce958e748 to your computer and use it in GitHub Desktop.
chromebook Thinkpad 11e mpv.conf
#!/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