Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Searching for Tracks with Same ISRC (Read 5640 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Searching for Tracks with Same ISRC

Is there a method to use foobar to search for tracks with identical ISRC tags?

Earlier, I encountered an issue where 2 consecutive tracks would get the same ISRC on the cue sheet during ripping with EAC. One of the ISRCs (the second track) is usually the wrong ISRC. See this post.
http://www.hydrogenaudio.org/forums/index....st&p=818100

Now, I have another CD drive which is able to read the correct ISRCs. So I suppose the wrong ISRC issue is hardware dependent.

So the question is, is there a way to use foobar to search for tracks which have identical ISRCs? The OCD inside of me wants to correct the wrong ISRCs by re-generating the cuesheet using the new CD drive.

My tracks are in MP3 format loaded into foobar's media library. I have the CUE sheet & Image FLAC backed up on an external drive. Preferably, I would like to perform the search on the MP3 files.

If it's not possible to search this using foobar, is there any other method or software I can use? Thanks for any assistance!

Searching for Tracks with Same ISRC

Reply #1
Create your custom column named "ISRC" in your playlist and as a pattern use $meta(ISRC) . Then simply sort tracks by clicking on ISRC column header. Creation of colu,n depends on UI that you use. In case on Default:
Preferences/Display/Default User Interface/ Playlist View/ and use "Add New" button in section "Custom buttons".

Searching for Tracks with Same ISRC

Reply #2
Create your custom column named "ISRC" in your playlist and as a pattern use $meta(ISRC) . Then simply sort tracks by clicking on ISRC column header. Creation of colu,n depends on UI that you use. In case on Default:
Preferences/Display/Default User Interface/ Playlist View/ and use "Add New" button in section "Custom buttons".


Thanks for your reply. But that would mean having to manually scroll and check thousands of songs (though it is a lot easier than previously). So I suppose there is no way foobar can automatically identify songs with the same ISRC tags?

Searching for Tracks with Same ISRC

Reply #3
If anyone will write a component designed just for this then of course it will be able to do so.
To be more clear: remember that foobar itself can simply play music. There are plugins that can do more - like playing various formats, offer various user interfaces etc. You are looking for a very very particular functionality. I am quite sure that there isn't much people that even care about ISRCs in their tracks. The only thing that you can do is just search for particular isrc in your library or just use this column... There are much more crucial problems like searching for duplicate tracks but with different bitrates, formats (lossy vs. lossless) etc. and even those weren't 100% solved.

Searching for Tracks with Same ISRC

Reply #4
Create your custom column named "ISRC" in your playlist and as a pattern use $meta(ISRC) . Then simply sort tracks by clicking on ISRC column header. Creation of colu,n depends on UI that you use. In case on Default:
Preferences/Display/Default User Interface/ Playlist View/ and use "Add New" button in section "Custom buttons".
Thanks for your reply. But that would mean having to manually scroll and check thousands of songs (though it is a lot easier than previously).

A slightly more effective method would be to create a view in your media library that groups tracks by $meta(ISRC)|%title% and would therefore display after each ISRC the number of tracks that matched it and an option to check whether their titles differ. This is still not automatic, but it could well prove easier to assess visually.

For other things, either the method would be complex and involve scripting of some kind other than the per-file varieties provided by the core, or it might be a job better suited to a dedicated tagger rather than a player.

Searching for Tracks with Same ISRC

Reply #5
Thanks for your reply. But that would mean having to manually scroll and check thousands of songs (though it is a lot easier than previously). So I suppose there is no way foobar can automatically identify songs with the same ISRC tags?

If I understand your request properly
ala Frank Bicking:
Create a Facets UI element with two panes:
Create a ISRC column (right click, columns, preferences, add new, ...)

In pane 1: ISRC column, subitems statistic
In pane 2 whatever you need, e.g.: multiple columns/Album artist, Album, Track,...

Click twice on the subitems column header to sort by subitems in descending order.
Entries with more than one subitem need to be corrected.
Select each entry to see the different tracks in the second pane.
edit: db1989 is a faster typer

Searching for Tracks with Same ISRC

Reply #6
edit: db1989 is a faster typer
Maybe, but your method seems better. I did suspect there might be a way to do this with a component offering alternative scripting powers, as I said there, so thanks for explaining one promising possibility! Facets seems as though it will be easier to work with since it can sort by the number of sub-items, in contrast to the Album List.

Edit: Well, it’s Frank’s method really  Good post though.

Searching for Tracks with Same ISRC

Reply #7
Dump into Excel, sort by ISRC, create a new column that checks one cell against the previous cell in the ISRC column giving the ISRC for all positive results and nothing for all negative results. Run autofilter to view results from this new column.

Easy-peasy and 100% effective.  Can be done in minutes.

Searching for Tracks with Same ISRC

Reply #8
Dump into Excel
I presume you mean via foo_utils or foo_texttools, and a CSV-compatible output pattern?

Quote
Easy-peasy and 100% effective. Can be done in minutes.
Yeah, only because it doesn’t require Visual Basic!

Searching for Tracks with Same ISRC

Reply #9
I presume you mean via foo_utils or foo_texttools, and a CSV-compatible output pattern?

I imagine one must use fb2k since this is the fb2k portion of HA.

No, I would use mp3tag and Excel, possibly Word if I needed to search and replace and otherwise format text before dumping it into Excel.  This is not to say an fb2k plugin couldn't be used, I just don't know of any (which doesn't mean much).

Visual Basic?

Searching for Tracks with Same ISRC

Reply #10
I imagine one must use fb2k since this is the fb2k portion of HA.
Hence why I think Frank’s method might end up being faster in this case. But options are always good, and your workflow is a good suggestion that I imagine can be applied to many potential scenarios. Being able to process data with a variety of programs and stages is always a good skill to have.

Quote
Visual Basic?
Something that I just started learning, in the form of VB for Applications for scripting Excel, and that isn’t likely to end up in a list of my favourite programming languages!


Searching for Tracks with Same ISRC

Reply #12
Thanks for your replies. I tried the Facets method and it worked perfectly!

Though in this case, not all subitems with 2 or more needed to be corrected as it seems different versions of the same song (sometimes on different discs) have the same ISRC. For example U2's "Out of Control" has two versions, the original "Boy" album version and the "Three EP" version both have the same ISRC on different discs of the 2008 deluxe "Boy" album.

Searching for Tracks with Same ISRC

Reply #13
Yes, ISRC is defined as a code to uniquely identify recordings, not just any individual track on any one CD. So, it makes sense for tracks that represent equivalent recordings to have the same ISRC.

I would guess not all CDs with ISRCs take this into account though. Or perhaps some even give the same ISRC to different recordings. Or perhaps opinions differ on whether remasters and other new versions of the same recording should be given the same or different ISRCs. Who really knows?

Searching for Tracks with Same ISRC

Reply #14
Yes, ISRC is defined as a code to uniquely identify recordings, not just any individual track on any one CD. So, it makes sense for tracks that represent equivalent recordings to have the same ISRC.

I would guess not all CDs with ISRCs take this into account though. Or perhaps some even give the same ISRC to different recordings. Or perhaps opinions differ on whether remasters and other new versions of the same recording should be given the same or different ISRCs. Who really knows?


It seems to be a mess though! Sometimes, an identical song (same version) can have 2 ISRCs! For example, the songs on the 2002 "The Very Best of Fleetwood Mac" do not have the same ISRCs as the versions on the 2004 album remasters, e.g. "Go Your Own Way" being USWB10202605 on the 2002 "The Very Best of Fleetwood Mac", and USWB10400050 on the 2004 "Rumours" album.

Searching for Tracks with Same ISRC

Reply #15
If you know SQL and must stay in foobar2000, foo_uie_sql_tree can do what you want.
e.g.,
SELECT DISTINCT isrc, COUNT(*) as cnt
FROM medialibrary
GROUP BY isrc
ORDER BY cnt DESC