![]() Replace(subject string, find_regexp string, replace string) string Will return true if the subject matches the regular expression Match(subject string, regexp string) bool This will change the ID.įor filters, name and setters, the following functions are available: This is useful in case the EPG data's channel IDs don't match the channel IDs in the M3U files. This is a key value pair of channel IDs to rename within the XMLTV. This can start with file:// to retrieve a list from a local file system (this must be an absolute path). The URL of where to retrieve the EPG data. If it unable to decode the full XML, it will skip over it. Each entry in here must be able to retrieve valid XMLTV data. ![]() This is a list of providers of where to retrieve EPG data from. The same logic applies as the above filters method, and thus again, must return true/false. This again, must return a string, and has the functions and variables below available.Ī list of filters to limit this providers setter to. This is go for setting logos where none exist, and/or enforcing tvg-id in case a channel does not have one but should. ![]() Set the name for this individual channel. You can use the functions and variables below to specify your logic.ĭefault: true (meaning all channels are included)Ī list of things to set on channels based on the filter. If it returns true, it will include the channel in the final list. This must return true or false (no strings or anything else). noop is useful if you want to change the name of the channel to something else, e.g. The action to take if a stream is unavailable. Providers.check_streams.action ( remove|noop) Should the stream because available before the next run, as far as m3ufilter is concerned, this stream will stay unavailable until the next. when you're asleep for example), this shouldn't be a problem.Īnother thing to consider here is that, currently the stream available is only updated when the full update runs. If you time your updates to be when you're not watching any streams (e.g. The problem with this is that, if your provider doesn't allow many connections at the same time, your stream will likely get cut off if the check is happening while you are watching a stream, and you'll have to wait until the update is finished before you can watch it without problems. On the other hand, the GET method tries to actually retrieve zero bytes from the stream, thus this will give more accurate results. Often streams return that it is available when in reality is not. The difference here is that HEAD is less likely to be correct. Either using a HEAD request or GET request. ![]() How to validate whether a stream is available or not. If true, the stream URLs will be checked to see if they are alive before including them. Providers.check_streams.enabled ( true|false) tvg-id="Channel "1" would not be possible to parse, and will be ignored without any errors. If true, this will ignore errors when trying to parse an individual channel. Providers.ignore_parse_errors ( true|false) The URL of where to retrieve the M3U list. This is a list of providers of where to retrieve M3U lists. CSV is useful for debugging and ensuring you've gone through all the channels, outside that, you generally want this to be m3u.Ĭore.group_order ( list of string) (experimental) Please note, this will not affect rver_listen and core.update_schedule Whether or not to reload the config before every run. You can use the tool to figure out what interval you want.ĭefault: * */24 * * * (that is, once every 24 hours) It is highly recommended that you do not set this to a low interval. How often it should retrieve the latest channels. If you want single runs, you can omit this option. If set, this will run as a server, rather a single run. Replacement: find # key = what to replace it with, value = what to find bbc.uk: "BBC One " The meaning of the config options are as follows: Core config uri: file:///path/to/epg.xml channel_id_renames: name: replace(Name, "USA", "") attributes: uri: file:///path/to/m3u/playlist.m3u filters: Server_listen: localhost:8080 update_schedule: "*/24 * * * * " output: m3u group_order:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |