Skip to content

A quick python script to take a large folder of KEXP Song of the Day podcasts, split them into smaller folders, and fix titles.

License

Notifications You must be signed in to change notification settings

Nadreck/kexp_sotd_collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kexp_sotd_collector

A quick python script to take a large folder of KEXP Song of the Day podcasts, split them into smaller folders, and fix titles.

There are currently two functions:

  • copy_files() takes a large collection of files and splits them into groups of 100. It currently does not sort these files, so the order is somewhat arbitrary.
  • adjust_title() checks to see if the artist name is also included at the start of a song title name, and if so, removes the first instance of it. This is currently somewhat inexact: it fails to catch some cases, for unclear reasons.

If you're just using copy_files(), you can safely comment out the mutagen imports, but otherwise this script does require the Mutagen library, available through pip.

To use, update the script to specify the path to the folder of music you want collected (SRC_DIR), and specify a folder you want as a destination (TARGET_DIR), uncomment the function calls, then from a prompt run: python kexp_sotd.py

That's it!

About

A quick python script to take a large folder of KEXP Song of the Day podcasts, split them into smaller folders, and fix titles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages