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,807
    3,399
    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,807
    3,399
    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
    ok, i've fixed parsing and did a couple of other optimizations. Also officially published this site, so everybody can use it
    ok, i've fixed parsing and did a couple of other optimizations. Also officially published this site, so everybody can use it
    Hi! I am trying to get the m3u files from GitHub - iptv-org/iptv: Collection of publicly available IPTV channels from all over the...
    Replies
    4
    Views
    2K
    Of course, I think it's not difficult, add fields to the database, and then change everything in the user interface for the rating, and not break anything. I don't have time for this yet, maybe it will appear after the 25th, but that's not certain.
    Of course, I think it's not difficult, add fields to the database, and then change everything in the user interface for the rating...
    Would it be possible to add a star rating (1-5) for pictures in the database, preferably even within browsing files? This way, you...
    Replies
    8
    Views
    534
    This is for the tvserver, the iptv part. It used to only support m3u files containing all the channels, but now you can use a m3u8 too. Usually you get an m3u8 from your iptv provider, but there are also some that can be found on the internet
    This is for the tvserver, the iptv part. It used to only support m3u files containing all the channels, but now you can use a m3u8...
    Hi! I read about [MP1-5236] - Add support for m3u8 files, but I can't find info on how to use this. So, where and how can I use...
    Replies
    1
    Views
    445
    You could use a different player that handles HDR content but thats more hassle then installing MadVR
    You could use a different player that handles HDR content but thats more hassle then installing MadVR
    I searched several days now but could only find non-working ideas and mostly based on MadVR. Is there a way to play HDR content...
    Replies
    1
    Views
    331
    Top Bottom