[RELEASE] CBS (Video) Plugin for XBMC - Now with HD Support!
enjoy:

Code:
[email protected] ~/.xbmc/plugins/video $ colordiff -wu -r -x .svn -x *.pyc -x *.pyo CBS-svn CBS |less
Only in CBS/resources/cache: hd.js
diff -wu -r -x .svn -x '*.pyc' -x '*.pyo' CBS-svn/resources/language/English/strings.xml CBS/resources/language/English/strings.xml
--- CBS-svn/resources/language/English/strings.xml      2009-10-13 14:58:23.000000000 +0300
+++ CBS/resources/language/English/strings.xml  2009-10-13 15:15:36.000000000 +0300
@@ -19,11 +19,13 @@
        <string id="30013">List 'Latest' Category</string>^M
        <string id="30014">List 'Popular' Category</string>^M
     <string id="30015">Shows and Home</string>^M
-    <string id="30016">Shows Only</string>^M
+    <string id="30015">Shows Only</string>^M
     <string id="30017">Home Only</string>^M
     <string id="30018">Disabled</string>^M
     <string id="30019">List 'Editor's Picks' Category (Shows Only)</string>^M
     <string id="30020">List 'Clips' Category (Shows Only)</string>^M
        <string id="30021">List 'All Videos' Category (Shows Only)</string>^M
^M
+    <string id="30040">U.S. Proxy IP</string>^M
+    <string id="30041">U.S. Proxy port</string>^M
</strings>^M
diff -wu -r -x .svn -x '*.pyc' -x '*.pyo' CBS-svn/resources/lib/common.py CBS/resources/lib/common.py
--- CBS-svn/resources/lib/common.py     2009-10-13 14:58:25.000000000 +0300
+++ CBS/resources/lib/common.py 2009-10-13 15:14:19.000000000 +0300
@@ -71,6 +71,14 @@
^M
def getHTML( url ):^M
     try:^M
+       us_proxy = 'http://' + xbmcplugin.getSetting('us_proxy') + ':' + xbmcplugin.getSetting('us_proxy_port')^M
+^M
+       if (xbmcplugin.getSetting('us_proxy')):^M
+               print 'Using proxy: ' + us_proxy^M
+               proxy_handler = urllib2.ProxyHandler({'http':us_proxy})^M
+               opener = urllib2.build_opener(proxy_handler)^M
+               urllib2.install_opener(opener)^M
+^M
         print 'CBS --> common :: getHTML :: url = '+url^M
         req = urllib2.Request(url)^M
         req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3')^M
diff -wu -r -x .svn -x '*.pyc' -x '*.pyo' CBS-svn/resources/settings.xml CBS/resources/settings.xml
--- CBS-svn/resources/settings.xml      2009-10-13 14:58:25.000000000 +0300
+++ CBS/resources/settings.xml  2009-08-08 12:54:10.000000000 +0300
@@ -14,4 +14,6 @@
    <!-- 0.Ask 1.Play 2.  Download 3. Download and Play -->^M
    <setting id="download" type="enum" lvalues="30005|30006|30007|30008" label="30009" default="1"/>^M
    <setting id="download_path" type="folder" source="video" label="30010"  option="writeable" default="E:\"/>^M
+   <setting id="us_proxy" type="text" label="30040" default="208.100.40.34"/>^M
+   <setting id="us_proxy_port" type="text" label="30041" default="80"/>  ^M
</settings>^M
lines 1-47/47 (END)
xbmc-pvr-ppa-odk68, Gentoo x86 3.0.7-pf, xorg-server-1.11.2, mesa-7.11, nvidia-drivers-290.10
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
[No subject] - by Nuka1195 - 2009-01-10, 18:36
[No subject] - by Voinage - 2009-01-10, 18:39
[No subject] - by zslates - 2009-01-10, 21:52
[No subject] - by plankton88 - 2009-01-12, 04:36
[No subject] - by XBMCG33K - 2009-01-12, 19:01
[No subject] - by TheBurner - 2009-01-12, 19:33
[No subject] - by BlueCop - 2009-01-12, 20:20
[No subject] - by mr.b - 2009-01-13, 00:45
[No subject] - by CptKen - 2009-01-13, 03:29
[No subject] - by CrashX - 2009-01-13, 04:30
[No subject] - by pre1014 - 2009-01-13, 06:39
[No subject] - by CrashX - 2009-01-14, 23:48
[No subject] - by tim_wang - 2009-01-20, 17:51
[No subject] - by kizer - 2009-01-20, 18:26
[No subject] - by Cocophone - 2009-02-08, 02:57
[No subject] - by nicoli_k - 2009-02-10, 00:42
[No subject] - by nicoli_k - 2009-02-10, 19:23
[No subject] - by sion28 - 2009-03-01, 03:07
[No subject] - by BlueCop - 2009-03-04, 02:38
[No subject] - by BlueCop - 2009-03-04, 06:21
[No subject] - by nicoli_k - 2009-03-04, 06:51
[No subject] - by Nuka1195 - 2009-03-04, 07:53
[No subject] - by BlueCop - 2009-03-04, 08:49
[No subject] - by BlueCop - 2009-03-04, 10:52
Now in hd - by BlueCop - 2009-03-05, 02:25
[No subject] - by nicoli_k - 2009-03-05, 05:55
[No subject] - by BlueCop - 2009-03-05, 06:30
[No subject] - by nicoli_k - 2009-03-05, 06:37
[No subject] - by CrashX - 2009-03-05, 22:19
[No subject] - by BlueCop - 2009-03-05, 23:10
[No subject] - by BlueCop - 2009-03-06, 03:50
[No subject] - by CrashX - 2009-03-06, 04:09
[No subject] - by FivemagicS - 2009-03-06, 04:57
[No subject] - by BlueCop - 2009-03-06, 22:49
[No subject] - by BlueCop - 2009-03-07, 08:30
[No subject] - by BlueCop - 2009-03-07, 23:08
[No subject] - by sion28 - 2009-03-08, 03:41
[No subject] - by CrashX - 2009-03-08, 06:06
[No subject] - by BlueCop - 2009-03-08, 06:36
[No subject] - by CrashX - 2009-03-08, 07:00
[No subject] - by BlueCop - 2009-03-08, 07:04
[No subject] - by CrashX - 2009-03-08, 07:32
[No subject] - by BlueCop - 2009-03-08, 08:02
[No subject] - by rwparris2 - 2009-03-08, 08:12
[No subject] - by CrashX - 2009-03-08, 08:23
[No subject] - by BlueCop - 2009-03-08, 10:53
[No subject] - by BlueCop - 2009-03-09, 00:56
[No subject] - by BlueCop - 2009-03-10, 14:35
[No subject] - by CrashX - 2009-03-10, 15:24
[No subject] - by dbldown768 - 2009-03-11, 04:04
[No subject] - by BlueCop - 2009-03-11, 04:21
[No subject] - by dbldown768 - 2009-03-12, 03:16
CBS on ATV - by mtokio - 2009-03-14, 17:05
[No subject] - by BlueCop - 2009-03-14, 17:16
[No subject] - by Pantherboy - 2009-03-15, 01:30
[No subject] - by BlueCop - 2009-03-15, 01:42
[No subject] - by Pantherboy - 2009-03-15, 01:52
[No subject] - by BlueCop - 2009-03-15, 02:34
[No subject] - by lewis.donofrio - 2009-04-15, 17:22
[No subject] - by BlueCop - 2009-04-15, 17:52
[No subject] - by jonm42 - 2009-04-15, 19:00
[No subject] - by pajretX - 2009-04-15, 19:09
[No subject] - by BlueCop - 2009-04-15, 19:24
[No subject] - by unclepaulie - 2009-04-15, 19:48
[No subject] - by BlueCop - 2009-04-15, 19:53
[No subject] - by unclepaulie - 2009-04-15, 21:16
[No subject] - by lewis.donofrio - 2009-04-15, 21:52
[No subject] - by BlueCop - 2009-04-15, 22:31
[No subject] - by lewis.donofrio - 2009-04-15, 22:40
[No subject] - by snake - 2009-04-16, 03:17
[No subject] - by stonewall - 2009-04-16, 03:24
[No subject] - by BlueCop - 2009-04-16, 03:39
[No subject] - by snake - 2009-04-16, 03:47
[No subject] - by snake - 2009-04-16, 05:21
[No subject] - by nicoli_k - 2009-04-16, 05:51
[No subject] - by frosty - 2009-04-16, 09:52
[No subject] - by snake - 2009-04-16, 19:22
[No subject] - by BlueCop - 2009-04-16, 20:04
[No subject] - by BlueCop - 2009-04-18, 22:50
[No subject] - by cyrus_mc - 2009-04-20, 07:28
[No subject] - by BlueCop - 2009-04-20, 09:18
[No subject] - by nicoli_k - 2009-05-06, 19:03
[No subject] - by CrashX - 2009-05-15, 23:49
CBS 1080p - by mrthundercleese - 2009-05-16, 15:33
[No subject] - by itchytickles - 2009-05-19, 03:21
Is CBS HD working right yet - by chomlee - 2009-05-22, 02:47
[No subject] - by liquid64 - 2009-05-29, 18:19
[No subject] - by Icebeer - 2009-05-29, 22:33
[No subject] - by BlueCop - 2009-05-30, 00:58
[No subject] - by liquid64 - 2009-05-31, 02:43
[No subject] - by slacker666 - 2009-06-05, 22:26
[No subject] - by jonm42 - 2009-06-12, 00:23
[No subject] - by kschroll - 2009-06-12, 02:41
[No subject] - by kschroll - 2009-06-12, 14:12
[No subject] - by jonm42 - 2009-06-12, 17:14
[No subject] - by BrutalByte2 - 2009-06-13, 03:42
[No subject] - by nicoli_k - 2009-06-13, 04:12
oops! - by BrutalByte2 - 2009-06-14, 06:11
[No subject] - by nicoli_k - 2009-06-14, 06:15
[No subject] - by racksprt - 2009-06-18, 16:15
[No subject] - by nicoli_k - 2009-06-18, 16:56
Problem - by djremix71 - 2009-06-28, 21:27
[No subject] - by tmc701 - 2009-07-14, 15:46
[No subject] - by lkraav - 2009-08-04, 20:41
[No subject] - by hematite - 2009-10-13, 04:52
[No subject] - by Icebeer - 2009-10-13, 10:48
[No subject] - by rwparris2 - 2009-10-13, 10:50
[No subject] - by lkraav - 2009-10-13, 14:19
[No subject] - by rwparris2 - 2009-10-16, 02:58
[No subject] - by BlueCop - 2009-10-27, 09:28
[No subject] - by lkraav - 2009-10-27, 10:08
[No subject] - by BlueCop - 2009-10-27, 10:12
[No subject] - by CrashX - 2009-10-29, 03:38
[No subject] - by rwparris2 - 2009-10-29, 03:58
[No subject] - by BlueCop - 2009-10-29, 19:44
[No subject] - by lkraav - 2009-11-10, 13:54
[No subject] - by Superorb - 2009-11-17, 18:18
[No subject] - by mrthundercleese - 2009-11-28, 17:08
[No subject] - by lkraav - 2009-12-05, 12:07
[No subject] - by lkraav - 2009-12-08, 09:55
[No subject] - by DonnyX - 2009-12-09, 01:37
[No subject] - by billy_hoyle33 - 2010-01-05, 01:00
[No subject] - by Hitcher - 2010-01-05, 18:06
[No subject] - by philipacentaur - 2010-01-18, 01:54
[No subject] - by Superorb - 2010-01-18, 01:56
[No subject] - by philipacentaur - 2010-01-18, 01:58
[No subject] - by hohead - 2010-02-05, 06:14
[No subject] - by r3g10 - 2011-03-02, 22:19
[No subject] - by AJP69 - 2011-04-19, 14:57
[No subject] - by jadoogar - 2011-04-20, 17:37
[No subject] - by ksosez - 2011-04-20, 18:30
[No subject] - by jadoogar - 2011-04-20, 19:09
[No subject] - by AJP69 - 2011-04-20, 22:58
[No subject] - by BlueCop - 2011-05-11, 13:24
[No subject] - by blueseeka - 2011-05-12, 02:42
[No subject] - by BlueCop - 2011-05-12, 07:03
Working Great! - by chernics - 2011-05-13, 15:56
[No subject] - by Ferdnand - 2011-05-13, 18:24
[No subject] - by BlueCop - 2011-05-14, 00:09
[No subject] - by Eldorado - 2011-05-16, 19:30
[No subject] - by AJP69 - 2011-05-16, 19:31
[No subject] - by BlueCop - 2011-05-19, 01:30
[No subject] - by freakmonger - 2011-05-20, 22:17
[No subject] - by mrdally204 - 2011-05-24, 22:22
[No subject] - by Eldorado - 2011-05-24, 22:26
[No subject] - by mrdally204 - 2011-05-25, 22:14
[No subject] - by BlueCop - 2011-05-26, 17:39
[No subject] - by mrdally204 - 2011-05-26, 19:48
[No subject] - by themaster1 - 2011-08-21, 03:40
[No subject] - by BlueCop - 2011-08-21, 03:43
[No subject] - by themaster1 - 2011-08-23, 22:59
[No subject] - by BlueCop - 2011-08-23, 23:04
[No subject] - by mrdally204 - 2011-08-24, 09:29


Logout Mark Read Team Forum Stats Members Help
[RELEASE] CBS (Video) Plugin for XBMC - Now with HD Support!00
This forum uses Lukasz Tkacz MyBB addons.