Skip to main content

Plex Footage Sorter

A simple script to process android phone footage default names into plex-friendly filename

Description

This package bundles a set of tools for renaming and/or moving files from various sources into plex-friendly patterns. Most of these are highly specific.

Renaming phone footage as date-based series

Android phones (and possible iPhones, we haven't checked) name video files in the format YYYYMMDD_SSSSSS.EXT. Plex can interpret video files as a date-based tv series if they are named in the format SERIESNAME-YYYY-MM-DD[ - PartX].EXT. This tool is designed for the case where you take a lot of phone footage that you want to organise into a chronological series. We use it for organising our videos of our progress at learning various activities.

To use this utility, dump all of the relevant footage into a folder, and run

plex-footage-sorter date-based SERIESNAME

Caveat - Part Naming

We number parts consecutively for a single day. If there are more videos for that day that are not in the folder, the part numbering will be wrong. We might fix this at a later date.

Renaming Movpilot downloads as season-based series

Movpilot downloads of series episodes do not fit plex structures. For example, downloads from Amazon Prime follow the structure:

root
└── Castlevania
    ├── 1
    |   ├── Witchbottle
    |   |   └── S01E001_witchbottle.mp4
    |   └── Necropolis
    |       └── S01E002_necropolis.mp4
    |       └── S01E002_necropolis.srt
    └── 2
        └── Old Homes
            └── S02E002_old_homes.mp4

and netflix downloads:

root
└── Castlevania
    ├── Season 1
    |   └── Witchbottle
    |       └── S01E001_witchbottle.mp4
    └── Season 2
        └── Old Homes
            └── S02E002_old_homes.mp4

whereas Plex would expect these to look like:

root
└── Castlevania
    ├── Season01
    |   ├── Castlevania - S01E01 - witchbottle.mp4
    |   ├── Castlevania - S01E02 - necropolis.mp4
    |   └── Castlevania - S01E02 - necropolis.srt
    └── Season02
        └── Castlevania - S02E02 - old homes.mp4

Renaming these by hand is tedious, so we have developed the movpilot-series utility.

To use this utility, run

plex-footage-sorter movpilot-series

in the root directory.

Release files for plex-footage-sorter 4.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plex-footage-sorter 4.5.2
File Size Uploaded
plex_footage_sorter-4.5.2.tar.gz 50.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plex-footage-sorter 4.5.2
File Interpreter ABI Platform
plex_footage_sorter-4.5.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 93.7 kB

Release files / plex_footage_sorter-4.5.2.tar.gz

Download URL plex_footage_sorter-4.5.2.tar.gz
Size 50.7 kB
Tags Source
SHA-256 checksum
How to use checksums
368ca6c4a0742a8d48f0125dcc2b7b529ee8954d54bd85675ba30cf34f5506d8
BLAKE2b-256 checksum
How to use checksums
ff70f96c23161d2271d6d6a29e0a481e75af66f43ec4377429f443094a3dd8f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / plex_footage_sorter-4.5.2-py2.py3-none-any.whl

Download URL plex_footage_sorter-4.5.2-py2.py3-none-any.whl
Size 43.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
836a459ead0a0f5593ede62708c925c7687fa0c7a462ac785ebb6a7283038859
BLAKE2b-256 checksum
How to use checksums
644a8bd11dc0533660c6ed143b9c4597b3d81d645ab5ec809f6b5584e0ec4dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release history Release notifications | RSS feed

This release

4.5.2 This release

2 release files

4.5.1

2 release files

4.5.0

2 release files

4.4.0

2 release files

4.3.1

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

1.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page