Skip to main content

Manages Kodi TVShows

Project description


title: Missing TV Shows for Kodi

The missingTvShows compares the locally available tv show episodes managed by Kodi with the official ones avaialbe on the tvdb and prints a summary containing 4 sections: * TV Show Seasons which where all published episodes are locally available and * none has been watched * some have already been watched * TV Show Seasons which where some published episodes are not available locally and * none has been watched * some have already been watched


Build status:

missingtvshows test status

Coverage:

image

Homepage : http://missingtvshows.readthedocs.io/en/latest/

Code : https://github.com/digsim/missingTvShows

Dependencies : tvdb-v4-official : colorama : SQLAlchemy : SQLAlchemy-Utils : mysqlclient : progressbar2 and : pyparsing

Compatible with : Python 3.9+

License : APACHE


Installation

  • Create virtualenv virtualenv -p /opt/homebrew/bin/python3.12 venv-312
  • Active virtualenv source venv-312/bin/activate.bash
  • Install software locally pip install .

Usage

Simply launch [missingTvShows]{.title-ref} to get help and instructions on how to use the tool

└─\> master 🕙 12:29:38  missingTvShows -h usage: missingtvshows
\[-h\] \[-v\] {sync} \...

Checks missing TV Show Episodes based on the list of available
Episodes on thetvdb.com

positional arguments: {sync} commands sync sync Kodi and TVDB

options: -h, \--help show this help message and exit -v, \--version
show program\'s version number and exit

missingtvshows {command} -h for help on individual commands

The missingTvShows relies on two config files sitting in ~/.MissingTVShows:

  • tvshows.conf : main configuration file of missingTvShows.
  • logging.conf: logging configuration

These two files are created on the first run and at least the tvshows.conf need to be adapted accordingly:

[Config]
api_key: <thetvdb_api_key>
tvdbdb:  ./tvdbdb.db # location of the sqlite3 cache of tvdb information relative to this file
[Database] # coordinates of the Kodi DB, supports mysql and sqlite3
#dialect: sqlite
#db: /Volumes/Data/ruppena/Documents/Programming/Python/missing_tv_shows_for_xbmc/test.db
dialect: mysql # one of mysql, sqlite
db: MyVideos121 # in case of mysql the name of the DB in case of sqlite3 the full filepath
user: <mysql_user>
passwd: <mysql_passwor>
hostname: <mysql_host>
port:<mysql_port>

and it produces the following two files (also in ~/.MissingTVShows):

  • tvdbdb.db : cached thetvdb information
  • tvshows.log : log of the last run

image

Roadmap

  • 2.0: Progress bar

Test Coverage Report

Output from coverage test:

Name                               Stmts   Miss  Cover
------------------------------------------------------
src/mtvs/Kodi/__init__.py              6      2    67%
src/mtvs/Kodi/missing_tvshows.py     224    180    20%
src/mtvs/__init__.py                   2      0   100%
src/mtvs/main/__init__.py              5      5     0%
src/mtvs/main/main.py                 81     81     0%
src/mtvs/main/mainImpl.py             78     78     0%
src/mtvs/utils/__init__.py             0      0   100%
src/mtvs/utils/utilities.py           52     52     0%
------------------------------------------------------
TOTAL                                448    398    11%

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

missingtvshows-1.3.2.tar.gz (375.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

missingtvshows-1.3.2-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file missingtvshows-1.3.2.tar.gz.

File metadata

  • Download URL: missingtvshows-1.3.2.tar.gz
  • Upload date:
  • Size: 375.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for missingtvshows-1.3.2.tar.gz
Algorithm Hash digest
SHA256 1b277ef5da24a0c4d15e5d823d4dfe62fe63a84e789a6308ae4c6bba3de860ff
MD5 8f80e1ba9875f123719e6e2882c2b9e7
BLAKE2b-256 6a702714f6e48791737ac5b36b4738e1f8737421add90aabe1babc4ea4553ef1

See more details on using hashes here.

Provenance

The following attestation bundles were made for missingtvshows-1.3.2.tar.gz:

Publisher: release-workflow.yaml on digsim/missingTvShows

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file missingtvshows-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: missingtvshows-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for missingtvshows-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 66e0a9035f8d945580f5e5c606216dd255df73b9a78e3025fb22f4a21fb86a90
MD5 110bf4be622a484794baf586b5bc0237
BLAKE2b-256 dbc9c762f3e6c1a69827f0c42dc4dd6893adcf6ab47c68b30656dac8e6cb9e7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for missingtvshows-1.3.2-py3-none-any.whl:

Publisher: release-workflow.yaml on digsim/missingTvShows

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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