Kodi Community Forum
[DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) - 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: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143)
+---- Thread: [DEPRECIATED] XBMC Subtitles - Addon Script (previously OpenSubtitles OSD) (/showthread.php?tid=75437)



- amet - 2010-11-14

baroumas Wrote:Since the last gui update I have had troubles downloading subtitles.
From a quick view of the code I think i have narrowed it down. The problem seems to be that if you use "Custom Download Folder" and play a rar packed movie over smb, the custom download folder will never be used.

Code:
if (movieFullPath.find("rar://") > -1 ):
            rar = True
            
            movieFullPath = sub_folder = movieFullPath.replace("rar://","")
            if path:
              sub_folder = os.path.dirname(os.path.dirname( sub_folder ))

does the above work?


- baroumas - 2010-11-14

Amet Wrote:does the above work?
No the sub_folder still gets overwritten here:
Code:
movieFullPath = [b]sub_folder[/b] = movieFullPath.replace("rar://","")
(I think. I have never worked python before Smile)


- amet - 2010-11-14

baroumas Wrote:No the sub_folder still gets overwritten here:
Code:
movieFullPath = [b]sub_folder[/b] = movieFullPath.replace("rar://","")
(I think. I have never worked python before Smile)

right... Smile


and this?
Code:
if (movieFullPath.find("rar://") > -1 ):
            rar = True
            
            movieFullPath  = movieFullPath.replace("rar://","")
            if path:
              sub_folder = os.path.dirname(os.path.dirname( movieFullPath ))



- PasiZ - 2010-11-14

Amet Wrote:absolutely nothing we can do, addon is not crashing, its the OS server that its not feeding us anything back

Strange behaviour, if i manually search via the simplexml, i get sometimes movie information, mostly it responds; "Not MySQL resource while getting results".

If i browse to http://www.opensubtitles.org, search is working fine. Sorry for fake alert Smile OS is broken someway...


- pilluli - 2010-11-14

pilluli Wrote:Thanks for this info, I am running my own compiled version from the dharma branch and haven't updated in some weeks. I will make sure I've got the last version and report if this is indeed fixed.

Regards,

It did, with dharma beta 4 the addon updates normally. thanks for the info and again, congrats for this amazing addon.


- casi266 - 2010-11-15

Amet Wrote:try this one

Thanks Armet, this fix my problem ! Good job.


- joeranjensen - 2010-11-15

Hi

I love this great addon, but for some movies/tvshows it doesent find any norwegian subtitles. When Im at norsub.com (outside xbmc) I find subs to most of the movies. Is it possible to include norsub.com to this addon?


- pInUS - 2010-11-16

Hello,

I'm from the french forum of XBMC and we would like to know if there is a possibility to add some french subtitles sources to the add-on.
We can found most of our subtitles on the following urls :

http://www.sous-titres.eu/
http://fr.tvsubtitles.net/
http://www.tvsubs.net/
http://www.seriessub.com/

All of these have rss feeds with subtitles embedded.

If you could do that, you will be God for us :-)Laugh

Thanks a lot


- gfjardim - 2010-11-18

Amet, did you received my request of SVNPull of the Legendas.TV service?


- amet - 2010-11-18

gfjardim Wrote:Amet, did you received my request of SVNPull of the Legendas.TV service?

yeah I did.. Thx, its gone into github first ... need to have it there for testing for a day or two before it goes to repo

https://github.com/amet/script.xbmc.subtitles/commit/38dc4d224b93cb1a7d1c78d18e9500f0dd3d13cd


French subtitles - Trois Six - 2010-11-19

Hi,

@pInUS : you should know that http://www.betaseries.com aggregates the subtitles from addic7ed, seriessub, soustitres, tvsubtitles, usub ; so we "only" have to use the API provided by betaseries (see http://api.betaseries.com/readme.php), it's well documented.

Regards,

Trois Six


- pInUS - 2010-11-20

Well, I didn't know Betaseries, but it seems very good.
Is someone working on its integration into the addon ?


- NorDemoniac - 2010-11-21

joeranjensen Wrote:Hi

I love this great addon, but for some movies/tvshows it doesent find any norwegian subtitles. When Im at norsub.com (outside xbmc) I find subs to most of the movies. Is it possible to include norsub.com to this addon?

I second this! The subtitle addon is excellent, but being able to choose some norwegian subtitles would be even better.

I guess a lot of norwegians would love to have this in the addon.

Any way to add sites yourself?


- amet - 2010-11-21

NorDemoniac Wrote:I second this! The subtitle addon is excellent, but being able to choose some norwegian subtitles would be even better.

I guess a lot of norwegians would love to have this in the addon.

Any way to add sites yourself?

sure, you need to create new service. use service.py from existing ones as a guideline.

once done I'll gladly include it if you want it in.

Cheers,
Zeljko


- NorDemoniac - 2010-11-22

Amet Wrote:sure, you need to create new service. use service.py from existing ones as a guideline.

once done I'll gladly include it if you want it in.

Cheers,
Zeljko

Thanks! I'll get straight to it =)