G Kazaroth wrote:
> Two things I noticed.
>
The biggest is you missed the step in the Installation on how to add an instance. See "Edit the data/config.ini and add the following lines" in the Readme.
> Second is we recommend mounting the entire cabernet folder due to the conflict between Cabernet installing plugins and doing upgrades and docker wanting to maintain the files. See docker-compose.yml
>
> Cabernet is a different type of app in that the plugin is considered a class with static variables, while a plugin instance is the class object needed to run the plugin. You can instantiate multiple plugin objects/instances, but that does not make a lot of sense unless you are talking about the M3U plugin. In your case, you have yet to create a class object or instance, so there is nothing for the plugin to do.
Thanks for replying.
I did try mapping the /app but when i do the folders are empty.
I had to do it like this to get all the folders to show in my docker folder
cabernet:
container_name: cabernet
image: ghcr.io/cabernetwork/cabernet:latest
network_mode: host
environment:
- TZ=Australia/Brisbane
- PUID=1000
- PGID=1000
ports:
- "5004:5004" # Port used to stream
- "6077:6077" # Web Interface Port
restart: unless-stopped
volumes:
- /media/nas/dockerfiles/dockerconfig/cabernet/data:/app/data
- /media/nas/dockerfiles/dockerconfig/cabernet/plugins_ext:/app/plugins_ext
- /media/nas/dockerfiles/dockerconfig/cabernet/plugins:/app/plugins
So now.. onto the config.ini.
Is there any guide on what can and cannot be put in there?
I looked on the github and found a post which was helpful.
Here is my config.ini
[loggers]
keys = root
[logger_root]
level = DEBUG
handlers = loghandler
[handlers]
keys = loghandler, filehandler
[formatters]
keys = extend,simple
[handler_filehandler]
enabled = False
level = INFO
formatter = extend
class = lib.common.log_handlers.MPRotatingFileHandler
args = (os.getenv('LOGS_DIR','data/logs')+'/cabernet.log', 'a', 10000000, 10)
[handler_loghandler]
enabled = True
level = WARNING
class = StreamHandler
formatter = extend
args = (sys.stdout,)
[formatter_extend]
format = %(asctime)s-%(levelname)s:%(module)s %(message)s
[formatter_simple]
format = %(levelname)s:%(module)s %(message)s
[main]
uuid = D4F0F08C-3204-11EE-B9F2-A01D48C75C55
maintenance_mode = False
[tvguide]
enabled = True
[tvguide_default]
label = TVGuide Instance
enabled = True
[hdhomerun]
hdhr_id = 105D13F2
[daddylive]
hdhr_id = 10568DA3
enabled = True
epg-plugin = None
[daddylive_default]
label = DaddyLive Instance
enabled = True
channel-import_groups = False
player-enable_url_filter = False
channel-start_ch_num = 2000
[tvguide_daddylive]
label = TVGuide DaddyLive
enabled = True
[plutotv]
hdhr_id = 105059A4
enabled = True
epg-plugin = ALL
[plutotv_default]
enabled = True
label = plutotv_default
epg-plugin = ALL
channel-thumbnail = colorLogoPNG
epg-enabled = True
channel-start_ch_num = 1000
[tvguide_plutotv]
label = TVGuide PlutoTV
enabled = True
Anything i'm missing/doing wrong?