m3u-logo-matcher/README.md

40 lines
874 B
Markdown
Raw Normal View History

2024-01-10 09:56:10 -06:00
## M3U Logo Matcher
2024-01-14 11:09:53 -06:00
Simple script that will match logos with TV programmes provided by you.
2024-01-10 09:56:10 -06:00
2024-01-10 10:05:52 -06:00
### NOTE!
This may **NOT** be 100% accurate.
### Based on
- urllib
- pathlib
- difflib
2024-01-14 11:09:53 -06:00
- [ipytv](https://github.com/Beer4Ever83/ipytv)
2024-01-10 10:05:52 -06:00
- re
- os
2024-01-10 09:56:10 -06:00
### Usage
```bash
2024-01-14 13:29:27 -06:00
python3 <path-to-script> -u "<logos URL>" -m "<m3u URL/path>" (-r <ratio>)
2024-01-10 09:56:10 -06:00
```
### Supported logo providers
Any that display logos as a file tree. A good example is [this provider](http://epg.ovh/logo).
"as a file tree". What does it mean?
![Alt text](image.png)
### Result
2024-01-14 11:09:53 -06:00
When everything is done, playlist file is **OVERWRITTEN**!
2024-01-10 09:56:10 -06:00
### Example usage
```bash
2024-01-14 13:29:27 -06:00
python3 <path-to-script> -u "http://epg.ovh/logo" -m "m3u_list.m3u" -r 0.7
2024-01-10 09:56:10 -06:00
```
### Available parameters
- -u/--url - logos source URL
- -m/--m3u - URL/absolute path to m3u
2024-01-14 13:29:27 -06:00
- -v/--verbose - enable verbose mode
- -r/--ratio - customize similarity ratio