m3u-logo-matcher/README.md
2024-01-14 20:29:27 +01:00

874 B

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