IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [WS] Bandcamp
ms6676749
post Apr 11 2016, 21:54
Post #1


Member


Group: Full Members
Posts: 52
Joined: 17-March 16
Member No.: 21892
Mp3tag Version: 2.75



A quick WS script I whipped up. Due to Bandcamp's undocumented crappy search and shuttering its api, the main script only queries albums and the second script (more experimental) tries to form the artist's bandcamp page (artist.bandcamp.com) to search for releases. Anyways, they "work" for the most part.

What info is gathered:

Bandcamp_URL
Cover (hi-res)
Artist
Album
Band_ID
Album_ID
Track#
Title
Track_ID
Comments (or Description) (optional)

[Updated: 0.04, notes in another post]

This post has been edited by ms6676749: Jun 28 2017, 08:48
Attached File(s)
Attached File  Bandcamp.src ( 4.57K ) Number of downloads: 159
Attached File  Bandcamp___Track_Search.src ( 4.56K ) Number of downloads: 76
 
Go to the top of the page
 
+Quote Post
ms6676749
post May 12 2016, 06:07
Post #2


Member


Group: Full Members
Posts: 52
Joined: 17-March 16
Member No.: 21892
Mp3tag Version: 2.75



Updated. I have more luck searching <Album>, so I set the index parser to search that field accordingly.
Go to the top of the page
 
+Quote Post
ms6676749
post Jun 26 2016, 02:57
Post #3


Member


Group: Full Members
Posts: 52
Joined: 17-March 16
Member No.: 21892
Mp3tag Version: 2.75



Updated. First time I used it in awhile and I noticed that it had difficulty parsing one of the variants of "trackinfo: "

Fixed for now...
Go to the top of the page
 
+Quote Post
ms6676749
post Jun 18 2017, 16:43
Post #4


Member


Group: Full Members
Posts: 52
Joined: 17-March 16
Member No.: 21892
Mp3tag Version: 2.75



Updated websource. Sorry about the jankiness from my older Bandcamp scripts. Admittedly, they were done in a hurry. No one mentioned anything to me here, so I thought they worked well for others. Again, I don't use Bandcamp all that much, so I tested this recently and found the one I posted from last year was broken. This one should be much better (using sayregexp now). See OP for new src file.

This post has been edited by ms6676749: Jun 19 2017, 00:49
Go to the top of the page
 
+Quote Post
Xerus
post Jun 26 2017, 17:23
Post #5


Member


Group: Members
Posts: 1
Joined: 26-June 17
Member No.: 23575
Mp3tag Version: 2.83



Umm, how do I query an artist?
I don't have any albums, only individual Songs but nearly all of them are on bandcamp and got a cover there.
Go to the top of the page
 
+Quote Post
ms6676749
post Jun 28 2017, 08:44
Post #6


Member


Group: Full Members
Posts: 52
Joined: 17-March 16
Member No.: 21892
Mp3tag Version: 2.75



QUOTE (Xerus @ Jun 26 2017, 17:23) *
Umm, how do I query an artist?
I don't have any albums, only individual Songs but nearly all of them are on bandcamp and got a cover there.


Artist pages often times don't have the track info you're looking for. Also, one would need to go to another page, which is beyond what the index parser can do (index -> URL; not index -> URL -> URL2).

I updated the initial post to include a source that permits searching for single tracks.

This post has been edited by ms6676749: Jun 28 2017, 08:46
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th September 2017 - 02:48