|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
ISRC submission tool for linuxHello,
There is a tool to submit ISRCs for Windows: http://forums.musicbrainz.org/viewtopic.php?id=1838 and since I was missing such a tool for Linux I created one myself using cdda2wav and python-musicbrainz2. http://kraehen.org/isrcsubmit.py You need to have cdda2wav, (grep), python and python-musicbrainz2 >= 0.7 in order to run this. Give it a chmod u+x and run it like: ./isrcsubmit.py username [device] The username is mandatory and you will be prompted for a password. If you don't specify a device it will use /dev/cdrom as a default. When you have an audio disc in that drive it will gather the Disc ID, get the corresponding release from the server and then parse the output of cdda2wav. If ISRCs are found that are not already attached to the tracks it will print the information and ask if it should get submitted. If the Disc ID is not in the Database yet you can either launch firefox directly or copy the submission url somewhere else. For me cdda2wav was the best solution. On my /dev/cdrw it takes approximately 20 seconds and is easy to parse. However on my normal cd/dvd drive it not only takes longer, there are sometimes duplicate ISRCs shown. _Please check if your drive generates these too_. Sometimes this is legit. Artists shouldn't have the same ISRC for two different recordings/mixes but they do and in rare cases these tracks are next to each other. This is the reason I don't remove duplicates. For reference, this is a cdda2wav command you can use to gather ISRCs: cdda2wav -J -H -D device 2>&1 | grep ISRC | sed -e 's/-//g' -e 's/\.//g' In python I am not using sed though. There is a corresponding post in the forums: http://forums.musicbrainz.org/viewtopic.php?pid=8701 -- JonnyJD _______________________________________________ MusicBrainz-users mailing list MusicBrainz-users@... http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-users |
|
|
Re: ISRC submission tool for linuxOn Fri, Oct 2, 2009 at 5:36 PM, Johannes Dewender <brainz@...> wrote: -- Hello, I just wanted to point out that there are now three nearly identical implementations of such a command line tool :) 1. There is your version, written in python. 2. Nick Humfrey posted a perl script a few months ago on mb-devel, see http://lists.musicbrainz.org/pipermail/musicbrainz-devel/2009-May/003357.html 3. I had a ruby script lying around here for my personal use, which I just uploaded to http://users.musicbrainz.org/~outsidecontext/tools/submitisrcs.rb. There can be never enough submit ISRC scripts ;) Philipp Wolfer _______________________________________________ MusicBrainz-users mailing list MusicBrainz-users@... http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-users |
| Free embeddable forum powered by Nabble | Forum Help |