More steps in a Subtitle Addon
#1
I maintain a (currently deprecated) subtitle plugin and it seems there are cases where it's up to the user to select the correct title from listing. There are cases where the years do not match, or the sorting algorithm of the target site's search is not so good etc. In that case, the user should select the correct title before downloading a subtitle. So it's sometimes not so easy to `search` and then `download`.

There are also other cases where the subtitle in question is from a TV series, and I couldn't find a way to get the starting year of a TV Show (the year value provided in `VideoPlayer.Year` is for the episode, not the TV show where most subtitle sites use.

And there is one another case where these sites store subtitles of a season in a packed file. This would also require the user to select the target subtitle (if the naming is ambiguous, which is mostly the case) located inside a rar file.

So to be brief, it's not always possible to dumb down this process into two steps. In that case, what should we do?
Reply
#2
This is the exact reason i developed sublub api.

http://forum.kodi.tv/showthread.php?tid=309285

you can check planetdp, turkcealtyazi, ans subscene extensions i have rewritten with it. Addons can be found in my repo
http://forum.kodi.tv/showthread.php?tid=309678
http://forum.kodi.tv/showthread.php?tid=309286
http://forum.kodi.tv/showthread.php?tid=309986

Btw i am also turkish, are you divxplanet guy?
Reply
#3
Yeah, I used to maintain the Divxplanet plugin.

I did manage to handle my problem via adding Dialogs when there is an uncertainty and sent a PR for Planetdp to Kodi's repo-scripts without knowing that someone else is also working on that.
( https://github.com/korayal/repo-scripts/...s.planetdp )

I haven't tried it out yet, but your version looks more nicely structured, so I'll drop the PR since they are both named the same.
Reply
#4
Ok, if you like it i can transfer this addon to you, since it was your thing in the first place Smile

I can still maintain sublib, turkcealtyazi also and add it to official, if you have any questions how it is implemented or have some more interesting ideas please feedback, pr push/pull, you can message here pm, or github its all good.
Reply
#5
Unfortunately I now have much less time to deal with this anyway, kids and whatnot Smile

So I suggest you make a pull request according to guidelines ( http://kodi.wiki/view/Submitting_Add-ons ) as I did in ( https://github.com/xbmc/repo-scripts/pull/482 ) then maybe I can contribute to your project if I have the time. Sending a PR to the official repo is essential since it's the easiest way to attract people to your addon.
Reply

Logout Mark Read Team Forum Stats Members Help
More steps in a Subtitle Addon0