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

Wrapper: Generic Spotify-Binary #2

Closed
SecUpwN opened this issue Jun 1, 2014 · 1 comment
Closed

Wrapper: Generic Spotify-Binary #2

SecUpwN opened this issue Jun 1, 2014 · 1 comment
Labels

Comments

@SecUpwN
Copy link
Owner

SecUpwN commented Jun 1, 2014

Hey @pcworld, can you help me out with a quick fix? I am currently testing our script on openSUSE using the latest Spotify. Because Spotify is not yet officially available for openSUSE, I am using Spotify-Make which works awesome for a hassle-free install and provides the latest Spotify binary.

The only difference is the name, by which spotify starts: When using mentioned compilation method, the output filename of the Spotify binary is called my-spotify located in $HOME/bin/ - but our spotify-wrapper.sh tries to call just spotify. How to change this part of our code spotify "$@" > /dev/null 2>&1 & into a generic variable which calls the Spotify binary, no matter what it is named?

EDIT: This solution works: $HOME/bin/*spotify "" > /dev/null 2>&1 &. Issue closed for now.

@SecUpwN SecUpwN added the bug label Jun 1, 2014
@SecUpwN SecUpwN closed this as completed Jun 2, 2014
@SecUpwN SecUpwN reopened this Dec 19, 2014
@SecUpwN
Copy link
Owner Author

SecUpwN commented Dec 19, 2014

Reopened this Issue because I'd like to implement a universal fix for people like me who install their Spotify through Spotify-Make. I've solved the Issue for myself, but certainly that is no universal way to check if the Spotify script has been renamed to other names (in this specific case my-spotify). Would you please see if above solution can be improved, @OlegSmelov and @Feltzer? I see that you're still closely following our project here and I want to THANK YOU for your awesome help in maintenance! 👍

UPDATE: The solution was actually already in our own README. Closing this Issue again.

You can create a symbolic link, if necessary (e.g. linking my-spotify to spotify if you are using the user installation of spotify-make).

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

No branches or pull requests

1 participant