[RELEASE] Project xbmc-addons-chinese (Chinese addons/support Dharma)

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
powpower Offline
Junior Member
Posts: 1
Joined: Mar 2012
Reputation: 0
Post: #196
wago Wrote:Hi,
I'm new to this and i have searched the forum and web but couldn't find an answer.
I have a ATV2 , xbmc, and chinese add-on installed but all i get are squares. How do i get it to display chinese?

Thank you in advance for your help!

This forum rocks!!!

Set font to Arial. It works for me.
find quote
tsunade2k4 Offline
Junior Member
Posts: 1
Joined: Mar 2012
Reputation: 0
Post: #197
Can someone please parse this website and make an addon so we can watch the videos without all the advertisements?
http://www.hongchen.tv/
My parents found it recently. It has TVB shows in mandarin and cantonese.

Thanks Tongue
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 448
Joined: Jan 2009
Reputation: 1
Post: #198
ImmoNL Wrote:Any news on shooter.cn as a subtitle provider?

Thanks

script.xbmc.subtitles support shooter.cn after 2.9.33, but can't wok because one bug. you should install 2.9.34 and modify like this commit: https://github.com/amet/script.xbmc.subt...f23c1dbd50
find quote
cmeng Offline
Member
Posts: 85
Joined: Nov 2011
Reputation: 0
Location: Singapore
Post: #199
powpower Wrote:Set font to Arial. It works for me.

You are correct. Look like the latest Dharma and Eden arial font does support chinese Unicode. So need only to set the following:

System => Appearance => Skin => Fonts => Arial based
find quote
cmeng Offline
Member
Posts: 85
Joined: Nov 2011
Reputation: 0
Location: Singapore
Post: #200
Have converted plugin.video.tv365 to be compatible with non-Chinese OS Windows and also for XBMC Eden and Dharma

##################################################
# TV365网络电视直播插件 - http://www.tv365w.com/
##################################################
# Version 1.1.0 2012-03-05
# a. Convert code to utf-8 for non-Chinese OS
# b. Make plugin compatible for Eden & Dharma
find quote
RJS77 Offline
Junior Member
Posts: 12
Joined: Mar 2012
Reputation: 0
Post: #201
Not sure if anyone else is having this problem but I am getting an error when trying to play videos in the Sohu.com add-on.

I am running it on an ATV2.

Here is the log of the error:


17:36:16 T:62113280 DEBUG: Process - Entering source directory /Users/frontrow/Library/Application Support/XBMC/addons/plugin.video.sohuvideo
17:36:16 T:62113280 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.sohuvideo" dependent on version 1.0 of the xbmc.python api
17:36:17 T:62113280 NOTICE: PlayVideo -> http://tv.sohu.com/20120226/n335908240.shtml
17:36:18 T:62113280 INFO: Loading skin file: DialogSelect.xml
17:36:18 T:62113280 DEBUG: Load DialogSelect.xml: 23.57ms
17:36:18 T:2684407808 DEBUG: ------ Window Init (DialogSelect.xml) ------
17:36:18 T:2684407808 DEBUG: Alloc resources: 0.80ms (0.01 ms skin load)
17:36:21 T:2684407808 DEBUG: ------ Window Deinit (DialogSelect.xml) ------
17:36:24 T:62113280 INFO: -->Python script returned the following error<--
17:36:24 T:62113280 ERROR: Error Type: <type 'exceptions.SystemError'>
17:36:24 T:62113280 ERROR: Error Contents: error return without exception set
17:36:24 T:62113280 ERROR: Traceback (most recent call last):
File "/Users/frontrow/Library/Application Support/XBMC/addons/plugin.video.sohuvideo/default.py", line 669, in <module>
PlayVideo(name,url,thumb)
File "/Users/frontrow/Library/Application Support/XBMC/addons/plugin.video.sohuvideo/default.py", line 422, in PlayVideo
playlist.add(url, listitem)
SystemError: error return without exception set
17:36:24 T:62113280 INFO: -->End of Python script error report<--
17:36:24 T:62113280 INFO: Python script stopped
17:36:24 T:62113280 DEBUG: Thread XBPyThread 62113280 terminating
17:36:24 T:2684407808 DEBUG: waiting for python thread 5 to stop
17:36:24 T:2684407808 DEBUG: python thread 5 destructed
17:36:24 T:2684407808 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
17:36:24 T:2684407808 DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
find quote
ImmoNL Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #202
(2012-03-04 03:45)taxigps Wrote:  
ImmoNL Wrote:Any news on shooter.cn as a subtitle provider?

Thanks

script.xbmc.subtitles support shooter.cn after 2.9.33, but can't wok because one bug. you should install 2.9.34 and modify like this commit: https://github.com/amet/script.xbmc.subt...f23c1dbd50

Hi
I installed it manually before, but it came back, now I know why Smile
I have the latest version with the fix now.

However, I get the message saying 'Error: decoding unicode is not supported'.

I replaced the font with the arial.ttf that is supposed to support chinese characters..

Any help is greatly appreciated

EDIT:
I narrowed the problem down to this part of code in the service.py..
I am by no means a python developer, but just setting upath to fpath gives me an error saying a certain folder does not exist.. where it actually does..

def genFileHash(fpath):
upath = unicode(fpath, 'utf-8')
(This post was last modified: 2012-03-13 21:53 by ImmoNL.)
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 448
Joined: Jan 2009
Reputation: 1
Post: #203
(2012-03-13 21:06)ImmoNL Wrote:  
(2012-03-04 03:45)taxigps Wrote:  
ImmoNL Wrote:Any news on shooter.cn as a subtitle provider?

Thanks

script.xbmc.subtitles support shooter.cn after 2.9.33, but can't wok because one bug. you should install 2.9.34 and modify like this commit: https://github.com/amet/script.xbmc.subt...f23c1dbd50

Hi
I installed it manually before, but it came back, now I know why Smile
I have the latest version with the fix now.

However, I get the message saying 'Error: decoding unicode is not supported'.

I replaced the font with the arial.ttf that is supposed to support chinese characters..

Any help is greatly appreciated

EDIT:
I narrowed the problem down to this part of code in the service.py..
I am by no means a python developer, but just setting upath to fpath gives me an error saying a certain folder does not exist.. where it actually does..

def genFileHash(fpath):
upath = unicode(fpath, 'utf-8')

Try this one: http://xbmc-addons-chinese.googlecode.co....36fix.zip
find quote
ImmoNL Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #204
It's giving me an Error (errno : 2) no such file or directory, similar to what I had when I took out the unicode function..
It says the location of the video file is invalid, whereas it's playing the video


[Image: 6989922089_2d17bd4147.jpg]


Could this be somehow related to the fact I am using NFS?

EDIT :
This seems unrelated to NFS, I tried SMB, same exact issue.
The message is the same, exact it says SMB:// instead of NFS:// Smile

EDIT 2:
turned on debugging, no information at all on the error.
The manual search has the same problem
(This post was last modified: 2012-03-17 18:08 by ImmoNL.)
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 448
Joined: Jan 2009
Reputation: 1
Post: #205
(2012-03-17 16:50)ImmoNL Wrote:  It's giving me an Error (errno : 2) no such file or directory, similar to what I had when I took out the unicode function..
It says the location of the video file is invalid, whereas it's playing the video


[Image: 6989922089_2d17bd4147.jpg]


Could this be somehow related to the fact I am using NFS?

EDIT :
This seems unrelated to NFS, I tried SMB, same exact issue.
The message is the same, exact it says SMB:// instead of NFS:// Smile

only support get subtitle for local video file with shooter.cn now
find quote
ImmoNL Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #206
Ah
that clears up quite a bit..

Which piece of the code is tripping this up?
Perhaps I can learn some python and try to fix it..
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 448
Joined: Jan 2009
Reputation: 1
Post: #207
(2012-03-17 18:10)ImmoNL Wrote:  Ah
that clears up quite a bit..

Which piece of the code is tripping this up?
Perhaps I can learn some python and try to fix it..

Need to read some data of the video file to calculate a hash value for search. Not support open smb/nfs file to read in python of eden now. Wait for xbmcvfs to support this.
find quote
ImmoNL Offline
Junior Member
Posts: 10
Joined: Feb 2012
Reputation: 0
Post: #208
Possibly a stupid question, but why do all the other subtitle providers work?
Shooter needs the hash and other providers don't?
find quote
taxigps Offline
Team-XBMC Python Developer
Posts: 448
Joined: Jan 2009
Reputation: 1
Post: #209
(2012-03-18 01:42)ImmoNL Wrote:  Possibly a stupid question, but why do all the other subtitle providers work?
Shooter needs the hash and other providers don't?

Some use movie name, some use xbmc internal hash algorithm. But shooter.cn use special hash need to read file data.
(This post was last modified: 2012-03-18 03:58 by taxigps.)
find quote
ach1616 Offline
Junior Member
Posts: 1
Joined: Mar 2012
Reputation: 0
Post: #210
CAN someone please parse the website sugoideas and make an addon. i would really appreciate someone writing up a zip file for sugoideas.
find quote
Post Reply