Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Continous" Adding track does not seem to work - iTunes Api Old Version? #27

Open
benmarten opened this issue Sep 5, 2015 · 3 comments

Comments

@benmarten
Copy link

Looks like apple has update their api, does it still work for you guys?

When adding a song I am seeing this:
screen shot 2015-09-05 at 22 10 20

Here are my headers:

headers = {
    "X-Apple-Store-Front" : "143446-10,32 ab:rSwnYxS0",
    "Client-iTunes-Sharing-Version" : "3.12",
    "Accept-Language" : "nl-nl, nl;q=0.83, fr-fr;q=0.67, fr;q=0.50, en-us;q=0.33, en;q=0.17",
    "Client-Cloud-DAAP-Version" : "1.0/iTunes-12.2.0.145",
    "Accept-Encoding" : "gzip",
    "X-Apple-itre" : "0",
    "Client-DAAP-Version" : "3.13",
    "User-Agent" : "iTunes/12.2.2 (Macintosh; OS X 10.10.5) AppleWebKit/600.8.9",
    "Connection" : "keep-alive",
    "Content-Type" : "application/x-dmap-tagged",
    # Replace the values of the next three headers with the values you intercepted
    "X-Dsid": "...",
    "Cookie": "...",
    "X-Guid": "...",
    "Content-Length" : "77"
}

Looks like there is a newer version of the api out there already?

"Client-Cloud-DAAP-Version": "1.0/iTunes-12.2.2.25",
@benmarten
Copy link
Author

Hm, second try it worked... let's close for now...

@benmarten
Copy link
Author

So here it is again... Any ideas???

screen shot 2015-09-08 at 16 02 04

@benmarten benmarten reopened this Sep 8, 2015
@sircodesalittle
Copy link

If you continually have "Something went wrong while inserting : HTTP Error 401: Apple WebObjects" make sure you check that the rest of the header data in insert-songs.py matches what you get from your recorded session (I had to change a few more than what's specified in the readme).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants