Skip to content

a script to walk on your media directory to sync already downloaded subtitles with subsync

Notifications You must be signed in to change notification settings

M1Sandy/SubsyncDLSubs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

SubsyncDLSubs

a script to walk on your media directory to sync already downloaded subtitles with subsync. Assuming you have fixed naming schema for both movies and their subtitles, like *.MKV for movie and *.en.srt



Usage:

python sync.py <PATH> <audio_lang> <subtitles_lang>

Example:

python sync.py "Z:\Movies" en ar

Packeges:

pip install pymediainfo


Note:

  • subsync should be installed and subsync-cmd.exe have to be added to windows's enviroment variable.
  • tested on windows.
  • some arguments of sybsync are hardcoded in the script, feel free to tweak them as you like.


to-do

  • add multithreading support to process large amount of media faster.
  • sync multiple subtitles with diff language to the same movie. (for now only one language per time)

About

a script to walk on your media directory to sync already downloaded subtitles with subsync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages