I was not ... thank you ![]()
I want to suggest a little improvement of the script to search bandcamp by URL. If you have already performed a bandcamp search and stored the tags including the URL in your files in a previous run, with this change you will get the URL as preset value for the bandcamp URL for the new search.
Just change line 10 in the file &Bandcamp#&Bandcamp URL.src to
[SearchBy]=Bandcamp URL||$ifgreater($strstr(%www%,.bandcamp.com/),0,%www%,)||%s
Thanks for the suggestion! I've just released v0.4.5, which uses the existing contents from WWW when searching by Bandcamp URL.
bandcamp-0.4.5.zip (2.7 KB)
I've made some extensions to the Bandcamp WSS, including:
- Track URLs are stored in
WWW TRACK. - There are now two scripts that can be used to search bandcamp by URL. The first searches with an Album URL with preset value from
WWWand the second with a Track URL with preset value fromWWW TRACK. - A new configuration setting can be used to get separate
COMMENT,CREDITS,GENREandKEYWORDStags for track Urls. This is intended to support comparing track tags with album tags.
These mods enable to easily use the bandcamp album results to afterwards request track info and artwork from bandcamp for one track after another. Very helpful for that are the keyboard Arrow down to proceed to the next track and the shortcut Ctrl+Shift+I to quickly call the last used tag source again for this track. There have been some requests in this topic for a similar work flow.
If you have questions, remarks or encounter problems please let me know.
Download
Bandcamp-0.4.6.zip (4,3 KB)
I've released version 0.4.7, which fixes a small problem that may occur with bandcamp track requests. If the track request contains two different artists, a multiple value tag is used for ARTIST to correctly reflect this situation.
Bandcamp-0.4.7.zip (4,4 KB)
Hi all. Loving this web source a lot, thank you. Appreciate that it pull credits and now the different track details too.
I was looking at a way to automate locating the release URL, and leverage the fact that bandcamp purchases already contain the comment "Visit [artist/label].bandcamp.com".
Regex seems to do the trick here, given bandcamp urls are pretty consistent in their syntax. I've made these two into actions -
Format WWW field:
$regexp(%comment%,'^Visit\s+(https://[^/]+).*$','$1')/album/$regexp($regexp($replace($lower(%album%),' ','-'),'[^a-z0-9-]',),'-+','-')
Format WWW Track field:
$regexp(%comment%,'^Visit\s+(https://[^/]+).*$','$1')/track/$regexp($regexp($replace($lower(%title%),' ','-'),'[^a-z0-9-]',),'-+','-')
With the recent change utilising a preset value, this makes things very efficient ![]()
I'm sure there will be outliers that fail given this is just assuming the album/track name will map directly onto the URL, but of releases i've checked so far ive had no issues
Maybe others could find this useful? Or would there be potential for integrating this into the web source itself?
Thank you for your friendly comment.
It's certainly useful, if you don't have a bandcamp URL to run the script with and if the available tags already contain the needed data. In this case you can easily get the URL with executing your actions.
I don't think that actions could be integrated into web source scripts. Instead you could show your actions files here from mp3tag configuration folder/data/actions.
Thanks! And yes, it is probably easier to keep it seperate from the WS.
I'm running MP3Tag for Mac, so accessing and sharing individual action files isn't very simple, but here is a JSON export of these two actions:
Bandcamp URL Actions.txt (1.1 KB)
You'll need to rename the extension back to .json from .txt. All these do is a simple 'format tag field' action that performs the regex listed above on 'WWW' and 'WWW Track' respectively.