-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rfc] [coreSubs]Automatically download first subtitle after first search #4648
Conversation
fape
commented
May 4, 2014
- Automatically download first subtitle after first search (you can select manually from the next search)
- Add new settings item to enable/disable auto downloading
without looking into the code (or knowing it) would this always download the first sync subtitle when opening the dialog? You are still able to pick another one right, if you reopen it or already have a subtitle file available? |
Good question. Now I need to say: No you can not. |
@MartijnKaijser Updated, thanks for your suggestion. |
Please make it possible to downoad first sync'ed subtitle. Even better, have an option to do it by default for your chosen ordered languages when a movie or tv show starts. Right now it takes ages to find available subtitles in multiple subtitle addons, and then it takes ages again to download the one you want, all this while the movie/tv show is paused or running in the background hidden behind the subtitle choosing dialague box... On top of this my ATV2 installation more often than not crashes during this search, and reboots :( |
@@ -185,6 +189,12 @@ void CGUIDialogSubtitles::OnInitWindow() | |||
Search(); | |||
} | |||
|
|||
void CGUIDialogSubtitles::Announce(ANNOUNCEMENT::AnnouncementFlag flag, const char *sender, const char *message, const CVariant &data) | |||
{ | |||
if(m_autoDownloaded && flag == ANNOUNCEMENT::Player && StringUtils::EqualsNoCase(message, "OnStop")) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
ah, its late here ... you are right :) |
Isn't there an implication of piracy support here? Not sure I'm |
@fape could you get in touch on IRC or on mail regarding this please. |
Of course. If you don't mind I prefer the email. Feel free to write me fape88[at]gmail[dot]com |
|
||
#: system/settings/settings.xml | ||
msgctxt "#24127" | ||
msgid "Automatically download first sync subtitle from the search result list" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Works for me, @t-nelson, @jmarshallnz ? |
@@ -105,6 +106,9 @@ CGUIDialogSubtitles::CGUIDialogSubtitles(void) | |||
m_serviceItems = new CFileItemList; | |||
m_pausedOnRun = false; | |||
m_updateSubsList = false; | |||
m_autoDownloaded = false; | |||
|
|||
ANNOUNCEMENT::CAnnouncementManager::AddAnnouncer(this); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@fape please remove announcements and save the path of the item as per @jmarshallnz suggestion , then it can go in |
Ok, thanks! I'll do it after work, Hopefully today. |
I see that opensubtitles atleas has the "Sync" symbol in Gotham. Could that be used to download the first sync? Then comes part nr 2 of my thought. If it is possible to download the first "Sync" Subtitle it would be great to only show the subtitle menu when no synced sub is found (just like it was in Frodo) That would mean a distraction free subtitle download using a remote (unless no sync sub can be found) |
@amet, @MartijnKaijser: Updated! |
jenkins build this please |
msgstr "" | ||
|
||
#: system/settings/settings.xml | ||
msgctxt "#24127" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
jenkins build this please |
[rfc] [coreSubs]Automatically download first subtitle after first search