Skip to content

Instantly share code, notes, and snippets.

@lulichn
Last active May 14, 2018 00:18
Show Gist options
  • Save lulichn/fcaf370d5f7fb858fa8c13efe9a6bdd4 to your computer and use it in GitHub Desktop.
Save lulichn/fcaf370d5f7fb858fa8c13efe9a6bdd4 to your computer and use it in GitHub Desktop.
flac2mp3
sudo apt-get install python3-pip
pip3 install docopt gmusicapi-wrapper
wget https://raw.githubusercontent.com/thebigmunch/gmusicapi-scripts/master/gmusicapi_scripts/gmupload.py
sudo mv gmupload.py /usr/bin/gmupload
sudo chmod +x /usr/bin/gmupload
sudo apt-get install build-essential -y
sudo apt-get install flac shntool cuetools git tmux dstat -y
git clone https://github.com/ftrvxmtrx/split2flac.git
sudo cp split2flac/split2flac /usr/bin/
cd /usr/bin/
sudo chmod +x split2flac
sudo ln -s split2flac split2mp3
wget https://astuteinternet.dl.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz
tar xvfz lame-3.100.tar.gz
cd lame-3.100
./configure
sudo make install
gsutil ls -r gs://my-flac/**.flac > flac.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment