SecUpwN / Spotify-AdKiller

Your Party with Spotify - without ads!
https://github.com/SecUpwN/Spotify-AdKiller
GNU General Public License v3.0
841 stars 83 forks source link

Spotify not found on latest Ubuntu #16

Closed SecUpwN closed 10 years ago

SecUpwN commented 10 years ago

Hey @Feltzer, it seems as if one of my friends has problems using Spotify-AdKiller on the latest version of Ubuntu 14.04.1 LTS. Spotify-AdKiller always complains that Spotify could not be found, although we installed it. I'm not sure which OS you're using, but could you digg into this to resolve it, please?

Feltzer commented 10 years ago

Sorry to hear that. I am still on Ubuntu 12.04, so I can't test this on my end. Could you ask your friend to run the following commands and tell you what the output is?:

type spotify
xprop -name "Spotify - Linux Preview" WM_ICON_NAME

If the second command produces an error or no output at all please ask them to run xprop alone and click on the Spotify window. This should list all window properties.

If you can, please post these outputs here so I can see if there is anything I can do.

SecUpwN commented 10 years ago

Thanks for your self-assignment, @Feltzer! Here are the outputs as reported by him:

  1. command: error: No window with name Spotify - Linux Preview exists!
  2. command: spotify is /home/mybuddy/bin/spotify

He is happy that we're analyzing this case and very willing to contribute more outputs.

Feltzer commented 10 years ago

error: No window with name Spotify - Linux Preview exists

Ah, I forgot to mention that he has to execute the xprop -name "Spotify - Linux Preview" WM_ICON_NAME command while Spotify is running. If the error still appears, even with Spotify running, please instruct him to run xprop alone (without any options) and use the cross that appears to click on the Spotify window. Please tell him to send you the full output of that command.

SecUpwN commented 10 years ago

When executing /home/mybuddy/bin/spotify this is what he gets: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory.

Feltzer commented 10 years ago

Ah, looks like the issue is with the Spotify installation rather than AdKiller.

It strikes me as odd that Spotify would be located in his home folder on an Ubuntu installation. Did he install Spotify with spotify-make, by any chance? If so, I would recommend using the official repository instead. It should work will all recent Ubuntu releases.

SecUpwN commented 10 years ago

Thanks for making me aware of it, @Feltzer. We fixed the problem using Spotify-Make.