Skip to main content

Monitor wikipedia pages of tv shows and send a notification when new episodes are detected

Project description

episode-monitor

Send desktop notifications when new episodes are detected for a list ov tv shows.

Installation

From PyPI

pipx install episode-monitor

From source

git clone https://github.com/laszloszurok/episode-monitor
cd episode-monitor
python -m build
pipx install dist/episode-monitor-0.0.1-py3-none-any.whl

Usage

Frist run creates a config file on $XDG_CONFIG_HOME/episode_monitor/config.yaml (defaults to ~/.config/episode_monitor/config.yaml). The default config file:

interval: 300
shows:
- The Simpsons
- Family Guy
- South Park

Without any parameters the script will run continously and poll the configured pages evry interval seconds.

episode-monitor

If the --once flag is given to the script, it will run a check for the configured pages and exit.

episode-monitor --once

Episode counts will be stored at $XDG_STATE_HOME/episode_monitor/episode_counts.json (~/.local/state/episode_monitor/episode_counts.json by default).

Logs will be stored at $XDG_CACHE_HOME/episode_monitor/episode_log.txt (~/.cache/episode_monitor/episode_log.txt by default).

License

episode-monitor is distributed under the terms of the MIT license.

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

episode_monitor-1.2.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

episode_monitor-1.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file episode_monitor-1.2.0.tar.gz.

File metadata

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

File hashes

Hashes for episode_monitor-1.2.0.tar.gz
Algorithm Hash digest
SHA256 abcad9261629e0bd80e9b77019dd6d0b3cf0617636b5eef9e5aad20e596625f8
MD5 c4435265576dc95cba00d691b205e13b
BLAKE2b-256 165baed79b903219e88611c260ef56ad398c4a7de266331f35c0d34aaf51dc91

See more details on using hashes here.

Provenance

The following attestation bundles were made for episode_monitor-1.2.0.tar.gz:

Publisher: publish.yaml on laszloszurok/episode-monitor

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

File details

Details for the file episode_monitor-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for episode_monitor-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5d04f18ab882c59bf189f447912d7c100769b2e075795d3dfde87c8454740db
MD5 b1fe0e0d727934d37d70d8452853fc4d
BLAKE2b-256 e83034cff26bd2220372e33bbfad8720cfe3649b2c59a2d0cfd876761697824e

See more details on using hashes here.

Provenance

The following attestation bundles were made for episode_monitor-1.2.0-py3-none-any.whl:

Publisher: publish.yaml on laszloszurok/episode-monitor

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