https://bugs.kde.org/show_bug.cgi?id=499780

george fb <georgefb...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/mult
                   |                            |imedia/haruna/-/commit/b0d9
                   |                            |b1a346cb2e22a12a390fe1880be
                   |                            |3b5e2845c
         Resolution|---                         |FIXED

--- Comment #3 from george fb <georgefb...@gmail.com> ---
Git commit b0d9b1a346cb2e22a12a390fe1880be3b5e2845c by George Florea Bănuș.
Committed on 26/02/2025 at 07:52.
Pushed by georgefb into branch 'master'.

mpvitem: search subtitles recursively

searches folders relative to the parent folder of the playing file
and only folders defined by the `subtitlesFolders` setting
The subtitles path must contain the name of the playing file (without
extension)

If the playing file is "/home/haruna/Videos/video1.mkv" and `subtitlesFolders`
contains
the folders "subs" and "subtitles" then subtitles will be searched in
"/home/haruna/Videos/subs/*" and "/home/haruna/Videos/subtitles/*"

Both "/home/haruna/Videos/subtitles/video1/sub.srt"
and  "/home/haruna/Videos/subtitles/folder1/video1.srt" are a match
since their path contains the name of the playing video "video1"

M  +9    -0    src/mpv/mpvitem.cpp
M  +43   -0    src/worker.cpp
M  +2    -0    src/worker.h

https://invent.kde.org/multimedia/haruna/-/commit/b0d9b1a346cb2e22a12a390fe1880be3b5e2845c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to