IPB

Welcome Guest ( Log In | Register )

7 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> [WS] iTunes, web sources script
leigh
post Jun 8 2012, 10:24
Post #16


Member


Group: Members
Posts: 3
Joined: 8-June 12
Member No.: 16556
Mp3tag Version: 2.51



QUOTE (pone @ Jun 8 2012, 02:31) *
Can you post your script version or send it to me? It's much easier to find the problem when i can use it and read the debug file.


thanks i have uploaded what i have so far. it really is just a case of using this great script and changing a few fields round to maybe try and apply it to a different media type.

as i say i'm a complete amateur so maybe going about this the wrong way.
Attached File(s)
Attached File  iTunes42.src ( 2.28K ) Number of downloads: 309
 
Go to the top of the page
 
+Quote Post
pone
post Jun 8 2012, 14:26
Post #17


Member


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



ZITAT(leigh @ Jun 8 2012, 11:24) *
thanks i have uploaded what i have so far. it really is just a case of using this great script and changing a few fields round to maybe try and apply it to a different media type.

as i say i'm a complete amateur so maybe going about this the wrong way.


Good work on the script!

Use:
replace "\\\"" "&quot;"
or
replace "\\\"" "\\u0022"
That works perfectly.

I must confess that i don't know why I have included the replace "\\\"" "\"" line in the index part of my script. It doesn't seem to help anything. I did a few tests about quotationmarks but had the impression that itunes doesn't have this character in ther music database. They use only single quotes there, which avoids the problem.

Go to the top of the page
 
+Quote Post
DetlevD
post Jun 8 2012, 14:32
Post #18


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (pone @ Jun 8 2012, 15:26) *
... I must confess that i don't know why I have included ...

I don't want to bother you, pone, but there has been coming up a question to me about apple search entities ... in their API manual I do not find an entitiy called "album", so how can you use "album" successfully in your script?

DD.20120608.1532.CEST


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
pone
post Jun 8 2012, 15:06
Post #19


Member


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



ZITAT(DetlevD @ Jun 8 2012, 15:32) *
I don't want to bother you, pone, but there has been coming up a question to me about apple search entities ... in their API manual I do not find an entitiy called "album", so how can you use "album" successfully in your script?

DD.20120608.1532.CEST


It is there. Just look again:
http://www.apple.com/itunes/affiliates/res....html#searching
In the table there at entity, the following values are listed under music:
musicArtist, musicTrack, album, musicVideo, mix, song
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 8 2012, 16:30
Post #20


Member


Group: Full Members
Posts: 5031
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.63



QUOTE (pone @ Jun 8 2012, 16:06) *
It is there. Just look again: ... In the table there at entity, the following values are listed under music: musicArtist, musicTrack, album, musicVideo, mix, song

'pone' I beg your pardon ... now I see it too! Thank you.

DD.20120608.1730.CEST


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
leigh
post Jun 9 2012, 01:52
Post #21


Member


Group: Members
Posts: 3
Joined: 8-June 12
Member No.: 16556
Mp3tag Version: 2.51



oh wow that's it! superb that's been bugging me for a few days. i've been searching for a way to get the itunes meta onto the mp4's to show under the apple tv.

such a shame the lookup data doesn't seem to include cast, screenwriter or producer fields, only in the html. nevermind tho this will do nicely!

many thanks for your help with that and thanks again for your excellent script!
Go to the top of the page
 
+Quote Post
poster
post Jul 8 2012, 09:02
Post #22


Member


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



Hi pone,
this is found in the iTunes store. Therefore I wanted it to tag with your srcipt but the script can't find it.
iTunes
Go to the top of the page
 
+Quote Post
pone
post Jul 10 2012, 22:59
Post #23


Member


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



ZITAT(poster @ Jul 8 2012, 10:02) *
Hi pone,
this is found in the iTunes store. Therefore I wanted it to tag with your srcipt but the script can't find it.
iTunes


It's again the problem that the album is not in the US itunes store, only in the GB.

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

[IndexUrl]=http://itunes.apple.com/search?term=%s&entity=album&limit=100&country=GB
[AlbumUrl]=http://itunes.apple.com/lookup?country=GB&id=
Go to the top of the page
 
+Quote Post
poster
post Jul 11 2012, 08:54
Post #24


Member


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



ZITAT(pone @ Jul 10 2012, 23:59) *
You can modify the script to get to other catalogs than the US catalog.

Thank you very much, pone.
I had a look in the API documentary and noticed that there seem to be a lot of different national stores and you can define them with country ISO-codes.
I tried DE and this album was found too.

Do you have any experience how much these stores differ and wether it makes any sense to define more special srcipt-versions for different country-stores?

Go to the top of the page
 
+Quote Post
Link
post Jul 12 2012, 14:43
Post #25


Member


Group: Members
Posts: 2
Joined: 12-July 12
Member No.: 16672
Mp3tag Version: 2.51



2pone:
Thanks for the great script! Can you add 3 additional tag fields: TOTALTRACKS, DISCNUMBER, TOTALDISCS? And replace PUBLISHER tag with COPYRIGHT, as in the original songs from iTunes Store?
Go to the top of the page
 
+Quote Post
pone
post Jul 18 2012, 22:00
Post #26


Member


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



@poster:
I have no experience how much they differ. The only thing I can say is, there were about three questions here in the forum about problems with albums that could not be found because of that problem.
So there seem to be quite a lot of these cases. I will make a package with 5 or more specific country scripts at the next update.


@Link:
I can build in TOTALTRACKS.

If you want COPYRIGHT instead of PUBLISHER, you will have to edit the script yourself. I think PUBLISHER is more standard. But it's easy to chang for yourself. Upen the src fie in a text editor and change
outputto "PUBLISHER"
into
outputto "COPYRIGHT"

Do DISCNUMBER and TOTALDISCS make sense for itunes? Are there any discs? I Only see digital download releases there.
Go to the top of the page
 
+Quote Post
Link
post Jul 20 2012, 12:13
Post #27


Member


Group: Members
Posts: 2
Joined: 12-July 12
Member No.: 16672
Mp3tag Version: 2.51



QUOTE (pone @ Jul 19 2012, 03:00) *
@Link:
I can build in TOTALTRACKS.

If you want COPYRIGHT instead of PUBLISHER, you will have to edit the script yourself. I think PUBLISHER is more standard. But it's easy to chang for yourself. Upen the src fie in a text editor and change
outputto "PUBLISHER"
into
outputto "COPYRIGHT"


Thanks, it works!

QUOTE (pone @ Jul 19 2012, 03:00) *
Do DISCNUMBER and TOTALDISCS make sense for itunes? Are there any discs? I Only see digital download releases there.


Yes, itunes has the "Disc number" field. It is useful for sorting of multi-disc albums.

Go to the top of the page
 
+Quote Post
pone
post Jul 20 2012, 13:49
Post #28


Member


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



ZITAT(Link @ Jul 20 2012, 13:13) *
Yes, itunes has the "Disc number" field. It is useful for sorting of multi-disc albums.


Don't confuse the mediaplayer itunes (your screenshot) with the download shop itunes (my script).

This post has been edited by pone: Jul 20 2012, 13:52
Go to the top of the page
 
+Quote Post
Jonnyw2k
post Sep 8 2012, 14:17
Post #29


Member


Group: Members
Posts: 1
Joined: 8-September 12
Member No.: 16904
Mp3tag Version: 2.52



Hello,

Thank you for this script, I have some issues tho...
The Album:
http://itunes.apple.com/gb/album/sound-dub...8?affId=1405655

Has 30 tracks on the UK iTunes site I am unable to check the US version as it wouldn't open in my browser and kept telling me to download iTunes.

But using the script it only has tags for the first 15 tracks.

------------------------------------------------------------------------------------------
OK I fixed it smile.gif
I changed the script to access the uk iTunes instead by changing 2 lines:

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

This post has been edited by Jonnyw2k: Sep 8 2012, 14:28
Go to the top of the page
 
+Quote Post
AppleAddict
post Sep 14 2012, 19:31
Post #30


Member


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



Hello, I'm a French Person and I would like to have the Web Sources Scripts for iTunes France please ! Thanks rolleyes.gif
Go to the top of the page
 
+Quote Post

7 Pages V  < 1 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: 21st October 2014 - 19:21