• 1
  • 29
  • 30
  • 31(current)
  • 32
  • 33
  • 72
[RELEASE] XBMC Subtitles - Addon Script
(2012-09-30, 10:34)amet Wrote:
(2012-09-30, 10:29)benito2313 Wrote:
(2012-09-29, 00:19)amet Wrote: you have a python syntax error on line 40 in service.py

Thank you for your response i now know what i did wrong, but then stumbeld on another problem:

I want to have the next bit only in lowercase: urllib.quote_plus(title)
How do i do this?

urllib.quote_plus(title.lower())

please note that this is not a general Python help and support forum, basic knowledge or Python(or google usage) is needed

Thank you for your response, i'm a bit off a nuub with this, i'm just starting out.
I have a question: I'm trying to get the subtitle site: nlondertitels.com , i have a kind of working script, its connection but always fails to download.
could you take a look at the file and the log file? if you want to just let me know and i will send it to you.

This website has very much dutch subtitles and would be awesome if you can get subtitles from this site.


upload it somewhere and lets see... no promises that I'll get to it any time soon, maybe someone else could help as well
(2012-09-30, 12:26)amet Wrote: try going to addon settings and enable "Display file name in results page" ... that would bypass the problematic line of code and maybe we get some more output from the log

Thanks, Amet - that definitely seems to have bypassed the problematic code, as XBMC Subtitles now works on Season 0 folders. I've captured another truncated debug log while successfully executing the XBMC Subtitles code here: http://pastebin.com/N3YgejEC

I hope it helps make sense of this - but at least you got me worked-around the issue for now. Thank you!
bash, batch, and perl scripter
Running XBMC 11.x on W7U64 (previously 10.x on ATV1)
Hi Amet,

I recently have the following problem. When i watch a tv show and i want to download a subtitle for it it says it downloaded the subtitle but it doesnt show it when playing the episode but when i go to the audio options while playing the episode it has the subtitle (that i just downloaded) selected. Though when i go to the episode location on my harddrive it actually did not download the subtitle at all. (if i download it manually from the internet and add it to the episode folder it works.

so bottom line, it doesnt download the subs wile it says it does.

my log file:

http://pastebin.com/TrMxe7aC
XBMC: XBMC 12.3 Frodo, Aeon MQ5, Win7 x64
(2012-10-01, 14:52)Ajedi Wrote: Hi Amet,

I recently have the following problem. When i watch a tv show and i want to download a subtitle for it it says it downloaded the subtitle but it doesnt show it when playing the episode but when i go to the audio options while playing the episode it has the subtitle (that i just downloaded) selected. Though when i go to the episode location on my harddrive it actually did not download the subtitle at all. (if i download it manually from the internet and add it to the episode folder it works.

so bottom line, it doesnt download the subs wile it says it does.

my log file:

http://pastebin.com/TrMxe7aC

line 1194

Code:
14:32:40 T:3928   DEBUG: ### [XBMC Subtitles-services.Bierdopje.service] -  downloading subtitles from url 'http://www.bierdopje.com/downloads/sub/104192/Dexter.S07E01.720p.HDTV.x264-EVOLVE/apikey/369C2ED4261DE9C3'
14:32:41 T:3928   DEBUG: ### [XBMC Subtitles-services.Bierdopje.service] -  saving subtitles to 'C:\Users\HTPC\AppData\Roaming\XBMC\userdata\addon_data\script.xbmc.subtitles\sub_tmp\bierdopje_subs.srt'
14:32:41 T:3928   DEBUG: Trying to connect to \\ARJAN-PC\#HTPC AUDIO VIDEO with username() and password(XXXX)
14:32:41 T:3928   ERROR: CWINFileSMB: Unable to open file for writing '\' Error '5

if we cant write in the location we cant save it
Amet,

Did you see my post about LegendasDivix?

http://forum.xbmc.org/showthread.php?tid...pid1201062

Now I succeded change the flag.
Just change this line:
subtitles_list.append({'rating': str(downloads), 'no_files': no_files, 'filename': filename, 'desc': desc, 'sync': sync, 'hits' : hits, 'id': id, 'language_flag': 'flags/' + 'pt' + '.gif', 'language_name': languagelong})

From 'pt' to 'pb'.

As its not official, is it possible to update the script so both languages can be downloaded and the download of the correct flags?
Add some conditional. Check if is Portuguese or Portuguese(Brazil)
I'm not a programmer, just tried to change the code.

Thanks


UPDATE:
I tried to update the script with no success. It closes.
Can you please verify what's wrong with the code/script?
I updated line 122-125, 190-194, 276-287

http://pastebin.com/WmDawy76

Thanks
(2012-10-01, 17:37)fernandovg Wrote: Amet,

Did you see my post about LegendasDivix?

http://forum.xbmc.org/showthread.php?tid...pid1201062

Now I succeded change the flag.
Just change this line:
subtitles_list.append({'rating': str(downloads), 'no_files': no_files, 'filename': filename, 'desc': desc, 'sync': sync, 'hits' : hits, 'id': id, 'language_flag': 'flags/' + 'pt' + '.gif', 'language_name': languagelong})

From 'pt' to 'pb'.

As its not official, is it possible to update the script so both languages can be downloaded and the download of the correct flags?
Add some conditional. Check if is Portuguese or Portuguese(Brazil)
I'm not a programmer, just tried to change the code.

Thanks


UPDATE:
I tried to update the script with no success. It closes.
Can you please verify what's wrong with the code/script?
I updated line 122-125, 190-194, 276-287

http://pastebin.com/WmDawy76

Thanks


Hi ,

you need to try to get hold of HiGhLaNdeR, he did the code for that service. he needs to OK any change in there. try here or github
thanks! I tried.....
The script its not working and I could not debut successively
Can you verify where's the error?!
(2012-10-01, 15:04)amet Wrote: if we cant write in the location we cant save it

I feel so stupid! thank you very much for helping me i solved the issue (stupid win 7 sharing Big Grin)
XBMC: XBMC 12.3 Frodo, Aeon MQ5, Win7 x64
could anyone update subscene? it doesnt work anymore.
(2012-10-03, 10:48)publicENEMY Wrote: could anyone update subscene? it doesnt work anymore.


could you?

if you have a fix submit the PR to github
(2012-10-03, 10:50)amet Wrote:
(2012-10-03, 10:48)publicENEMY Wrote: could anyone update subscene? it doesnt work anymore.


could you?

if you have a fix submit the PR to github

I don't wanna be rude, just asking; aren't you working on this script anymore Amet?

SubScene, subDB, OpenSubtitles, swesub and undertexter don't work anymore..

I would love to help fixing all of the broken services, but I don't got the skills..


Question to everyone that are still using this script: what services do you use for english subtitles?
(2012-10-03, 10:57)Arias Wrote: I don't wanna be rude, just asking; aren't you working on this script anymore Amet?
Amet only maintains the script itself and a couple of services of certain providers. The rest is maintained by others and they are responsible for it.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
hey, not rude at all...

I have said it many times, any services added by others and submitted to https://github.com/amet/script.xbmc.subtitles need to be maintained. I cant be expected to maintain all of them especially if I didnt write them. All services were accepted into it with understanding that any issues need to be taken care of by original authors.

author might be busy with other things, real life, or just not interested any more... in which case if its broken for some time, I'll just remove it

in future, maybe even for frodo, the entire subtitle script support in xbmc will change and we will have an option for service authors to maintain their own code and submit directly to XBMC Official Repo, that way it bypasses my github repo submission and goes directly to official. that way any issues with services coudl directly be addressed to a service relevant forum thread.


I use OpenSubtitles and podnapisi for all my english subs
Thanks, that's exactly the answer I was looking for!

Maybe this info should be posted in the readme-file and the first post of this thread?


I will try to hunt the authors down, instead of bothering you, regarding all the broken services.
  • 1
  • 29
  • 30
  • 31(current)
  • 32
  • 33
  • 72

Logout Mark Read Team Forum Stats Members Help
[RELEASE] XBMC Subtitles - Addon Script6