OnlineVideos - wimp.com (1 Viewer)

octessence

Portal Pro
May 8, 2012
76
10
Germany
Home Country
United Kingdom United Kingdom
Pretty much the only thing I use xbmc for is the wimp.com addon.

Is it possible to add wimp.com to OnlineVideos?
 

wredefine

New Member
May 21, 2013
2
0
Home Country
United States of America United States of America
Funny, I was just working on this tonight. Both wimp.com and dump.com encode the video URLs in Base64 which I don't believe that the Generic Site Util can deal with, as I couldn't find any reference to a decoder. Not sure how to carry this forward, as I'm in the same boat as you - these are about all I use XBMC for anymore.
 

offbyone

Development Group
  • Team MediaPortal
  • April 26, 2008
    3,989
    3,712
    Stuttgart
    Home Country
    Germany Germany
    We can write a small c# util that decodes this. Can you post what you have so far?
     

    wredefine

    New Member
    May 21, 2013
    2
    0
    Home Country
    United States of America United States of America
    Thanks, that would be awesome!! This was my first attempt at adding a site, so here's what I have so far covering both wimp.com and dump.com:

    Code:
    	<Site name="dump.com" util="GenericSite" agecheck="false" enabled="true" lang="en">
    	  <Description>Family friendly videos.</Description>
    	  <Configuration>
    		<item key="dynamicSubCategoriesRegEx"><![CDATA[<a\sclass="b"\shref="(?<url>[^"]*)">(?<title>[^<]*)</a><br/>]]></item>
    		<item key="dynamicSubCategoryUrlFormatString"><![CDATA[http://www.dump.com{0}]]></item>
    		<item key="videoListRegEx"><![CDATA[<a\sclass="b"\shref="(?<VideoUrl>[^"]*)"\sstyle="padding-bottom:6px;"><img\sclass="thumbnail"\ssrc="/images/grey\.gif"\sdata-original="(?<ImageUrl>[^"]*)"><span\sclass="video_title">(?<Title>[^<]*)</span><br><span\sclass="video_date">(?<Airdate>[^<]*)</span></a>]]></item>
    		<item key="videoListRegExFormatString"><![CDATA[http://www.dump.com{0}]]></item>
    		<item key="playlistUrlRegEx"><![CDATA[<input\stype="text"\sname="url"\svalue="(?<url>[^"]*)"]]></item>
    		<item key="searchUrl"><![CDATA[www.dump.com/search]]></item>
    		<item key="baseUrl"><![CDATA[www.dump.com]]></item>
    	  </Configuration>
    	  <Categories>
    		<Category xsi:type="RssLink" name="Current Videos" desc="The latest videos.">http://www.dump.com</Category>
    		<Category xsi:type="RssLink" name="Archive" desc="Videos from previous months.">http://www.dump.com/archives/</Category>
    	  </Categories>
    	</Site>
    	<Site name="wimp.com" util="GenericSite" agecheck="false" enabled="true" lang="en">
    	  <Description>Updated daily.  Best videos on the Web. Suitable for all ages.</Description>
    	  <Configuration>
    		<item key="dynamicSubCategoriesRegEx"><![CDATA[<a\sclass="b"\shref="(?<url>[^"]*)">(?<title>[^<]*)</a><br/>]]></item>
    		<item key="dynamicSubCategoryUrlFormatString"><![CDATA[http://www.wimp.com{0}]]></item>
    		<item key="videoListRegEx"><![CDATA[<span\sclass="video_date">(?<Airdate>[^<]*)</span>\s-\s<a\sclass="b"\shref="(?<VideoUrl>[^"]*)">\s*(?<Title>[^<]*)</a><br/>]]></item>
    		<item key="videoListRegExFormatString"><![CDATA[http://www.wimp.com{0}]]></item>
    		<item key="fileUrlRegEx"><![CDATA[<input\stype="text"\sname="url"\svalue="(?<m0>[^"]*)"]]></item>
    		<item key="searchUrl"><![CDATA[www.wimp.com/search]]></item>
    		<item key="baseUrl"><![CDATA[www.wimp.com]]></item>
    		<item key="getRedirectedFileUrl"><![CDATA[True]]></item>
    	  </Configuration>
    	  <Categories>
    		<Category xsi:type="RssLink" name="Current Videos" desc="The latest videos.">http://www.wimp.com</Category>
    		<Category xsi:type="RssLink" name="Archive" desc="Videos from previous months.">http://www.wimp.com/archives/</Category>
    	  </Categories>
    	</Site>
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,670
    3,172
    Nuenen
    Home Country
    Netherlands Netherlands
    Or add base64 and possible json to the decode list?
    Till the next release, he'll have to use a util, but after that, it can be disposed of.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,670
    3,172
    Nuenen
    Home Country
    Netherlands Netherlands
    You have to program this in visual studio. Sourcecode is found here, remember, if you base your util on genericsite, you only have to override the method where the base64 decoding has to be done
     

    Users who are viewing this thread

    Similar threads

    MP2.5 has the latest OnlineVideo version. But as it was stated, that error will be possibly fixed in a future version, it will have the same problem as you face now.
    MP2.5 has the latest OnlineVideo version. But as it was stated, that error will be possibly fixed in a future version, it will have...
    The iPlayer link in Onlinevideos is only showing the last program in the series. For example 'The Traitors' only shows the final...
    Replies
    3
    Views
    1K
    MP1 MP2 MP2 - V2.5 No Thumbnails for TV recordings DE
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions provided by the forum, the problem persists. In short, I am running MP 2.5 on a Win11 system with the skin blue vision (I also tried WMC but same issue). When recording TV shows no thumbnails are created. I have...
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions...
    I know, missing thumbnails for TV recordings have been discussed before. But even after tryping to follow possible solutions...
    Replies
    0
    Views
    195
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D from the tags. Not that important, so I dont upload any new file. A little sad about the end time, but nothing to do about it.
    I agree about the dash instead of colon on the LIVE thing. I did a little change to get the current program, just removed the D...
    I'm trying to develop a new WebEPG grabber for sweden, but I got a few problem in parsing the html-file to get all programs. In...
    Replies
    9
    Views
    992
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it requires extensive metadata scraping that I don't need. Is it possible to instantly access the video categories when landing on the page? I would like to display a single media page with the following...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Hello, I would like to use a media server to display various learning categories. I prefer not to use software like Kodi, as it...
    Replies
    0
    Views
    399
    MP1 MP2 1.36 IPTV Support DE
    I've no idea if this is possible or in the works but I am wondering if the IPTV part of TVServer could be upgraded to support M3U8, HTTPS, HLS or whatever is needed for newer IPTV connections?
    I've no idea if this is possible or in the works but I am wondering if the IPTV part of TVServer could be upgraded to support M3U8...
    I've no idea if this is possible or in the works but I am wondering if the IPTV part of TVServer could be upgraded to support M3U8...
    Replies
    0
    Views
    488
    Top Bottom