fhs-iptv-tools


Namefhs-iptv-tools JSON
Version 0.8.13 PyPI version JSON
download
home_pagehttps://github.com/foxhunt72/fhs-iptv-tools
Summaryfoxhunt software iptv tools, making iptv easier
upload_time2024-02-08 13:05:49
maintainer
docs_urlNone
authorRichard de Vos
requires_python
licenseMIT license
keywords
VCS
bugtrack_url
requirements typer cmd2 jinja2 appdirs pyyaml pyxtream requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            fhs\_iptv\_tools
================

Iptv Tools Version: 0.8.13
--------
#### ** For changes see** [changelog](https://github.com/foxhunt72/fhs-iptv-tools/blob/main/CHANGELOG.md).

## Foxhunt Software IPTV Tools

Making iptv easier

## Index

- [Main features](#main-features)
- [Future features](#future-features)
- [Usage](#usage)
- [Examples](#examples)
- [Installation](#installation)
- [Docker](#docker)
- [Requirements](#requirements)
- [License](#license)
- [Author](#author)

## Main features

- load any m3u
- remove unused channels
- join multipe m3u files
- edit channels
- scan/probe streams/channels (get resolution, codec and bitrate for channels
- save new m3u file
- do this all interactive
- or run this all automatic with a yaml 

## Future features

- select on codec / bitrate / resolution
- clean probe/scan check
- clean interactive history file (max lines)


Thanks to:
----------

For inspiration and some code
-   <https://github.com/cmcconomy/iptv-filter.git>

## Usage
-----

```shellscript

 # use it with docker like this
 docker run --rm -h fhs-iptv-tools -t -i rdevos72/fhs-iptv-tools --help

 fhs-iptv-tools interactive

 # load m3u file from disk
 (fhs_iptv_tools) load_m3u --file=./m3u

 # count channels, it you want to know, you can also list_channels, list_groups, and more.
 (fhs_iptv_tools) count_channels

 # select channels based on text in group title, more options are on name, id and more see help.
 (fhs_iptv_tools) select --group_title "NL" --set_tag keep
 selected 6 channels.

 # modified the channels, change to group to NL
 (fhs_iptv_tools) modify_channels --with_tag keep --set_group_title NL

 # delete all the channels we didn't tag with the select command.
 (fhs_iptv_tools) delete_channels --without_tag keep
 removed 15 channels.

 # sort all channels
 sort_channels --sort_key1 tvg_group_title --sort_key2 tvg_name

 # probe channels
 probe_scan

 # and save to m3u file, the the delete is not realy needed you can also use --with_tag keep in the save action.
 (fhs_iptv_tools) save_m3u --file m3u.new
 channels saved to m3u file m3u.new

 # save everything you did so that you can repeat it automatically
 (fhs_iptv_tools) save_tasks --file=/tmp/tasks.yaml

 # then run it as
 fhs-iptv-tools run-tasks --yaml-command /tmp/tasks.yaml


 # In interactive mode, try 
 (fhs_iptv_tools) help

 # And try the command with --help to see the options
 (fhs_iptv_tools) select --help
 Usage: select [-h] [--store STORE] [--with_tag WITH_TAG] [--without_tag WITHOUT_TAG]
              [--group_title GROUP_TITLE] [--name NAME] [--id ID] [--source SOURCE] [--set_tag SET_TAG]
              [--clear_tag CLEAR_TAG]

 optional arguments:
  -h, --help            show this help message and exit
  --store STORE         store name
  --with_tag WITH_TAG
  --without_tag WITHOUT_TAG
  --group_title GROUP_TITLE
  --name NAME
  --id ID
  --source SOURCE
  --set_tag SET_TAG
  --clear_tag CLEAR_TAG

```

## Installation
------------

``` {.bash}
git clone https://github.com/foxhunt72/fhs-iptv-tools
cd fhs-iptv-tools
pip3 install .

pipx install fhs_iptv_tools
or
pip3 install fhs_iptv_tools

# install ffprobe
```

##Requirements

- typer[all]
- cmd2
- jinja2
- appdirs

## Docker

Add docker image and automatically builds

See https://hub.docker.com/r/rdevos72/fhs-iptv-tools

```
docker run --rm -v /tmp/files:/opt/files -ti rdevos72/fhs-iptv-tools --help
```


------------
## Compatibility
-------------

## Examples
-----------

- [loop.tasks](https://github.com/foxhunt72/fhs-iptv-tools/blob/main/Examples/loop.tasks).

## Licence
-------

MIT license

## Author
-------

Richard de Vos

[fhs_iptv_tools](https://github.com/foxhunt72/fhs-iptv-tools) was written by [Richard de Vos](rdevos72@gmail.com).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/foxhunt72/fhs-iptv-tools",
    "name": "fhs-iptv-tools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Richard de Vos",
    "author_email": "rdevos72@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/81/9c/17b176f0cb8621a10b7499eba9ac4bd8c3994632e734749b21f4141706a5/fhs-iptv-tools-0.8.13.tar.gz",
    "platform": null,
    "description": "fhs\\_iptv\\_tools\n================\n\nIptv Tools Version: 0.8.13\n--------\n#### ** For changes see** [changelog](https://github.com/foxhunt72/fhs-iptv-tools/blob/main/CHANGELOG.md).\n\n## Foxhunt Software IPTV Tools\n\nMaking iptv easier\n\n## Index\n\n- [Main features](#main-features)\n- [Future features](#future-features)\n- [Usage](#usage)\n- [Examples](#examples)\n- [Installation](#installation)\n- [Docker](#docker)\n- [Requirements](#requirements)\n- [License](#license)\n- [Author](#author)\n\n## Main features\n\n- load any m3u\n- remove unused channels\n- join multipe m3u files\n- edit channels\n- scan/probe streams/channels (get resolution, codec and bitrate for channels\n- save new m3u file\n- do this all interactive\n- or run this all automatic with a yaml \n\n## Future features\n\n- select on codec / bitrate / resolution\n- clean probe/scan check\n- clean interactive history file (max lines)\n\n\nThanks to:\n----------\n\nFor inspiration and some code\n-   <https://github.com/cmcconomy/iptv-filter.git>\n\n## Usage\n-----\n\n```shellscript\n\n # use it with docker like this\n docker run --rm -h fhs-iptv-tools -t -i rdevos72/fhs-iptv-tools --help\n\n fhs-iptv-tools interactive\n\n # load m3u file from disk\n (fhs_iptv_tools) load_m3u --file=./m3u\n\n # count channels, it you want to know, you can also list_channels, list_groups, and more.\n (fhs_iptv_tools) count_channels\n\n # select channels based on text in group title, more options are on name, id and more see help.\n (fhs_iptv_tools) select --group_title \"NL\" --set_tag keep\n selected 6 channels.\n\n # modified the channels, change to group to NL\n (fhs_iptv_tools) modify_channels --with_tag keep --set_group_title NL\n\n # delete all the channels we didn't tag with the select command.\n (fhs_iptv_tools) delete_channels --without_tag keep\n removed 15 channels.\n\n # sort all channels\n sort_channels --sort_key1 tvg_group_title --sort_key2 tvg_name\n\n # probe channels\n probe_scan\n\n # and save to m3u file, the the delete is not realy needed you can also use --with_tag keep in the save action.\n (fhs_iptv_tools) save_m3u --file m3u.new\n channels saved to m3u file m3u.new\n\n # save everything you did so that you can repeat it automatically\n (fhs_iptv_tools) save_tasks --file=/tmp/tasks.yaml\n\n # then run it as\n fhs-iptv-tools run-tasks --yaml-command /tmp/tasks.yaml\n\n\n # In interactive mode, try \n (fhs_iptv_tools) help\n\n # And try the command with --help to see the options\n (fhs_iptv_tools) select --help\n Usage: select [-h] [--store STORE] [--with_tag WITH_TAG] [--without_tag WITHOUT_TAG]\n              [--group_title GROUP_TITLE] [--name NAME] [--id ID] [--source SOURCE] [--set_tag SET_TAG]\n              [--clear_tag CLEAR_TAG]\n\n optional arguments:\n  -h, --help            show this help message and exit\n  --store STORE         store name\n  --with_tag WITH_TAG\n  --without_tag WITHOUT_TAG\n  --group_title GROUP_TITLE\n  --name NAME\n  --id ID\n  --source SOURCE\n  --set_tag SET_TAG\n  --clear_tag CLEAR_TAG\n\n```\n\n## Installation\n------------\n\n``` {.bash}\ngit clone https://github.com/foxhunt72/fhs-iptv-tools\ncd fhs-iptv-tools\npip3 install .\n\npipx install fhs_iptv_tools\nor\npip3 install fhs_iptv_tools\n\n# install ffprobe\n```\n\n##Requirements\n\n- typer[all]\n- cmd2\n- jinja2\n- appdirs\n\n## Docker\n\nAdd docker image and automatically builds\n\nSee https://hub.docker.com/r/rdevos72/fhs-iptv-tools\n\n```\ndocker run --rm -v /tmp/files:/opt/files -ti rdevos72/fhs-iptv-tools --help\n```\n\n\n------------\n## Compatibility\n-------------\n\n## Examples\n-----------\n\n- [loop.tasks](https://github.com/foxhunt72/fhs-iptv-tools/blob/main/Examples/loop.tasks).\n\n## Licence\n-------\n\nMIT license\n\n## Author\n-------\n\nRichard de Vos\n\n[fhs_iptv_tools](https://github.com/foxhunt72/fhs-iptv-tools) was written by [Richard de Vos](rdevos72@gmail.com).\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "foxhunt software iptv tools, making iptv easier",
    "version": "0.8.13",
    "project_urls": {
        "Homepage": "https://github.com/foxhunt72/fhs-iptv-tools"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "819c17b176f0cb8621a10b7499eba9ac4bd8c3994632e734749b21f4141706a5",
                "md5": "055abd76941762854eae5c4b117ee31f",
                "sha256": "e7b67780269a4669665eb4fc76689d95f8f6275c680731d4776afdf1d3ca49b5"
            },
            "downloads": -1,
            "filename": "fhs-iptv-tools-0.8.13.tar.gz",
            "has_sig": false,
            "md5_digest": "055abd76941762854eae5c4b117ee31f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 22594,
            "upload_time": "2024-02-08T13:05:49",
            "upload_time_iso_8601": "2024-02-08T13:05:49.200614Z",
            "url": "https://files.pythonhosted.org/packages/81/9c/17b176f0cb8621a10b7499eba9ac4bd8c3994632e734749b21f4141706a5/fhs-iptv-tools-0.8.13.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-08 13:05:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "foxhunt72",
    "github_project": "fhs-iptv-tools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "typer",
            "specs": []
        },
        {
            "name": "cmd2",
            "specs": []
        },
        {
            "name": "jinja2",
            "specs": []
        },
        {
            "name": "appdirs",
            "specs": []
        },
        {
            "name": "pyyaml",
            "specs": []
        },
        {
            "name": "pyxtream",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "fhs-iptv-tools"
}
        
Elapsed time: 0.16636s