audio

Music applications

Apple Music

  • use web client: music.apple.com
  • pros: no installation/configuration
  • cons: many
    • need apple device for 2fa sign in
      • this is not true
    • feels slow/clunky
    • randomly breaks
    • doesn't store place

iTunes

Sync music

sync to iphone

pacman -S ifuse
  • if freezes on write (see #63, probably fixed in newest versions) try aur
paru -S ifuse-git
  • use vlc on phone since simple copying directly to folder, see provided fish script
function musicsync --description "sync music to phone"
  # mount vlc media folder to ~/mnt
  ifuse --documents org.videolan.vlc-ios ~/mnt
  # see https://superuser.com/questions/1192448/rsync-mkstemp-filename-failed-function-not-implemented-38
  rsync -av --progress --no-perms --no-owner --no-group --exclude "*.m3u" \
    ~/Music/personal ~/mnt/
  # copy playlists from cmus
  set temp (pwd)
  cd ~/Music/personal/playlists
  python cmus_copy.py
  # generate playlists from artists
  python artist_playlist.py
  cd "$temp"
  rsync -av --progress --no-perms --no-owner --no-group \
    ~/Music/personal/playlists ~/mnt/personal
  # done
  umount ~/mnt
end

sync to android

function musicsync --description 'sync music to phone'
    # copy playlists from cmus
    set temp (pwd)
    cd ~/Music/personal/playlists
    python cmus_copy.py
    # generate playlists from artists
    python artist_playlist.py
    cd "$temp"
    # copy over to phone
    adb push --sync ~/Music/ /storage/self/primary/
end