Program to organize subtitles downloaded from legendas.tv. To work, run .py in a folder with the video file and the .zip downloaded from legendas.tv.
What things you need to install the software and how to install them
Python 3.x
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Start creating a virtual environment called "venv":
$ python -m venv venv
Then, activate with:
Windows:
$ venv\Scripts\activate
MacOs:
$ source venv/bin/activate
When finised, deactivate with:
$ deactivate
After activate "env" it is necessary install the requirements:
$ pip install -r requirements.txt
For testing, use the sample video e subtitle in the forlder "test" and call the main script:
cd test/
python ../legendas-tv-organizer/legendas-tv-organizer.py
Turn script executable:
chmod +x legendas-tv-organizer/legendas-tv-organizer.py
Call script inside a folder:
./legendas-tv-organizer.py .
- To run a test, call the script inside the folder.
python legendas-tv-organizer.py .
For Windows in Context Menu:
To generate legendas-tv-organizer.exe file to run on Windows.
pyinstaller -w -F legendas-tv-organizer/legendas-tv-organizer.py
- Add the keys on Registry or run static/legendas-tv-organizer.reg.
- Copy .exe file on C:\Program Files\Legendas TV Organizer
- Add C:\Program Files\Legendas TV Organizer in the Path on Windows Environment Variable.
Feel free to submitting pull requests.
- Matheus N. S. M. de Lima - Initial work - Site
This project is licensed under the GNU General Public License.
Inspired by:
- photo-organizer
- Código Fonte TV, Youtube Channel.