Skip to content
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

Question about folder static name #2

Open
Rootkit- opened this issue Feb 18, 2022 · 2 comments
Open

Question about folder static name #2

Rootkit- opened this issue Feb 18, 2022 · 2 comments

Comments

@Rootkit-
Copy link

Rootkit- commented Feb 18, 2022

I have a ton of movies and its super annoying to manually have to add them. I am educated as far as lua as fixing things to a certain degree but was wondering if there was a simple way to search for
Movie directory + "\subs" folder + Filename OR 02_English.srt OR 03_English.srt
in that movies folder directory and to load those into the options.
Edit:

Line 185...
if content:find(name, 0, true) then
to something like?
if content:find(name, 0, true) or content:find("02_English", 0, true) then

@serfreeman1337
Copy link
Owner

VLC has built-in feature to automatically load all subtitles from subs folder.
Check Advanced Preferences -> Video -> Subtitles / OSD -> Autodetect subtitle fiile and Subtitle autodetection fuzziness
(1 - load all subtitles).

to something like?
if content:find(name, 0, true) or content:find("02_English", 0, true) then

Sure, that should work.

@Rootkit-
Copy link
Author

Rootkit- commented Feb 20, 2022

Ya unfortunately people got very upset about it adding subfolders entire list of srt so its limited now to same name.

I think ideally best option is to make a batch file searching subfolders with mp4s then that subfolder for sub\02_English.srt and renaming it to mp4 filename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants