-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pasting multiple isrcs. #1
Comments
The attention points are
:) |
Duplicate marking is actually already present (along with a bunch of other sanity checks - e.g. for all-zero codes, and codes with unassigned country codes) |
Hello Kepstin. |
I've done an initial pass of multiple ISRC paste which is live now on https://magicisrc-beta.kepstin.ca/ - I'd appreciate any feedback. This current implementation is a simple spread-sheet like thing where any time there's a line break in the pasted input, it will move to the next field. So this is useful for copy/pasting out of spreadsheets or simple text files. It makes no attempt to only find ISRCs in the pasted text. I would still like to add some sort of parsing support at some point to handle more complex cases. |
I use @jesus2099's script for pasting in CUE sheets with ISRC fields, so the beta page doesn't quite work for my case. An example cue file: sample.cue.txt |
Right. For cue sheets, I really want to get a proper parser in place, so it can do things like skip tracks without isrcs. FWIW: I'm not going to deploy the beta paste feature on https://magicisrc.kepstin.ca/ until I've gotten a better parsing solution in place or jesus2099's userscript has been updated to be compatible. |
Thanks @kepstin, it looks great to manage tracks with no ISRC (skip track). |
I've added support for matching/extracting the IRSC in pasted text, and released the multiple paste feature in v20240922.0. I would still like to add a proper parser for things like CUE sheets or ISRC logs at some point… |
Thanks @kepstin! I am eager to test it, next time! |
Seems to work good here. One suggestion I would make: If a line doesn't contain any text matching an ISRC, it should try to skip to a line that does before advancing to the next track to paste into. That would better match the old userscript and work well enough for CUE files that don't have any tracks missing ISRCs and should be good enough until proper CUE parsing is implemented IMO. |
So magicisrc is currently in one-ISRC-per-line mode ? Sorry I had no time to test, yet. Interesting for minc source! Maybe we could try to detect the source and switch between two modes: this row mode, or, MASS ISRC bulk mode? It could be difficult, but cool. Row mode is expecting no less and no more than 1 ISRC on each row, representing a track, and it will skip MB tracks for each source row without ISRC. |
Ach, How can I use cuesheets to mass paste ISRC now? |
There should be the ability to paste text containing a list of multiple ISRCs, so they can be assigned sequentially to tracks. This saves a lot of effort individually copy/pasting ISRCs into separate fields.
An enhancement would be to parse certain common formats, e.g. cue files, to assign isrcs to tracks smartly.
The text was updated successfully, but these errors were encountered: