Skip to content

Instantly share code, notes, and snippets.

View Tamriel's full-sized avatar

Jan Tamriel

  • Germany
View GitHub Profile
  • Installiere Ruby 2.4.3:
    • gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
    • \curl -sSL https://get.rvm.io | bash -s stable
    • rvm install 2.4.3
  • git clone https://github.com/foodcoops/foodsoft.git
  • cd foodsoft
  • rvm 2.4.3 do gem install bundle
  • echo gem \'unicorn\' >> Gemfile (Server-Software für den Betrieb Quelle)
  • rvm 2.4.3 do bundle install --without test
    • Falls du einen Fehler missing required library to compile this module für ruby-filemagic bekommst:
@Tamriel
Tamriel / convert_to_opus.md
Last active November 25, 2018 19:35
Convert quod libet library to opus

Convert your music library (in this case quod libet) to the opus file format

  1. In quod libet, check for files with low bitrates and replace them with better ones: &(#(bitrate < 192), encoding != VBR)
  2. Convert + delete your music files: dir2opus --recursive --verbose --delete-input --bitrate 128 --convert-all MyFolder
  1. Close quod libet
  2. Backup ~/.config/quodlibet
  3. Run this python3 script to update the library file paths:
@Tamriel
Tamriel / change_path.py
Created November 19, 2022 13:48
Change the path of your quod libet library
import os
import quodlibet.library
library_path = os.path.join(quodlibet.get_user_dir(), "songs")
library = quodlibet.library.init(library_path)
print(library.masked_mount_points)
print(library.unmask('/run/media/tamriel/HDD'))
for song in library:
# before: