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

Provide spotify player binary #31

Open
agrieser opened this issue Apr 5, 2012 · 3 comments
Open

Provide spotify player binary #31

agrieser opened this issue Apr 5, 2012 · 3 comments

Comments

@agrieser
Copy link
Member

agrieser commented Apr 5, 2012

Would be useful for those who don't have / want xcode. Would also remove complicated build process.

Need to update player to allow credentials (username + password + api key) to be specified either on the command line, or in a config file.

@ghost ghost assigned tonywok Apr 9, 2012
@tonywok
Copy link
Member

tonywok commented Apr 11, 2012

Worked on this tonight. I have an idea of how I want it to work, but was unable to complete. I have the cocoa_spotify binary, and am now working to allow command line args to point to the user's key file.

To do this, I'm using the appkey binary instead of appkey.c. However, I'm having trouble initializing the SPSession when doing so.

I've filed an issue about it on cocoalibspotify

@tonywok
Copy link
Member

tonywok commented Apr 26, 2012

Found the problem. It's discussed at length here

That being said, once your run the .key file through the script mentioned in the above issue, it was able to read the binary. Apparently this is a known issue to Spotify developers.

The binary now excepts command line arguments and can be found at cocoa_spotify, the Cocoa Spotbox Driver.

@tonywok tonywok closed this as completed Apr 26, 2012
@tonywok tonywok reopened this Apr 26, 2012
@tonywok
Copy link
Member

tonywok commented Apr 26, 2012

Need to statically link against CocoaLibSpotify framework, otherwise users that don't have the framework will experience an error.

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

No branches or pull requests

2 participants