Code

class mp3fm.PackSongs(input_folder, tag='')[source]

It pack songs into folders according to property choosen by the user making easy to manage songs and keep them into folders

change_cwd()[source]

Changing current working directory to user input folder to access songs

check_folder(folder_name)[source]

Checking if required folder exists otherwise create a new one

find_info(song_name)[source]

Finding song info

generate_log()[source]

Generate a log file stating the songs inside each newly created directory

list_mp3files(folder='')[source]

Storing list of all .mp3 files

move_song(song, folder_name)[source]

Moving song to specific folder

put_songs()[source]

Putting all songs in folders according to user choice

class mp3fm.UnpackFolders(input_folder, tag='')[source]

It unpacks all the folders so that all songs comes out from folders and reside at one place

generate_log()[source]

Redefining the function which is Generating log according to different types

list_folders()[source]

Listing all folders

move_song(folder_name, song)[source]

Redefining the function which is Moving song to specific folder

unpack()[source]

Running all other functions to unpack folders

class mp3fm.UpdateSongInfo(input_folder, tag='')[source]

It updates all the songs information using online Music Brainz database.

authenticate()[source]

Authenticate the client to query the Music Brainz Server

convert_to_unicode(string)[source]

Converting string into unicode string using UTF-8 format

extract_info()[source]

Extracting information from result found in above function

save_info(song_name)[source]

Saving new song info

search_musicbrainz(song_name)[source]

Searching music brainz db for particular song

update_id3()[source]

Function calling all other functions to update song info

mp3fm.main()[source]

Main function which is asking user for choices and making appropriate class objects and calling appropriate functions corresponding to them

Project Versions

Previous topic

Usage & Download

Next topic

License

This Page