Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fblupi/rename-music-by-tags

Rename your music files by using tags
https://github.com/fblupi/rename-music-by-tags

eye3d mp3info python-script script shell-script

Last synced: about 2 months ago
JSON representation

Rename your music files by using tags

Awesome Lists containing this project

README

        

# Rename Music by Tags

## Description

If you're an obsessively tidy person like me you'll want to have all your music organized and it will annoy you having every music file name with a different criteria. Rename your music files by using its artist, album name and song name tags.

## Instructions

### Shell version

#### Warning

* This version has a little bug reported in [this issue](https://github.com/fblupi/RenameMusicByTags/issues/2 "mp3tag doesn't render unicode special characters"), so I recommend using Python version.

#### Requirements

* Install mp3info if not installed: `sudo apt-get install mp3info`

#### Use

##### Convert single file

* Convert any mp3 file: `./renameMusicByTags.sh `

##### Convert multiple files

* Convert every mp3 files from a directory: `./renameMusicInADirectory ` (Directory must finish on backslash "/". For example `./renameMusicInADirectory ~/MyMusic/RockAndRollCompilation/`)

### Python version

#### Requirements

* Install python if not installed: `sudo apt-get install python`
* Install pip if not installed `sudo apt-get install python-pip` (Python 2.7.9 and later on python2 series and Python 3.4 and later include pip by default).
* Install eyed3 if not installed: `sudo pip install eyed3`

#### Use

##### Convert single file

* Convert any mp3 file: `python rename_music_by_tags.py `

##### Convert multiple files

* Convert every mp3 files from a directory: `python rename_music_in_a_directory.py ` (Directory must finish on backslash "/". For example `python rename_music_in_a_directory.py ~/MyMusic/RockAndRollCompilation/`)