Code Monkey home page Code Monkey logo

Comments (9)

abba23 avatar abba23 commented on May 29, 2024

output of "D_PRELOAD=/usr/local/lib/spotify-adblock.so spotify"

The environment variable is called LD_PRELOAD.

from spotify-adblock-linux.

kerbless avatar kerbless commented on May 29, 2024

output of "D_PRELOAD=/usr/local/lib/spotify-adblock.so spotify"

The environment variable is called LD_PRELOAD.

Just a typing error sorry. Spotify runs as expected, the output is the same.

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 29, 2024

Then please try removing the spotify-adblock.so file from the build directory and run sudo make install again. As long as the file still exists, make won't try to rebuild it, which seems to have happened when you just ran it.

I'm not sure why banner ads aren't appearing for you though. If anything had been blocked there should have been some corresponding terminal output.

from spotify-adblock-linux.

kerbless avatar kerbless commented on May 29, 2024

unistalled and reinstalled, now when I run "LD_PRELOAD..." I get this:
ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored.
ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored.
ERROR: ld.so: object '/usr/local/lib/spotify-adblock.so' from LD_PRELOAD cannot be preloaded (invalid ELF header): ignored.
[1126/133634.614051:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 29, 2024

Were there any errors during compilation?

from spotify-adblock-linux.

kerbless avatar kerbless commented on May 29, 2024

from spotify-adblock-linux.

abba23 avatar abba23 commented on May 29, 2024

unistalled and reinstalled

Just to make sure, you did actually remove the spotify-adblock.so file from the build directory and didn't just run sudo make uninstall and sudo make install, right?

If that's the case and there were no errors at all, then I have no idea what the problem could be. Maybe try cloning the repo again to a different folder and building from there. If that doesn't work, I can't really help you any further.

from spotify-adblock-linux.

kerbless avatar kerbless commented on May 29, 2024

from spotify-adblock-linux.

kerbless avatar kerbless commented on May 29, 2024

Fixed:
I removed and resinstalled libcurl4-openssl-dev.
I ran sudo make uninstall and then make clean.
Then I reinstalled with sudo make install and started working.

Edit: I had to add this to my whitelist.h to make songs load:

{
//Added by me
"audio-.spotifycdn.net",
"audio-fa.scdn.co",
"audio-sp-fra2-13.spotifycdn.net",
"audio4-ak.spotify.com.edgesuite.net",
//
"ap.spotify.com", // audio (access point)
"
.ap.spotify.com", // resolved access points
"apresolve.spotify.com", // access point resolving
...

This issue is similar to this one so maybe
you can add those servers to the default whitelist?

from spotify-adblock-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.