mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 12:56:57 -05:00
5.5 KiB
5.5 KiB
Main | Setup and Usage | NextPVR | Credits/Related Projects
fun Home Distribution Hiatus Recreation
Basic Configuration | Advanced Configuration | WebUI
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 3, as per Locast's documentation. A 4th is possible, but is not reccomended.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-Locast
# reporting_firmware_name = fHDHR_Locast
# 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.methoddefaults tooriginand will pull the xmltv data from Locast. Other Options includeblockswhich is an hourly schedule with minimal channel information. Another option iszap2it, which is another source of EPG information. Channel Numbers may need to be manually mapped.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 = origin
# update_frequency = 43200
# reverse_days = -1
# forward_days = 7
# block_size = 1800
# xmltv_offset = +0000
ffmpeg
The ffmpeg section includes:
pathis useful if ffmpeg is not in your systems PATH, or you want to manually specify.
[ffmpeg]
# path = ffmpeg
vlc
The vlc section includes:
pathis useful if ffmpeg 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.
TODO: improve documentation here.
[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
NextPVR
The nextpvr section
- What
addressto contact nextpvrat. - what
portdoes nextpvruse - does nextpvruse
ssl? pinis a required credential.
[nextpvr]
address = localhost
port = 8866
ssl =
pin =
zap2it
zap2it contains a ton of configuration options, and defaults to options that in my experience don't need to be adjusted.
postalcodeis a value of importance, and is helpful. If not set, the script will attempt to retrieve your postalcode automatically.
[zap2it]
# delay = 5
# postalcode = None
# affiliate_id = gapzap
# country = USA
# device = -
# headendid = lineupId
# isoverride = True
# languagecode = en
# pref =
# timespan = 6
# timezone =
# userid = -