Skip to main content

Watch directories and move media files accordingly.

Project description

# MediaWatcher

Watch directories and move media files accordingly.

```
λ mediawatcher -h
usage: mediawatcher [-h] -c CONFIG

Watch directories and move media files accordingly.

optional arguments:
-h, --help show this help message and exit
-c CONFIG path to the config file in YAML
```

### Requirements

* Python 3.5
* Some folders to watch ;)

### Installation

You can install MediaWatcher using pip:

```
pip install mediawatcher
```

### Running

First, you'll need a config file, here's an example created in `~/.mediawatcher`:

```
watch:
- /data/downloads
output_anime: /data/media/anime
output_tv: /data/media/tv
output_movies: /data/media/movies
```

And then, run mediawatcher:

```
mediawatcher -c ~/.mediawatcher
[2016-05-07 16:27:15.165334] INFO: MediaWatcher: MediaWatcher ready. Performing initial scan.
[2016-05-07 16:27:15.165466] INFO: MediaWatcher: Scanning /data/downloads
...
[2016-05-07 16:27:15.874268] INFO: MediaWatcher: Done scanning.
[2016-05-07 16:27:15.874309] INFO: MediaWatcher: Initial scan done, watching 1 folder.
```

### License

MIT License

Copyright (c) [2016] [@adrien-f]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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

mediawatcher-0.0.3.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file mediawatcher-0.0.3.tar.gz.

File metadata

  • Download URL: mediawatcher-0.0.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mediawatcher-0.0.3.tar.gz
Algorithm Hash digest
SHA256 23ec1d99494bb704bb246c4817e662004029f58dafe5db5160108af0ba8010d8
MD5 0c5ccda3d0c76a16faaa38b03ffdd38d
BLAKE2b-256 fbb5c43be9b6cdf9d4414f8d4ca863700eaa4025a7f8c67694ed0b9ce91ecca2

See more details on using hashes here.

Supported by

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