Created
March 16, 2017 07:31
-
-
Save adamJLev/92a477b94974eb18429d59a9182a20fa to your computer and use it in GitHub Desktop.
Fix for Spotify not playing some MP4 files
This file contains 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
# Context https://community.spotify.com/t5/Desktop-Linux-Windows-Web-Player/Spotify-Does-not-Import-m4a-Files/td-p/1022795 | |
# This ZSH script converts every .mp4 file in current folder to .m4a | |
# Note: you need to have ffmpeg installed | |
for file in $(echo **.mp4); do ffmpeg -i "$file" -acodec copy -movflags faststart "$file".m4a; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment