Skip to main content

Rename subtitle filenames to match videos.

Project description

resubname

Rename subtitle filenames to match videos.

Install with pipx

Using pipx to install resubname is recommended.

pipx install resubname

Example

> ls
 03.ass    '[VCB-Studio] GIRLS und PANZER [03][Ma10p_1080p][x265_flac].mkv'
 05.5.ass  '[VCB-Studio] GIRLS und PANZER [05.5][Ma10p_1080p][x265_flac].mkv'
 05.ass    '[VCB-Studio] GIRLS und PANZER [05][Ma10p_1080p][x265_flac].mkv'

> resubname *.ass *.mkv
03.ass -> [VCB-Studio] GIRLS und PANZER [03][Ma10p_1080p][x265_flac].ass
05.5.ass -> [VCB-Studio] GIRLS und PANZER [05.5][Ma10p_1080p][x265_flac].ass
05.ass -> [VCB-Studio] GIRLS und PANZER [05][Ma10p_1080p][x265_flac].ass
> ls
'[VCB-Studio] GIRLS und PANZER [03][Ma10p_1080p][x265_flac].ass'
'[VCB-Studio] GIRLS und PANZER [03][Ma10p_1080p][x265_flac].mkv'
'[VCB-Studio] GIRLS und PANZER [05.5][Ma10p_1080p][x265_flac].ass'
'[VCB-Studio] GIRLS und PANZER [05.5][Ma10p_1080p][x265_flac].mkv'
'[VCB-Studio] GIRLS und PANZER [05][Ma10p_1080p][x265_flac].ass'
'[VCB-Studio] GIRLS und PANZER [05][Ma10p_1080p][x265_flac].mkv'

And you can exclude certain files:

> ls
'[ANE] Soredemo Machi wa Mawatte Iru - EP01 [BD 1920x1080 H.264 FLAC].CASO-SC.ass'
'[ANE] Soredemo Machi wa Mawatte Iru - EP02 [BD 1920x1080 H.264 FLAC].CASO-SC.ass'
'[ANK-Raws] それでも町は廻っている (Ep_05 Creditless ED) (BDrip 1920x1080 HEVC-YUV420P10 FLAC).mkv'
'[ANK-Raws] それでも町は廻っている 01 (BDrip 1920x1080 HEVC-YUV420P10 FLAC).mkv'
'[ANK-Raws] それでも町は廻っている 02 (BDrip 1920x1080 HEVC-YUV420P10 FLAC).mkv'
> resubname *.ass *.mkv -e creditless --dryrun
[ANE] Soredemo Machi wa Mawatte Iru - EP01 [BD 1920x1080 H.264 FLAC].CASO-SC.ass -> [ANK-Raws] それでも町は廻っている 01 (BDrip 1920x1080 HEVC-YUV420P10 FLAC).ass
[ANE] Soredemo Machi wa Mawatte Iru - EP02 [BD 1920x1080 H.264 FLAC].CASO-SC.ass -> [ANK-Raws] それでも町は廻っている 02 (BDrip 1920x1080 HEVC-YUV420P10 FLAC).ass

Help

resubname -h

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resubname-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

resubname-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file resubname-0.1.0.tar.gz.

File metadata

  • Download URL: resubname-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for resubname-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4e1b666b9016383fdcb163d229d39f68dc998dc54ed0e49ffec99d8dc7e2b94
MD5 5a1e8dd28a8fd244564bd8eab90e298d
BLAKE2b-256 0dc6357d0c0615fb0ad09de8a78fc9cb608c837622e3f436cec12c33d3c45f15

See more details on using hashes here.

File details

Details for the file resubname-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: resubname-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for resubname-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51eab7dc8340466a8adf80b5e3f2f6de555b32c1a27259d8d0cdfb5984e3de91
MD5 f6b5bb88a75088d9256fd94732c79f73
BLAKE2b-256 3a7e6973107c2a01c02f33de25d8c24c67b292ddfc36fb598c4b6229f13cbba8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page