-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
[Nightly] Show All Subtitle Results in Menu #121
Comments
Is this for the v0.98 version (stable version) or for the v1.00 Nightly (beta version)? |
nightly. |
It doesn't choose the last subtitle, it actually uses a complex algorithm to predict the best possible subtitle for each language (a module made by @vankasteelj ). Funnily enough, "english 1, english 2, french 1, french 2" is how some of the very first versions of Powder used to do it, it would just show all the possible results for all languages. It's strange that I have seen a significant decrease in the number of subtitle results and also received numerous complaints as to subtitle discovery not being as good as in previous versions. I would indeed try to make a lot more subtitle settings, one of which could be to let users select from "show best result", "show all results" as I see a need for that now, maybe even the possibility to switch between multiple subtitle discovery modules for testing purposes. |
that would be really good :) |
Although @vankasteelj would probably explain it best. I believe that the actual subtitle search is in: (i'm obviously using an older version of the module in the Nightly as I packaged it some time ago) From what I remember as I worked on it a bit too, it does 3 separate searches on OpenSubtitles:
Then merges all of the results from these searches and gives a score to each subtitle by this logic: The top scoring subtitles are then selected and sent to Powder. :) |
that's very sophisticated :) still yesterday i didn't get the right subtitle... besides that, what a great player!! |
It's all described here : https://github.com/vankasteelj/opensubtitles-api#search-the-best-subtitles-in-all-languages-for-a-given-movieepisode Yet to have a real match, you need to have the video file first. It works 99% of the time right from my tests, but it has trouble with less watched shows or non-US movies |
i'll take your word for it... still it would be nice to manually choose. |
There's no 100% solution for anything as abstract as this, I agree that @vankasteelj 's module is the best out there, I also agree that false positives will always happen in such a scenario. With that said, Powder was never built to be the dummy's player, quite the contrary, I always attempted to add as many options as possible for the power users. So I'll just do what I always do, implement all that I can and offer settings for people to switch between them. Then see what works best and make that the default behavior. |
Off Topic
@roeycohen had a chance to test out your player, it's pretty nifty, glad to find a fellow player developer and torrent enthusiast, what are your future plans in these circumstances though? @vankasteelj missing you dude, wtf are you up to these days? give a holler whenever, would love to hear from you :) |
@jaruba I received an email from google about the retirement of packaged apps and a recommendation to try move the program to NWJS or Electron. |
@roeycohen The Nightly is actually build on Electron, v0.98 (the latest stable version) is actually built on NW.js. I stopped using NW.js because their developers never answered any of the issues and did not seem to have any desire to fix anything, while the Electron devs always answer all the issues and actively fix them. The Nightly is actually a total rewrite of Powder with Electron, React.js and Polymer. While v0.98 was just NW.js with no framework whatsoever, it was my first NW.js project and I literally treated it like making a website from scratch. :P
They won't ever do that though, the fact that WebSockets wore created demonstrates that they evade making any TCP / UDP implementation, and that's understandable as it would give to much power to websites and create substantial security issues.. :( |
well you're doing a good job :)
i still hope they would eventually give us the developers the option to over come these limitations without creating security holes. |
Something like that might happen if Microsoft or Linux decide to start shipping Node by default. Microsoft even seem heading that way with their JS engine (competitor of v8, I don't recall the name right now). Because if Node is present on 100% of the machine, it's possible some day, we start seeing in browsers the hability to natively use node if we decide to give special permissions, for example. |
hi,
most times, there are more than one subtitles per language and the player doesn't choose the best one.
an option to manually switch between these subtitles will be really good.. as manually downloading the subtitles isn't very fun :)
also, the player should remember the user's last subtitles language that was in use. i think it safe to assume that if he use the subtitles features he will use it with all videos.
i hope it's not something too complicated...
The text was updated successfully, but these errors were encountered: