mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 18:36:58 -05:00
4.4 KiB
4.4 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 =
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.friendlynameis to set the name that Plex sees the script as.stream_typecan be set toffmpeg,vlcordirect.
[fhdhr]
# address = 0.0.0.0
# discovery_address = 0.0.0.0
# port = 5004
# stream_type = direct
# tuner_count = 4
# friendlyname = fHDHR-NextPVR
# reporting_firmware_name = fHDHR_NextPVR
# reporting_manufacturer = BoronDust
# reporting_model = fHDHR
# reporting_firmware_ver = 20201001
# reporting_tuner_type = Antenna
# device_auth = fHDHR
EPG
imagescan be set toproxyorpass. If you chooseproxy, images will be reverse proxied through fHDHR.methoddefaults tooriginand will pull the xmltv data from NextPVR. 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_frequency*epg_update_frequencydetermines how often we check for new scheduling information. In Seconds.
[epg]
# images = pass
# method = origin
# update_frequency = 43200
ffmpeg
The ffmpeg section includes:
pathis useful if ffmpeg is not in your systems PATH, or you want to manually specify.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.
[ffmpeg]
# path = ffmpeg
# bytes_per_read = 1152000
vlc
The vlc section includes:
pathis useful if ffmpeg is not in your systems PATH, or you want to manually specify.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.
[vlc]
# path = ffmpeg
# bytes_per_read = 1152000
direct_stream
The direct_stream section is for when you set the [fhdhr]stream_type to direct
chunksizeis how much data to read at a time.
[direct_stream]
# chunksize = 1024*1024
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
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 = -