Simple Python script that matches IPTV channels with provided logo URLs.
Go to file
2024-05-24 01:55:26 -05:00
__main__.py add: save using utf8 encoding 2024-02-25 19:44:55 +01:00
image.png initial commit 2024-01-10 16:56:10 +01:00
LICENSE add: LICENSE 2024-01-10 16:51:21 +01:00
README.md feat: customize similarity ratio 2024-01-14 20:29:27 +01:00
requirements.txt fix: requirements 2024-05-24 01:55:26 -05:00

M3U Logo Matcher

Simple script that will match logos with TV programmes provided by you.

NOTE!

This may NOT be 100% accurate.

Based on

  • urllib
  • pathlib
  • difflib
  • ipytv
  • re
  • os

Usage

python3 <path-to-script> -u "<logos URL>" -m "<m3u URL/path>" (-r <ratio>)

Supported logo providers

Any that display logos as a file tree. A good example is this provider.

"as a file tree". What does it mean?

Alt text

Result

When everything is done, playlist file is OVERWRITTEN!

Example usage

python3 <path-to-script> -u "http://epg.ovh/logo" -m "m3u_list.m3u" -r 0.7

Available parameters

  • -u/--url - logos source URL
  • -m/--m3u - URL/absolute path to m3u
  • -v/--verbose - enable verbose mode
  • -r/--ratio - customize similarity ratio