Update README.md
This commit is contained in:
parent
86ff9eaddb
commit
b4594323ea
11
README.md
11
README.md
|
@ -23,7 +23,7 @@ Arguments:
|
|||
|
||||
```js
|
||||
module.exports = {
|
||||
lang: 'fr', // program language (default: 'en')
|
||||
lang: 'fr', // default language for all programs (default: 'en')
|
||||
site: 'example.com', // site domain name (required)
|
||||
output: 'example.com.guide.xml', // path to output file (default: 'guide.xml')
|
||||
channels: 'example.com.channels.xml', // path to channels.xml file (required)
|
||||
|
@ -63,7 +63,8 @@ module.exports = {
|
|||
start, // program start time (required)
|
||||
stop, // program end time (optional)
|
||||
description, // program description (optional)
|
||||
category // program category (optional)
|
||||
category, // program category (optional)
|
||||
lang // program language (default: 'en')
|
||||
},
|
||||
...
|
||||
]
|
||||
|
@ -83,6 +84,12 @@ module.exports = {
|
|||
</site>
|
||||
```
|
||||
|
||||
You can also specify the language and logo for each channel individually, like so:
|
||||
|
||||
```xml
|
||||
<channel site_id="france-24" xmltv_id="France24.fr" lang="fr" logo="https://example.com/france24.png">France 24</channel>
|
||||
```
|
||||
|
||||
## Contribution
|
||||
|
||||
If you find a bug or want to contribute to the code or documentation, you can help by submitting an [issue](https://github.com/freearhey/epg-grabber/issues) or a [pull request](https://github.com/freearhey/epg-grabber/pulls).
|
||||
|
|
Loading…
Reference in New Issue