Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elhirchek/submpv
submpv is a python script to automate downloading and loading subtitle from subscence.
https://github.com/elhirchek/submpv
Last synced: 3 months ago
JSON representation
submpv is a python script to automate downloading and loading subtitle from subscence.
- Host: GitHub
- URL: https://github.com/elhirchek/submpv
- Owner: elhirchek
- Created: 2022-01-02T00:15:36.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-23T20:22:59.000Z (over 1 year ago)
- Last Synced: 2024-04-09T21:24:47.982Z (7 months ago)
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpv - sub - Python script to automate downloading and loading subtitle from subscence. (Subtitle)
README
# 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.
```bash
# 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\\**.
```bash
# 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
```bash
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
```bash
python3 submpv.lua "Tv.show.name.S01E07"
```## Todo List
- [x] support for movies
- [ ] renaming subtitle as the target name ( by [ayghub](https://github.com/ayghub/) ).
- [ ] config file