Code Monkey home page Code Monkey logo

mp3sum's People

Contributors

okdana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mp3sum's Issues

LAME 3.100 unsupported?

3.99.5:

pavel@ubuntu-pc:/tmp $ lame3995 -b 320 --noreplaygain 01.\ Good\ Times\ Bad\ Times.flac 
LAME 3.99.5 64bits (http://lame.sf.net)
…                               
Writing LAME Tag...done
pavel@ubuntu-pc:/tmp $ mp3sum 01.\ Good\ Times\ Bad\ Times.mp3 
P 64CC:64CC 96A4:96A4 01. Good Times Bad Times.mp3
1 file(s) checked: 1 pass, 0 unsupported, 0 fail

3.100:

pavel@ubuntu-pc:/tmp $ lame3100 -b 320 --noreplaygain 01.\ Good\ Times\ Bad\ Times.flac 
LAME 3.100 64bits (http://lame.sf.net)
…                               
Writing LAME Tag...done
pavel@ubuntu-pc:/tmp $ mp3sum 01.\ Good\ Times\ Bad\ Times.mp3 
U 0000:A76A 0000:A350 01. Good Times Bad Times.mp3
1 file(s) checked: 0 pass, 1 unsupported, 0 fail

Drop Python 2 support

Python 2 is officially dead, i haven't used it for anything myself in a very long time, and a lot of Linux distributions no longer include it by default. Don't see any need to continue supporting it

Apparent output-buffering issues

Sometimes, usually when checking a very large number of files with many worker threads, you can get weird outputs like this:

...
P 1234:1234 5678:5678 foo/bar/file1.mp3
P 1234:1234 5678:5678 foo/bar/file3.mp3

P 1234:1234 5678:5678 foo/bar/file4.mp3
P 1234:1234 5678:5678 
P 1234:1234 5678:5678 foo/bar/file5.mp3
foo/bar/file2.mp3
...

The extraneous new-line and the split-apart result for file2.mp3 are apparently the result of output-buffering issues. I think just flushing after each result should fix it. The logger should support this

feature: write CRC checksums?

sorry if i'm bombarding you with issues :) but the ability to write checksums would be a huge plus i think

my use case specifically is being able to pass a CRC test after trimming silence from the file with Mp3splt, however i'd guess that this feature could be helpful for others for various reasons

in my case i'm writing a bash shell script which wraps several utilities used to perform various operations (convert, trim, fix header errors, integrity checking, etc.) and this would be really helpful

... unless you know of an existing program which can write the CRC without transcoding (i'm not aware of anything)

File-name-checking over-head is too high

I mentioned in #1 that my fix for that issue would slow things down a bit, and it does. Since it has to check the file names up front now, it's slower to start actually doing work. We should off-load this to the workers (properly, this time)

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.