[WS] iTunes


#308

Beause COMPOSER is filled with artist.Name!

outputto "COMPOSER"
FindLine "\"artistName\":\""
FindInLine "\"artistName\":\""
SayUntil "\", \""
Say "|"

The Information you're looking for is not delivered by iTunes API!!

Regards,
SLB


#309

Hey Guys, great resources here, thanks to all that have contributed...

I tweaked the script to tailor it for my personal use to search for tracks rather then albums as I am working on fixing tags for a large singles collection.

In order to make it work I had to change the [IndexUrl] to search on song entity, but I kept getting no results until I dropped the %copyright% from the index as that is not returned by the API...

So now my initial search result index shows all albums that that track is found on... It works great for me now, except fr I wanted to show the track time to easily spot which version I have is the best match as a lot of versions of mostly dance music have different lengths...
(I did also drop some sort fields for which I personally had no use)

I am asking for help as I am not strong in the "expressions" dept, and I dont have a clue how to fix my script to show the track time in mm:ss instead of the Track Millis the API returns... Everything else works fine for me... if someone has some scripting knowledge to assist that would be great...

I would like this piece of code to show MM:SS instead of the raw API trackTimeMillis:

LENGTH

FindLine "\"trackTimeMillis\":"
FindInLine "\"trackTimeMillis\":"
SayUntil ", \""
Say "|"	

Thanks in Advance...
Here is a copy of my script for anyone to use or tweak if helpful:
iTunes CDN - Track Search.src (5.9 KB)


#310

I'm now back, i don't know what happened but since the recent changes on the forum, i couldn't post anymore, anyway, i'm keeping the script alive on my personal GitHub (search for jonaaa20 over there), anyway, i'm here to report a issue with a album, this also happens with the Stevehero and other tweaked scripts here...

This is what happens:

After some investigation, seems that this is a issue with their API, when you search for this album on the API, instead of showing the song data, i mean, publisher, track numbers etc etc, it shows the album data (album name, artist name and the year) and then the script fails... is there any fix? that's the only problem on the script.

Oh and i've almost forgot, if anyone is interested, that's my latest version posted on my personal GitHub (attached.), feel free to tweak the script :slight_smile:

v0.3.1.zip (143.5 KB)