Plugin GenericSite - URL encoding (1 Viewer)

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    AW: Plugin GenericSite - URL encoding

    You can set these two to true:

    videoListUrlDecoding
    videoUrlDecoding
     

    kamm

    Portal Member
    January 15, 2010
    13
    1
    Probleme is with "functions" Next and previous page.

    NextPageRegExpUrlDecoding = true
    PrevPageRegExpUrlDecoding = true

    Still not working.

    In log there is:

    Code:
    2010-11-01 15:02:32.291445 [Debug][OnlineVideos(18)]: [OnlineVideos]get webdata from http://archiv.nova.cz/search?parent_id=18418&type_id=0&s=0&d=0&wm=0&pg=1

    URL is ok, but site need to get parameter jointed with & not &

    (probleme is that site dont give a value of variable pg)
     

    offbyone

    Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    AW: Plugin GenericSite - URL encoding

    Hm in the code I can see that both
    nextPageRegExUrlDecoding
    prevPageRegExUrlDecoding
    are only applied if the result from the regEx_NextPage/regEx_PrevPage is not IsWellFormedUriString. But since the url you have is valid those decodings are not applied :(

    I guess this needs to be put outside of that if. I'll change it in the code but you'll have to wait for the next release, as GenericSite cannot be updated automatically. (it's in the base dll).
     

    kamm

    Portal Member
    January 15, 2010
    13
    1
    I found that developers fix this problem in a source code, so when anybody (like me) need this wrapper now, before there will be a newer version (than onlinevideos 0.26) of plugin...

    There is compiled lib in attachement !

    Working fine.
     

    Attachments

    • OnlineVideos.rar
      299.7 KB

    Users who are viewing this thread

    Top Bottom