Simple Python script that matches IPTV channels with provided logo URLs.
__main__.py | ||
image.png | ||
LICENSE | ||
README.md | ||
requirements.txt |
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?
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