10+2*5 More confirmation of the "break it up into chunks" method.
Working at the location of your greatest distraction (youtube) is a problem that plagues all sorts of computer workers. You go to look something up & then 5 hours later... XKCD calls it
The Problem with Wikipedia.
I'm a firm believer in space & location as mood setters. Turn a room into a practice room (I wish I had that luxury - NYC doesn't seem to allow it) and then just make sure you actually get your butt in there regularly.
Another note - the reverse of this can work in your favor. If your bass is the distraction it works equally well. I have a bass next to my couch & play during commercial breaks, etc. Heck I'll play along WITH the commercial breaks.