SecUpwN / Spotify-AdKiller

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

High CPU Usage #101

Open mfdogalindo opened 7 years ago

mfdogalindo commented 7 years ago

vlc process shows high cpu usage

VietTralala commented 6 years ago

+1 Also vlc keeps running, after I close Spotify-AdKiller

ghost commented 6 years ago

I have very high CPU usage from this as well, it appears to be the process find. I think this is the cause of spotify skipping too.

TH3P01S0N commented 6 years ago

I have a cpu and memory monitor and I can see a high value, like 100%. If I close Spotify AdKiller the value of monitor is nearby to 0. I have intel core i5 and RAM 8gb.

How can I fix this?

diegoberrios commented 6 years ago

I fixed by setting simple mode. I had the continuous mode, so vlc player was stuck in a loop of play and pause, and that was the high value of CPU. You can verify this when the ad moment begin, and tipe TOP in the terminal.

transfluxus commented 5 years ago

not sure if its vlc. I think it spawns a process to find all mp3s in the home folder.

transfluxus commented 5 years ago

spotify-adkiller.sh line 109

    if [[ -z "$(find -L "$LOCAL_MUSIC" -iname "*.mp3" 2> /dev/null )" ]]; then
        report_error "No music found in the specified location. Please check the settings.
Switching to simple automute (no local playback)"
        CUSTOM_MODE="simple"
fi