Netflix for OnlineVideos (4 Viewers)

dr_torch

Portal Member
October 10, 2007
48
14
Ottawa, ON
Home Country
Canada Canada
Hello everyone.

I cannot seem to get the netflix plugin to work. I can get to the initial pages and it displays my view history but whenever I try to start a video, it just sits there with the spinner for 60 seconds and then goes back to the main screen.

I increased the timeout to 60 seconds and I confirmed that everything works when I use IE directly.

In the logs I get the following line: [ERROR] - Log in Failed

This does not seem to be possible though, since I can see my view history. I confirmed my user name and password in settings and they are correct.
 

Ministerk

Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    Hello everyone.

    I cannot seem to get the netflix plugin to work. I can get to the initial pages and it displays my view history but whenever I try to start a video, it just sits there with the spinner for 60 seconds and then goes back to the main screen.

    I increased the timeout to 60 seconds and I confirmed that everything works when I use IE directly.

    In the logs I get the following line: [ERROR] - Log in Failed

    This does not seem to be possible though, since I can see my view history. I confirmed my user name and password in settings and they are correct.

    The login failed message is not because of erroneous credentials, in this case i would think it's a timeout issue.

    If we follow the instructions in the opening post
    Please:
    1. Fill out System Specs
    2. Update your sites (we want to be sure we have the latest version)
    3. Check that "Disable browser logging" is set to false in Netflix site setting
    4. Set "Show loading spinner" to false in Netflix site setting.
    5. Clear cookies and cache in IE (not edge if you're using win 10)
    6. Edit the OnlineVideos.WebAutomation.BrowserHost.exe.config file (found in [MP-INSTALL-PATH]l\plugins\Windows\OnlineVideos)
      Change the WriteDebugLog value to true
    7. Use the WatchDog, pick the second alternative and reproduce the error.
    8. Collect the log
    9. Attach it here and please describe what you see when you try to play a video
     

    dr_torch

    Portal Member
    October 10, 2007
    48
    14
    Ottawa, ON
    Home Country
    Canada Canada
    The login failed message is not because of erroneous credentials, in this case i would think it's a timeout issue.

    Thanks. Switching off the spinner helped a lot. I can now see that it gets stuck on the "choose profile screen". I tried renaming the profile, but that did not help. If I create a new profile, the new one seems to work, but the old one still has the same issue.

    For right now, that is my workaround, but it would be nice to figure out why it does not seem to like my original profile.

    Once I get a chance I will pull the logs. Thanks again.
     

    smurf

    Portal Member
    April 12, 2009
    48
    8
    I have a similiar problem, this is my debug log:

    Code:
    [2016-01-02 03:29:15,151] [Log    ] [BrowserHost] [DEBUG] - Loading browser form
    [2016-01-02 03:29:15,199] [Log    ] [BrowserHost] [DEBUG] - Setting current screen
    [2016-01-02 03:29:15,225] [Log    ] [BrowserHost] [DEBUG] - AppDomain Root C:\Program Files (x86)\Team MediaPortal\MediaPortal
    [2016-01-02 03:29:15,225] [Log    ] [BrowserHost] [DEBUG] - Current Directory C:\Program Files (x86)\Team MediaPortal\MediaPortal
    [2016-01-02 03:29:15,225] [Log    ] [BrowserHost] [DEBUG] - Browser Host started with connector type: OnlineVideos.Sites.BrowserUtilConnectors.NetflixConnector, video info: http://www.netflix.com/watch/70251143
    [2016-01-02 03:29:15,271] [Log    ] [BrowserHost] [DEBUG] - Initialising Remote handling
    [2016-01-02 03:29:15,430] [Log    ] [BrowserHost] [DEBUG] - Initialising services
    [2016-01-02 03:29:15,478] [Log    ] [BrowserHost] [DEBUG] - Loading Connector
    [2016-01-02 03:29:15,484] [Log    ] [BrowserHost] [INFO ] - Looking in C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\windows\onlinevideos for connector dlls
    [2016-01-02 03:29:15,558] [Log    ] [BrowserHost] [DEBUG] - Performing Log in
    [2016-01-02 03:29:17,818] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT, State: Login
    [2016-01-02 03:29:17,861] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT, State: ProfilesGate
    [2016-01-02 03:29:20,035] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT&nextpage=https://www.netflix.com/ProfilesGate, State: SelectProfile
    [2016-01-02 03:29:20,078] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT&nextpage=https://www.netflix.com/ProfilesGate, State: ReadyToPlay
    [2016-01-02 03:29:20,273] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT&nextpage=https://www.netflix.com/ProfilesGate, State: ReadyToPlay
    [2016-01-02 03:30:16,030] [Log    ] [BrowserHost] [ERROR] - Log in failed
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    I have a similiar problem, this is my debug log:

    Code:
    [2016-01-02 03:29:15,151] [Log    ] [BrowserHost] [DEBUG] - Loading browser form
    [2016-01-02 03:29:15,199] [Log    ] [BrowserHost] [DEBUG] - Setting current screen
    [2016-01-02 03:29:15,225] [Log    ] [BrowserHost] [DEBUG] - AppDomain Root C:\Program Files (x86)\Team MediaPortal\MediaPortal
    [2016-01-02 03:29:15,225] [Log    ] [BrowserHost] [DEBUG] - Current Directory C:\Program Files (x86)\Team MediaPortal\MediaPortal
    [2016-01-02 03:29:15,225] [Log    ] [BrowserHost] [DEBUG] - Browser Host started with connector type: OnlineVideos.Sites.BrowserUtilConnectors.NetflixConnector, video info: http://www.netflix.com/watch/70251143
    [2016-01-02 03:29:15,271] [Log    ] [BrowserHost] [DEBUG] - Initialising Remote handling
    [2016-01-02 03:29:15,430] [Log    ] [BrowserHost] [DEBUG] - Initialising services
    [2016-01-02 03:29:15,478] [Log    ] [BrowserHost] [DEBUG] - Loading Connector
    [2016-01-02 03:29:15,484] [Log    ] [BrowserHost] [INFO ] - Looking in C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\windows\onlinevideos for connector dlls
    [2016-01-02 03:29:15,558] [Log    ] [BrowserHost] [DEBUG] - Performing Log in
    [2016-01-02 03:29:17,818] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT, State: Login
    [2016-01-02 03:29:17,861] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT, State: ProfilesGate
    [2016-01-02 03:29:20,035] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT&nextpage=https://www.netflix.com/ProfilesGate, State: SelectProfile
    [2016-01-02 03:29:20,078] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT&nextpage=https://www.netflix.com/ProfilesGate, State: ReadyToPlay
    [2016-01-02 03:29:20,273] [Log    ] [BrowserHost] [INFO ] - Netflix. Url: https://www.netflix.com/Login?locale=it-IT&nextpage=https://www.netflix.com/ProfilesGate, State: ReadyToPlay
    [2016-01-02 03:30:16,030] [Log    ] [BrowserHost] [ERROR] - Log in failed

    I'm sorry, but if you don't help me I can't help you! Two posts above you I gave clear instructions of what I wanted in an error report and it's in the opening post also!
    Please:
    1. Fill out System Specs
    2. Update your sites (we want to be sure we have the latest version)
    3. Check that "Disable browser logging" is set to false in Netflix site setting
    4. Set "Show loading spinner" to false in Netflix site setting.
    5. Clear cookies and cache in IE (not edge if you're using win 10)
    6. Edit the OnlineVideos.WebAutomation.BrowserHost.exe.config file (found in [MP-INSTALL-PATH]l\plugins\Windows\OnlineVideos)
      Change the WriteDebugLog value to true
    7. Use the WatchDog, pick the second alternative and reproduce the error.
    8. Collect the log
    9. Attach it here and please describe what you see when you try to play a video

    It's a spelling error i 8. it should read logs.
    It's important that you do every step, please! And please describe every step you are doing (also when using netflix) , otherwise I don't know whats happening!
    • I'm also adding some stuff to the list:
    • Please also check the prerequisites (the IE part)
    • Enable verbose logging in Netflix site settings (from context menu).
    • Can you change your password, if needed, to something "simple" for awhile? Using only a-z A-Z 0-9 and as special character . (that's a full stop/period/dot)
     

    smurf

    Portal Member
    April 12, 2009
    48
    8
    Ok sorry, I didn't understand you needed the full watchdog log...

    Here is it!
    When I start a video I see the italian login page of netflix, then the user and password textfields are filled with my credentials, then they disappear and after few seconds I'm back to mediaportal screen.
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    Ok sorry, I didn't understand you needed the full watchdog log...

    Here is it!
    When I start a video I see the italian login page of netflix, then the user and password textfields are filled with my credentials, then they disappear and after few seconds I'm back to mediaportal screen.
    Ok, thanks.

    Some questions:
    Is it correct your OS is Win 8?(please fill System Specs)?
    What version of IE are you using?
    Did you clear cookies and cache (In Internet Explorer not Edge or both :p)?
    Does your password contain other characters other then a-z A-Z 0-9 and . ?

    It looks like your'e not able to login with the credentials you have given in settings. Could you re enter it in settings, you can have trailing whitespace maybe. Or your password contains strange characters.

    When automation fails often the remedy is to empty cache and cookies, when doing so please don't surf to Netflix afterwards and don't clear cookies and cache while browsing Netflix pages.
     

    smurf

    Portal Member
    April 12, 2009
    48
    8
    My OS is Windows 10 64 bit (as setted in my System Specs), I use IE 11, I cleared cookies and cache, my password is only chars, I didn't put white spaces
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    (as setted in my System Specs)
    Ok. It might be that you don't have the "Show system spec" enabled?
    My OS is Windows 10 64 bit
    Ok, @Developers why does the PlatformInfo.html log show Microsoft Windows NT 6.2.9200.0?

    my password is only chars, I didn't put white spaces
    Have you tried to re-enter them?

    --
    What to try next:

    If you don't have a b,B,p,P,0 or space in your username or password you could try this (if you have a 0 in user/pass you can set the "Enable Netflix Info/Stat OSD" in Netflix site setting to false):

    Higher the timeout in browser a lot
    BrowserHostWaitTimeout in the OnlineVideos.WebAutomation.BrowserHost.exe.config file (found in [MP-INSTALL-PATH]l\plugins\Windows\OnlineVideos)

    Also change this to true in the same file:
    XML:
    <add key="DebugMode" value="false" />

    Try to play netflix video

    After the first failed login (when credentials cleared) enter the username and password in the form and login (check the remember login checkbox), wait and see what's happening.... if nothing use your mouse to change profile and wait... if nothing click on netflix logo to get to the front page of netflix, wait....

    Press B to exit browser.

    Change this back
    XML:
    <add key="DebugMode" value="false" />
    Try again

    Good luck!

    Edit: some small edits.
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    826
    Uppsala
    Home Country
    Sweden Sweden
    If you don't have a b,B,p,P,0 or space in your username or password you could try this (if you have a 0 in user/pass you can set the "Enable Netflix Info/Stat OSD" in Netflix site setting to false):

    @smurf and if you can't enter your credentials in the form, just spam the login button with clicks when the credentials still filled out in the form...
     

    Users who are viewing this thread

    Top Bottom