fhs-m3u2strm


Namefhs-m3u2strm JSON
Version 1.0.5 PyPI version JSON
download
home_pagehttps://github.com/foxhunt72/fhs-m3u2strm
Summarym3u iptv to strm files for iptv2vod services
upload_time2024-11-07 22:27:15
maintainerNone
docs_urlNone
authorRichard de Vos
requires_pythonNone
licenseMIT license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            fhs_m3u2strm
============


M3u iptv to strm files for iptv2vod services. My current iptv provider delivers a m3u file with a lot of VOD programs into it also. But i wanted to have a nice way to use it from kodi or jellyfin as normal media.

So i created this program which makes it easy to use vod streams from an iptv provider using a mediaserver/player as kodi / plex / jellyfin / emby and a lot more i think. 

- https://pypi.org/project/fhs-m3u2strm/

Thanks to:
----------
- https://github.com/cmcconomy/iptv-filter.git


Usage
-----

- Vod group in m3u_file to directory strm file

  **fhs-m3u2strm** vod-group-to-dir --m3ufile <path_to_local_file> --group 'GROUPNAME'' --output-dir 'OUTPUT_DIR'

  *arguments*
  
  - **m3ufile:** path to m3ufile
  - **group:** group to convert to strm files (see **list-groups** options to show groups in m3ufile)
  - **output-dir:** directory where to put strm files
  
  *optional arguments*
  
  - **rm-end-name:** remove this text from end of episodes text
  - **rm-in-name:** remove this text in the episode and/or serie name
  - **rm-regex-name:** remove this regex in the episode and/or serie name
  - **season-folders:** create season folders
  - **square-brackets:** remove all text within square brackets from episode and/or serie name

- Listing groups in m3u_file

  **fhs-m3u2strm** list-groups --m3ufile <path_to_local_file> [--vod-only]

  *arguments*

  - **m3ufile:** path to m3ufile
  - **vod-only:** show only vod from m3ufile 

- Listing groups in m3u_file with details (like movies, channels and episodes)

  **fhs-m3u2strm** list-groups-details --m3ufile <path_to_local_file> [--vod-only]

  *arguments*

  - **m3ufile:** path to m3ufile
  - **vod-only:** show only vod from m3ufile 

- Multiple vod groups in m3u_file to groups

  **fhs-m3u2strm vod-groups-to-dir** --yamlconfig sync.yml --m3ufile <path_to_local_file> --base-dir 'OUTPUT_DIR'

  *arguments*
  
  - **yaml_config:** path to yaml config with groups
  - **m3ufile:** path to m3ufile
  - **base_dir:** is used to replace {PATH} in output_dir (see example yaml file)

Example yaml file 
----------------------------------------
For vod-groups-to-dir

.. code-block:: bash

  ---
  config:
    season_folders: true
    square_brackets: true
    m3ufile: path to m3ufile   (optional also posible by argument)
    base_dir: base directory   (optional also posible by argument)
    rm_regex_name:             (optional here, for all groups, also rm_in_name and rm_end_name can be used in the config part)
      - " S\\d{2} .*$"
      - " S\\d{2}$"
  groups:
    - group: 'GROUP1'
      output_dir: "{PATH}/group1"
      rm_in_name:  "GRP "
      rm_end_name: " STAGE"
      rm_regex_name:           (or here for only one group)
        - " S\\d{2} .*$"
        - " S\\d{2}$"
    - group: 'GROUP2'
      output_dir: "{PATH}/group2"
      rm_in_name:  "EN "


Installation
------------
.. code-block:: bash

  git clone https://github.com/foxhunt72/fhs-m3u2strm
  cd fhs-m3u2strm
  pip3 install .

  pipx install fhs_m3u2strm
  or
  pip3 install fhs_m3u2strm

Requirements
^^^^^^^^^^^^
- typer[all]
- pyyaml
- rich

Compatibility
-------------

Licence
-------
MIT License

Authors
-------

`fhs_m3u2strm` was written by `Richard de Vos <rdevos72@gmail.com>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/foxhunt72/fhs-m3u2strm",
    "name": "fhs-m3u2strm",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Richard de Vos",
    "author_email": "rdevos72@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0a/98/a2f944b6b1c8e7e69d89c455bb05cd86ad0668dc245e069e600e991159de/fhs-m3u2strm-1.0.5.tar.gz",
    "platform": null,
    "description": "fhs_m3u2strm\n============\n\n\nM3u iptv to strm files for iptv2vod services. My current iptv provider delivers a m3u file with a lot of VOD programs into it also. But i wanted to have a nice way to use it from kodi or jellyfin as normal media.\n\nSo i created this program which makes it easy to use vod streams from an iptv provider using a mediaserver/player as kodi / plex / jellyfin / emby and a lot more i think. \n\n- https://pypi.org/project/fhs-m3u2strm/\n\nThanks to:\n----------\n- https://github.com/cmcconomy/iptv-filter.git\n\n\nUsage\n-----\n\n- Vod group in m3u_file to directory strm file\n\n  **fhs-m3u2strm** vod-group-to-dir --m3ufile <path_to_local_file> --group 'GROUPNAME'' --output-dir 'OUTPUT_DIR'\n\n  *arguments*\n  \n  - **m3ufile:** path to m3ufile\n  - **group:** group to convert to strm files (see **list-groups** options to show groups in m3ufile)\n  - **output-dir:** directory where to put strm files\n  \n  *optional arguments*\n  \n  - **rm-end-name:** remove this text from end of episodes text\n  - **rm-in-name:** remove this text in the episode and/or serie name\n  - **rm-regex-name:** remove this regex in the episode and/or serie name\n  - **season-folders:** create season folders\n  - **square-brackets:** remove all text within square brackets from episode and/or serie name\n\n- Listing groups in m3u_file\n\n  **fhs-m3u2strm** list-groups --m3ufile <path_to_local_file> [--vod-only]\n\n  *arguments*\n\n  - **m3ufile:** path to m3ufile\n  - **vod-only:** show only vod from m3ufile \n\n- Listing groups in m3u_file with details (like movies, channels and episodes)\n\n  **fhs-m3u2strm** list-groups-details --m3ufile <path_to_local_file> [--vod-only]\n\n  *arguments*\n\n  - **m3ufile:** path to m3ufile\n  - **vod-only:** show only vod from m3ufile \n\n- Multiple vod groups in m3u_file to groups\n\n  **fhs-m3u2strm vod-groups-to-dir** --yamlconfig sync.yml --m3ufile <path_to_local_file> --base-dir 'OUTPUT_DIR'\n\n  *arguments*\n  \n  - **yaml_config:** path to yaml config with groups\n  - **m3ufile:** path to m3ufile\n  - **base_dir:** is used to replace {PATH} in output_dir (see example yaml file)\n\nExample yaml file \n----------------------------------------\nFor vod-groups-to-dir\n\n.. code-block:: bash\n\n  ---\n  config:\n    season_folders: true\n    square_brackets: true\n    m3ufile: path to m3ufile   (optional also posible by argument)\n    base_dir: base directory   (optional also posible by argument)\n    rm_regex_name:             (optional here, for all groups, also rm_in_name and rm_end_name can be used in the config part)\n      - \" S\\\\d{2} .*$\"\n      - \" S\\\\d{2}$\"\n  groups:\n    - group: 'GROUP1'\n      output_dir: \"{PATH}/group1\"\n      rm_in_name:  \"GRP \"\n      rm_end_name: \" STAGE\"\n      rm_regex_name:           (or here for only one group)\n        - \" S\\\\d{2} .*$\"\n        - \" S\\\\d{2}$\"\n    - group: 'GROUP2'\n      output_dir: \"{PATH}/group2\"\n      rm_in_name:  \"EN \"\n\n\nInstallation\n------------\n.. code-block:: bash\n\n  git clone https://github.com/foxhunt72/fhs-m3u2strm\n  cd fhs-m3u2strm\n  pip3 install .\n\n  pipx install fhs_m3u2strm\n  or\n  pip3 install fhs_m3u2strm\n\nRequirements\n^^^^^^^^^^^^\n- typer[all]\n- pyyaml\n- rich\n\nCompatibility\n-------------\n\nLicence\n-------\nMIT License\n\nAuthors\n-------\n\n`fhs_m3u2strm` was written by `Richard de Vos <rdevos72@gmail.com>`_.\n",
    "bugtrack_url": null,
    "license": "MIT license",
    "summary": "m3u iptv to strm files for iptv2vod services",
    "version": "1.0.5",
    "project_urls": {
        "Homepage": "https://github.com/foxhunt72/fhs-m3u2strm"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0a98a2f944b6b1c8e7e69d89c455bb05cd86ad0668dc245e069e600e991159de",
                "md5": "be0a75ef002397f16af5303bf9de5e7b",
                "sha256": "2d5d8f68dbc185b970b21a03aaeed53570bb27b29106af0c92a6679400b83c8a"
            },
            "downloads": -1,
            "filename": "fhs-m3u2strm-1.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "be0a75ef002397f16af5303bf9de5e7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 12579,
            "upload_time": "2024-11-07T22:27:15",
            "upload_time_iso_8601": "2024-11-07T22:27:15.266566Z",
            "url": "https://files.pythonhosted.org/packages/0a/98/a2f944b6b1c8e7e69d89c455bb05cd86ad0668dc245e069e600e991159de/fhs-m3u2strm-1.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-07 22:27:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "foxhunt72",
    "github_project": "fhs-m3u2strm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "fhs-m3u2strm"
}
        
Elapsed time: 0.80892s