Kodi Community Forum
[RELEASE] Project xbmc-addons-chinese (Chinese addons for Kodi) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Third Party Repositories (https://forum.kodi.tv/forumdisplay.php?fid=157)
+---- Thread: [RELEASE] Project xbmc-addons-chinese (Chinese addons for Kodi) (/showthread.php?tid=64250)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


- NobodyHere - 2012-01-05

If it's okay to redistribute it, post it on http://www.multiupload.com/, and provide the link here.

BTW - Here's my Xbox log after my failed attempt to install the CNTV, Tudou, and Youko plugins.
http://pastebin.com/XZB8LybX


- sciburst - 2012-01-05

NobodyHere Wrote:If it's okay to redistribute it, post it on http://www.multiupload.com/, and provide the link here.

BTW - Here's my Xbox log after my failed attempt to install the CNTV, Tudou, and Youko plugins.
http://pastebin.com/XZB8LybX


Here is the link to download the patched default.py for the Tudou plugin:

https://docs.google.com/open?id=0B3mHVj-9LltbMjMyZGRiZTQtNzg1ZC00OWRhLTkxMjMtYWUyYTQ1OGM0Mjdj

My modifications addressed a number of parsing problems. Since yours is an installation issue, it is unlikely that this file will resolve that issue for you.


- taxigps - 2012-01-06

sciburst Wrote:Here is the link to download the patched default.py for the Tudou plugin:

https://docs.google.com/open?id=0B3mHVj-9LltbMjMyZGRiZTQtNzg1ZC00OWRhLTkxMjMtYWUyYTQ1OGM0Mjdj

My modifications addressed a number of parsing problems. Since yours is an installation issue, it is unlikely that this file will resolve that issue for you.

I can't access the site. Please open a new issuse here: http://code.google.com/p/xbmc-addons-chinese/issues/list


- sciburst - 2012-01-06

taxigps Wrote:I can't access the site. Please open a new issuse here: http://code.google.com/p/xbmc-addons-chinese/issues/list

O.K. Here is the patch in case someone is interested:

Code:
--- default.py    2012-01-06 13:03:28.775344766 -0500
+++ default-new.py    2012-01-04 13:08:19.788169765 -0500
@@ -94,7 +94,7 @@
     for i in range(0,len(match)):
         match1 = re.compile('<div class="pic"><a href="(.+?)" target="_blank"><img src="(.+?)".+?>').search(match[i])
         if not match1:
-            match1 = re.compile('<div class="pic"><a class="inner" target="new" href="http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html"><img .+?src="(.+?)">').search(match[i])
+            match1 = re.compile('<div class="pic"><a class="inner" target="new" href="\s*http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html\s*"><img .+?src="(.+?)">').search(match[i])
             p_url = match1.group(1)
             p_thumb = match1.group(2)
             mode = 3
@@ -161,7 +161,7 @@
     link = GetHttpData(url)
     link= re.sub("\r|\n|\t","",link)
     match0 = re.compile('<div id="playItems"(.+?)<div class="page_nav"').search(link)
-    match = re.compile('<div class="pic"><a target="new" title="(.+?)" href=" http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html"></a><img .+?alt="(.+?)" src="(.+?)"').findall(match0.group(1))
+    match = re.compile('<div class="pic"><a target="new" title="(.+?)" href="\s*http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html\s*"></a><img .+?alt="(.+?)" src="(.+?)"').findall(match0.group(1))
     if match:
         totalItems = len(match)
         for p_name, p_iid, alt, src in match:
@@ -174,7 +174,7 @@
             #li.setInfo(type = "Video", infoLabels = {"Title":p_name, "Director":p_director, "Cast":p_cast, "Plot":p_plot, "Year":p_year, "Rating":p_rating, "Votes":p_votes})
             xbmcplugin.addDirectoryItem(int(sys.argv[1]), u, li, False, totalItems)
     else:
-        match=re.compile('href=" (http://tudou.letv.com/playlist/p/le/.+?/play.html)"></a><img').findall(match0.group(1))
+        match=re.compile('href="\s*(http://tudou.letv.com/playlist/p/le/.+?/play.html)\s*"></a><img').findall(match0.group(1))
         link=GetHttpData(match[0])
         match = re.compile('partnerIds = {(.+?)}').search(link)
         jjlist = re.compile('"(.+?)":([0-9]+)').findall(match.group(1))
@@ -324,4 +324,4 @@
elif mode == 4:
     performChanges(name,url,page,cat,area,year,order)
elif mode == 5:
-    PlayVideo1(name,url,thumb)
\ No newline at end of file
+    PlayVideo1(name,url,thumb)



- taxigps - 2012-01-08

sciburst Wrote:O.K. Here is the patch in case someone is interested:

Code:
--- default.py    2012-01-06 13:03:28.775344766 -0500
+++ default-new.py    2012-01-04 13:08:19.788169765 -0500
@@ -94,7 +94,7 @@
     for i in range(0,len(match)):
         match1 = re.compile('<div class="pic"><a href="(.+?)" target="_blank"><img src="(.+?)".+?>').search(match[i])
         if not match1:
-            match1 = re.compile('<div class="pic"><a class="inner" target="new" href="http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html"><img .+?src="(.+?)">').search(match[i])
+            match1 = re.compile('<div class="pic"><a class="inner" target="new" href="\s*http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html\s*"><img .+?src="(.+?)">').search(match[i])
             p_url = match1.group(1)
             p_thumb = match1.group(2)
             mode = 3
@@ -161,7 +161,7 @@
     link = GetHttpData(url)
     link= re.sub("\r|\n|\t","",link)
     match0 = re.compile('<div id="playItems"(.+?)<div class="page_nav"').search(link)
-    match = re.compile('<div class="pic"><a target="new" title="(.+?)" href=" http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html"></a><img .+?alt="(.+?)" src="(.+?)"').findall(match0.group(1))
+    match = re.compile('<div class="pic"><a target="new" title="(.+?)" href="\s*http://www.tudou.com/playlist/p/a[0-9]+i([0-9]+).html\s*"></a><img .+?alt="(.+?)" src="(.+?)"').findall(match0.group(1))
     if match:
         totalItems = len(match)
         for p_name, p_iid, alt, src in match:
@@ -174,7 +174,7 @@
             #li.setInfo(type = "Video", infoLabels = {"Title":p_name, "Director":p_director, "Cast":p_cast, "Plot":p_plot, "Year":p_year, "Rating":p_rating, "Votes":p_votes})
             xbmcplugin.addDirectoryItem(int(sys.argv[1]), u, li, False, totalItems)
     else:
-        match=re.compile('href=" (http://tudou.letv.com/playlist/p/le/.+?/play.html)"></a><img').findall(match0.group(1))
+        match=re.compile('href="\s*(http://tudou.letv.com/playlist/p/le/.+?/play.html)\s*"></a><img').findall(match0.group(1))
         link=GetHttpData(match[0])
         match = re.compile('partnerIds = {(.+?)}').search(link)
         jjlist = re.compile('"(.+?)":([0-9]+)').findall(match.group(1))
@@ -324,4 +324,4 @@
elif mode == 4:
     performChanges(name,url,page,cat,area,year,order)
elif mode == 5:
-    PlayVideo1(name,url,thumb)
\ No newline at end of file
+    PlayVideo1(name,url,thumb)

fixed in project, thanks


- kcyyk - 2012-01-09

Hi I using apple tv2. before I using old version still have chinese channel. when I update all the channel not on the list? How come?


- sodamnjig - 2012-01-09

Hi,

Which one of these plug-ins can I use to watch TVB shows?


- taxigps - 2012-01-10

kcyyk Wrote:Hi I using apple tv2. before I using old version still have chinese channel. when I update all the channel not on the list? How come?

Uninstall Chinese Add-on Repository and reinstall new version from zip file.


- taxigps - 2012-01-10

sodamnjig Wrote:Hi,

Which one of these plug-ins can I use to watch TVB shows?

both sohuvideo, tudou and youku plugin can watch TV shows from HK.


- NobodyHere - 2012-01-10

sciburst Wrote:My modifications addressed a number of parsing problems. Since yours is an installation issue, it is unlikely that this file will resolve that issue for you.
Darn...

I uninstalled Eden, rebuilt a newer GIT version of it, reinstalled, and even manually installed the repo marked for Eden. repository.googlecode.xbmc-addons-chinese-eden.zip

When I attempt to install any of the video plugins, I get a failed error.

Can anyone tell what it is by looking at this debug log?

http://pastebin.com/xtigTcYe

BTW - I'm in the US, I'm running the Linux 64bit git version of Eden, and I'm using the default Confluence skin with Unicode font support for Chinese characters.



- taxigps - 2012-01-11

NobodyHere Wrote:Darn...

I uninstalled Eden, rebuilt a newer GIT version of it, reinstalled, and even manually installed the repo marked for Eden. repository.googlecode.xbmc-addons-chinese-eden.zip

When I attempt to install any of the video plugins, I get a failed error.

Can anyone tell what it is by looking at this debug log?

http://pastebin.com/xtigTcYe

BTW - I'm in the US, I'm running the Linux 64bit git version of Eden, and I'm using the default Confluence skin with Unicode font support for Chinese characters.
In your log file, fail install addon with this error:
17:51:28 T:140109665928960 * ERROR: Could not read addon description of plugin.video.cntv

But don't know why could not read


- cbr400rr - 2012-01-11

How come I don't see tv365 on the add on no more.


- sciburst - 2012-01-11

NobodyHere Wrote:Darn...

I uninstalled Eden, rebuilt a newer GIT version of it, reinstalled, and even manually installed the repo marked for Eden. repository.googlecode.xbmc-addons-chinese-eden.zip

When I attempt to install any of the video plugins, I get a failed error.

Can anyone tell what it is by looking at this debug log?

http://pastebin.com/xtigTcYe

BTW - I'm in the US, I'm running the Linux 64bit git version of Eden, and I'm using the default Confluence skin with Unicode font support for Chinese characters.

You probably already knew this but I am going to mention it anyways. From your log file, XBMC was looking for plugins in the root directory (/root/.xbmc). If you executed XBMC as root and the video plugins were there, then you didn't have problems with file permissions. But if you didn't execute XBMC as root, then that would explain why XBMC was not able to read the plugins' meta data.


- osui818 - 2012-01-12

Hi, Im just started using ATV2 XBMC
is it possible add 南方电视台 南方卫视 TVS-2? http://www.tv007.cc/tv/4067.html
also does PPStream work on ATV2 XBMC Eden? and some cantonese channel ?

Im using ATV2 XBMC Eden beta

Thank you so much


- kcyyk - 2012-01-12

I try but a lot of link come out error plugin.video.sohuvideo.