IPB

Welcome Guest ( Log In | Register )

17 Pages V  < 1 2 3 4 5 > »   
Reply to this topicStart new topic
> [WS] iTunes, web sources script
pone
post Sep 14 2012, 21:23
Post #31


Member


Group: Full Members
Posts: 1695
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(AppleAddict @ Sep 14 2012, 20:31) *
Hello, I'm a French Person and I would like to have the Web Sources Scripts for iTunes France please ! Thanks rolleyes.gif


You can modify the script to get to other catalogs than the US catalog. For example to get the iTunes France catalog, change the following two lines to appear like this:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country=FR
[AlbumUrl]=http://itunes.apple.com/lookup?country=FR&id=
Go to the top of the page
 
+Quote Post
AppleAddict
post Sep 15 2012, 09:25
Post #32


Member


Group: Members
Posts: 4
Joined: 14-September 12
Member No.: 16921
Mp3tag Version: v2.52



QUOTE (pone @ Sep 14 2012, 22:23) *
You can modify the script to get to other catalogs than the US catalog. For example to get the iTunes France catalog, change the following two lines to appear like this:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country=FR
[AlbumUrl]=http://itunes.apple.com/lookup?country=FR&id=


Oh thanks, thanks !! You are awesome ! And why do you the release date from the music ! I would like to have the complete date on my Music please. (ex. Released: Apr 27, 2012)
Go to the top of the page
 
+Quote Post
pone
post Sep 15 2012, 13:37
Post #33


Member


Group: Full Members
Posts: 1695
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(AppleAddict @ Sep 15 2012, 10:25) *
And why do you the release date from the music ! I would like to have the complete date on my Music please. (ex. Released: Apr 27, 2012)


Because I want to keep this script simple. When I add a DATE tag-field, there will be new problems with releases where this information is not present or not completet. Furthermore there are different ways of date formates prefered by the users, I would have do make different script versions to fit all wishes. And I don't know what release dates itunes is displaying for old recordings. The release date of the first vinyl or CD release (which is the only thing which would be interessting), or the digital re-release date in the itunes store.

If you are keen on that you can experiment a little bit with that. I will help you to modify the script if I find some time. If it is working with all releases, maybe we can include that into the script.
Go to the top of the page
 
+Quote Post
AppleAddict
post Sep 15 2012, 14:21
Post #34


Member


Group: Members
Posts: 4
Joined: 14-September 12
Member No.: 16921
Mp3tag Version: v2.52



QUOTE (pone @ Sep 15 2012, 14:37) *
Because I want to keep this script simple. When I add a DATE tag-field, there will be new problems with releases where this information is not present or not completet. Furthermore there are different ways of date formates prefered by the users, I would have do make different script versions to fit all wishes. And I don't know what release dates itunes is displaying for old recordings. The release date of the first vinyl or CD release (which is the only thing which would be interessting), or the digital re-release date in the itunes store.

If you are keen on that you can experiment a little bit with that. I will help you to modify the script if I find some time. If it is working with all releases, maybe we can include that into the script.


Agree. Thank you for your message! But take your time. I am already satisfied with emplement MP3Tag! (P.S I use the latest version of iTunes)
Go to the top of the page
 
+Quote Post
stevehero
post Sep 16 2012, 13:48
Post #35


Member


Group: Full Members
Posts: 712
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81b



QUOTE (AppleAddict @ Sep 15 2012, 14:21) *
Agree. Thank you for your message! But take your time. I am already satisfied with emplement MP3Tag! (P.S I use the latest version of iTunes)

Sorry Pone for barging in on your script but I've modified your script to the way I like it. This may be of help to you 'AppleAddict'.

Format as follows:
YEAR: YYYY-MM-DD
DATE: MMDD

Added/changed lines of code (highlighted):
#ALBUM
outputto "ALBUM"
sayregexp "(?<=\"collectionName\":\").+?(?=\")" ", " "}"
# YEAR
outputto "YEAR"
sayregexp "(?<=\"copyright\":\")\d\d\d\d(?=.)" ", " "}"

regexpreplace "(\d\d\d\d),?" "<<<year$1>>>"
findinline "\"copyright\":\"" 1 1
ifnot "<<<year"
gotochar 1
sayregexp "(?<=\"releaseDate\":\"<<<year)\d\d\d\d(?=>>>)" ", " "}"
say "-"
sayregexp "(?<=>>>-)\d\d-\d\d(?=.)" ", " "}"
else
gotochar 1
endif
# DATE
outputto "DATE"
regexpreplace ">>>-(\d\d)-(\d\d)" ">>>-$1$2"
sayregexp "(?<=>>>-)\d\d\d\d(?=.)"

# PUBLISHER
outputto "PUBLISHER"
regexpreplace "<<<year\d*>>>" ""
regexpreplace " +" " "
sayregexp "(?<=\"copyright\":\").+?(?=\")" ", " "}"


I've also added a WWW field to it.
e.g: http://itunes.apple.com/us/album/dont-you-...dio/id559259832

Added/changed lines of code (highlighted):
# COVER
outputto "COVERURL"
sayregexp "(?<=\"artworkUrl100\":\").+?(?=\")" ", " "}"
# WWW
outputto "WWW"
sayregexp "(?<=\"collectionViewUrl\":\").+?(?=\?)" ", " "}"

# ALBUMARTIST
outputto "ALBUMARTIST"
sayregexp "(?<=\"artistName\":\").+?(?=\")" ", " "}"


It seems to work okay with no problems as yet.


--------------------
Go to the top of the page
 
+Quote Post
pone
post Sep 16 2012, 16:52
Post #36


Member


Group: Full Members
Posts: 1695
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



thanks stevehero, looks good.
does it work for all releases? is the release date always present?
Go to the top of the page
 
+Quote Post
stevehero
post Sep 16 2012, 17:01
Post #37


Member


Group: Full Members
Posts: 712
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.81b



QUOTE (pone @ Sep 16 2012, 16:52) *
thanks stevehero, looks good.
does it work for all releases? is the release date always present?

Cheers, yeah everything works like a charm my end. I have yet to come across a release date yet (unless other people have) that has been missing.

As long as people remember to put the bits in the right places like I have in the above post then everyone should have no problem.

This post has been edited by stevehero: Sep 16 2012, 17:02


--------------------
Go to the top of the page
 
+Quote Post
peteyt
post Sep 17 2012, 03:39
Post #38


Member


Group: Full Members
Posts: 17
Joined: 23-May 12
Member No.: 16487
Mp3tag Version: 2.53



Just wanted to say a big thanks been using this script for a bit now and it helps a lot saving time.
Go to the top of the page
 
+Quote Post
Moshi
post Sep 30 2012, 22:26
Post #39


Member


Group: Full Members
Posts: 34
Joined: 3-January 10
Member No.: 11594
Mp3tag Version: 2.52



QUOTE (pone @ Sep 14 2012, 22:23) *
You can modify the script to get to other catalogs than the US catalog. For example to get the iTunes France catalog, change the following two lines to appear like this:

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country=FR
[AlbumUrl]=http://itunes.apple.com/lookup?country=FR&id=



Is only one country possible?


--------------------
www.last.fm/user/Moshi_/
Go to the top of the page
 
+Quote Post
pone
post Sep 30 2012, 23:54
Post #40


Member


Group: Full Members
Posts: 1695
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(Moshi @ Sep 30 2012, 23:26) *
Is only one country possible?


I guess so.
But you can make different versions of the script for different countries. Use a different filename for each one!
Go to the top of the page
 
+Quote Post
Kareha
post Oct 7 2012, 14:14
Post #41


Member


Group: Full Members
Posts: 12
Joined: 13-May 09
Member No.: 10247
Mp3tag Version: 2.52a



With regards to the album art only coming back as 100x100, maybe you could check out Album Art Downloader's iTunes cover script? That one always brings me 600x600 art whenever I use it, so maybe there's something you can use for this script?

This post has been edited by Kareha: Oct 7 2012, 14:16
Attached thumbnail(s)
Attached Image
 
Go to the top of the page
 
+Quote Post
pone
post Oct 8 2012, 00:57
Post #42


Member


Group: Full Members
Posts: 1695
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(Kareha @ Oct 7 2012, 15:14) *
With regards to the album art only coming back as 100x100, maybe you could check out Album Art Downloader's iTunes cover script? That one always brings me 600x600 art whenever I use it, so maybe there's something you can use for this script?


where is that album art downloader?
Go to the top of the page
 
+Quote Post
Kareha
post Oct 8 2012, 14:41
Post #43


Member


Group: Full Members
Posts: 12
Joined: 13-May 09
Member No.: 10247
Mp3tag Version: 2.52a



QUOTE (pone @ Oct 8 2012, 00:57) *
where is that album art downloader?


Here you go smile.gif

http://sourceforge.net/projects/album-art/

The dev also posts on the Hydrogenaudio forums, here's the forum link:

http://www.hydrogenaudio.org/forums/index....showtopic=57392
Go to the top of the page
 
+Quote Post
inis17
post Oct 23 2012, 18:30
Post #44


Member


Group: Members
Posts: 2
Joined: 23-October 12
Member No.: 17077
Mp3tag Version: 2.52a



Hi,
is it just me who keeps getting attached error, or does it experience also someone else?

None of these URLs work:

[BasedOn]=https://itunes.apple.com
[IndexUrl]=https://itunes.apple.com/search?term=%s&entity=album&limit=100
[AlbumUrl]=https://itunes.apple.com/lookup?id=
---
[BasedOn]=http://itunes.apple.com
[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100
[AlbumUrl]=http://itunes.apple.com/lookup?id=

Strange thing is, that if I put it into a browser and change %s to something, it works. Just http gets redirected to https

Thanks...

This post has been edited by inis17: Oct 23 2012, 18:31
Attached thumbnail(s)
Attached Image
 
Go to the top of the page
 
+Quote Post
inis17
post Oct 29 2012, 18:24
Post #45


Member


Group: Members
Posts: 2
Joined: 23-October 12
Member No.: 17077
Mp3tag Version: 2.52a



Forget my previous post... re-download helped, but don't know what went wrong anyway blink.gif
Go to the top of the page
 
+Quote Post

17 Pages V  < 1 2 3 4 5 > » 
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: 27th March 2017 - 15:29