OnlineVideos 2.0 Beta Test (1 Viewer)

Status
Not open for further replies.

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Hey @Ministerk,

    According to your log file you played/started the following episodes from OnlineVideos:
    Code:
    Capelito  - 2x15
    Columbo  - 4x4
    Akuten  - 4x13
    Amigo Grande  - 3x7
    All these failed to start scrobble because of a 404 error on trakt.tv (except for Columbo 4x4, although I see no stop signal sent which is concerning). This would occur if trakt.tv does not know about those episodes, I checked online and that appears to be the case, I couldn't find the series Akuten or Amigo Grande on trakt.tv or thetvdb.com. I also couldn't find season 2 of Capelito on thetvdb.com (http://thetvdb.com/?tab=series&id=287267&lid=7) which is where trakt would get its information from.

    Maybe those series exist but under a different name?

    Also, I want to improve the scrobbler for onlinevideos but I need help in discovering sites that support ITrackingInfo. Do you have a list handy or can pass me a couple site utils (like the one you use above) that works with this version to test? We can continue this discussion in the trakt forum if you like.
     
    Last edited:

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    825
    Uppsala
    Sweden Sweden
    Country flag
    Yes those series are not in the thetvdb, lots of Swedish titles aren't or do not have en English title. Furthermore some of English names are translated to Swedish, trakt only supports english names. I was just testing the site utils with random episodes of random series to try it out.

    The sites I'm having right now (working) with ITrackingInfo are:
    Movies and Series scrobbling: MovHunter, Sweflix
    Series only: Viasat, TV3 Play Danmark, TV3 Play Eesti, Viasat Norge, TV Play, TV3 Play Lietuva, Nova Play

    Many of doskabouter's sites scrobbles.[DOUBLEPOST=1425687896][/DOUBLEPOST]Well the Columbo episode did not end up in my history... Guess it's a bug on the Trakt site or service, showing progress even if nothing is played.
     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    I didn't see any evidence of a stop being sent to Trakt from log, was that log suppose to be when you stopped the video near the end? Maybe you can repeat test with just that episode so I can see the log.

    @Ministerk, I noticed a bug where a pause signal is not sent to trakt if we stop the video and its not considered watched. Maybe that is the issue you saw as I did not see the TrackVideoPlayback event fired from OnlineVideos...I will keep digging as I found a site util to test with.

    @Ministerk, I made some changes to the OnlineVideos scrobbler today. It will now send a pause if its partially watched to trakt. Also added some more logging which could help with any issues you find. Find Attached a test build.
     

    Attachments

    Last edited:

    Jason Pyke

    Portal Pro
    April 12, 2013
    96
    38
    Great Britain (UK) Great Britain (UK)
    @Arni_69, the same error appears to be in the log. Can I just ask, could you right-click on the new ministerk dll and check the properties. Its possible the dll is blocked, if it is there will be an "unblock" button on the properties page. Also, could you try removing the .dl_ file from the folder.
     
    Last edited:

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    825
    Uppsala
    Sweden Sweden
    Country flag
    @Ministerk Do all things. But after a successfull login in netflix the film crashed.
    Dang :mad:!
    Do what Jason proposes, this is the only thing I can come up with.

    @Arni_69, the same error appears to be in the log. Can I just ask, could you right-click on the new ministerk dll and check the properties. Its possible the dll is blocked, if it is there will be an "unblock" button on the properties page. Also, could you try removing the .dl_ file from the folder.
    The dll should be unlocked if Arni_69 unblocked the zip before extracting it. As understand it you should alway unblock the zip file downloaded from another computer and not the contents it self.

    I've googled some about unblocking and sometimes it does not work, you can then remove the files stream information with the Streams util.
    Use this command to remove the streams from a file:
    Code:
    streams.exe -d OnlineVideos.Sites.ministerk.dll.zip
    Then extract the file and try to be really sure:
    Code:
    streams.exe -d OnlineVideos.Sites.ministerk.dll
    [DOUBLEPOST=1425723783][/DOUBLEPOST]
    I didn't see any evidence of a stop being sent to Trakt from log, was that log suppose to be when you stopped the video near the end? Maybe you can repeat test with just that episode so I can see the log.

    @Ministerk, I noticed a bug where a pause signal is not sent to trakt if we stop the video and its not considered watched. Maybe that is the issue you saw as I did not see the TrackVideoPlayback event fired from OnlineVideos...I will keep digging as I found a site util to test with.

    @Ministerk, I made some changes to the OnlineVideos scrobbler today. It will now send a pause if its partially watched to trakt. Also added some more logging which could help with any issues you find. Find Attached a test build.
    Trying this out tonight CET.
     

    Arni_69

    Portal Member
    November 18, 2014
    25
    4
    42
    Germany Germany
    @Jason Pyke
    Have check unblock the .zip, was unblocked. Check properties of the .dll, was unblocked. No old or renamed .dll like .dl_ in the folder.

    Will test the method with streams.exe.

    Result:
    Make all what you say with .zip and after with . dll again with the streams.exe.
    Netflix start the film and also the remote is working with Pause, Play, Forward ans so on. :)
     
    Last edited:

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    825
    Uppsala
    Sweden Sweden
    Country flag
    Make all what you say with .zip and after with . dll again with the streams.exe.
    Netflix start the film and also the remote is working with Pause, Play, Forward ans so on.
    Great! Thanks for your helping and not just giving up! (y) Now we have more input on remote control behavior and handling!
     

    Ministerk

    Super User
  • Team MediaPortal
  • Super User
  • November 28, 2007
    970
    825
    Uppsala
    Sweden Sweden
    Country flag
    @ltfearme I've tested the new Trakt version and start and pause worked as expected. Ended the day by watching an episode of a TV show, but the stop call got a 500 response hence it didn't end up in my history :/.

    I did this last test on my main HTPC (only error log level, was 100% sure it was set to debug...) but this was logged:
    Code:
    2015-03-07 22:58:41.961 [ERR ] [Scrobble][13]: Protocol Error, Code = '500', Description = 'Internal Server Error', Url = 'http://api-v2launch.trakt.tv/scrobble/stop', Headers = 'Transfer-Encoding: chunked, Connection: keep-alive, X-Request-Id: cf938fa6-7cb2-48c0-9219-dfb392b43368, X-Runtime: 10.510828, CF-RAY: 1c398fa5439c05bb-ARN, Content-Type: text/html; charset=utf-8, Date: Sat, 07 Mar 2015 21:58:46 GMT, Set-Cookie: __cfduid=d2236d53d992f1d405bac1c37eaa2b1831425765499; expires=Sun, 06-Mar-16 21:58:19 GMT; path=/; domain=.trakt.tv; HttpOnly, Server: cloudflare-nginx'
    Going to watch something later in the evening to be sure this works as expected.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Thanks @Ministerk ,

    that just sounds like some bad luck / timing with trakt.tv being unavailable at the time of your test. Sounds like the plugin did everything it could, I haven't added any retry logic in the plugin. Typically I dont need to do any retry as I can sync later but because this is onlinevideos it does not have any database of your previous watched history it might make sense to add retry logic in for certain types of protocol errors.
     
    Status
    Not open for further replies.

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] OnlineVideos: New browser based playback support using WebDriver, new Amazon siteutil MediaPortal 2 6
    bta489 [solved] System goes to Standby during Amazon Prime Playback OnlineVideos 2
    J Debug OnlineVideos, How To? OnlineVideos 1
    Predpray OnlineVideo 2 Probleme Allgemeines Support- und Diskussionsforum 12
    HTPCSourcer MP2 OnlineVideos Overhaul MediaPortal 2 46
    HTPCSourcer OnlineVideos is not remembering my sites MediaPortal 2 25
    P MP2 - V2.1 Bug - Onlinevideos U.S. Amazon Prime Fails to Connect Older releases 5
    E OnlineVideo Plugins - eigene Videostreams hinzufügen Plugins & Erweiterungen 0
    ajs [Info] Pre 0.7 Beta - MPExtended, WebMP, Bootstrap skin by ajs - Hard way MPExtended 374
    ajs [News] MediaPortal 1.25 Pre-Release ready for testing! News and Announcements 0
    high attachment test Testforum 0
    azzuro [News] MediaPortal 1.24 Pre-Release ready for testing! News and Announcements 0
    HTPCSourcer [Finished] Nereus: Test results #1 MediaPortal 2 196
    ajs [solved] MP1.23 Temporary Bugfixes - Test General Support 8
    morpheus_xx Test builds of MP2.3 WiP, x64, Nereus and more... MediaPortal 2 44
    ajs [News] MediaPortal 1.23 Pre-Release ready for testing! News and Announcements 6
    O [News] MediaPortal 1.22 Pre-Release ready for testing! News and Announcements 2
    E [solved] No Live TV in MP2.2 Client - Can TEST Successfully in "MediaPortal 2 TV Configuration" utility General 8
    morpheus_xx General Testing TVE 3.5 Sat>IP support (MP2 only) TV Engine 47
    O [News] MediaPortal 1.21 Pre-Release ready for testing! News and Announcements 6
    D [solved] Initital testing with second client - cannot play recorded TV General 33
    O Core Testing of the new TsWriter.ax TV Engine 77
    ge2301 MP 2.2 Release - Testing Archive 86
    high [News] MediaPortal 1.20 Pre-Release ready for testing! News and Announcements 10
    Similar threads
























    Top Bottom