Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.
/ submpv Public archive

submpv is a python script to automate downloading and loading subtitle from subscence.

Notifications You must be signed in to change notification settings

elhirchek/submpv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Submpv

Note

This project is no longer supported nor working due to Subscene being closed.

Overview

submpv is a python script to automate downloading and loading subtitle from subscence.

Dependencies

This lua script depend on python3 been already installed.

# for windows go to the official python website.
apt install python3 -y

Setup

Windows

Install the zip file from github and extract the folder in [Drive]:\Users\[User]\AppData\Roaming\mpv\scripts\.

# to get python path run the following command:
where python
# open cmd in the directory of this script and run:
pip install -r requirements.txt

Linux

git clone https://github.com/yassin-l/submpv.git
mv ./submpv ~/.config/mpv/scripts/
cd ~/.config/mpv/scripts/submpv
pip install -r requirements.txt

Note

change the /bin/python path inside [[]] in the main.lua file to your python path.

add this line to your input.conf [key] script-binding "submpv", where key is your key.

you can use submpv.py as sperated script to download subtitle from subscence.

Usage of submpv.py

python3 submpv.lua "Tv.show.name.S01E07"

Todo List

  • support for movies
  • renaming subtitle as the target name ( by ayghub ).
  • config file

About

submpv is a python script to automate downloading and loading subtitle from subscence.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published