Plugin develop problem (1 Viewer)

sax

Portal Member
March 26, 2010
41
2
Slovenia Slovenia
THX, I'll do that
 

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Croatia Croatia
    Country flag
    Hey sax, trying to play videos from NOVA fails:

    Code:
    2010-11-09 20:13:58.124091 [Warn.][OnlineVideos(36)]: [OnlineVideos]System.MissingMethodException: Method not found: 'System.String OnlineVideos.Sites.SiteUtilBase.GetWebData(System.String)'.
       at OnlineVideos.Sites.NovaTVUtil.getUrl(VideoInfo video)
       at OnlineVideos.Sites.SiteUtilBase.getMultipleVideoUrls(VideoInfo video)
       at OnlineVideos.MediaPortal1.GUIOnlineVideos.<>c__DisplayClass35.<Play_Step1>b__31()
       at OnlineVideos.MediaPortal1.Gui2UtilConnector.<>c__DisplayClassc.<ExecuteInBackgroundAndCallback>b__a()
    For POP TV I cannot even open a category, always saying "No videos found"
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    3,562
    1,779
    Nuenen
    Netherlands Netherlands
    Country flag
    Hey sax, trying to play videos from NOVA fails:

    Code:
    2010-11-09 20:13:58.124091 [Warn.][OnlineVideos(36)]: [OnlineVideos]System.MissingMethodException: Method not found: 'System.String OnlineVideos.Sites.SiteUtilBase.GetWebData(System.String)'.
       at OnlineVideos.Sites.NovaTVUtil.getUrl(VideoInfo video)
       at OnlineVideos.Sites.SiteUtilBase.getMultipleVideoUrls(VideoInfo video)
       at OnlineVideos.MediaPortal1.GUIOnlineVideos.<>c__DisplayClass35.<Play_Step1>b__31()
       at OnlineVideos.MediaPortal1.Gui2UtilConnector.<>c__DisplayClassc.<ExecuteInBackgroundAndCallback>b__a()
    For POP TV I cannot even open a category, always saying "No videos found"
    I had that problem too, it's caused by a change in the core of onlinevideos. If you build a site-util against the current source-code, it doesn't work with the released 0.26 version.
    a quick workaround (for sax) is to replace
    Code:
    public static string GetRedirectedUrl(string url, string referer = null)
    with
    Code:
            public static string GetRedirectedUrl(string url)
            {
                return GetRedirectedUrl(url, null);
            }
    
    
            public static string GetRedirectedUrl(string url, string referer)
    in siteutilbase.cs.
    then build your site-util and deploy it.
    That should do the trick
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Croatia Croatia
    Country flag
    Ok, fixed the util for NovaTV. POP TV is now moved to POPPLUS and it's a paid service :(

    Also added subcategories (for now they are listed in separate XML - until we have possibility to list them in OnlineVideoSites.xml ;) ).

    You need the util back sax? :)
     

    sax

    Portal Member
    March 26, 2010
    41
    2
    Slovenia Slovenia
    excellent,
    I just started to install Visual C#, set the environment and download new OnlineVideos SVN to check error.
    I found that I have installed the old version of plugin.
    I am grateful for your contribution.
    Can you send me source back.
    I'll removed POPTV because I do not want to pay service.
    If I had some time I will be adding another site Kiberpipa.org
    Thanks again for your contribution.

    SaX
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Croatia Croatia
    Country flag
    Will post the util as soon as I update XML for it (the subcategories were listed in external file - not very nice, now I can add directly to OnlineVideoSites.xml, thanks to offbyone :) )

    So hang on for a day or two until I get back to work ;)
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Croatia Croatia
    Country flag
    Hey sax,

    here is my work so far with Nova. You need latest OnlineVideos SVN to run it properly. I've fixed regexp's and links in configuration. If you look closely there are some comments in XML marked with TODO. I still need to update subcategories for those sections. All in all, it seems to be working fine :)
     

    Attachments

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

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 14
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    Similar threads

























    Top Bottom