![]() ![]() |
Oct 5 2011, 00:07
Post
#1
|
|||
![]() Member Group: Full Members Posts: 416 Joined: 3-December 10 From: Ireland Member No.: 13334 Mp3tag Version: 2.55a |
**LATEST V2.1 updated 08.05.2012 LATEST**
beatport_by_stevehero_v2.1.zip ( 38.64K )
Number of downloads: 1352**NOW SINGLE TRACK PARSING (CLICK FOR EXAMPLE TRACK HERE)** INFO PANELS + TAG EXAMPLES: UPDATE HISTORY: V2.1 FIXED: Releases with missing keys (see example www.beatport.com/release/you-know-what-its-like/892120). V2.0 FIXED: Releases with missing genres (see example www.beatport.com/release/get-up!/855572). MINOR FIX: Search by regexp (unwanted spaces and others). CHANGE: COMMENT FIELD is no longer user defined. It outputs the INITIAL KEY output to it. e.g. '2A'. CHANGE: Optimised cover parsing (makes sure to get either 500 x 500 or 60 x 60 px version of the release). ADDED: SINGLE TRACK parsing (see example www.beatport.com/track/lick-it-extended/3426606). ADDED: .:: R E M O V E F I E L D S :. section at end of script to deactivate fields. ADDED: Description of releases at the list of search results... window. ADDED: Shows if release has cover 500 x 500 or 60 x 60 at the list of search results... window. V1.3 FIXED: Missing BPM '0' to ''. (see www.beatport.com/release/self/12239). MINOR FIX: Unwanted spaces in CATALOG # field. ADDED: Camelot notation change to INITIAL KEY field. e.g. 'G♯ Minor' becomes '1A'. ADDED: Ways to format the YEAR and DATE fields in the script. Delete the '#' where you want it formatted and place a '#' in the other regexpreplace. V1.2 ADDED: Search by Artist script. ADDED: BPM field. ADDED: INITIAL KEY field. ADDED: TOTALDISKS field= 01. V1.1 ADDED: Search by title script. ADDED: Leading zeros to TRACK and TOTALTRACKS. ADDED: Output of TRACK/TOTALTRACKS. HOW TO USE THE SCRIPTS: **PLEASE READ CAREFULLY** 1. Download the "beatport_by_stevehero_v2.1.zip" file & extract it to "%appdata%\mp3tag\data\sources" directory. See this post for more info. 2. Click - RELEASE Direct by BEATPORT_RELEASE_ID (SHORT-CUT ALT>S>S>B) - RELEASE Direct by WWW(URL) (SHORT-CUT ALT>S>S>W) - RELEASE Search by Artist (SHORT-CUT ALT>S>S>A) (V1.2 UPDATE) - RELEASE Search by (Album)Artist + Release (SHORT-CUT ALT>S>S>R) - RELEASE Search by (Album)Artist + Title (SHORT-CUT ALT>S>S>T) - RELEASE Search by Release (SHORT-CUT ALT>S>S>S) - RELEASE Search by Title (SHORT-CUT ALT>S>S>E) (V1.1 UPDATE) - SINGLE TRACK Direct by BEATPORT_TRACK_ID (SHORT-CUT NONE) (V2.0 UPDATE) - SINGLE TRACK Direct by WWW(URL) (SHORT-CUT NONE) (V2.0 UPDATE) - SINGLE TRACK Search by (Album)Artist + Title (SHORT-CUT NONE) (V2.0 UPDATE) - SINGLE TRACK Search by Title (SHORT-CUT NONE) (V2.0 UPDATE) 2a. WHAT IS OUTPUTTED WITH THE SCRIPT: **PLEASE READ CAREFULLY** # COVERURL OUTPUTS release cover art @ 500x500px (If 500px cannot be found, it gets 60px version). # ALBUM OUTPUTS release to album. # YEAR OUTPUTS year in YYYY format. # DATE OUTPUTS year to date in MMDD format. # CATALOG # OUTPUTS release catalog number. # PUBLISHER OUTPUTS release record label. # ALBUMARTIST OUTPUTS "VA" if greater than 2 artists per release e.g. change to "Various" below in the script if you prefer. # COMPILATION OUTPUTS "1" if greater than 2 artists per... # TRACK OUTPUTS track name/s. # MIXNAME APPENDS mixname to end of track with parentheses. Replace where it says "Original Mix" with "bla bla" to keep "Original Mix". **QUICK FIX** # _LENGTH OUTPUTS length of track/s (only shows in the adjust tag information window, it does not tag your file). # GENRE OUTPUTS genre and changes "Deep House" to "House Deep". Replace "Deep House" etc. with "bla bla" to keep "Deep House". **QUICK FIX** # ARTIST OUTPUTS artist/s. # MIXARTIST OUTPUTS mixartist/s. # ALBUM ARTIST OUTPUTS "albumartist" like above. **MUST BE PLACED AFTER ALBUMARTIST** # ALBUM [CATOLOG #] APPENDS album/release with catalog no. to "ALBUM [CATOLOG #]". # UNSYNCEDLYRICS OUTPUTS release info you sometimes see under artwork e.g. "Time for another Fedde le Grand anthem!...". # COMMENT OUTPUTS INITIAL KEY field to it. (V2.0 UPDATE) # DISCNUMBER USER DEFINED FIELD where it says "say "bla bla"" change "bla bla" to your liking, enter "|" if you want blank. # MEDIATYPE SAME AS ABOVE. # TOTALDISKS SAME AS ABOVE. (V1.2 UPDATE) # BEATPORT_RELEASE_ID OUTPUTS id of release you see at the end of the beatport url e.g. "438196". # WWW OUTPUTS url of release e.g. "www.beatport.com/release/so-much-love/438196". # TOTALTRACKS OUTPUTS Total amount of tracks on release. # TRACK / TOTALTRACKS OUTPUTS TRACK/TOTALTRACKS to TRACK. (V1.1 UPDATE) # BPM OUTPUTS bpm of track/s. (V1.2 UPDATE) # INITIAL KEY OUTPUTS key of track/s. (V1.2 UPDATE) # ^^^ TO CAMELOT NOTATION CHANGES values of INITIAL KEY to camelot notation. e.g. 'G♯ Minor' becomes '1A' (Delete between the headings if you dont want this function) (V1.3 UPDATE) DISABLING ACTIONS: If you want to disable an output like the appends album to "ALBUM [CATOLOG #]" one, place a "#" in front of the lines of code between the headings. e.g. # ALBUM [CATOLOG #] # outputto "album" # say " [" # sayoutput "catalog #" # say "]" # UNSYNCEDLYRICS See also the .:: R E M O V E F I E L D S ::. section at bottom of scripts for more info. (V2.0 UPDATE) NOTES: If a release has one "artist" on it, then that's the album artist. If a release has two artists on it, then the album artist is "artist one, artist two". If a release has more than two artists on it, the album artist is "VA". PLEASE FEEL FREE TO COMMENT ON THE SCRIPT. ENJOY. Credit for original script goes to jaimz and especially to pone for his invaluable help throughout. This post has been edited by stevehero: Jun 21 2012, 16:40 -------------------- I ♥ singing Dubstep ♪♫WOOB WOOB WOOB WOOB UBB OHMOMOMO DROP WOOOOOOB WOOB WOOB WOOB WUB WUB WUB WUB WUB WUB WUB WUB MOMOMO WOOB WOOB♫♪
|
||
|
|
|||
Oct 5 2011, 00:42
Post
#2
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
Nice to see the final version.
Good work! |
|
|
|
Oct 5 2011, 01:12
Post
#3
|
|
![]() Member Group: Full Members Posts: 416 Joined: 3-December 10 From: Ireland Member No.: 13334 Mp3tag Version: 2.55a |
Nice to see the final version. Good work! Thanks pone. Means a lot to hear you say that. :] -------------------- I ♥ singing Dubstep ♪♫WOOB WOOB WOOB WOOB UBB OHMOMOMO DROP WOOOOOOB WOOB WOOB WOOB WUB WUB WUB WUB WUB WUB WUB WUB MOMOMO WOOB WOOB♫♪
|
|
|
|
Oct 11 2011, 21:26
Post
#4
|
|
|
Member Group: Full Members Posts: 5 Joined: 30-September 09 Member No.: 11017 Mp3tag Version: 2.49 |
Thanks a lot. Very useful and seems to work flawlessly!
|
|
|
|
Oct 17 2011, 18:24
Post
#5
|
|
|
Member Group: Full Members Posts: 10 Joined: 17-October 11 Member No.: 15443 Mp3tag Version: 2.49 |
hey,
i just registered to say thanks. great work! it blows my mind what can be done with the web sources scripts API. |
|
|
|
Oct 17 2011, 22:03
Post
#6
|
|
|
Member Group: Full Members Posts: 26 Joined: 23-July 07 Member No.: 5314 Mp3tag Version: v2.38 |
Any chance of this little beauty pulling the Key information of tracks? Is it offered in the api?
|
|
|
|
Oct 17 2011, 23:42
Post
#7
|
|
![]() Member Group: Full Members Posts: 416 Joined: 3-December 10 From: Ireland Member No.: 13334 Mp3tag Version: 2.55a |
EDIT The script now offers BPM and INITIAL KEY parsing. See starting post.
This post has been edited by stevehero: Sep 16 2012, 11:59 -------------------- I ♥ singing Dubstep ♪♫WOOB WOOB WOOB WOOB UBB OHMOMOMO DROP WOOOOOOB WOOB WOOB WOOB WUB WUB WUB WUB WUB WUB WUB WUB MOMOMO WOOB WOOB♫♪
|
|
|
|
Nov 8 2011, 02:52
Post
#8
|
|
|
Member Group: Members Posts: 2 Joined: 7-November 11 Member No.: 15551 Mp3tag Version: 2.49 |
For some reason, when I try to tag by URL, it says the following:
"Error connecting to server: http://api.beatport.com" This is the URL of one of the songs I am trying to tag. http://www.beatport.com/track/so-much-love...lub-mix/2439233 |
|
|
|
Nov 9 2011, 02:06
Post
#9
|
|
![]() Member Group: Full Members Posts: 416 Joined: 3-December 10 From: Ireland Member No.: 13334 Mp3tag Version: 2.55a |
For some reason, when I try to tag by URL, it says the following: "Error connecting to server: http://api.beatport.com" This is the URL of one of the songs I am trying to tag. http://www.beatport.com/track/so-much-love...lub-mix/2439233 Your error relates to using the wrong URL to parse beatport.com. Instead of using the track url use the release one such as http://www.beatport.com/release/so-much-love/438196 whereas track is like the url you posted relates to the individual track itself. The script is not intended for individual tracks. The way I use it if there I have only one track from a release But in is to parse the album it relates too. But in your case the track you are parsing is the only one on your realease. -------------------- I ♥ singing Dubstep ♪♫WOOB WOOB WOOB WOOB UBB OHMOMOMO DROP WOOOOOOB WOOB WOOB WOOB WUB WUB WUB WUB WUB WUB WUB WUB MOMOMO WOOB WOOB♫♪
|
|
|
|
Nov 17 2011, 03:06
Post
#10
|
|
![]() Member Group: Full Members Posts: 416 Joined: 3-December 10 From: Ireland Member No.: 13334 Mp3tag Version: 2.55a |
UPDATE VERSION 1.1 OF 'BEATPORT.COM SCRIPTS BY STEVEHERO'
1. added a search by title script. 2. added leading zeros to track and totaltracks. 3. added output of TRACK / TOTALTRACKS See this post for update. -------------------- I ♥ singing Dubstep ♪♫WOOB WOOB WOOB WOOB UBB OHMOMOMO DROP WOOOOOOB WOOB WOOB WOOB WUB WUB WUB WUB WUB WUB WUB WUB MOMOMO WOOB WOOB♫♪
|
|
|
|
Nov 19 2011, 13:18
Post
#11
|
|
|
Member Group: Members Posts: 3 Joined: 24-March 09 Member No.: 9298 Mp3tag Version: 2.42 |
For some reason, when I try to tag by URL, it says the following: "Error connecting to server: http://api.beatport.com" Had the same problem and could fix it by applying the following changes to the source-files: Change the line with [AlbumUrl]=http://api.beatport.com/catalog/releases/detail?v=1.0&format=xml&id= to [AlbumUrl]=http://api.beatport.com and then change regexpreplace ">\s+<" "><" findinline "<release" to regexpreplace ">\s+<" "><" say "/catalog/releases/detail?v=1.0&format=xml&id=" findinline "<release" Hope this helps adrian |
|
|
|
Dec 11 2011, 21:02
Post
#12
|
|
|
Member Group: Full Members Posts: 20 Joined: 28-March 09 From: Liverpool, UK Member No.: 9368 Mp3tag Version: 2.49a |
Firstly thanks stevehero, dano and pone for these fantastics scripts. I only discovered the web sources forum yesterday and I've been tagging using the scripts since.
Ok the problem I'm having is that I'm happy with the existing ARTIST fields of the releases I'm tagging using the Steve's beatport script so I've been trying to customise it slightly so that this field is skipped when it comes to tagging. Not having much look I'm afraid. Firstly I tried commenting out, using #, the lines below but the script no longer works properly when I do this (attachment 1) # ARTIST I've also tried commenting out only the line that says... outputto "Artist" ... but that doesn't work correctly either (attachment 2). The GENRE field gets muddled up for want of a better word! It's as if the script requries the artist field to be written. Can anyone help me with this? Cheers, Pau. |
|
|
|
Dec 11 2011, 21:35
Post
#13
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
comment-out only the say... parts at the artist section:
QUELLTEXT #sayregexp "(?<=<Artist>)[^<]+" "\\\\" "</track>" #say "|" that should work. or simply set artist to zero at the end of the script. or almost at the end, but before the "track fix" section, if you get a strange output at track and title. QUELLTEXT set "artist"
This post has been edited by pone: Dec 11 2011, 21:35 |
|
|
|
Dec 11 2011, 23:29
Post
#14
|
|
|
Member Group: Full Members Posts: 20 Joined: 28-March 09 From: Liverpool, UK Member No.: 9368 Mp3tag Version: 2.49a |
comment-out only the say... parts at the artist section: CODE #sayregexp "(?<=<Artist>)[^<]+" "\\\\" "</track>" #say "|" that should work. or simply set artist to zero at the end of the script. or almost at the end, but before the "track fix" section, if you get a strange output at track and title. CODE set "artist" Thanks pone, that works great. I've also been playing around with the script and made some changes to prevent other fields being written and it's working really well CODE set "albumartist" set "album artist" Maybe you can help me with the issue I'm having with the DATE field? It's read in the script in the format MMDD whereas all my other previously tagged files are in DDMM format. Pone you helped me with this in this topic but I'm lost at how the regular expression you gave me would work otuside the main program and in a script. Many thanks, Paul |
|
|
|
Dec 12 2011, 00:26
Post
#15
|
|
![]() Member Group: Full Members Posts: 1571 Joined: 15-March 09 From: Germany Member No.: 9103 Mp3tag Version: 2.50 |
Maybe you can help me with the issue I'm having with the DATE field? It's read in the script in the format MMDD whereas all my other previously tagged files are in DDMM format. Pone you helped me with this in this topic but I'm lost at how the regular expression you gave me would work otuside the main program and in a script. put this line QUELLTEXT regexpreplace "(\d\d\d\d)-(\d\d)-(\d\d)" "$1-$3-$2" after QUELLTEXT findline "<dateReleased>" at the DATE section. or change this QUELLTEXT indinline "-" sayuntil "-" findinline "-" sayuntil "</" into this QUELLTEXT findinline "-" 2 sayuntil "</" findinline "-" -1 movechar -1 sayuntil "-" at the DATE section @ stevehero: I hope you don't mind me messing up your script |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 07:05 |