1. DLP Flash Christmas Competition + Writing Marathon 2024!

    Competition topic: Magical New Year!

    Marathon goal? Crank out words!

    Check the marathon thread or competition thread for details.

    Dismiss Notice
  2. Hi there, Guest

    Only registered users can really experience what DLP has to offer. Many forums are only accessible if you have an account. Why don't you register?
    Dismiss Notice
  3. Introducing for your Perusing Pleasure

    New Thread Thursday
    +
    Shit Post Sunday

    READ ME
    Dismiss Notice

Netflix streaming on linux

Discussion in 'Tech Support' started by JohnThePyro, Nov 1, 2010.

  1. JohnThePyro

    JohnThePyro Headmaster

    Joined:
    Mar 25, 2008
    Messages:
    1,178
    So, it's been a while since I've used my linux box for anything really, but recently got into ubuntu 10.10, and enjoying it. One problem-Fuckin' netflix. Specifically, silverlight.

    Anyone know a way to stream netflix to a linux box? Moonlight doesn't seem to cut it, and I'm really going into free high def streaming withdrawal.
     
  2. Moridin

    Moridin Minister of Magic DLP Supporter

    Joined:
    Nov 7, 2009
    Messages:
    1,264
    Gender:
    Male
    Location:
    Proudspire Manor
    I looked into this a little earlier, and the only solution I found that was workable for me was a virtual machine, like Virtualbox or something. I think there might have been something about wine, but IIRC it wasn't working when I checked. I just ended up switching into Windows or using a friend's PS3, but if I were you I'd look into virtualization, I think it's the only viable option.
     
  3. JohnThePyro

    JohnThePyro Headmaster

    Joined:
    Mar 25, 2008
    Messages:
    1,178
    Thanks, I thought it might come to that. I virtualize windows anyway, but the processor in this old laptop really isn't that powerful. Was hoping there was some other work around that was easier on the hardware.

    Damn you MS! Spreading your silverlight BS around.
     
  4. Zombie

    Zombie Black Philip Moderator DLP Supporter

    Joined:
    Apr 28, 2007
    Messages:
    6,036
    Download silverlight into wine, go to userstyle.org download the userscript that forces silverlight to run, change the code directory to point to the .exe in the wine partition. It should work then.
     
  5. JohnThePyro

    JohnThePyro Headmaster

    Joined:
    Mar 25, 2008
    Messages:
    1,178
    I think I may have a man crush on you. It works, and you are a god.
     
  6. silverlasso

    silverlasso Minister of Magic DLP Supporter

    Joined:
    Dec 7, 2007
    Messages:
    1,302
    Location:
    San Francisco
    No fucking way. I'd always thought that the only solution was a VM. How are you so awesome?
     
  7. Moridin

    Moridin Minister of Magic DLP Supporter

    Joined:
    Nov 7, 2009
    Messages:
    1,264
    Gender:
    Male
    Location:
    Proudspire Manor
    Wow. I should have asked here when trying. Awesome, thanks a lot dude!
     
  8. silverlasso

    silverlasso Minister of Magic DLP Supporter

    Joined:
    Dec 7, 2007
    Messages:
    1,302
    Location:
    San Francisco
    Just to make sure, do you mean this script? Also, what code directory needs to be changed?
     
  9. suhasgupta

    suhasgupta Muggle

    Joined:
    Nov 15, 2010
    Messages:
    2
    hi, i have been trying to find the userscript mentioned in this thread. does anyone have a link to it? also, what version of silverlight should i use? from what i understood, 3 and 4 do not work with wine yet. thanks in advance!
     
  10. mitya

    mitya Guest

    You can find silverlight 2.0 on filehippo (just search for it). I'm still lost on the userscript thing.
     
  11. suhasgupta

    suhasgupta Muggle

    Joined:
    Nov 15, 2010
    Messages:
    2
    mitya, thanks for the quick response. i was able to install silverlight 2.0 using wine but the browser hangs if i try to watch anything. hoping someone will point out the right userscript and the remaining steps.
     
  12. Zombie

    Zombie Black Philip Moderator DLP Supporter

    Joined:
    Apr 28, 2007
    Messages:
    6,036
    Yo John, you think you can tell them how you got it to work?
     
  13. count_scrofula

    count_scrofula Muggle

    Joined:
    Dec 9, 2010
    Messages:
    2
    Location:
    Arkham Asylum
    http://userstyle.org is currently occupied by a domain squatter. The whois records are protected by private registration.

    Any chance that someone could post a link to the Linux/Wine/Silverlight userscript referenced above?

    Zombie? Puh-leeze?
     
  14. Militis

    Militis Supreme Mugwump

    Joined:
    Jun 24, 2008
    Messages:
    1,683
    Location:
    Online
    Last edited: Dec 9, 2010
  15. count_scrofula

    count_scrofula Muggle

    Joined:
    Dec 9, 2010
    Messages:
    2
    Location:
    Arkham Asylum
    Well, thanks for that. I guess Zombie posted the wrong link.

    So, if I want Netflix streaming under Ubuntu 10.10, I need to install Wine ... check. And I need the Greasemonkey add-on for Firefox (not mentioned above) ... check. What, exactly, is the userscript that I need to install in my browser to force Silverlight to run under Wine?

    ---------- Post automerged at 11:56 PM ---------- Previous post was at 11:47 PM ----------

    Worse yet, I downloaded the Silverlight installer from:

    http://www.microsoft.com/web/galler...4tools;silverlight4toolkit;riaservicestoolkit

    and it failed to install under Wine. Should I be using a different version of Wine, or a different Silverlight installer?

    ---------- Post automerged 12-09-2010 at 12:24 AM ---------- Previous post was 12-08-2010 at 11:56 PM ----------

    Uh, just to clarify that, I installed Wine 1.0 from the Ubuntu Software Installer. I tried to install Wine 1.2, but installing wine1.2-dev necessitated removal of wine1.0 and Silverlight installer seemed to run without error, but Netflix streaming still fails.

    Maybe all I need is the appropriate Greasemonkey userscript ...

    ---------- Post automerged at 12:36 AM ---------- Previous post was at 12:24 AM ----------

    Confusion continues ...

    I found the old Silverlight 2.0 installer at http://www.oldapps.com/silverlight.php?old_silverlight=2?download but it failed to install under Wine, claiming that "System components that are required for automatic updates are missing."
     
  16. Khazad-Dumb

    Khazad-Dumb Loves the Gay Porn DLP Supporter

    Joined:
    Feb 28, 2008
    Messages:
    1,419
    Location:
    Clutch City, USA
    The Edit button. Learn how to use it.
     
  17. Zombie

    Zombie Black Philip Moderator DLP Supporter

    Joined:
    Apr 28, 2007
    Messages:
    6,036
    Code:
    // ==UserScript==
    // @name silverlight
    // @author Ondrej Tomec
    // @version 20071231
    // @include http://*/*
    // ==/UserScript==
     
    /*
    Known bugs:
    * keyboard input doesn't work
    * problems with drag and drop
    * on some sites don't work
    * Opera sometimes crashes
    * http://home.people.net.au/~chriso/poker/poker.php - crash after clicking an arrow
    */
     
    var mySilverlightCreateObject = function(l,g,m,j,k,i,h){
      if (!j) j={};
      j.ignoreBrowserVer = true;
      j.isWindowless = 'false';
      return Silverlight._createObject(l,g,m,j,k,i,h);
    };
     
    window.opera.defineMagicVariable(
      'Silverlight',
      function (Silverlight){
        if (Silverlight){
          //if ((typeof Silverlight._createObject == "undefined") && (typeof Silverlight.createObject != "undefined")){
          if (Silverlight.createObject != mySilverlightCreateObject){
            Silverlight._createObject = Silverlight.createObject;
          }
          Silverlight.createObject=mySilverlightCreateObject;
     
          Silverlight.isInstalled = function(a){return true;};
          Silverlight.available = true;
          Silverlight.StatusText="Get Microsoft Silverlight";
          Silverlight.EmptyText="";
          Silverlight.ua = {OS: "Windows", Browser: "Safari"}; // firefox mostly doesn't work
        }
        return Silverlight;
      },
      null
    );
    Put that into a text document, and name it silverlight.js.

    Any version of Wine will work, you might want to go with the most stable release though. After that, You install Silverlight. Copy the plugin file from the directory it creates when the plugin is installed, copy it, go to your browser of choice, go to browser:config or however you get to it on your browser, go to the plugin directory for your browser, paste it in there.

    It should then work.
     
    Last edited: Dec 10, 2010
  18. phoneteijn

    phoneteijn Guest

    Zombie, thanks for your explanation. I have tried it, but I don't seem to get it to work. I have tried the following

    Installed Firefox under Wine
    Created script - renamed it to silverlight.user.js and imported it in greasemonkey.
    I installed Silverlight 4, found the directory where Silverlight.msp was installed and copied it to ../Program Files/Mozilla Firefox/plugins

    After a restart firefox showed that Silverlight was not installed

    I tried the same thing with the native linux version of Firefox (didn't expect it work, and it didn't). I also tried to install Safari, but I ran in way too many problems there.

    Anyway, please let me know if and what I'm doing wrong. I'm excited to finally get Netflix working without a VM!
     
Loading...