m3u-logo-matcher/README.md

39 lines
812 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
python3 <path-to-script> -u "<logos URL>" -m "<m3u URL/path>"
```
### 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
python3 <path-to-script> -u "http://epg.ovh/logo" -m "m3u_list.m3u"
```
### Available parameters
- -u/--url - logos source URL
- -m/--m3u - URL/absolute path to m3u
- -v/--verbose - enable verbose mode