Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parnexcodes/pyretag
Python retagging utility for mkv files using mkvmerge.
https://github.com/parnexcodes/pyretag
Last synced: 3 months ago
JSON representation
Python retagging utility for mkv files using mkvmerge.
- Host: GitHub
- URL: https://github.com/parnexcodes/pyretag
- Owner: parnexcodes
- Created: 2021-08-02T16:09:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-03T09:14:45.000Z (over 3 years ago)
- Last Synced: 2024-06-28T17:50:00.364Z (5 months ago)
- Language: Python
- Homepage:
- Size: 4.55 MB
- Stars: 28
- Watchers: 2
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyretag
A python script to retag mkv files.
# Setting Up
- `pip install pyfiglet`
- `pip install rich`Move the mkv files to **input** folder.
Edit **config.json** (for uploading through rclone) [Optional]
Default **config.json**
```
{
"rclone_upload": "False",
"rclone_remote": "drive",
"delete_files": "False"
}
```# Usage
```
py retag.py -husage: retag.py [-h] -i INPUT -o OUTPUT
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Original Group/Release Tag.
-o OUTPUT, --output OUTPUT
Your Group/Release Tag.
```**Example Command** : `py retag.py -i CBFM -o LOLi`
## Note
Input and Output Value are **case-sensitive**.
![](https://i.imgur.com/4527Yna.png)
#### Final Output is saved in **output** Folder
# What does it do
- Changes the **Title** of the **mkvfile** to `Bla.bla.2012.1080p.AMZN.WEB-DL.DDP.5.1 - Your Name / Group Name`
- Changes the **Title** of first 3 tracks to blank (incase the original release has anything in title.)
- **Remuxes** the **mkvfile** with new name and changes done above.
- Uploads to any **rclone remote** set in **config.json** and return the link (saved as **links.txt** in same directory).
- If files > 1 : Makes a folder , moves the files to this folder and uploads it otherwise uploads single file.