Giter Club home page Giter Club logo

arrangemusic's Introduction

Arrangemusic

I actually don’t use this anymore and the whole rewrite action (some time ago) was more or less for fun with pythonic software development and testing.

Description

Creates hierarchical directory structure of music files based on tag information.

This script takes an audio file or a whole directory of those, renames them and creates a directory structure like Artist/Album/track.ext

The script renames files, creates directories, moves files and directories to a specified target directory, replaces characters in file names that you don't want, informs you when files seem to already exist, takes care of articles in artist names and so on. Default values, command line options, multiple directory/file renaming patterns and more can be changed and saved in a configuration file.

License

"THE BEER-WARE LICENSE" (Revision 42):

[email protected] wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return - Remo Giermann.

arrangemusic's People

Contributors

modul avatar

Watchers

 avatar  avatar

arrangemusic's Issues

regexp

some kind of regexp functionality in pattern?

first_letter config with numbers

Tested with "4 Non Blondes":

Traceback (most recent call last):
...
File "/usr/local/lib/python2.6/site-packages/ArrangeMusic/arranger.py", line 68, in __init__
self.first_letter = c
NameError: global name 'c' is not defined

check config for initial-of-number.

{albumstyle}, trackstyle…

Add note: only used when album/track is set.
Add {artiststyle}: only used when {article} is set? (to make {artist}, {article} possible)

or think about some conditionals in format…?

{article}

add {article}, {theartist} (with article) and {artist} (w/o article) to substitution patterns

lettuce

remove lettuce features or add README: ‘just 4 fun’

modules

rethink modules, merge singleton to config…

put Arranger to arranger.py, rest of processing.py to tools

perhaps put Configuration and Cmdlineparser to their own modules

{extension}

remove it, always add the source extension

README

write installation, usage and configuration description

non-existent pattern

notice user that cmdline given pattern does not exist, and another one is used (should not be an error, just information)

artist words in pattern

create artistsplit[] in arranger initialization.
use in rename pattern: {artist1} {artist3} etc.
what to do when words in pattern exceeds length of artistsplit[]?

user should put it in another pattern, using it only when he knows, what artist it'll be used on. like:
[singer-pattern]
newpath={artist2}, {artist}/{album}/{title}

The {initial} must have the same functionality:
{initial2} == first letter of second artist word. so:

[singer-pattern]
newpath = {initial2}/{artist2}, {artist1}/{album}/{title}

-> P/Perry, Linda/In Flight/…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.