- taxigps - 2012-01-03 09:40
cmeng Wrote:Added support to queue the mv video file for playback
=========================================
# Version 1.3.1 2011-12-17 (CM Eng)
# a. add support for video queue list
# b. repair AllMV submenu broken link
To queue video playback:
------------------------
a. Navigate to the video file list for playback
b. Select (Enter) first video file for playback. Wait until it starts to play
c. Press <Backspace> button
d. scroll to the video file to queue
e. press 'q' to queue
f. repeat d & e if necessary
g. press <Tab> to return video playback screen
The patch file may be download from the following link:
===============================
http://code.google.com/p/xbmc-addons-chinese/issues/detail?id=12
added to project, thx
- taxigps - 2012-01-03 09:57
cmeng Wrote:=========================================================
I was also facing the same problem, but eventually found the cause and solution. The main reason is that the cctvlive.exe is written to execute under non-Unicode Chinese-PRC OS environment. On a non-PRC OS environment (where most Asian are using i.e. English), the OS input fails to handle and to pass in the proper Chinese-PRC coded keypress for the cctvlive.exe. So on the non-PRC OS environment, you need to do the following settings:
On Windows 7 (similar for Windows XP):
Go to “Control Panel” => “Region and Language” => Select Tab “Administrative”
Click button “Change system locale” to “Chinese (Simplified, PRC)”
and restart the machine as instructed.
After this, all the program written for Chinese-PRC OS should work, including keymapset.exe and cctvlive.exe in CNTV-Live plug-in.
Use Shift-Tab button to toggle and select CNTV window before it accepts input. Will face a bit of difficulty using mouse click to select the CNTV window.
added to description of plugin.video.cntv-live, thx
- NobodyHere - 2012-01-04 12:48
I'm running the latest stable XBMC (Linux), because GIT compiling isn't feasible. I miss SVN already...
The Tudou, and Youku, plugins fail to install with a script error.
Is there something additional I need?
- sciburst - 2012-01-05 03:41
chimo1 Wrote:Tudou plug-in error, need help.
Thanks in advanced.
I have actually patched up the plugin and it will now play the videos that I wanted to watch. I was hoping to attach the patched "default.py" file here but I did not see a way to attach a file in a post. Any suggestions?
- aunghtain - 2012-01-05 09:31
cmeng Wrote:See below link for solution if you are using Microsoft Windows:
http://forum.xbmc.org/showpost.php?p=945761&postcount=80
You may need to re-launch the keymapSet.exe, and re-enter the keycode after the above setup. Place the cursor on the keycode field, and press the desired keypad button to input a new keycode.
Thank you for your reply. After I set my system locale to chinese, it works, but only after I alt-tab to choose the external player. Is it possible to make it so that it gets focused and no longer need to alt-tab choose it? Also, can you make it so that the external player will quit on media-stop key as well? I'm using remote control and there is no way to enter 'x'. Thank you.
- NobodyHere - 2012-01-05 14:28
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 21:09
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 08:36
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 20:10
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 04:51
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
|