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,536
    2,898
    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,536
    2,898
    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

    Hey doskabouter, Thanks for the quick fix! Works like a charm now Still staying true to MePo. I know development may be kind of slow on some parts, but no reason for me to give up. Been using it for years now and it never failed me. Only wish I had the skill set to help out.
    Hey doskabouter, Thanks for the quick fix! Works like a charm now Still staying true to MePo. I know development may be kind of...
    For anyone that may have a clue and a pointer to help me out here; Just tried to enable the login function for the YouTube site...
    Replies
    2
    Views
    840
    Thanks for your reply. In my configuration this setting is set to "no". To avoid misunderstandings, the MP window size changes on screen resolution changes, MP always fulfills the whole screen. Also, the home screen buttons size is adjusted. Only the font size is not adjusted to the new screen resolution.
    Thanks for your reply. In my configuration this setting is set to "no". To avoid misunderstandings, the MP window size changes on...
    I use two monitors - a large display for TV and video watching and a small display for music playback, to get the current track...
    Replies
    2
    Views
    554
    MP1 MP2 Onlinevideos Binge DE
    Technically you don't have to put it anywhere (the sourcecode that is) You can however publish your util so others can use it too.
    Technically you don't have to put it anywhere (the sourcecode that is) You can however publish your util so others can use it too.
    1. Where do I download OnlineVideos for MP2? 2. How do I connect Binge (A streaming service from Australia) to OnlineVideos?
    Replies
    5
    Views
    1K
    Good luck, I am really not too sure how well CAM and MP work together with any tuner. Just a thought would it not be cheaper to just buy another C1+ card then there would be no need to prioritise the tuners? BTW the TBS Deutschland website specifically states that C1+ cards are not supported but I think that is a local issue with the...
    Good luck, I am really not too sure how well CAM and MP work together with any tuner. Just a thought would it not be cheaper to...
    Hi, I have installed the MP2 server ion a Win11 server, for Swedish DVB-T2 channels with CAM/CI+. I have never used MP before, but...
    Replies
    37
    Views
    5K
    Since updating the BIOS and the audio driver two weeks ago, I have not experienced the above problem again.
    Since updating the BIOS and the audio driver two weeks ago, I have not experienced the above problem again.
    Occasionally if I pause Live TV then resume it later, the video keeps playing but the audio is stuck in a half second loop. As of...
    Replies
    4
    Views
    829
    Top Bottom