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

Some errors occured. Try restart or start Spotify. #40

Closed
baif666 opened this issue Dec 13, 2016 · 7 comments
Closed

Some errors occured. Try restart or start Spotify. #40

baif666 opened this issue Dec 13, 2016 · 7 comments

Comments

@baif666
Copy link
Contributor

baif666 commented Dec 13, 2016

When I run pytify in CLI:


$ pytify

Some errors occured. Try restart or start Spotify. 

I install following the tutorial and I did it in Mint, python3.4.3
I don't know what happened, and I will try to fix it myself if there are more information.

@bjarneo
Copy link
Owner

bjarneo commented Dec 13, 2016

Do you have spotify running in the background?

@bjarneo
Copy link
Owner

bjarneo commented Dec 13, 2016

Try to print the exception at line 18 in this file: pytify/dbus/interface.py

@bjarneo
Copy link
Owner

bjarneo commented Dec 13, 2016

The only reason you get this error message is if Spotify is not running on your computer. It checks if spotify exists at MediaPlayer2 in the dbus object, if not it throws an exception, and we quite the application with that message.

@baif666
Copy link
Contributor Author

baif666 commented Dec 13, 2016

I saw it, so this message means I don't have Spotify running in the background. But how do I set up it?

@bjarneo
Copy link
Owner

bjarneo commented Dec 14, 2016

That's correct. Then you just need to start Spotify. Pytify is just a cli application which controls Spotify.

https://www.spotify.com/no/download/linux/

@bjarneo
Copy link
Owner

bjarneo commented Dec 16, 2016

@baif666 Did you manage to get it work?

@baif666
Copy link
Contributor Author

baif666 commented Dec 16, 2016

@bjarneo Yeah, Pytify works well after I installed and started Spotify. Thanks. But I think you can improve your error message. For example, "Some errors occured. Try restart or start Spotify. Pytify is just a cli application which controls Spotify. So you can't use Pytify without Spotify." If I find a new issue, I'll report it.
Thanks for your contribution.

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