# Arrowverse-Reorderer
The aim of this project is ordering all the Arrowverse tv series episodes to watch them chronologically.
This package scans for media in provided folders using [mnamer](https://pypi.org/project/mnamer/), then it prepends to all Arrowverse episodes its order number based on [Arrowverse Episode Order](https://arrowverse.info/) website and moves all the episodes to a new folder.
## Install
```
pip install arrowverse-reorderer
```
## Usage
```
usage: arrowverse-reorderer [-h] [-sm] [-dm] [-dr] [-dest [DESTINATION_PATH]] [FOLDERS ...]
Order Arrowverse episodes files in air time order.
positional arguments:
[FOLDERS]: folders to process
options:
-h, --help: show this help message and exit
-sm, --skip-rename: skips rename of files
-dm, --dry-run-rename: does not really rename files, just prints them (and then exits, equivalent to "mnamer --test")
-dr, --dry-run-reorder: does not really reorder files, just prints them
-dest [DESTINATION_PATH], --destination-path [DESTINATION_PATH]: destination folder
```
## Example
Before:
```
+---Supergirl S1
| Supergirl - S01E01 - Pilot.mp4
| Supergirl - S01E11 - Strange Visitor from Another Planet.mp4
| Supergirl - S01E18 - Worlds Finest.mp4
| Supergirl - S01E20 - Better Angels.mp4
|
+---The Flash S2
| The Flash - S02E20 - Rupture.mp4
| The Flash - S02E21 - The Runaway Dinosaur.mp4
| The Flash - S02E22 - Invincible.mp4
| The Flash - S02E23 - The Race of His Life.mp4
|
\---Vixen S2
Vixen - S02E01 - Episode 1.avi
Vixen - S02E02 - Episode 2.avi
Vixen - S02E03 - Episode 3.avi
Vixen - S02E04 - Episode 4.avi
Vixen - S02E05 - Episode 5.avi
Vixen - S02E06 - Episode 6.avi
```
After:
```
+---reordered
| 118 - Supergirl - S01E01 - Pilot.mp4
| 143 - Supergirl - S01E11 - Strange Visitor from Another Planet.mp4
| 169 - Supergirl - S01E18 - Worlds Finest.mp4
| 177 - Supergirl - S01E20 - Better Angels.mp4
| 183 - The Flash - S02E20 - Rupture.mp4
| 186 - The Flash - S02E21 - The Runaway Dinosaur.mp4
| 189 - The Flash - S02E22 - Invincible.mp4
| 192 - The Flash - S02E23 - The Race of His Life.mp4
| 200 - Vixen - S02E01 - Episode 1.avi
| 205 - Vixen - S02E02 - Episode 2.avi
| 210 - Vixen - S02E03 - Episode 3.avi
| 215 - Vixen - S02E04 - Episode 4.avi
| 219 - Vixen - S02E05 - Episode 5.avi
| 224 - Vixen - S02E06 - Episode 6.avi
|
+---Supergirl S1
+---The Flash S2
\---Vixen S2
```
Raw data
{
"_id": null,
"home_page": null,
"name": "arrowverse_reorderer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "Arrowverse,Arrow,The Flash,Rename,Order",
"author": null,
"author_email": "Alberto Pasqualetto <39854348+albertopasqualetto@users.noreply.github.com>",
"download_url": "https://files.pythonhosted.org/packages/47/6f/ce02e18d630691a609b7b2577a0ad3f31330e7a08d8176b581302d221fcf/arrowverse_reorderer-2.5.0.tar.gz",
"platform": null,
"description": "# Arrowverse-Reorderer\n\nThe aim of this project is ordering all the Arrowverse tv series episodes to watch them chronologically.\n\nThis package scans for media in provided folders using [mnamer](https://pypi.org/project/mnamer/), then it prepends to all Arrowverse episodes its order number based on [Arrowverse Episode Order](https://arrowverse.info/) website and moves all the episodes to a new folder.\n\n## Install\n```\npip install arrowverse-reorderer\n```\n\n## Usage\n```\nusage: arrowverse-reorderer [-h] [-sm] [-dm] [-dr] [-dest [DESTINATION_PATH]] [FOLDERS ...]\n\nOrder Arrowverse episodes files in air time order.\n\npositional arguments:\n [FOLDERS]: folders to process\n\noptions:\n -h, --help: show this help message and exit\n -sm, --skip-rename: skips rename of files\n -dm, --dry-run-rename: does not really rename files, just prints them (and then exits, equivalent to \"mnamer --test\")\n -dr, --dry-run-reorder: does not really reorder files, just prints them\n -dest [DESTINATION_PATH], --destination-path [DESTINATION_PATH]: destination folder\n```\n\n## Example\nBefore:\n```\n+---Supergirl S1\n| Supergirl - S01E01 - Pilot.mp4\n| Supergirl - S01E11 - Strange Visitor from Another Planet.mp4\n| Supergirl - S01E18 - Worlds Finest.mp4\n| Supergirl - S01E20 - Better Angels.mp4\n| \n+---The Flash S2\n| The Flash - S02E20 - Rupture.mp4\n| The Flash - S02E21 - The Runaway Dinosaur.mp4\n| The Flash - S02E22 - Invincible.mp4\n| The Flash - S02E23 - The Race of His Life.mp4\n| \n\\---Vixen S2\n Vixen - S02E01 - Episode 1.avi\n Vixen - S02E02 - Episode 2.avi\n Vixen - S02E03 - Episode 3.avi\n Vixen - S02E04 - Episode 4.avi\n Vixen - S02E05 - Episode 5.avi\n Vixen - S02E06 - Episode 6.avi\n```\nAfter:\n```\n+---reordered\n| 118 - Supergirl - S01E01 - Pilot.mp4\n| 143 - Supergirl - S01E11 - Strange Visitor from Another Planet.mp4\n| 169 - Supergirl - S01E18 - Worlds Finest.mp4\n| 177 - Supergirl - S01E20 - Better Angels.mp4\n| 183 - The Flash - S02E20 - Rupture.mp4\n| 186 - The Flash - S02E21 - The Runaway Dinosaur.mp4\n| 189 - The Flash - S02E22 - Invincible.mp4\n| 192 - The Flash - S02E23 - The Race of His Life.mp4\n| 200 - Vixen - S02E01 - Episode 1.avi\n| 205 - Vixen - S02E02 - Episode 2.avi\n| 210 - Vixen - S02E03 - Episode 3.avi\n| 215 - Vixen - S02E04 - Episode 4.avi\n| 219 - Vixen - S02E05 - Episode 5.avi\n| 224 - Vixen - S02E06 - Episode 6.avi\n| \n+---Supergirl S1\n+---The Flash S2\n\\---Vixen S2\n```",
"bugtrack_url": null,
"license": null,
"summary": "Order Arrowverse episodes files in air time order",
"version": "2.5.0",
"project_urls": {
"Bug Tracker": "https://github.com/albertopasqualetto/Arrowverse-Reorderer/issues",
"Homepage": "https://github.com/albertopasqualetto/Arrowverse-Reorderer"
},
"split_keywords": [
"arrowverse",
"arrow",
"the flash",
"rename",
"order"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "43611111ca4010e13e23cc908c47a555fa7585ccac0126232fbaf173c14cbf70",
"md5": "0bce52045b7ecc14004f25ccb7f585eb",
"sha256": "98edd77aeea18139be131768b85d4396f3d92946efbd107a6820866bbb36eb88"
},
"downloads": -1,
"filename": "arrowverse_reorderer-2.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0bce52045b7ecc14004f25ccb7f585eb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 8738,
"upload_time": "2023-11-24T20:00:57",
"upload_time_iso_8601": "2023-11-24T20:00:57.391461Z",
"url": "https://files.pythonhosted.org/packages/43/61/1111ca4010e13e23cc908c47a555fa7585ccac0126232fbaf173c14cbf70/arrowverse_reorderer-2.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "476fce02e18d630691a609b7b2577a0ad3f31330e7a08d8176b581302d221fcf",
"md5": "77ec41a29797b4bf5ec14d7944b9683b",
"sha256": "9b5eefeaf2724b94cb213d1ff34d6de550e7e8f313eaa46f815dbd68204176f0"
},
"downloads": -1,
"filename": "arrowverse_reorderer-2.5.0.tar.gz",
"has_sig": false,
"md5_digest": "77ec41a29797b4bf5ec14d7944b9683b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 9997,
"upload_time": "2023-11-24T20:01:00",
"upload_time_iso_8601": "2023-11-24T20:01:00.414853Z",
"url": "https://files.pythonhosted.org/packages/47/6f/ce02e18d630691a609b7b2577a0ad3f31330e7a08d8176b581302d221fcf/arrowverse_reorderer-2.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-24 20:01:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "albertopasqualetto",
"github_project": "Arrowverse-Reorderer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "arrowverse_reorderer"
}