Bug 485042 - Use subtitles in same directory as the movie
Summary: Use subtitles in same directory as the movie
Status: RESOLVED NOT A BUG
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 19:05 UTC by Matthias
Modified: 2024-04-16 22:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
showcasing auto-loading of subtitle file (2.22 MB, video/webm)
2024-04-16 19:08 UTC, george fb
Details
Subtitle not loading (2.00 MB, video/webm)
2024-04-16 22:04 UTC, Matthias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2024-04-04 19:05:24 UTC
SUMMARY

I am not quite sure, I understand, how subtitles are supposed to work in Haruna, so forgive me, if this is redundant. 

STEPS TO REPRODUCE
1.  Open up a video
2.  Have the subtitle in the same directory
3.  Being unable to select it as a primary or secondary subtitle

OBSERVED RESULT
Subtitles have to be chosen as "external subtitle"

EXPECTED RESULT
Being able to load the subtitle easily. 

Operating System: KaOS (2024) 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.7.9-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800U with Radeon Graphics
Memory: 13,5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82L0
System Version: Yoga Slim 7 Carbon 14ACN6

ADDITIONAL INFORMATION

I am also confused by the default value in the settings. It says "Subs" in the field that is meant to contain a directory. 
What is this supposed to mean?

There is no explanation to that, and it seems to serve no purpose.
Comment 1 george fb 2024-04-16 19:08:36 UTC
Created attachment 168586 [details]
showcasing auto-loading of subtitle file

Works for me.
What's the type of subtitle? Does mpv pick it up?

> I am also confused by the default value in the settings. It says "Subs" in
> the field that is meant to contain a directory. 
> What is this supposed to mean?
> 
> There is no explanation to that, and it seems to serve no purpose.
It's places to look for subtitles besides the folder the video is in. Can be a relative path to the video path or an absolute path.
Comment 2 Matthias 2024-04-16 22:04:30 UTC
Created attachment 168596 [details]
Subtitle not loading
Comment 3 Matthias 2024-04-16 22:07:41 UTC
Its all srt files from opensubtitle. 

It does work with a baked in subtitle, so when it is part of the mkv file. 
mpv behaves weird: It either does not manage to open a file at all, or the OSD is not showing. 
Hnn, maybe related?
Comment 4 george fb 2024-04-16 22:29:59 UTC
You're subtitle has a different name than the video.

https://mpv.io/manual/stable/#options-sub-auto

Haruna uses the default (exact) matching.
 You can change it by creating a custom command running at startup `set sub-auto fuzzy`