IPB

Welcome Guest ( Log In | Register )

4 Pages V  « < 2 3 4  
Reply to this topicStart new topic
> [WS] iTunes, web sources script
cduve
post Nov 7 2012, 14:21
Post #46


Member


Group: Members
Posts: 3
Joined: 7-November 12
From: Ireland
Member No.: 17143
Mp3tag Version: 2.53



Hi Pone, thank you for a great script!

I'm new to this scripting business so forgive me if this is very obvious, but with regard to the small artwork, would it be possible to do a string replace on the 'artworkUrl100' and replace 100x100 with 600x600??

I did a test with a couple of urls and manually changed them and they returned the bigger image...

As a matter of interest, where can I get info on developing these scripts? What language is it written in?

Thanks!
Go to the top of the page
 
+Quote Post
cduve
post Nov 7 2012, 14:39
Post #47


Member


Group: Members
Posts: 3
Joined: 7-November 12
From: Ireland
Member No.: 17143
Mp3tag Version: 2.53



I figured out the string replace...

For anyone who's interested, I added the following code:
CODE
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"
regexpreplace "100x100" "600x600"

just before:
CODE
outputto "COVERURL"
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"


Hope that helps someone...
Go to the top of the page
 
+Quote Post
pone
post Nov 7 2012, 21:39
Post #48


Member


Group: Full Members
Posts: 1571
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.50



ZITAT(cduve @ Nov 7 2012, 15:39) *
I figured out the string replace...

For anyone who's interested, I added the following code:
CODE
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"
regexpreplace "100x100" "600x600"

just before:
CODE
outputto "COVERURL"
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"


Hope that helps someone...


Great! Thank you for adding to this script. The 100x100 px cover has been a real handicap.
I will put this into the script. Thank you very much.

Here is the official manual for writing web scripts:
http://help.mp3tag.de/main_online.html
And you will need a little knowledge of the Mp3tag Regex Language: http://help.mp3tag.de/options_format.html#regexp
And there is the forum if you have questions.
Go to the top of the page
 
+Quote Post
cduve
post Nov 7 2012, 23:12
Post #49


Member


Group: Members
Posts: 3
Joined: 7-November 12
From: Ireland
Member No.: 17143
Mp3tag Version: 2.53



QUOTE (pone @ Nov 7 2012, 20:39) *
Great! Thank you for adding to this script. The 100x100 px cover has been a real handicap.
I will put this into the script. Thank you very much.

Here is the official manual for writing web scripts:
http://help.mp3tag.de/main_online.html
And you will need a little knowledge of the Mp3tag Regex Language: http://help.mp3tag.de/options_format.html#regexp
And there is the forum if you have questions.


No problem! Thank you for this script, I'm learning a lot from your hard work! Just getting stuck into your discogs mod its excellent!
Go to the top of the page
 
+Quote Post
poster
post Dec 31 2012, 13:36
Post #50


Member


Group: Full Members
Posts: 228
Joined: 22-March 09
Member No.: 9241
Mp3tag Version: 2.55



Hi pone,

did you have the opportunity to look after the "double quotation mark" bug?

Websource und doppeltes Anführungszeichen

I love you wonderful script but this bug annoys me every now and then, because in the case of double quotation marks everything gets cut of behind these.

Latest annoying example:
Album: Living Country Blues USA Vol. 2 - Blues On Highway 61

Artist James "Son" Thomas gets cut to James.
Go to the top of the page
 
+Quote Post

4 Pages V  « < 2 3 4
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: 24th May 2013 - 10:38