Skip to content

Commit

Permalink
modify transmission status parser
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiShi1313 committed Sep 23, 2021
1 parent 5f78069 commit 04f2045
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion downloader_exporter/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def parse_tr(state: str):
('checking'): TorrentStatus.CHECKING,
# (): TorrentStatus.ERRORED,
# (): TorrentStatus.STALLED,
('check_pending', 'download_pending', 'seed_pending'): TorrentStatus.QUEUED,
('check pending', 'download pending', 'seed pending'): TorrentStatus.QUEUED,
('stopped'): TorrentStatus.PAUSED,
# (): TorrentStatus.MOVING,
}
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
setup(
name='downloader-exporter',
packages=['downloader_exporter'],
version='0.3.0',
version='0.3.1',
long_description=long_description,
long_description_content_type="text/markdown",
description='Prometheus exporter for torrent downloader like qbittorrent/transmission/deluge',
author='Lei Shi',
author_email='[email protected]',
url='https://github.com/leishi1313/downloader-exporter',
download_url='https://github.com/leishi1313/downloader-exporter/archive/0.3.0.tar.gz',
download_url='https://github.com/leishi1313/downloader-exporter/archive/0.3.1.tar.gz',
keywords=['prometheus', 'qbittorrent', 'transmission', 'deluge'],
classifiers=[],
python_requires='>=3.6.2',
Expand Down

0 comments on commit 04f2045

Please sign in to comment.