这是indexloc提供的服务,不要输入任何密码
Skip to content

u5surf/SubMatcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subtitle matcher

This project will rename your subtitle files to match the video file.

Requirements

go version >=1.12.4

Build

go build

Usage

Example files to match

$ ls -l __test
MyMovie_1.srt
MyMovie.avi
MySerial S01E01.avi
MySerial S01E01_x254.srt

Running the subtitle matcher

$ ./subMatcher ./__test
--- Movies
MyMovie.avi
MySerial S01E01.avi
--- Subs
0 MyMovie_1.srt
1 MySerial S01E01_x254.srt
--- --- ---
score  5 MyMovie.avi MyMovie_1.srt
----
Matched subs forMyMovie.avi
Rename
./__test/MyMovie_1.srt
to
./__test/MyMovie.srt
[Y/n] 
score  13 MySerial S01E01.avi MySerial S01E01_x254.srt
----
Matched subs forMySerial S01E01.avi
Rename
./__test/MySerial S01E01_x254.srt
to
./__test/MySerial S01E01.srt
[Y/n]
potaka @ ryzen ~/Projects/subMatcher (init)

Result

$ ls ./__test
MyMovie.avi  MyMovie.srt  MySerial S01E01.avi  MySerial S01E01.srt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%