Advertisement
Guest User

radio.sh

a guest
Nov 5th, 2021
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. #Remove .cue files
  2. rm /var/www/radiorecorder/ripps/*.cue
  3. #Save file list of recordings
  4. FOLDER=$(ls -td /var/www/radiorecorder/ripps/* | head -1)
  5. cd "$FOLDER"
  6. #Create an m3u playlist from files
  7. ls -tr | grep "mp3" > "$FOLDER"/" !PLAYLIST.m3u"
  8. rm -r "$FOLDER"/incomplete
  9. #Write file names to MP3 tags
  10. lltag --format "%a - %A" --preserve-time --no-path --verbose --yes *.mp3
  11. #Download and embed album covers for all files in folder
  12. sacad_r -i -f -a de --amazon-sites de -v . 500 +
  13. #Convert MP3 tags to older version for compatibility
  14. eyeD3 --fs-encoding=utf8 --to-v2.3 *.mp3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement