[RELEASE] XBMC Subtitles - Addon Script

  Thread Rating:
  • 5 Votes - 4.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
amet Offline
I wave my private parts at your aunties!
Posts: 3,513
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #211
(2012-05-22 21:29)JASP44 Wrote:  Hello Amet,

Please find under these links the logs:
(Part1) http://pastebin.com/5uiQhj0M
(Part2) http://pastebin.com/NjPHxsC0

Many thanks,

José

hi,

try with these changes -> https://github.com/amet/script.xbmc.subt...02e0aa5d08


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
JASP44 Offline
Junior Member
Posts: 5
Joined: May 2012
Reputation: 0
Post: #212
Hello Amet,

Thanks for your feedback.
I've modified the code and will test this evening.

I'll keep you posted.

regards,

José
find quote
JASP44 Offline
Junior Member
Posts: 5
Joined: May 2012
Reputation: 0
Post: #213
Hello Amet,

Unfortunately the chances didn't help.

Now the application didn't start at all.

I receive an error message:
"
Erreur
Echec du scipt!: script.xbmc.subtitles"

New log is available here:
http://pastebin.com/1XzgcHWa

Regards,

Jose
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,513
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #214
(2012-05-24 02:34)JASP44 Wrote:  Hello Amet,

Unfortunately the chances didn't help.

Now the application didn't start at all.

I receive an error message:
"
Erreur
Echec du scipt!: script.xbmc.subtitles"

New log is available here:
http://pastebin.com/1XzgcHWa

Regards,

Jose

hi,

what is in /home/jasp/.xbmc/userdata/addon_data/script.xbmc.subtitles?

can you zip that whole folder up and upload somewhere? PM with the link if you can


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
kenwood Offline
Junior Member
Posts: 1
Joined: May 2012
Reputation: 0
Post: #215
hello, the site sratim.co.il changed to subtitle.co.il can you please change it in the addon?
sratim.co.il is only movie database now you can't find there any subtitles.

please change it so we can again find subtitles in hebrew.
you can also add torec.net and http://www.subscenter.org

thank you.Nod
(This post was last modified: 2012-05-24 18:36 by kenwood.)
find quote
carbncl Offline
Junior Member
Posts: 18
Joined: Jun 2011
Reputation: 0
Post: #216
(2012-04-02 08:55)MatsF Wrote:  Substitute masterprofile/addon_data doesn´t work for XBMC Subtitles

Again about this issue, had the same problem, I guess like most people wanting to share an xbmc library.
I've gived a look at plugin's code to understand and here is the detailed explanation:
  • Plugin downloads the subtitles in a local folder
    • Using python code in local userdata/addon_data/script.xbmc.subtitles/sub_tmp
    • > no path substitution there
    • As amet explained, a plugin (python) cannot easily handle remote files (smb://...)
  • Then it attempts to unzip the subs, but in substituted path
    • Using XBMC.extract() builtin (not python) that substitutes paths
    • Which fails, not being the local addon_data path where the subs are, but substituted one like smb://whatever
I see several solutions to this:
  1. Easy: do not write temp files in addon_data but somewhere else like "/tmp/" (unix) or else (windows...)... that way Extract does not substitute (tested)
  2. Possible: Do not use XBMC.Extract... no idea how it can be possible to do that in python... sounds tricky probably a dead end.
  3. Unlikely: Hope for some sort of xbmc new feature that would allow plugins to deal better with path substitutions... (Looked a bit, did not found any xbmc builtins of stuff like that that could help)

Amet, what about adding a tmp_sub_dir plugin configuration setting? Or maybe just an advanced setting.
Set to nothing by default, would let current plugin behavior using addon_data... Would use specified path otherwise.
(This post was last modified: 2012-05-26 21:22 by carbncl.)
find quote
Roman_V_M Offline
Fan
Posts: 337
Joined: Jun 2011
Reputation: 6
Location: Kyiv, Ukraine
Post: #217
Very minor update for Russian translation: http://dl.dropbox.com/u/24356082/script....les.ru.zip

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 12.2 (custom build) on Windows 7
find quote
Briam Offline
Junior Member
Posts: 41
Joined: Jun 2009
Reputation: 0
Post: #218
Hi

Don't know if this is the place for feature suggestions but here goes:

I would like XBMC subtitles to connect to Sickbeard on TV Shows to get the release group of a specific episode so it can be used for better subtitle search or just to let the user know the release group.

Is this outside the scope of XBMC subtitles or is there perhabs a better solution to my problem of always having to try multiple subtitles.
find quote
amet Offline
I wave my private parts at your aunties!
Posts: 3,513
Joined: Jul 2009
Reputation: 18
Location: Novi Sad / Dubai
Post: #219
(2012-05-29 12:01)Briam Wrote:  Hi

Don't know if this is the place for feature suggestions but here goes:

I would like XBMC subtitles to connect to Sickbeard on TV Shows to get the release group of a specific episode so it can be used for better subtitle search or just to let the user know the release group.

Is this outside the scope of XBMC subtitles or is there perhabs a better solution to my problem of always having to try multiple subtitles.

its not going to happen, file name should have that and you can match subs file name to a movie/show file name once the results are displayed


Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting.
For troubleshooting and bug reporting use -> Log_file.
find quote
kozzmozz Offline
Junior Member
Posts: 2
Joined: Jun 2012
Reputation: 0
Post: #220
Just installed XBMC Windows v11.0 on my laptop with default skin Confluence.
But I still get the following error message;
[Image: xbmc.jpg]

After checking the logfile xbmc.log; https://www.dropbox.com/s/c1rxt0sks3beo8b/xbmc.log,
I have found out that my Windows-username Frédéric is giving the error on the special character "é".
Is it possible to create a bugfix plz?
find quote
Post Reply