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

Support for homesharing? #5

Open
jkiddo opened this issue Aug 11, 2014 · 5 comments
Open

Support for homesharing? #5

jkiddo opened this issue Aug 11, 2014 · 5 comments

Comments

@jkiddo
Copy link

jkiddo commented Aug 11, 2014

I saw that the homesharing feature is removed because it was incomplete. Could you explain what is needed for the feature to be completed?

@jurriaan
Copy link
Owner

Home sharing authentication is quite easy, but you need to communicate using special headers with the iTunes server for it to accept commands other than the status command. I don't have the time to do that right now.

@jkiddo
Copy link
Author

jkiddo commented Aug 12, 2014

I would like to include this feature in my own implementation of a DACP client (project Jolivia) and have duplicated your pairing mechanism using the Apple token - however it does not seem to be enough. Can you confirm that your pairing algorithm and that you are able to control the latest version of iTunes using your implementation of Homesharing?

@jurriaan
Copy link
Owner

It did work before. I reverse engineered it using mitmproxy on my iPhone. So if anything's changed you should be able to see that if you look at the traffic between a iOS device and Apple's servers/iTunes.

@jkiddo
Copy link
Author

jkiddo commented Aug 12, 2014

Would you care to test it again? I've run a couple of traces with Wireshark between Remote on iPhone and on my PC. It seems pretty clear what happens - however there seems to be a key exchange during the /fp-setup calls which is used later on. So the problem is not to login - its to go further than that. Could you please have a check to see if it works for you?

@jkiddo
Copy link
Author

jkiddo commented Aug 17, 2014

Have you had the time to dig into it?

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