Restructure by artist without "featuring"
Posted: Mon Oct 29, 2012 2:52 pm
Hi.
Great program at first. I used it a lot in the last days to rename all my mp3s and to get a sensible naming structure.
Now that I updated all the ID3 tags I thought about changing the way I structure the files and played around with the build-in options. I would prefer if my folders were structured as !%A|%L which in the beginning was easy to achieve. Eventually though it happened that I got albums distributed over several "authors" as there are those authors like e.g. Artist | Artist feat. xyz | Artist Feat. zyx | Artist vs. abc | Artist & cba.
I guess this could be solved by a script but:
I don't have a clue how to program a script that scans the artist string until it finds a regular expression (feat./ft./vs./& - case insensitive) and only does the level 2 structure according to the prior part of the string. Also, if no album was found, the files are supposed to be put directly in level 1 under %A.
Could someone help me or give me a hint to how I can parse a string and find the regular expression with the scripts?
Great program at first. I used it a lot in the last days to rename all my mp3s and to get a sensible naming structure.
Now that I updated all the ID3 tags I thought about changing the way I structure the files and played around with the build-in options. I would prefer if my folders were structured as !%A|%L which in the beginning was easy to achieve. Eventually though it happened that I got albums distributed over several "authors" as there are those authors like e.g. Artist | Artist feat. xyz | Artist Feat. zyx | Artist vs. abc | Artist & cba.
I guess this could be solved by a script but:
I don't have a clue how to program a script that scans the artist string until it finds a regular expression (feat./ft./vs./& - case insensitive) and only does the level 2 structure according to the prior part of the string. Also, if no album was found, the files are supposed to be put directly in level 1 under %A.
Could someone help me or give me a hint to how I can parse a string and find the regular expression with the scripts?