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

Trouble with videos not playing #75

Open
dvpetta opened this issue Sep 14, 2020 · 7 comments
Open

Trouble with videos not playing #75

dvpetta opened this issue Sep 14, 2020 · 7 comments

Comments

@dvpetta
Copy link

dvpetta commented Sep 14, 2020

Hello

I'm having trouble viewing videos now on my Android TV after installing your code on my rasberry pi with pi hole. It seemed like I had ads blocked for the first video but since then I only get ads and no videos. Is there a way to inspect what has happened in pi hole to fix this?

@dvpetta
Copy link
Author

dvpetta commented Sep 14, 2020

I should add that I have whitelisted s.youtube.com

@dvpetta
Copy link
Author

dvpetta commented Sep 14, 2020

I'd like to know how to stop the schedule for this script as well

@91ajames
Copy link

For the schedule part, go back to crontab -e and put a # sign in front of step 5 code.

Only part im confused with is why add each individual google video in the block list if its available when adding them to the adlist,
just boggles my mind.

the other part..... the list isn't matching up to direct them to 127.0.0.1 to be blocked.
Normally there is 127.0.0.1 url
but just plain url, pihole will keep grabbing like there's changes when there isn't for the amount of days.

@dvpetta
Copy link
Author

dvpetta commented Sep 18, 2020

Thanks @91ajames but I'm not really understanding your instructions. Sorry but I'm a newbie at this and I'm not clear on what step 5 is of the code. Any chance you can spell it out for me?

@91ajames
Copy link

91ajames commented Sep 18, 2020

Not a problem @dvpetta

crontab -e

5-Add this line to make it runs every 1 hour, but you can change it to whatever you like

0 */1 * * * sudo /home/pi/youTube_ads_4_pi-hole/youtube.sh >/dev/null

to

# 0 */1 * * * sudo /home/pi/youTube_ads_4_pi-hole/youtube.sh >/dev/null

any code with the pound # in front of it is being ignored.

edit...
after further investigating, I saw this report. Be more helpful if the moder tell users in the readme there are 2 ways to do this which to me found it confusing at first for videos not working when both are enabled. which i hit a few ad videos playing under private chrome for a test while i use firefox the most.
#72

@dockerpirate
Copy link

dockerpirate commented Nov 20, 2020

same problem, this list is overblocking, if I put for example "r3---sn-i5h7lner.googlevideo.com" to whitelist, I can watch a video.
I think youtube tries to veil his ads

@kousu
Copy link

kousu commented Dec 17, 2020

I believe youtube has switched to serving ads and content from the same servers. I've been watching my Firefox and Chrome network inspectors and if I sort by Domains and compare what's downloading during an ad playing vs what's downloading during. With this blocklist enabled sometimes youtube will play and the ads will be blocked, sometimes the video won't load at all and you need to reload the page to try again (getting a different server in the process), and sometimes both ads and content will play.

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

No branches or pull requests

4 participants