Metadata-Version: 2.4
Name: media-mgr
Version: 0.1.15
Summary: Media file search and categorization utilities
Author-email: Ed Waldner <waldevburry@proton.me>
Maintainer-email: Ed Waldner <waldevburry@proton.me>
Project-URL: Homepage, https://github.com/ew98/media-mgr
Project-URL: Documentation, https://github.com/ew98/media-mgr/wiki/MediaMgr
Project-URL: Issues, https://github.com/ew98/media-mgr/issues
Keywords: util,utility
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: argcomplete
Requires-Dist: asyncssh
Requires-Dist: quickcolor
Requires-Dist: delayviewer
Requires-Dist: showexception
Requires-Dist: corecfg
Requires-Dist: exiv2
Requires-Dist: standard-imghdr
Requires-Dist: paramiko
Requires-Dist: requests
Dynamic: license-file

# Media-Mgr

**Media-Mgr** helps organize and search for media files on specified servers. Focus is currently PLEX based and includes PLEX server upgrade support on Ubuntu installs.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install **media-mgr**.

```bash
pip install media-mgr
```

## CLI Controls

The following CLI controls are provided in this package for keeping track of media server categories and media server coordinates.

* mm-mediacfg
* mm-srvcfg

The following CLI controls assist with media server contents for search, organization, PLEX upgrades and miscellaneous tools (EXIF renamer)

* mm-util
* mm-path
* mm-search
* mm-gather
* mm-exif
* mm-plex-upg

Finally, these next sets of CLI controls are task specific for media management

* mount-drives
* search-plex
* move-plex
* cons-plex
* upgrade-plex
* upgrade-plex-all

Each command has help syntax via CLI -h argument

For example:

```bash
╰─ mount-drives -h                                                                                                                                                                                                      ─╯
usage: mount-drives [-h] [-v] [--ipv4 <ipv4.addr>]

-.-.-. Mount Drives on Server utility

options:
  -h, --help          show this help message and exit
  -v, --verbose       run with verbosity hooks enabled
  --ipv4 <ipv4.addr>  Server IPV4

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
```

or

```bash
╰─ search-plex -h                                                                                                                                                                                                       ─╯
usage: search-plex [-h] [-v] [--version] [--ipv4 <ipv4.addr>] [<term_1> .. <term_n> ...]

-.-.-. Search All Servers utility

positional arguments:
  <term_1> .. <term_n>  Search terms to match

options:
  -h, --help            show this help message and exit
  -v, --verbose         run with verbosity hooks enabled
  --version             top-level package version
  --ipv4 <ipv4.addr>    Server IPV4

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
```

or

```bash
╰─ mm-gather -h                                                                                                                                                                                                         ─╯
usage: mm-gather [-h] [-v] [--version] {show.titles,show.all.titles,show.bundles,store.bundles,show.plex.n.worker.bundles,store.plex.n.worker.bundles} ...

-.-.-. Gathering for media manager

positional arguments:
  {show.titles,show.all.titles,show.bundles,store.bundles,show.plex.n.worker.bundles,store.plex.n.worker.bundles}
    show.titles         Show retrieved titles
    show.all.titles     Show ALL retrieved titles
    show.bundles        Show title bundles
    store.bundles       Store title bundles
    show.plex.n.worker.bundles
                        Show title bundles for Plex and Worker servers
    store.plex.n.worker.bundles
                        Store title bundles for Plex and Worker servers

options:
  -h, --help            show this help message and exit
  -v, --verbose         run with verbosity hooks enabled
  --version             top-level package version

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
```

or

```bash
╰─ move-plex -h                                                                                                                                                                                                         ─╯
usage: move-plex [-h] [--version] [-v] [--ipv4 <ipv4.addr>] [--test] <from.dir> <to.dir> ...

-.-.-. Move for media manager

positional arguments:
  <from.dir>            FROM base directory name
  <to.dir>              TO base directory name
  <term_1> .. <term_n>  search terms for move operation

options:
  -h, --help            show this help message and exit
  --version             top-level package version
  -v, --verbose         run with verbosity hooks enabled
  --ipv4 <ipv4.addr>    Server IPV4
  --test                Test move operation

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
```

## License

[MIT](https://choosealicense.com/licenses/mit/)

