Is it possible for the script to read tag Artist - Music and search for the albums that have this song at iTunes Store? Basically what I do today is to type in the browser "Artist - Music itunes" and get the result it gives me (whether single or full album).
I was wondering if there's an easy way to modify the script to grab only the year. I don't like the whole release date, just the year. I'm just getting started, don't know much about editing src's.
I read the faqs but still don't get it. I understand how to create actions. But i don't know how to do this one. I think i should choose the action type "replace". In "field" i should enter "year". But what should i enter in "original"? And what should i enter in "replace with"? I mean, each date is different for each album.
Answering to your question, i find the long date in the field "year". I want to save in the field "year" only the year of the release, i don't care about the long date. Here's an example:
Thanks! this works perfectly! for anyone having trouble with this, if you want to add another word to remove from the query you have to add another ($replace to the line. so if you are removing 10 words, you should have 10 instances of ($replace also.
My final search query looks like this, you can see that i added "feat." and "&" to be filtered out of the artist section also
[SearchBy]=$regexp($replace($replace(%artist%,' feat.',),' &',),'(^.[^ ])(.$)',$1) $regexp($replace($replace($replace($replace($replace(%title%,'(Clean)',),'(Dirty)',),'(Extended)',),'(Radio Edit)',),'(Short Edit)',),'(Instrumental)',),'(^.[^ ])(.$)',$1)
To minimize the complexity of the formatstring, ...
see "Mp3tag/help/main_scripting.html" ...
the function $replace allows to add "from-to-pairs" within the function parameter list, ... $replace(string,from1,to1,from2,to2,...)
oh awesome Ill try that out thanks! If anyone could help me with this last adjustment it would be awesome. I'm trying to get publisher field to only display record label info, no date or distributor. In trying to get rid of the date i figured the following would work:
but it seems unable to grab the date, should I be putting this under # COPYRIGHT instead? i think my best option would be to use $cutLeft and specify 7 spaces to be removed, but i havent been able to properly integrate it
as for the following distributor info, I would like to make a rule that anything starting with and following a "/" or " ," would be removed.
An example of my ideal Publisher field; ℗ 2017 Kemosabe Records/Columbia Records, a Division of Sony Music Entertainment
would turn into Kemosabe Records
sorry for the ignorance! I really appreciate the help
Thanks so much again, its working perfectly. learning from what you gave me I added a line to remove ", a division of" clauses that come up alone sometimes; example- Epic Records, A Division of Sony.... you can see how i added below. It's amazing how helpful you guys are on this forum
I am curious about the indentation of some lines though, is this just for organization or does mp3tag actually read the indented lines differently? my script seems to be working fine without the indentation