Skip to content

A python script to add id3 album and artist tags based on folder structure

License

Notifications You must be signed in to change notification settings

RossCradock/id3-folder-tagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

id3-folder-tagger

A python script to add id3 album and artist tags based on folder structure.

The script will look through a music folder's structure, taking the child folder as the artist and the grandchild folder as the album.

Requires command line tool id3v2, can be found here: https://formulae.brew.sh/formula/id3v2
brew folmula: brew install id3v2

The folder structure must look like this:

Music/  
    ├── artist/  
    │   ├── song.mp3  
    │   └── song.flac  
    ├── artist/  
    │   ├── album/  
    |   |   ├── song.mp3  
    |   |   └── song.flac  
    |   └── album/  
    |       ├── song.mp3  
    |       └── song.flac  
    ...  

If there is no album inside the artist folder the script will not add one.

N.B. Make sure to change the script to use your music directory, your file extensions and your music folder name. Search for "CHANGE THIS" in the comments.

About

A python script to add id3 album and artist tags based on folder structure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages