Kodi Community Forum
[RELEASE] XBMC Subtitles - Addon Script - 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: [RELEASE] XBMC Subtitles - Addon Script (/showthread.php?tid=126495)



RE: [RELEASE] XBMC Subtitles - Addon Script - Arias - 2012-10-05

(2012-10-05, 07:32)amet Wrote:
(2012-10-05, 06:57)Arias Wrote: I would like to make a feature request. Is it possible to add support for network shares in the Custom Subtitle Download Path?

if you add network share to your files sources(e.g. in file manager) it should be visible

Thanks!


Btw, the script is still crashing with latest version (3.3.5).

Only when using smb, when using local subtitle folder it is working fine.

Logfile


RE: [RELEASE] XBMC Subtitles - Addon Script - gabomdq - 2012-10-06

I'm getting an immediate crash on 3.3.4 and 3.3.5 (just as I select the subtitle search icon), it seems to be related to the fact that it tries to create userdata/addon_data/script.xbmc.subtitles/sub_tmp (if I removed sub_tmp by hand, the plugin works afterwards). There's also a different error I pasted in the log, that one happened I believe while trying to download a subtitle from Subdivx.


http://pastebin.com/rZ715KdC


RE: [RELEASE] XBMC Subtitles - Addon Script - junp31 - 2012-10-06

When I try to download a subtitle, I always get an error saying:

"You can't save subtitle to selected destination
Would you like to activate this subtitle temporarily?"

I wonder why I started receiving these messages, since I've used XBMC for quite some time now and this only started happening a few days ago (but now it happens every time).

LOG: http://xbmclogs.com/show.php?id=9979


RE: [RELEASE] XBMC Subtitles - Addon Script - i5Js - 2012-10-06

(2012-10-05, 23:30)odt_x Wrote:
(2012-10-05, 21:12)damuro Wrote:
(2012-10-05, 20:52)amet Wrote: not with that log, you need to show us a log where XBMC Subtitles failed and looks like that got cut off from your log

That's the problem... when the plugin tries to start, XBMC crash in ATV2, so there aren't more entries in the log.


I have the same issue on atv2. Crashes and burns as soon as I press the subtitle button on my remote to launch the script. Hope the debug log helps. Its not a skin issue, I also tested with confluence.

xbmc.log
crashreporter.log
Same issue here with mac mini mid 2010



RE: [RELEASE] XBMC Subtitles - Addon Script - publicENEMY - 2012-10-07

xbmc subtitle crashed xbmc when searching in nightly frodo.

thanks


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-07

ok, more changes in 3.4.0
Code:
3.4.0
- New service Pipocas.tv, thx highlandr
- Pipocas.tv and LegendasDivx.com both with pt-pt and pt-br, thx highlandr
- [fix] crash - check if temp folder exists before trying to create it
- [fix] crash - create "Subs" folder using xbmcvfs.mkdir, instead of mkdirs that is only available on Frodo

I also think that some more experienced users should learn from new guys on how to request help, thx guys for debug logs and sorry for the issues


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-07

(2012-10-06, 08:55)junp31 Wrote: When I try to download a subtitle, I always get an error saying:

"You can't save subtitle to selected destination
Would you like to activate this subtitle temporarily?"

I wonder why I started receiving these messages, since I've used XBMC for quite some time now and this only started happening a few days ago (but now it happens every time).

LOG: http://xbmclogs.com/show.php?id=9979

it will only say that if it fails to save the sub to a destination folder(in your case that is "D:\SÉRIES\Brickleberry\Season 1"), you sure you have write permissions there?

I dont see it failing at all , no errors so I cant really say why that is


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-07

(2012-10-07, 09:31)publicENEMY Wrote: xbmc subtitle crashed xbmc when searching in nightly frodo.

thanks

do not ever come to this tread with the posts like this, its rude and disrespectful.. take it somewhere else please

you have been on these forums long enough and should know better


RE: [RELEASE] XBMC Subtitles - Addon Script - sarakha63 - 2012-10-07

Hello amet, I'm not sure for the write permission thing, because with 3.3.0 it works perfectly with the same config.


Maybe something like Tvtunes plugin with an abailyty to psecify a user and pasword for smb drives should solve the issue.


But the question is why with3.3.0 it can save the subs but not with laer releases, it's quite strange.

SOmething strange changed since 3.3.0 .

I just tried a minute ago : 3.4.0 : still the issue with :"You can't save subtitle to selected destination
Would you like to activate this subtitle temporarily?""

with 3.3.0 : no problem

Of course i used the same tvshow the same subtitle


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-07

hey sarakha63,

mind posting both logs, one from 3.3.0 and the other from 3.4.0? I woudl like to compare it.

also, does the 3.3.2 work? 3.3.3 is when we introduced "validatePath" to fix issues on some SMB + windows machines.

EDIT: it obviously fails in copy stage, see if you can make this change in utilities.py and then post the log, https://github.com/amet/script.xbmc.subtitles/commit/810a1d204fdc85a061a6405105e3c5ef0cf8e568 , that will give us more info on the filenames


RE: [RELEASE] XBMC Subtitles - Addon Script - sarakha63 - 2012-10-07

i'm going to test all that and paste the log

Hope you will find the problem because, without youre plugin i feel like michael schumarer without his car lol
Here is the log with the working version :

http://pastebin.com/mC61sgvH


RE: [RELEASE] XBMC Subtitles - Addon Script - sarakha63 - 2012-10-07

And here is the buggy one (last version)

http://pastebin.com/QDqyBLYX
it's strange, i d'ont seem to see anything on the log



RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-07

(2012-10-07, 12:12)sarakha63 Wrote: And here is the buggy one (last version)

http://pastebin.com/QDqyBLYX
it's strange, i d'ont seem to see anything on the log

can you try with this one please -> https://github.com/downloads/amet/script.xbmc.subtitles/script.xbmc.subtitles_3.4.1.zip


RE: [RELEASE] XBMC Subtitles - Addon Script - Polau - 2012-10-07

(2012-10-07, 10:19)amet Wrote:
(2012-10-06, 08:55)junp31 Wrote: When I try to download a subtitle, I always get an error saying:

"You can't save subtitle to selected destination
Would you like to activate this subtitle temporarily?"

I wonder why I started receiving these messages, since I've used XBMC for quite some time now and this only started happening a few days ago (but now it happens every time).

LOG: http://xbmclogs.com/show.php?id=9979

it will only say that if it fails to save the sub to a destination folder(in your case that is "D:\SÉRIES\Brickleberry\Season 1"), you sure you have write permissions there?

I dont see it failing at all , no errors so I cant really say why that is

I have the exact same problem and I don't have anything funny showing up in the log. After a couple of tests, it seems that any path containing a letter with an accent (é, è, à, etc) won't work (gives you the "can't save" message) but if the path doesn't have a "funny" letter, the addon is working fine. Can anybody else confirm this problem?

This started also only a few days ago. I know I could try to rename the folders and rescan the library, but do you see an easier solution?


RE: [RELEASE] XBMC Subtitles - Addon Script - amet - 2012-10-07

have you looked at my previous post? Smile