-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Captions/Subtitle Search feature is broken #39
Comments
Thanks @deldesir for catching this! (As this'll be very important among students/teachers searching their offline video collections...) |
It would be interesting to know how the xklb-metadata.db was created so that I can fix other? bugs, if any. The problem with making all the schema/queries column-optional is that silent data bugs will exponentiate... |
@deldesir can you link to precise code, showing were xklb-metadata.db is created? Thanks if you can please. |
xklb-metadata.db is created by https://github.com/iiab/calibre-web/blob/916963a17cf5074e402e9c49ec608abf43809f32/scripts/lb-wrapper#L56 |
okay it should be working in 2.8.050 It looks like this could also benefit from having one or two simple tests in It doesn't have to be very detailed to be useful--but you will need a database that has captions. You might need to move parts of |
Priceless: @deldesir and I have decided to focus on getting search (across all local books/videos/etc) working as rigorously/reliably as possible in coming days and weeks[*]. So hopefully he can respond to your (@chapmanjacobd) TDD-oriented suggestions very soon, as this all points precisely to what grassroots communities need (meaningful local learning, not info-bloat!) 💯 [*] CAVEAT: Bogus captions and extremely poor-quality transcriptions are something we all have to live with for now, all too often, and so be it. (Let us hope that extremely low-quality transcriptions / captions / sub-titles finally start becoming increasingly more sane in 2025 ;-) |
Thank you for the quick fix @chapmanjacobd
I appreciate the suggestion. I'll do my best to learn and get this done. |
Describe the bug
Searching captions/subtitles no longer works
Error:
sqlite3.OperationalError: no such column: m.time_deleted
Expected behavior
Xklb should return the captions found and the titles of the video(s) related to them
To Reproduce
The text was updated successfully, but these errors were encountered: