Advanced Config¶
Here, we'll break down all of the configuration options per section.
Main¶
Here's the main section.
uuidwill be created automatically, you need not worry about this.cache_diris handy for keeping cached files out of the script directory. This is helpful for reinstalls as well as development.
[main]
# uuid =
# cache_dir =
Streaming¶
methodcan be set toffmpeg,vlcordirect.bytes_per_readdetermines how many bytes of the stream to read before sending the data to your client. Increasing this value may cause longer load times, and lowering it may effectstuttering.origin_qualitycan be set to high,medium,low for most variants. Variants that make use of m3u8 will Autoselect High for the direct method if not set. ffmpeg/vlc will determine the best stream on their own. Some Variants can allow alternative values.transcode_qualityworks with ffmpeg/vlc to use fHDHR for handling quality instead of the origin. Valid settings include: heavy,mobile,internet720,internet480,internet360,internet240
[streaming]
# method = direct
# bytes_per_read = 1152000
# origin_quality = None
# transcode_quality = None
fhdhr¶
The fhdhr contains all the configuration options for interfacing between this script and your media platform.
addressandportare what we will allow the script to listen on.0.0.0.0is the default, and will respond to all.discovery_addressmay be helpful for making SSDP work properly. Ifaddressis not0.0.0.0, we will use that. If this is not set to a real IP, we won't run SSDP. SSDP is only really helpful for discovering in Plex/Emby. It's a wasted resource since you can manually add theip:portof the script to Plex.tuner_countis a limit of devices able to stream from the script. The default is 4.friendlynameis to set the name that Plex sees the script as.reporting_*are settings that show how the script projects itself as a hardware device.device_authandrequire_authare for an unimplemented Authentication feature.chanscan_on_startScans Origin for new channels at startup.
[fhdhr]
# address = 0.0.0.0
# discovery_address = 0.0.0.0
# port = 5004
# tuner_count = 4
# friendlyname = fHDHR
# reporting_firmware_name = fHDHR
# reporting_manufacturer = BoronDust
# reporting_model = fHDHR
# reporting_firmware_ver = 20201001
# reporting_tuner_type = Antenna
# device_auth = fHDHR
# require_auth = False
# chanscan_on_start = True
EPG¶
imagescan be set toproxyorpass. If you chooseproxy, images will be reverse proxied through fHDHR.methodwhich method(s) to use for xmltv generation.update_frequencydetermines how often we check for new scheduling information. In Seconds.reverse_daysallows Blocks of EPG data to be created prior to the start of the EPG Source data.forward_daysallows Blocks of EPG data to be created after the end of the EPG Source data.block_sizein seconds, sets the default block size for data before, after and missing timeslots.xmltv_offsetallows the final xmltv file to have an offset for users with timezone issues.
[epg]
# images = pass
# method = None
# update_frequency = 43200
# reverse_days = 1
# forward_days = 7
# block_size = 1800
# xmltv_offset = +0000
ffmpeg¶
The ffmpeg section includes:
path. This is useful if ffmpeg is not in your systems PATH, or you want to manually specify.
[ffmpeg]
# path = ffmpeg
vlc¶
The vlc section includes:
path. This is useful if vlc is not in your systems PATH, or you want to manually specify.
[vlc]
# path = cvlc
Logging¶
leveldetermines the amount of logging you wish to see in the console, as well as to the logfile (stored in your cache directory).
[logging]
# level = WARNING
Database¶
- experiment with these settings at your own risk. We use sqlalchemy to provide database options, but we default to sqlite.
Note: this section needs improvement.
[database]
# type = sqlite
# driver = None
user = None
pass = None
host = None
port = None
name = None
RMG¶
# enabled = True
SSDP¶
# enabled = True
# max_age = 1800
# proto = ipv6
# iface = None
# multicast_address = None
Last update:
2021-02-04