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

Youtube not working #378

Closed
SenadM opened this issue Aug 24, 2016 · 19 comments
Closed

Youtube not working #378

SenadM opened this issue Aug 24, 2016 · 19 comments

Comments

@SenadM
Copy link

SenadM commented Aug 24, 2016

Giving the error "If playback doesn't begin shortly, try restarting your device"

@evancohen
Copy link
Owner

I've gotten this feedback from a couple of people - it doesn't happen on my Pi so I'll need to do a fresh install to see if I can get it to reproduce.

@SenadM
Copy link
Author

SenadM commented Aug 27, 2016

I can send you my smart-mirror folder and you can take a look at that.

@decentralgabe
Copy link

decentralgabe commented Aug 27, 2016

Having this issue as well, getting the spinning wheel of death from the YouTube frame.

@phelixz
Copy link

phelixz commented Aug 28, 2016

Yes, same for me

@7h30n3
Copy link
Contributor

7h30n3 commented Aug 28, 2016

Me, too.

@evancohen
Copy link
Owner

Sounds like a bug, I shall investigate!

@benjitastic
Copy link

same for me... sorry, don't have much more useful information. here is my .asoundrc file: https://gist.github.com/benjitastic/7fbf0a886f3a68a21103043347ff754f

here's my /boot/config.txt: https://gist.github.com/benjitastic/79c4ee05d97926633f2bb911f4754739

let me know if there are any other files or info that would be helpful.

USB mic input is working

@cowboysdude
Copy link

Yes just noticed it is also happening to me as well. Not sure why... Don't know if this helps any but...I realize this isn't windows but perhaps it's a starting point..

"I have a brand new PC with windows 10 and after the issue happened to me I searched around like everyone else here. Still not entirely sure what causes it but; "Run Chrome as Administrator" fixed it for me. Hopefully this helps for anyone else that comes across this problem."

@itsmason
Copy link

from what i can tell this is a soundcard issue, i had the same problem but found switching to an external card freed up the problem and videos would run, may possibly be the internal card resource is being hogged by raspbian OS, i'm going to try to disable it for the OS and see if that fixes it.

@evancohen
Copy link
Owner

@itsmason it's very likeley that is the issue, in which case the simple fix is to use Dsnoop. Instructions for this are in #386.

I can test that out over the weekend. I'll update this thread and the docs if that fixes it.

@justbill2020
Copy link
Collaborator

justbill2020 commented Nov 7, 2016

💥
@itsmason have you tried the Dsnoop fix @evancohen has suggested and did that solve anything?

@itsmason
Copy link

itsmason commented Nov 7, 2016

@justbill2020 I've not tried yet sorry, but I'm looking into it over the next week or so. If I get an answer before you (I'm guessing you're having the same issue) I will update.

@justbill2020
Copy link
Collaborator

just trying to keep the issues moving along and going through to update open issues which might be resolved... please keep us updated as you test it out... and also are you using the most recent version as well as raspbian jessie with pixel?

@itsmason
Copy link

itsmason commented Nov 8, 2016

I've not had a chance to check updates but I was using the most current build last month on both raspbian and smart-mirror code.

@evancohen
Copy link
Owner

I haven't been able to reproduce this problem on the latest build. It could be that you have some straggler environmental variables from an old version of the mirror that are getting in the way. Try clearing those out if you have them.

@wuppi83
Copy link

wuppi83 commented Nov 15, 2016

I have the same problem on the latest build :0(

@wuppi83
Copy link

wuppi83 commented Nov 19, 2016

You can fix the problem with

Update 3:

Wanted to update the changes I made to the best of my memory.

sudo nano /etc/pulse/default.pa : I changed load-module module-udev-detect to load-module module-udev-detect tsched=0
sudo nano /etc/pulse/daemon.conf : I un-commented and changed the following:
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 9
exit-idle-time = -1
resample-method = trivial
rlimit-nice = 31
rlimit-rtprio = 9
default-sample-format = s16le
default-sample-rate = 44100
default-sample-channels = 2
default-fragments = 10
default-fragment-size-msec = 7
sudo nano /etc/security/limits.conf I added the following lines to the end:
pi - nice -11
pi - rtprio 9

you have to start jackserver and maybe pulseaudio manually:

pulseaudio --start
jack_control start

@evancohen
Copy link
Owner

Just as a reminder, the mirror doesn't support PulseAudio - I know that some people have added it to their setup for reasons, but you really shouldn't need it.

@justbill2020
Copy link
Collaborator

Unable to reproduce with the most current master branch as of 11/22/2016

Environment

Device/OS: Raspberry Pi 3 with Raspbian Jessie with Pixel

Suggestion if you're still having this issue

If you're having this issue and your environment matches the environment I just described in this comment please submit a new issue... please reference this issue in your new issue so we can properly track it.

Repository owner locked and limited conversation to collaborators Jan 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants