Showing posts with label Music Player. Show all posts
Showing posts with label Music Player. Show all posts

How to remove Ads on spotify client windows

hi guys, hope we safe. during this pandemic stay home its better and when staying home it will be nice while hearing music. if you using spotify but your premium subs has ended, here some trick to block a banner ads on spotify client windows pc (if you using linux i will be uumm give it to you too on below) and yeah the ads will be gone. Before we go i wanna say thanks to my bro Harry Elric on facebook for give me a clue about this.


here some depedencies after we start the tutorial (you must install this first)

  1. Scoop
  2. curl (install using scoop, on power shell type this command scoop install curl)
  3. spicetify 

and if you finish for installing three depedencies above lets follow this step.

1. goto C:\Windows\System32\drivers\etc copy hosts file to another directory and open up host file then insert this line at the bottom

127.0.0.1 https://d5ecgvacntsb3.cloudfront.net

127.0.0.1 https://www.spotify.com/premium?utm_source=Spotify_premiumupsell

127.0.0.1 https://spclient.wg.spotify.com/ads/*

127.0.0.1 https://spclient.wg.spotify.com/ad-logic/* 

as the result will be like this pict:


2. and put back edited hosts file to C:\Windows\System32\drivers\etc just replace it!

3. goto powershell and type 

spicetify (hit enter)

spicetify backup apply enable-devtool

4. it will be open up a spotify, for example goto liked song and if you see banner ad just right click on it then select inspect element


5. search this element (ctrl+f)

<div id="wiew-leaderboard-ad" 

and this

<div id="view-billboard-ad" class="billboard"

and delete that two things, just right click on the element then hit the delete element. like this pict :

for <div id="wiew-leaderboard-ad" 


and for <div id="view-billboard-ad" class="billboard"


6. yups, your done! the banner ads has been gone.. enjoy it!


but you can still hearing the audio advertisement like:


7. if you close and open it again the ads will be back, to delete it again just repeat step number 5 ONLY!


yay, that how to remove ads without premium subs. its for education only, no anymore! and if you using a linux you can follow this links also you can follow my tutorial tho. dont forget to leave comments if you wanna ask about this tutorial. and this articel is for educational only, buy the premium is better than doing like this. :D 

how to fix pulseaudio no sound after headphone or headset plugged in - debian 8

hi, today i wanna tell you about fixing about how to fix pulseaudio no sound after headphone or headset plugged in. yes, i do this on debian and maybe work on your linux distro what you use now. ok, let's into the point
1. first run this command
cd /usr/share/pulseaudio/alsa-mixer/paths/
2. make a restore point
sudo cp analog-output-headphones.conf analog-output-headphones.bak
3. edit this file with this command
sudo nano analog-output-headphones.conf
scroll the down and find this "[Element Speaker] " (without quote) and change into look like this
[Element Speaker]
switch = on
volume = ignore
4. now make restore point again for fixed configuration
sudo cp analog-output-headphones.conf analog-output-headphones.fixed
5. and reboot

okey, this is how to fix pulseaudio no sound after headphone or headset plugged in. i hope this method work perfectly on your distro. any question ? leave command below. and i will say thanks !

how to show albumart on ncmpcpp

okey in this article, i wanna show you how to make your ncmpcpp look beauty like your girlfriend. that its how to show album arts on ncmpcpp, its possible to show casue you don't need again album text statement. but, now you can look album picture when your play music on ncmpcpp.
this my ncmpcpp

okey lets move into step.


1. copy this scritp into your ~/.ncmpcpp/config


% egrep -v '^#' .ncmpcpp/config
mpd_music_dir = "/home/user/Music/"

mpd_host = "127.0.0.1"
mpd_port = "6601"
mouse_list_scroll_whole_page = "yes"
lines_scrolled = "1"

visualizer_in_stereo = "no"
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "10"
visualizer_type = "spectrum"
visualizer_look = "▋▋"

message_delay_time = "3"
playlist_shorten_total_times = "yes"
playlist_display_mode = "classic"
browser_display_mode = "columns"
search_engine_display_mode = "columns"
playlist_editor_display_mode = "columns"
autocenter_mode = "yes"
centered_cursor = "yes"
user_interface = "classic"
follow_now_playing_lyrics = "yes"
locked_screen_width_part = "60"
display_bitrate = "no"
external_editor = "nano"

main_window_highlight_color = "white"

progressbar_elapsed_color = "white"
progressbar_color = "black"

#progressbar_look = "▃▃▃"
progressbar_look = "─⊙ "

mouse_support = "yes"
header_visibility = "no"
statusbar_visibility = "no"

statusbar_color = "white"
visualizer_color = "white"
titles_visibility = "no"
enable_window_title = "yes"

now_playing_prefix = "$b"
now_playing_suffix = "$8$/b"

#now_playing_prefix = "$u$2"
#now_playing_suffix = "$2$/u$2"

song_columns_list_format = "(6)[]{} (23)[red]{a} (26)[yellow]{t|f} (40)[green]{b} (4)[blue]{l}"

color1 = "white"
color2 = "black"

song_list_format = " $5%l  $7%t $R$5%a "

#uncomment both statement's below if you want to display the albumart

execute_on_song_change="~/.ncmpcpp/art.sh"
song_list_format = "                               $2%t $R$5%a "

song_status_format = "$b$7♫ $2%a $4⟫$3⟫ $8%t $4⟫$3⟫ $5%b "
song_window_title_format = " {%a} - {%t}"

2. and copy this code and save as art.sh to ~/ncmpcpp and making that script is executable by use that command chmod +x art.sh

#!/bin/bash

#put this file to ~/.ncmpcpp/




MUSIC_DIR=/media/dante/deb/Sounds/ #path to your music dir

COVER=/tmp/cover.jpg

function reset_background
{
    printf "\e]20;;100x100+1000+1000\a"
}

{
    album="$(mpc -p 6601 --format %album% current)"
    file="$(mpc -p 6601 --format %file% current)"
    album_dir="${file%/*}"
    [[ -z "$album_dir" ]] && exit 1
    album_dir="$MUSIC_DIR/$album_dir"

    covers="$(find "$album_dir" -type d -exec find {} -maxdepth 1 -type f -iregex ".*/.*\(${album}\|cover\|folder\|artwork\|front\).*[.]\(jpe?g\|png\|gif\|bmp\)" \; )"
    src="$(echo -n "$covers" | head -n1)"
    rm -f "$COVER"
    if [[ -n "$src" ]] ; then
        #resize the image's width to 300px
        convert "$src" -resize 300x "$COVER"
        if [[ -f "$COVER" ]] ; then
           #scale down the cover to 30% of the original
           printf "\e]20;${COVER};70x70+0+00:op=keep-aspect\a"
        else
            reset_background
        fi
    else
        reset_background
    fi
} &

3. in the art.sh look into MUSIC_DIR line and set the variable to your music dir. example:

 MUSIC_DIR=/media/dante/deb/Sounds/

4. assure, you have a album art picture in your music dir . i suggest, to make sub folder for your music with same album. like this, and dont forget to rename your picture album to cover.jpg
5. the dependecies you must have is mpc and imagemagick. at here i use 6601 port on my mpc and mpd, so you can change it to your port how much you use
and bingo, if you got flick on urxvt just adjust the geometry.

yeah that its, if you have question, comment , and thanks, just comment below. lets disqus.

how to install ncmpcpp from source

hi guys, now i wanna tell you how about compile or install or build ncmpcpp from source. actualy, you can install from PPA or your repository. but, if newest or latest ncmpcpp its not able in your repository what are you doing ? so you must update or compile from source, right?.

oke first you need gcc and g++ its used to compiling. and you must install it
in ubuntu just type
- apt-get install gcc g++
and then you need some depedencies to build ncmpcpp
this is the list of depedencies, you can use apt-get install, your synaptic, and install manualy like this.
-lboost_filesystem
-lboost_system
-lboost_locale
-lboost_program_options
-lboost_regex
-licuuc
-licudata
-lboost_thread
-lmpdclient
-lreadline
-lpthread
-lncursesw
-ltinfo
-libmad0-dev libmpg123-dev libid3tag0-dev 
-libflac-dev libvorbis-dev libopus-dev 
-libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev 
-libfluidsynth-dev libgme-dev libmikmod2-dev libmodplug-dev 
-libmpcdec-dev libwavpack-dev libwildmidi-dev 
-libsidplay2-dev libsidutils-dev libresid-builder-dev 
-libavcodec-dev libavformat-dev 
-libmp3lame-dev 
-libsamplerate0-dev libsoxr-dev 
-libbz2-dev libcdio-paranoia-dev libiso9660-dev libmms-dev 
-libzzip-dev 
-libcurl4-gnutls-dev libyajl-dev libexpat-dev 
-libasound2-dev libao-dev libjack-jackd2-dev libopenal-dev 
-libpulse-dev libroar-dev libshout3-dev 
-libmpdclient-dev 
-libnfs-dev libsmbclient-dev 
-libupnp-dev 
-libavahi-client-dev 
-libsqlite3-dev 
-libsystemd-daemon-dev libwrap0-dev 
-libcppunit-dev xmlto 
-libboost-dev 
-libicu-dev

next, you can download ncmpcpp source from here if already downloaded you can exstrack this file.
and then, goto ncmpcpp extacted folder, open terminal and type
> ./configure
if you not see any error next type
> sudo make
if you not see any error next type
> sudo make install
wait untill proccess done, if done check with run ncmpcpp -v in terminal and the version of ncmpcpp change into 0.7.7 you have already done to compiling ncmpcpp from source. happy singing with ncmpcpp. :D

note :
if you see error, check again your depedencies, log error,compiling tool and makefile missing.

Search This Blog

Powered by Blogger.

About Us

Nama Blog

All About PC

Blog ini hanya membahas tentang pc, jika ada yang lain maka label atau tag nya saya taroh di lain-lain. mari belajar via internet :D

Earn Bitcoin with EZ click, no scam! TESTED BY ME

Advertisement

Formulir Kontak

Name

Email *

Message *