-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
21948be
commit 84466fe
Showing
14 changed files
with
75 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python 3.12.2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
organise-tv-shows | ||
================= | ||
# organise_tv_shows | ||
A python script to organise episodes of TV shows into your library. | ||
|
||
Install requirements | ||
-------------------- | ||
```bash | ||
$ brew bundle | ||
$ pipenv install | ||
## Installation (macOS) | ||
```shell | ||
$ brew instal asdf | ||
``` | ||
[Configure your shell](https://asdf-vm.com/guide/getting-started.html#_3-install-asdf) for asdf. You will need to | ||
restart your terminal session. | ||
```shell | ||
$ asdf plugin add python | ||
$ asdf install | ||
$ pip install . | ||
``` | ||
|
||
Configure | ||
--------- | ||
```bash | ||
$ cp config.yml.dist config.yml | ||
## Configure | ||
Create a config file in its default location. | ||
```shell | ||
$ mkdir -p ~/.config/organise_tv_shows | ||
$ cp config.yml.dist ~/.config/organise_tv_shows/config.yml | ||
``` | ||
Configure the values in config.yml. | ||
|
||
Running | ||
------- | ||
```bash | ||
$ pipenv run python . | ||
## Usage | ||
```shell | ||
$ organise_tv_shows | ||
|
||
# Run with a different config file (~/.config/organise_tv_shows/config.other.yml) | ||
$ organise_tv_shows --config-file config.other.yml | ||
|
||
# Run with a config file outside of the default config directory | ||
$ organise_tv_shows --config-file /usr/local/etc/organise_tv_shows/config.yml | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '2.0.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,7 @@ def main(): | |
|
||
processor = Processor(config) | ||
processor.process() | ||
|
||
|
||
if __name__ == '__main__': | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[metadata] | ||
name = organise_tv_shows | ||
version = attr: organise_tv_shows.__version__ | ||
author = Cameron Murphy | ||
author_email = [email protected] | ||
description = A CLI tool to organise episodes of TV shows into your library. | ||
long_description = file: README.md | ||
keywords = tv, tvdb, show, episode, library, plex | ||
license = MIT | ||
classifiers = | ||
Programming Language :: Python :: 3 | ||
project_urls = | ||
GitHub = https://github.com/cameronmurphy/organise_tv_shows | ||
|
||
[options] | ||
packages = find: | ||
install_requires = | ||
pydantic | ||
pyyaml | ||
requests | ||
tvdb-v4-official | ||
python_requires = >=3.8 | ||
|
||
[options.packages.find] | ||
include = | ||
organise_tv_shows | ||
organise_tv_shows.* | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
organise_tv_shows = organise_tv_shows.__main__:main | ||
|
||
[options.extras_require] | ||
dev = | ||
wheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from setuptools import setup | ||
|
||
setup() |