Giter Club home page Giter Club logo

ordertracks's Introduction

ordertracks

Scans ID3 tags of music files and then changes the title of the track to represent its order within an album... needed for systems that diregard track numbers and simply alphabetize songs.

Some MP3 players (in my case, my Pioneer car player) when listing the tracks within an album will order the tracks by their names, disregarding the track and disc numebers. That is a real problem for audio books, classical music and simply when one wants to hear an Album in the order that the musician organized it.

What this simple program does is scan a directory and its subdirectory finding music files (at this time only MP3 and flac files) and reading the ID tag to find the the DISCNUMBER and TRACKNUMBER (if available) and then prepending to the song name the Disc (via a letter) and the track number so that the player will order them correctly.

For example, if the song "Hello" is in the second CD, third track then it will be renamed: "B03- Hello". The first letter indicates the number of the DISCNUMBER (coded A, B, C, ... etc) and the 2 digits the order within that disc. If no disc number is found then the letter is dropped.

The program adds a tag to the file so we can use it repeatdly and only do the file once.

THE IDEA IS THAT YOU USE THE PROGRAM ON THE USB DEVICE YOU ARE USING IN THE PLAYER. IT IS NOT RECOMENDED IN YOUR MAIN MUSIC COLLECTION!!!! USE AT YOUR ONW RISK ON YOUR COLLECTION!!

cpcoll

Is a program that copies a collection (under a given directory) to another directory (usually a USB or SDCARD) to carry the collection. It will not copy files already in the destination unless it suspects there is a change. More complex than it sound because the collection in the USB may have been modified by the ordertracks.py program. It tries to determine if that is the case and avoid innecesary copying. It will also erase files in the USB which are not any longer in the collection. The idea is to apply ordertracks.py after the copy operation.

The programs have only been tested in Linux and requires Python 3.5 and up.

ordertracks's People

Contributors

vsanchez avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.