Skip to main content

PyPI version codecov Codacy Badge

Tvsort_sl

Sort Video files to TV-shows and Movies folders and update local KODI library.

Prerequisites

The program will take files from unsorted folder and move one of the following folders: TVShows, Movies, so you need to create them.

Deployment

pip install virtualenv
virtualenv venv
source ./venv/bin/activate
pip install -r dev.txt
mkdir logs

Usage

pip install tvsort_sl 

Update local.yml in tvsort_sl/tvsort_sl/settings with the following:

  • KODI_IP: IP of the Kodi server
  • BASE_DRIVE: Drive letter or name in network where content folders (unsorted, TVShows etc.) can be found.
cd tvsort_sl
python -m tvsort_sl.app

Running the tests

  • Tests: pytest
  • Coverage: coverage run -m pytest

Those are only unit-tests that test the code functionality and ability to move files.

Configuration:

In conf.yaml the MOVE_FILES flag is used to determine if files should be move or copy.

Contributing

Please read [contributing.md] for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

see the license.txt for details

Metadata

Release files for tvsort-sl 1.1.40

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tvsort-sl 1.1.40
File Size Uploaded Provenance Actions
tvsort_sl-1.1.40.tar.gz 6.8 kB Without provenance Details for tvsort_sl-1.1.40.tar.gz

Release files / tvsort_sl-1.1.40.tar.gz

Download URL tvsort_sl-1.1.40.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
461d7a742516523b99a23686c634a75d9a6c7b1b91f68b87db7cb3fb88513ec1
BLAKE2b-256 checksum
How to use checksums
2b0258129324abfc4d79281cdc2e4e514bb1742f030b0a3cfd7f3b0a32f44411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.1

Security for tvsort-sl 1.1.40

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.

Release history Release notifications | RSS feed

This release

1.1.40 This release

1 release file No provenance

1.1.1

0.2

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