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
    |   └── S01E001_witchbottle.mp4
    └── 2
        └── S02E002_old_homes.mp4

whereas Plex would expect these to look like:

root
└── Castlevania
    ├── Season01
    |   └── Castlevania - S01E01 - witchbottle.mp4
    └── 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.

Metadata

Release files for plex-footage-sorter 4.2.0

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.2.0
File Size Uploaded Provenance Actions
plex_footage_sorter-4.2.0.tar.gz 47.3 kB Without provenance Details for plex_footage_sorter-4.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 85.9 kB

Release files / plex_footage_sorter-4.2.0.tar.gz

Download URL plex_footage_sorter-4.2.0.tar.gz
Size 47.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7aa49922ad5defaabf9f5a92c87f2569f7b267dd952ba50a04f1d69d75c69796
BLAKE2b-256 checksum
How to use checksums
7ab79d5769819d533e2cef62cf152970c8e05db116b8665278c1a40e35eb0efb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

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

Download URL plex_footage_sorter-4.2.0-py2.py3-none-any.whl
Size 38.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1d959db856a112c39e1f11d5f75378e9eeb270e4570adfbe0dd1dd355e7a927c
BLAKE2b-256 checksum
How to use checksums
6dd81e6aa9e073149033cc111977bfa8102bfff7bdd0e93ceaf27f8b2b6b2f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for plex-footage-sorter 4.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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