XBMC Community Forum
[RELEASE] Project xbmc-addons-chinese (Chinese addons/support Dharma) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Third Party Repositories (/forumdisplay.php?fid=157)
+---- Thread: [RELEASE] Project xbmc-addons-chinese (Chinese addons/support Dharma) (/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


- NobodyHere - 2012-01-12 16:51

sciburst Wrote: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.
Yeah, I did this all as root. Could that be the problem... running XBMC as root?

Edit;
NM. The same issues occurs with a normal user.

Would it be possible to manually download the Tudou, Youku, and CCTV plugins from somewhere to see if they'll even work for this system?


- chimo1 - 2012-01-12 20:12

I need help to PPTV IPAD, when you select "Hong Kong" some time worked, other time I got script errors.

My wife love chinese show ):.

Thanks in advanced.


ppsstream plug-in - cmeng - 2012-01-13 02:13

aunghtain Wrote: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.

This is currently the limitation of any plug-in that uses external player. In ppstream plugin or similar, it actually launchs the application default player with the vidoe link pass to it.

The player actually gets the focus the very first time it lauches, but to the video display screen and not the application. That is why you need to alt-tab to select the application to take focus. OR using mouse to select the window top panel (if visible) which is a bit tricky especially when the mouse pointer is disabled by the player.

This is the very first problem to use remote to bring a application to focus. Once you can past this, I suppose you can use the remote control to assign a button using a keymapSet.exe to close the player window.

I am also facing the same problem, no choice but to use a remote keyboard right now. Still thinking on a solution - hopefully find one in the near future.


- cmeng - 2012-01-13 02:29

NobodyHere Wrote:Yeah, I did this all as root. Could that be the problem... running XBMC as root?

Edit;
NM. The same issues occurs with a normal user.

Would it be possible to manually download the Tudou, Youku, and CCTV plugins from somewhere to see if they'll even work for this system?

Likely as mentioned by sciburst is due to file/directory access right. You can try to use
$ sudo chmod
$ sudo chown
commands to change the access rights of those required dirctories/files by xbmc to the login user's account and see it works.

I suppose direct copy the plugin will work, but then you have to do it every time there is a new update.


- sciburst - 2012-01-13 02:44

cmeng Wrote:Likely as mentioned by sciburst is due to file/directory access right. You can try to use
$ sudo chmod
$ sudo chown
commands to change the access rights of those required dirctories/files by xbmc to the login user's account and see it works.

I suppose direct copy the plugin will work, but then you have to do it every time there is a new update.

He did say that he ran XBMC as root. So it is unlikely that he was having permission problems. One thing he can try, in order to generate more clues, is to trace all file-related system calls:

Quote:strace -e trace=file -o xbmc-trace.log xbmc

and then post xbmc-trace.log for us to see. This may help to pin point the problems.


- aunghtain - 2012-01-13 21:02

cmeng Wrote:This is currently the limitation of any plug-in that uses external player. In ppstream plugin or similar, it actually launchs the application default player with the vidoe link pass to it.

The player actually gets the focus the very first time it lauches, but to the video display screen and not the application. That is why you need to alt-tab to select the application to take focus. OR using mouse to select the window top panel (if visible) which is a bit tricky especially when the mouse pointer is disabled by the player.

This is the very first problem to use remote to bring a application to focus. Once you can past this, I suppose you can use the remote control to assign a button using a keymapSet.exe to close the player window.

I am also facing the same problem, no choice but to use a remote keyboard right now. Still thinking on a solution - hopefully find one in the near future.

Is cctvlive.exe open source? I'm a programmer and I could probably help with getting focused and using media keys.

Currently, I have a workaround .exe written in c# which
- launches cctvlive.exe as a process
- embeds it in a form
- adds events for media keys
- gets focus in a timer (need to get focus in a loop)
- take arguments and pass it to cctvlive.exe

It appears to be working ok.

But I would love it if I could add it in cctvlive.exe itself.


- aunghtain - 2012-01-13 21:05

sciburst Wrote:He did say that he ran XBMC as root. So it is unlikely that he was having permission problems. One thing he can try, in order to generate more clues, is to trace all file-related system calls:



and then post xbmc-trace.log for us to see. This may help to pin point the problems.

Maybe he could change permissions for all these files 777 and see if it's really the problem with the permission.


- NobodyHere - 2012-01-14 00:38

sciburst Wrote:He did say that he ran XBMC as root. So it is unlikely that he was having permission problems. One thing he can try, in order to generate more clues, is to trace all file-related system calls:



and then post xbmc-trace.log for us to see. This may help to pin point the problems.
Here's the log.
http://pastebin.com/NKe7DkPn


- cmeng - 2012-01-14 01:13

Patch for ppstream (site change on 2012/01/12): Please download from the link below:

http://code.google.com/p/xbmc-addons-chinese/issues/detail?id=17


- taxigps - 2012-01-14 02:13

aunghtain Wrote:Is cctvlive.exe open source? I'm a programmer and I could probably help with getting focused and using media keys.

Currently, I have a workaround .exe written in c# which
- launches cctvlive.exe as a process
- embeds it in a form
- adds events for media keys
- gets focus in a timer (need to get focus in a loop)
- take arguments and pass it to cctvlive.exe

It appears to be working ok.

But I would love it if I could add it in cctvlive.exe itself.
All the plugins are open source.
Source code here:
Pps4xbmc: http://robinttt.qupan.cc/5504897.html
Cctvlive: http://robinttt.qupan.cc/5504884.html