Project

General

Profile

PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance)

Added by G Kazaroth over 1 year ago

Cabernet for (Cable Network) version 0.9.7 (2/16/2022)
PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex

Provides a configurable interface from providers to TVHeadend.

  • Direct plugin for USTVGO, PlutoTV, XUMO
  • M3U Plugin provides channels for: SamsungTVPlus, Plex, Binge, DStv, Foxtel, Kayo, Optus, PBS, Singtel, SkyGo, SkySportsNow, Stirr, and others
  • From: https://i.mjh.nz/
  • Import your own M3U file

https://github.com/cabernetwork/cabernet/releases
Working on getting a service that will take the PlutoTV or XUMO server stream, clean it and feed it into TVHeadend and other DVRs (Also tested on Emby, JellyFin and Plex). It works on the subscription and free versions. Also it runs on Linux and Windows as a service. Windows has a installer. Once installed, setup is easy with TVHeadend.
1) Setup the automatic IPTV network (recommend new URL is http://[host]:6077/PlutoTV/channels.m3u)

Make sure to set the "Maximum # input streams". PlutoTV is set to a max of 4 and tvheadend uses 2 per tuner during initial screening. Doing a force scan will create the mux and service values. Also, turn View level to Advanced and set the Re-fetch period (mins) to a very large number. TVheadend has a tenancy to cause issues when channels change (Changed Services will not be mapped to channels). The Maximum Timeout is used to wait for a reply during a Forced scan. Recommend keep this low, like 15-20 seconds. Some of the channels may fail, but it is faster than having a high setting and waiting for all channels to scan. Just individually rescan those that failed by setting each mux back to PEND from IDLE.
2) Next you can setup the grabber. I use a URL grabber written in Unix bash and is an extremely small file. It can be found in the github repo at
https://github.com/cabernetwork/cabernet/tree/master/lib/tvheadend/service/Unix called tv_grab_url
Place the grabber file in the same location as the other TVHeadend tv_grab* files, change the permissions to executable and restart TVHeadend. This should allow TVHeadend to pickup the new grabber. While in the grabber list, make sure and disable any OTA grabbers. Stations no longer send this information and will only cause TVHeadend to use a tuner for scanning. Displaying the log window by clicking the three ^ in the bottom right is helpful at this time.

Have the grabber run and populate the EPG data into the EPG Grabber Channels tab. The log should show a quantity of channels were detected.
Pop over to the EPG Grabber tab and disable the OTA grabber cron. Also, update/replace the Internal grabber cron schedule using something like below. The example will pull the TV guide at 6:04am and 5:52pm. Add more if you need. It is recommended to use static cron times.

4 6 * * *
52 17 * * *

3) In the Channel view, select Map all channels.

This will tie the services, EPG and channels together, automatically. After this, re-grab the EPG data. This will populate the EPG tab with shows. For TVH version 4.3, the Number column will auto-populate. For TVH 4.2, you will need to manually add channel numbers.
4) Display the TVGUIDE. This appliance has special features which maps the tvheadend genre, giving colors on tvguides. It also has enhanced guide descriptions and optional additional channel notations if you use many streams. Below is the Kodi tvguide using the pvr.hts plugin.

For Kodi, go to the settings for PVR and turn on the General setting "Use channel numbers from backend".


Replies (753)

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

OK so I got Plex to access the channels from PlutoTV, its loading the guide data at the moment. On Cabernet, when I go to Channel Editor now it shows USTVGO with the channels so we'll see if they show up on Plex. Now my other question is; is it possible to add VPN login info to be able to watch the channels that require VPN access? I have NordVPN. This is the the DEBUG log is showing:

2022-05-06 17:56:07,392-INFO:user_config Loading Configuration File: /app/data/config.ini
2022-05-06 17:56:17,950-WARNING:main #########################################
2022-05-06 17:56:17,950-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546
2022-05-06 17:56:17,950-NOTICE:main Cabernet v0.9.7.3
2022-05-06 17:56:17,951-INFO:main Getting Plugins...
2022-05-06 17:56:17,951-DEBUG:plugin_handler Plugin Defn file loaded
2022-05-06 17:56:17,956-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_m3u
2022-05-06 17:56:18,775-DEBUG:db config_defn database closed for thread:139780781386568
2022-05-06 17:56:18,775-DEBUG:config_defn Database terminated for thread:139780781386568
2022-05-06 17:56:18,991-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_m3u
2022-05-06 17:56:19,474-INFO:plugin No instances found, disabling plugin M3U
2022-05-06 17:56:19,475-NOTICE:plugin Plugin created for M3U
2022-05-06 17:56:19,476-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_plutotv
2022-05-06 17:56:20,108-DEBUG:db config_defn database closed for thread:139780781386568
2022-05-06 17:56:20,108-DEBUG:config_defn Database terminated for thread:139780781386568
2022-05-06 17:56:20,324-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_plutotv
2022-05-06 17:56:21,724-NOTICE:plugin Plugin created for PlutoTV
2022-05-06 17:56:21,725-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_ustvgo
2022-05-06 17:56:22,232-DEBUG:db config_defn database closed for thread:139780781386568
2022-05-06 17:56:22,233-DEBUG:config_defn Database terminated for thread:139780781386568
2022-05-06 17:56:22,535-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_ustvgo
2022-05-06 17:56:23,024-INFO:plugin No instances found, disabling plugin USTVGO
2022-05-06 17:56:23,024-NOTICE:plugin Plugin created for USTVGO
2022-05-06 17:56:23,025-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_xumo
2022-05-06 17:56:23,673-DEBUG:db config_defn database closed for thread:139780781386568
2022-05-06 17:56:23,674-DEBUG:config_defn Database terminated for thread:139780781386568
2022-05-06 17:56:23,907-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_xumo
2022-05-06 17:56:24,487-INFO:plugin No instances found, disabling plugin XUMO
2022-05-06 17:56:24,487-NOTICE:plugin Plugin created for XUMO
2022-05-06 17:56:24,488-INFO:plugin_handler Plugin M3U is disabled in config.ini
2022-05-06 17:56:24,491-DEBUG:plugin_obj Initializing plugin PlutoTV
2022-05-06 17:56:24,493-INFO:plugin_handler Plugin USTVGO is disabled in config.ini
2022-05-06 17:56:24,493-INFO:plugin_handler Plugin XUMO is disabled in config.ini
2022-05-06 17:56:24,511-NOTICE:main Starting admin website on 172.17.0.2:6077
2022-05-06 17:56:24,520-DEBUG:decorators Registering GET URL: /api/data_mgmt
2022-05-06 17:56:24,521-DEBUG:decorators Registering GET URL: /background
2022-05-06 17:56:24,521-DEBUG:decorators Registering GET URL: /api/index.js
2022-05-06 17:56:24,522-DEBUG:decorators Registering GET URL: /html/index.html
2022-05-06 17:56:24,523-DEBUG:decorators Registering GET URL: /
2022-05-06 17:56:24,523-DEBUG:decorators Registering GET URL: /favicon.ico
2022-05-06 17:56:24,524-DEBUG:decorators Registering GET URL: /api/dashstatus.json
2022-05-06 17:56:24,524-DEBUG:decorators Registering GET URL: /xmltv.xml
2022-05-06 17:56:24,525-DEBUG:decorators Registering GET URL: /playlist
2022-05-06 17:56:24,526-DEBUG:decorators Registering GET URL: /channels.m3u
2022-05-06 17:56:24,526-DEBUG:decorators Registering GET URL: /lineup.xml
2022-05-06 17:56:24,527-DEBUG:decorators Registering GET URL: /lineup.json
2022-05-06 17:56:24,527-DEBUG:decorators Registering GET URL: /api/channels
2022-05-06 17:56:24,528-DEBUG:decorators Registering GET URL: /api/channels_form
2022-05-06 17:56:24,529-DEBUG:decorators Registering GET URL: /discover.json
2022-05-06 17:56:24,529-DEBUG:decorators Registering GET URL: /device.xml
2022-05-06 17:56:24,530-DEBUG:decorators Registering GET URL: /lineup_status.json
2022-05-06 17:56:24,530-DEBUG:decorators Registering GET URL: /api/configform
2022-05-06 17:56:24,531-DEBUG:decorators Registering GET URL: /tunerstatus
2022-05-06 17:56:24,532-DEBUG:decorators Registering GET URL: /api/upgrade
2022-05-06 17:56:24,532-DEBUG:decorators Registering GET URL: /config.json
2022-05-06 17:56:24,533-DEBUG:decorators Registering GET URL: /api/schedulehtml
2022-05-06 17:56:24,533-DEBUG:decorators Registering GET URL: /api/scheduler
2022-05-06 17:56:24,534-DEBUG:decorators Registering GET URL: /api/restart
2022-05-06 17:56:24,534-DEBUG:decorators Registering POST URL: /api/data_mgmt
2022-05-06 17:56:24,535-DEBUG:decorators Registering POST URL: /api/channels_form
2022-05-06 17:56:24,535-DEBUG:decorators Registering POST URL: /lineup.post
2022-05-06 17:56:24,536-DEBUG:decorators Registering POST URL: /api/configform
2022-05-06 17:56:24,536-DEBUG:decorators Registering POST URL: /api/schedulehtml
2022-05-06 17:56:24,537-DEBUG:decorators Registering GET URL: /html/
2022-05-06 17:56:24,537-DEBUG:decorators Registering GET URL: /images/
2022-05-06 17:56:24,538-DEBUG:decorators Registering GET URL: /modules/
2022-05-06 17:56:24,539-DEBUG:decorators Registering GET URL: /temp/
2022-05-06 17:56:24,539-DEBUG:web_handler Now listening for requests. Number of listeners=8
2022-05-06 17:56:24,614-NOTICE:main Starting streaming tuner website on 172.17.0.2:5004
2022-05-06 17:56:24,621-DEBUG:web_tuner TunerHttpHandler Implementing 3 tuners for M3U
2022-05-06 17:56:24,622-DEBUG:web_tuner TunerHttpHandler Implementing 3 tuners for PlutoTV
2022-05-06 17:56:24,623-DEBUG:web_tuner TunerHttpHandler Implementing 4 tuners for USTVGO
2022-05-06 17:56:24,624-DEBUG:web_tuner TunerHttpHandler Implementing 3 tuners for XUMO
2022-05-06 17:56:24,626-DEBUG:web_handler Now listening for requests. Number of listeners=13
2022-05-06 17:56:24,821-NOTICE:main Cabernet is now online.
2022-05-06 17:56:25,100-NOTICE:scheduler Running inline task Channels:Refresh PlutoTV Channels
2022-05-06 17:56:25,105-DEBUG:plugin_channels Channel data still new for PlutoTV default, not refreshing
2022-05-06 17:56:25,723-NOTICE:scheduler Running threaded task Applications:Check for Updates
2022-05-06 17:56:25,882-NOTICE:scheduler Running threaded task EPG:Refresh PlutoTV EPG
2022-05-06 17:56:25,885-DEBUG:plugin_epg EPG still new for PlutoTV default, not refreshing
2022-05-06 17:56:32,370-INFO:web_handler [172.17.0.1] "GET /html/index.html HTTP/1.1" 200 -
2022-05-06 17:56:32,498-INFO:web_handler [172.17.0.1] "GET /modules/layout.css HTTP/1.1" 200 -
2022-05-06 17:56:32,512-INFO:web_handler [172.17.0.1] "GET /modules/navdrawer/navdrawer.css HTTP/1.1" 200 -
2022-05-06 17:56:32,529-INFO:web_handler [172.17.0.1] "GET /modules/emby-elements/emby-collapse/emby-collapse.css HTTP/1.1" 200 -
2022-05-06 17:56:32,539-INFO:web_handler [172.17.0.1] "GET /modules/fonts/fonts.css HTTP/1.1" 200 -
2022-05-06 17:56:32,540-INFO:web_handler [172.17.0.1] "GET /modules/fonts/material-icons/style.css HTTP/1.1" 200 -
2022-05-06 17:56:32,541-INFO:web_handler [172.17.0.1] "GET /modules/emby-elements/emby-button/emby-button.css HTTP/1.1" 200 -
2022-05-06 17:56:32,543-INFO:web_handler [172.17.0.1] "GET /modules/scrollstyles.css HTTP/1.1" 200 -
2022-05-06 17:56:32,555-INFO:web_handler [172.17.0.1] "GET /modules/flexstyles.css HTTP/1.1" 200 -
2022-05-06 17:56:32,556-INFO:web_handler [172.17.0.1] "GET /modules/backdrop/style.css HTTP/1.1" 200 -
2022-05-06 17:56:32,557-INFO:web_handler [172.17.0.1] "GET /modules/navdrawer/navdrawer.js HTTP/1.1" 200 -
2022-05-06 17:56:32,560-INFO:web_handler [172.17.0.1] "GET /api/index.js HTTP/1.1" 200 -
2022-05-06 17:56:33,614-INFO:web_handler [172.17.0.1] "GET /modules/themes/spring/theme.css HTTP/1.1" 200 -
2022-05-06 17:56:33,615-INFO:web_handler [172.17.0.1] "GET /modules/themes/spring/theme.js HTTP/1.1" 200 -
2022-05-06 17:56:33,664-INFO:web_handler [172.17.0.1] "GET /modules/dashboard/dashboard.css HTTP/1.1" 200 -
2022-05-06 17:56:33,666-INFO:web_handler [172.17.0.1] "GET /modules/dashboard/dashboard.js HTTP/1.1" 200 -
2022-05-06 17:56:33,671-INFO:web_handler [172.17.0.1] "GET /modules/table/table.css HTTP/1.1" 200 -
2022-05-06 17:56:33,687-INFO:web_handler [172.17.0.1] "GET /modules/themes/logowhite.png HTTP/1.1" 200 -
2022-05-06 17:56:34,729-INFO:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 -
2022-05-06 17:56:34,733-INFO:web_handler [172.17.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -
2022-05-06 17:56:35,737-INFO:web_handler [172.17.0.1] "GET /background HTTP/1.1" 200 -
2022-05-06 17:56:39,845-INFO:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 -
2022-05-06 17:56:39,849-INFO:web_handler [172.17.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -
2022-05-06 17:56:47,917-INFO:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 -
2022-05-06 17:56:47,921-INFO:web_handler [172.17.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -
2022-05-06 17:56:58,796-INFO:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 -
2022-05-06 17:56:58,799-INFO:web_handler [172.17.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -
2022-05-06 17:57:12,978-INFO:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 -
2022-05-06 17:57:12,982-INFO:web_handler [172.17.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -
2022-05-06 17:57:30,162-INFO:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 -
2022-05-06 17:57:30,165-INFO:web_handler [172.17.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -
2022-05-06 17:57:37,793-INFO:web_handler [172.17.0.1] "GET /api/configform?area=providers HTTP/1.1" 200 -
2022-05-06 17:57:37,830-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.css HTTP/1.1" 200 -
2022-05-06 17:57:37,830-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 17:57:37,861-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 17:57:37,936-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 17:59:10,673-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup.json HTTP/1.1" 200 -
2022-05-06 17:59:12,439-INFO:web_handler [192.168.69.111] "GET /PlutoTV/discover.json HTTP/1.1" 200 -
2022-05-06 17:59:12,442-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:13,714-INFO:web_handler [172.17.0.1] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:13,717-INFO:web_handler [172.17.0.1] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:19,543-INFO:web_handler [192.168.69.111] "GET /PlutoTV/discover.json HTTP/1.1" 200 -
2022-05-06 17:59:19,548-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:20,811-INFO:web_handler [172.17.0.1] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:20,815-INFO:web_handler [172.17.0.1] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:26,606-INFO:web_handler [192.168.69.111] "GET /PlutoTV/discover.json HTTP/1.1" 200 -
2022-05-06 17:59:26,608-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:27,874-INFO:web_handler [172.17.0.1] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:27,878-INFO:web_handler [172.17.0.1] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:33,660-INFO:web_handler [192.168.69.111] "GET /PlutoTV/discover.json HTTP/1.1" 200 -
2022-05-06 17:59:33,663-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:34,926-INFO:web_handler [172.17.0.1] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:34,930-INFO:web_handler [172.17.0.1] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:40,782-INFO:web_handler [192.168.69.111] "GET /PlutoTV/discover.json HTTP/1.1" 200 -
2022-05-06 17:59:40,785-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:41,062-INFO:web_handler [192.168.69.111] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:41,066-INFO:web_handler [192.168.69.111] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:42,052-INFO:web_handler [172.17.0.1] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:42,056-INFO:web_handler [172.17.0.1] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:42,332-INFO:web_handler [192.168.69.111] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:42,338-INFO:web_handler [192.168.69.111] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:43,706-INFO:web_handler [192.168.69.111] "GET /lineup.json HTTP/1.1" 200 -
2022-05-06 17:59:47,839-INFO:web_handler [192.168.69.111] "GET /PlutoTV/discover.json HTTP/1.1" 200 -
2022-05-06 17:59:47,843-INFO:web_handler [192.168.69.111] "GET /PlutoTV/lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:49,114-INFO:web_handler [172.17.0.1] "GET /discover.json HTTP/1.1" 200 -
2022-05-06 17:59:49,121-INFO:web_handler [172.17.0.1] "GET /lineup_status.json HTTP/1.1" 200 -
2022-05-06 17:59:50,644-INFO:web_handler [192.168.69.111] "GET /lineup.json HTTP/1.1" 200 -
2022-05-06 17:59:54,548-INFO:web_handler [192.168.69.111] "GET /lineup.json HTTP/1.1" 200 -
2022-05-06 18:01:28,924-INFO:web_handler [192.168.69.111] "GET /lineup.json HTTP/1.1" 200 -
2022-05-06 18:04:51,799-DEBUG:web_admin Receiving POST form /api/configform None
2022-05-06 18:04:52,068-INFO:web_handler [172.17.0.1] "POST /api/configform HTTP/1.1" 200 -
2022-05-06 18:04:54,565-INFO:web_handler [172.17.0.1] "GET /api/configform?area=general HTTP/1.1" 200 -
2022-05-06 18:04:54,591-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:04:54,623-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:04:54,658-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:04:56,840-INFO:web_handler [172.17.0.1] "GET /html/links.html HTTP/1.1" 200 -
2022-05-06 18:04:59,815-INFO:web_handler [172.17.0.1] "GET /channels.m3u HTTP/1.1" 200 -
2022-05-06 18:05:01,540-INFO:web_handler [172.17.0.1] "GET /channels.m3u HTTP/1.1" 200 -
2022-05-06 18:05:23,153-INFO:web_handler [172.17.0.1] "GET /channels.m3u HTTP/1.1" 200 -
2022-05-06 18:08:05,164-INFO:web_handler [172.17.0.1] "GET /api/configform?area=providers HTTP/1.1" 200 -
2022-05-06 18:08:05,211-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:08:05,250-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:08:05,290-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:08:08,655-DEBUG:web_admin Receiving POST form /api/configform None
2022-05-06 18:08:08,904-INFO:web_handler [172.17.0.1] "POST /api/configform HTTP/1.1" 200 -
2022-05-06 18:08:09,914-INFO:web_handler [172.17.0.1] "GET /api/configform?area=general HTTP/1.1" 200 -
2022-05-06 18:08:09,947-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:08:09,992-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:08:10,035-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:08:10,486-INFO:web_handler [172.17.0.1] "GET /api/configform?area=providers HTTP/1.1" 200 -
2022-05-06 18:08:10,516-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:08:10,551-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:08:10,591-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:08:14,160-DEBUG:web_admin Receiving POST form /api/configform None
2022-05-06 18:08:14,420-INFO:web_handler [172.17.0.1] "POST /api/configform HTTP/1.1" 200 -
2022-05-06 18:08:18,711-INFO:web_handler [172.17.0.1] "GET /api/channels HTTP/1.1" 200 -
2022-05-06 18:08:18,742-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:08:18,982-INFO:web_handler [172.17.0.1] "GET /modules/channels/channels.js HTTP/1.1" 200 -
2022-05-06 18:08:21,490-INFO:web_handler [172.17.0.1] "GET /api/channels_form?name=PlutoTV HTTP/1.1" 200 -
2022-05-06 18:08:22,285-INFO:web_handler [172.17.0.1] "GET /modules/channels/channelsform.css HTTP/1.1" 200 -
2022-05-06 18:08:22,294-INFO:web_handler [172.17.0.1] "GET /modules/channels/channelsform.js HTTP/1.1" 200 -
2022-05-06 18:08:22,295-INFO:web_handler [172.17.0.1] "GET /modules/table/asc_w.gif HTTP/1.1" 200 -
2022-05-06 18:08:22,296-INFO:web_handler [172.17.0.1] "GET /modules/table/both_w.gif HTTP/1.1" 200 -
2022-05-06 18:08:22,509-INFO:web_handler [172.17.0.1] "GET /modules/table/table.js HTTP/1.1" 200 -
2022-05-06 18:10:45,006-INFO:user_config Loading Configuration File: /app/data/config.ini
2022-05-06 18:10:56,727-WARNING:main #########################################
2022-05-06 18:10:56,728-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546
2022-05-06 18:10:56,728-NOTICE:main Cabernet v0.9.7.3
2022-05-06 18:10:56,729-INFO:main Getting Plugins...
2022-05-06 18:10:56,729-DEBUG:plugin_handler Plugin Defn file loaded
2022-05-06 18:10:56,732-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_m3u
2022-05-06 18:10:57,286-DEBUG:db config_defn database closed for thread:140669550963528
2022-05-06 18:10:57,286-DEBUG:config_defn Database terminated for thread:140669550963528
2022-05-06 18:10:57,544-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_m3u
2022-05-06 18:10:58,119-INFO:plugin No instances found, disabling plugin M3U
2022-05-06 18:10:58,119-NOTICE:plugin Plugin created for M3U
2022-05-06 18:10:58,120-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_plutotv
2022-05-06 18:10:58,969-DEBUG:db config_defn database closed for thread:140669550963528
2022-05-06 18:10:58,969-DEBUG:config_defn Database terminated for thread:140669550963528
2022-05-06 18:10:59,211-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_plutotv
2022-05-06 18:11:00,960-NOTICE:plugin Plugin created for PlutoTV
2022-05-06 18:11:00,963-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_ustvgo
2022-05-06 18:11:01,635-DEBUG:db config_defn database closed for thread:140669550963528
2022-05-06 18:11:01,635-DEBUG:config_defn Database terminated for thread:140669550963528
2022-05-06 18:11:02,096-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_ustvgo
2022-05-06 18:11:03,618-NOTICE:plugin Plugin created for USTVGO
2022-05-06 18:11:03,619-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_xumo
2022-05-06 18:11:04,410-DEBUG:db config_defn database closed for thread:140669550963528
2022-05-06 18:11:04,410-DEBUG:config_defn Database terminated for thread:140669550963528
2022-05-06 18:11:04,853-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_xumo
2022-05-06 18:11:05,784-INFO:plugin No instances found, disabling plugin XUMO
2022-05-06 18:11:05,785-NOTICE:plugin Plugin created for XUMO
2022-05-06 18:11:05,786-INFO:plugin_handler Plugin M3U is disabled in config.ini
2022-05-06 18:11:05,789-DEBUG:plugin_obj Initializing plugin PlutoTV
2022-05-06 18:11:07,467-DEBUG:plugin_obj Initializing plugin USTVGO
2022-05-06 18:11:07,468-DEBUG:db Creating new database: epg_programs /app/data/db/epg_programs.db
2022-05-06 18:11:07,651-INFO:plugin_handler Plugin XUMO is disabled in config.ini
2022-05-06 18:11:07,684-NOTICE:main Starting admin website on 172.17.0.2:6077
2022-05-06 18:11:07,699-DEBUG:decorators Registering GET URL: /api/data_mgmt
2022-05-06 18:11:07,700-DEBUG:decorators Registering GET URL: /background
2022-05-06 18:11:07,700-DEBUG:decorators Registering GET URL: /api/index.js
2022-05-06 18:11:07,701-DEBUG:decorators Registering GET URL: /html/index.html
2022-05-06 18:11:07,701-DEBUG:decorators Registering GET URL: /
2022-05-06 18:11:07,701-DEBUG:decorators Registering GET URL: /favicon.ico
2022-05-06 18:11:07,701-DEBUG:decorators Registering GET URL: /api/dashstatus.json
2022-05-06 18:11:07,702-DEBUG:decorators Registering GET URL: /xmltv.xml
2022-05-06 18:11:07,702-DEBUG:decorators Registering GET URL: /playlist
2022-05-06 18:11:07,702-DEBUG:decorators Registering GET URL: /channels.m3u
2022-05-06 18:11:07,702-DEBUG:decorators Registering GET URL: /lineup.xml
2022-05-06 18:11:07,703-DEBUG:decorators Registering GET URL: /lineup.json
2022-05-06 18:11:07,704-DEBUG:decorators Registering GET URL: /api/channels
2022-05-06 18:11:07,705-DEBUG:decorators Registering GET URL: /api/channels_form
2022-05-06 18:11:07,705-DEBUG:decorators Registering GET URL: /discover.json
2022-05-06 18:11:07,705-DEBUG:decorators Registering GET URL: /device.xml
2022-05-06 18:11:07,705-DEBUG:decorators Registering GET URL: /lineup_status.json
2022-05-06 18:11:07,706-DEBUG:decorators Registering GET URL: /api/configform
2022-05-06 18:11:07,706-DEBUG:decorators Registering GET URL: /tunerstatus
2022-05-06 18:11:07,706-DEBUG:decorators Registering GET URL: /api/upgrade
2022-05-06 18:11:07,714-DEBUG:decorators Registering GET URL: /config.json
2022-05-06 18:11:07,715-DEBUG:decorators Registering GET URL: /api/schedulehtml
2022-05-06 18:11:07,716-DEBUG:decorators Registering GET URL: /api/scheduler
2022-05-06 18:11:07,717-DEBUG:decorators Registering GET URL: /api/restart
2022-05-06 18:11:07,717-DEBUG:decorators Registering POST URL: /api/data_mgmt
2022-05-06 18:11:07,718-DEBUG:decorators Registering POST URL: /api/channels_form
2022-05-06 18:11:07,718-DEBUG:decorators Registering POST URL: /lineup.post
2022-05-06 18:11:07,719-DEBUG:decorators Registering POST URL: /api/configform
2022-05-06 18:11:07,719-DEBUG:decorators Registering POST URL: /api/schedulehtml
2022-05-06 18:11:07,719-DEBUG:decorators Registering GET URL: /html/
2022-05-06 18:11:07,720-DEBUG:decorators Registering GET URL: /images/
2022-05-06 18:11:07,720-DEBUG:decorators Registering GET URL: /modules/
2022-05-06 18:11:07,721-DEBUG:decorators Registering GET URL: /temp/
2022-05-06 18:11:07,721-DEBUG:web_handler Now listening for requests. Number of listeners=8
2022-05-06 18:11:07,788-NOTICE:main Starting streaming tuner website on 172.17.0.2:5004
2022-05-06 18:11:07,803-DEBUG:web_tuner TunerHttpHandler Implementing 3 tuners for M3U
2022-05-06 18:11:07,803-DEBUG:web_tuner TunerHttpHandler Implementing 3 tuners for PlutoTV
2022-05-06 18:11:07,804-DEBUG:web_tuner TunerHttpHandler Implementing 4 tuners for USTVGO
2022-05-06 18:11:07,804-DEBUG:web_tuner TunerHttpHandler Implementing 3 tuners for XUMO
2022-05-06 18:11:07,806-DEBUG:web_handler Now listening for requests. Number of listeners=13
2022-05-06 18:11:07,997-NOTICE:main Cabernet is now online.
2022-05-06 18:11:08,142-NOTICE:scheduler Running inline task Channels:Refresh PlutoTV Channels
2022-05-06 18:11:08,147-DEBUG:plugin_channels Channel data still new for PlutoTV default, not refreshing
2022-05-06 18:11:08,792-NOTICE:scheduler Running threaded task Applications:Check for Updates
2022-05-06 18:11:09,076-NOTICE:scheduler Running inline task Channels:Refresh USTVGO Channels
2022-05-06 18:11:09,095-INFO:channels USTVGO: Found 90 stations on instance test
2022-05-06 18:11:17,153-INFO:channels USTVGO VPN, ignoring channel AE:A&E
2022-05-06 18:11:31,501-INFO:channels USTVGO VPN, ignoring channel BET:BET
2022-05-06 18:11:43,389-INFO:channels USTVGO VPN, ignoring channel CBS:CBS
2022-05-06 18:12:12,542-INFO:channels USTVGO VPN, ignoring channel Discovery:Discovery
2022-05-06 18:12:28,299-INFO:channels USTVGO VPN, ignoring channel ESPN:ESPN
2022-05-06 18:12:54,143-INFO:channels USTVGO VPN, ignoring channel FS1:Fox Sports 1
2022-05-06 18:13:07,682-INFO:channels USTVGO VPN, ignoring channel GOLF:Golf Channel
2022-05-06 18:13:17,739-INFO:channels USTVGO VPN, ignoring channel History:History
2022-05-06 18:13:25,480-INFO:channels USTVGO VPN, ignoring channel ID:Investigation Discovery
2022-05-06 18:13:43,886-INFO:channels USTVGO VPN, ignoring channel NatGEO:National Geographic
2022-05-06 18:13:49,199-INFO:channels USTVGO VPN, ignoring channel NBA:NBA Network
2022-05-06 18:13:51,931-INFO:channels USTVGO VPN, ignoring channel NBC:NBC
2022-05-06 18:13:53,779-INFO:channels USTVGO VPN, ignoring channel NBCSN:NBC Sports
2022-05-06 18:13:55,881-INFO:channels USTVGO VPN, ignoring channel NFL:NFL Network
2022-05-06 18:14:19,157-INFO:channels USTVGO VPN, ignoring channel Paramount:Paramount
2022-05-06 18:14:38,531-INFO:channels USTVGO VPN, ignoring channel TBS:TBS
2022-05-06 18:14:41,101-INFO:channels USTVGO VPN, ignoring channel TCM:Turner Classic Movies
2022-05-06 18:14:45,788-INFO:channels USTVGO VPN, ignoring channel Tennis:Tennis Network
2022-05-06 18:14:50,964-INFO:channels USTVGO VPN, ignoring channel TNT:TNT
2022-05-06 18:14:55,825-INFO:channels USTVGO VPN, ignoring channel TruTV:truTV (East)
2022-05-06 18:15:03,674-INFO:channels USTVGO VPN, ignoring channel Univision:Univisión
2022-05-06 18:15:06,008-INFO:channels USTVGO VPN, ignoring channel USANetwork:USA
2022-05-06 18:15:08,594-INFO:channels USTVGO VPN, ignoring channel VH1:VH1
2022-05-06 18:15:41,047-INFO:web_handler [172.17.0.1] "GET /api/configform?area=providers HTTP/1.1" 200 -
2022-05-06 18:15:41,153-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:15:41,192-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:15:41,289-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:15:48,316-DEBUG:plugin_channels USTVGO:test Channel update complete
2022-05-06 18:15:49,048-NOTICE:scheduler Running threaded task EPG:Refresh PlutoTV EPG
2022-05-06 18:15:49,051-DEBUG:plugin_epg EPG still new for PlutoTV default, not refreshing
2022-05-06 18:15:49,218-NOTICE:scheduler Running threaded task EPG:Refresh USTVGO EPG
2022-05-06 18:15:49,227-INFO:plugin_epg EPG Collection not enabled for USTVGO test
2022-05-06 18:15:52,411-INFO:web_handler [172.17.0.1] "GET /api/configform?area=general HTTP/1.1" 200 -
2022-05-06 18:15:52,571-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:15:52,599-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:15:52,648-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:16:08,202-INFO:web_handler [172.17.0.1] "GET /api/configform?area=clients HTTP/1.1" 200 -
2022-05-06 18:16:08,232-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:16:08,341-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:16:08,381-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:16:18,170-INFO:web_handler [172.17.0.1] "GET /api/configform?area=logging HTTP/1.1" 200 -
2022-05-06 18:16:18,210-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:16:18,259-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:16:18,296-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:16:22,057-INFO:web_handler [172.17.0.1] "GET /api/channels HTTP/1.1" 200 -
2022-05-06 18:16:22,084-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:16:22,231-INFO:web_handler [172.17.0.1] "GET /modules/channels/channels.js HTTP/1.1" 200 -
2022-05-06 18:16:24,006-INFO:web_handler [172.17.0.1] "GET /api/channels_form?name=USTVGO HTTP/1.1" 200 -
2022-05-06 18:16:24,424-INFO:web_handler [172.17.0.1] "GET /modules/channels/channelsform.js HTTP/1.1" 200 -
2022-05-06 18:16:24,556-INFO:web_handler [172.17.0.1] "GET /modules/table/table.js HTTP/1.1" 200 -
2022-05-06 18:17:01,113-DEBUG:web_admin Receiving POST form /api/channels_form None
2022-05-06 18:17:01,151-INFO:web_handler [172.17.0.1] "POST /api/channels_form HTTP/1.1" 200 -
2022-05-06 18:17:03,269-INFO:web_handler [172.17.0.1] "GET /api/configform?area=providers HTTP/1.1" 200 -
2022-05-06 18:17:03,338-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:17:03,373-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:17:03,436-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:17:06,194-INFO:web_handler [172.17.0.1] "GET /api/configform?area=general HTTP/1.1" 200 -
2022-05-06 18:17:06,225-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:17:06,260-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:17:06,296-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:17:07,012-INFO:web_handler [172.17.0.1] "GET /api/configform?area=clients HTTP/1.1" 200 -
2022-05-06 18:17:07,044-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:17:07,073-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:17:07,114-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:17:08,833-INFO:web_handler [172.17.0.1] "GET /api/configform?area=logging HTTP/1.1" 200 -
2022-05-06 18:17:08,865-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:17:08,888-INFO:web_handler [172.17.0.1] "GET /modules/pages/configform.js HTTP/1.1" 200 -
2022-05-06 18:17:08,925-INFO:web_handler [172.17.0.1] "GET /config.json HTTP/1.1" 200 -
2022-05-06 18:17:09,679-INFO:web_handler [172.17.0.1] "GET /api/channels HTTP/1.1" 200 -
2022-05-06 18:17:09,709-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:17:09,741-INFO:web_handler [172.17.0.1] "GET /modules/channels/channels.js HTTP/1.1" 200 -
2022-05-06 18:17:10,754-INFO:web_handler [172.17.0.1] "GET /api/schedulehtml HTTP/1.1" 200 -
2022-05-06 18:17:10,782-INFO:web_handler [172.17.0.1] "GET /modules/scheduler/scheduler.css HTTP/1.1" 200 -
2022-05-06 18:17:10,792-INFO:web_handler [172.17.0.1] "GET /modules/scheduler/scheduler.js HTTP/1.1" 200 -
2022-05-06 18:17:11,684-INFO:web_handler [172.17.0.1] "GET /api/channels HTTP/1.1" 200 -
2022-05-06 18:17:11,714-INFO:web_handler [172.17.0.1] "GET /modules/tabs/tabs.js HTTP/1.1" 200 -
2022-05-06 18:17:11,743-INFO:web_handler [172.17.0.1] "GET /modules/channels/channels.js HTTP/1.1" 200 -
2022-05-06 18:17:12,735-INFO:web_handler [172.17.0.1] "GET /api/channels_form?name=USTVGO HTTP/1.1" 200 -
2022-05-06 18:17:12,905-INFO:web_handler [172.17.0.1] "GET /modules/channels/channelsform.js HTTP/1.1" 200 -
2022-05-06 18:17:12,926-INFO:web_handler [172.17.0.1] "GET /modules/table/table.js HTTP/1.1" 200 -
2022-05-06 18:19:19,070-INFO:web_handler [192.168.69.111] "GET / HTTP/1.1" 302 -

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

I reviewed the logs.
- You ran startup twice, first time with USTVGO instance disabled
- PlutoTV had recently updated the channel list, so both times PlutoTV did not need to refresh the data or guide
- You are not running the app inside a VPN, so USTVGO does not recognize your NordVPN

VPNs are tunnels that use IPSec to communicate with a VPN server on the internet. The app assumes you are running the VPN at the OS layer or higher (like the router), so you do not need to enter any data in Cabernet. As an example, if you are running Cabernet on a Linux server, then download NordVPN for Linux, install it and verify that you can access the VPN channels from a browser running on the OS at ustvgo.tv (and not having the NordVPN as a plugin in the browser). Once you have setup the VPN, Cabernet should get a different status from USTVGO indicating that the channel is available. I have not tested NordVPN, but the best info I have is that should work.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

I actually have a docker container running through a VPN so I will try to do the same setup on Cabernet and I'll give you an update with my results.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by TJ M 3 months ago

G Kazaroth wrote:

TJM: It is probably normal to have that many processes. This is caused by the number of tuners set at the plugin level. Each active stream will generate a new process. This helps with running many streams at one time. The more streams, the more processes it takes and is only limited by the size of your server.

When TVH does a force scan, it goes as fast as it can and uses two critical settings. First is the Network Max # input streams. This value causes TVH to use that number times 2 for the number of streams since it does not terminate the stream until after the next stream starts. The second value is Network Maximum timeout. This is the time TVH will use for each channel scan. It is not the maximum, but rather the actual value used. So if you have the input stream set to 5 and the timeout set to 30, then it will use at least 10 tuners in Cabernet and will timeout most channels after 30 seconds. If not all the M3U URLs are not working, then Cabernet may end up going through a timeout when may take even longer. Normally we recommend using a small number for the number of inputs like 2 to do a Force Scan. The timeout should be based on how long it takes for the stream to initialize (which can be different for each provider.) Note, Cabernet uses 3 processes by default, so it looks like you have TVH set to a big number of input streams with Cabernet set to around 12.

Then going to the Cabernet side, there is a tuner count at the plugin level. After doing many tests, it looks like that number needs to be at least x*2+1 of the # of inputs in TVH for that network. This is due to the number of streams TVH will have opened at one time. You could have TVH set to 2 and Cabernet set to 10. Cabernet would still probably only use 4 or 5 max.

Yeah not sure, I mean I have my tvheadend set at max input streams 2.
Cabernet tuner count I have at about 20 or so but at the moment I've just made it a ridiculously high number only because otherwise tvheadend would suck up all the tuners.. there seems to be something not working right I think.. Any more ideas?

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

Since you have the streams set to 2, then we should assume the quality of the m3u file may not be great. What is the Network Maximum timeout in TVH? There is a known case where the m3u provided URL causes a timeout in Cabernet when the connection works, but no stream is provided. In this case, TVH will normally timeout and start a new connection while the old connection in Cabernet is waiting on a timeout. The timeout can be from 60-90 seconds. So, if you have the TVH timeout set to a low number, the number of connections in Cabernet could get high waiting for timeouts. Try setting the TVH timeout to 30 to see if the number of processes is reduced. I will do some testing on my side.

Once TVH has determined which channels are good, it should not hit the bad ones except on rescans.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by TJ M 3 months ago

G Kazaroth wrote:

Since you have the streams set to 2, then we should assume the quality of the m3u file may not be great. What is the Network Maximum timeout in TVH? There is a known case where the m3u provided URL causes a timeout in Cabernet when the connection works, but no stream is provided. In this case, TVH will normally timeout and start a new connection while the old connection in Cabernet is waiting on a timeout. The timeout can be from 60-90 seconds. So, if you have the TVH timeout set to a low number, the number of connections in Cabernet could get high waiting for timeouts. Try setting the TVH timeout to 30 to see if the number of processes is reduced. I will do some testing on my side.

Once TVH has determined which channels are good, it should not hit the bad ones except on rescans.

Hey matey,

Hmm so my network maximum timeout was set to 15. I've set it to 30 now to see how we go. I've attached a gif to show that even a large amount of tuners in cabernet it says they are all active but they really aren't.
I'm finding when it does a rescan after say 100 or so the channels start to be marked as failed meaning they disappear from the guide. I have to manually go in and have those certain channels scanned again as they are not scanned again.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

G Kazaroth wrote:

I reviewed the logs.
- You ran startup twice, first time with USTVGO instance disabled
- PlutoTV had recently updated the channel list, so both times PlutoTV did not need to refresh the data or guide
- You are not running the app inside a VPN, so USTVGO does not recognize your NordVPN

VPNs are tunnels that use IPSec to communicate with a VPN server on the internet. The app assumes you are running the VPN at the OS layer or higher (like the router), so you do not need to enter any data in Cabernet. As an example, if you are running Cabernet on a Linux server, then download NordVPN for Linux, install it and verify that you can access the VPN channels from a browser running on the OS at ustvgo.tv (and not having the NordVPN as a plugin in the browser). Once you have setup the VPN, Cabernet should get a different status from USTVGO indicating that the channel is available. I have not tested NordVPN, but the best info I have is that should work.

I was able to install Cabernet on my server through Docker, running through NordVPN. After going to Data Management on Cabernet settings and Reset Channel Data it was able to get the channels that require VPN. Thanks so much for the help!

For those wondering how I got it done I followed most of the steps on this page except I replaces JDownloader for the Cabernet docker container https://github.com/guisua/jdownloader-vpn-docker-synology

Step 1: Install this NordLynx Docker container (I use NordVPN so it worked for me, not sure about how to do it with other VPN providers). https://github.com/bubuntux/nordlynx

Step 2: I am using Portainer to do this on a Synology DS218+ because the Synology Docker UI sucks. I made this stack so NordLynx and Cabernet run at the same time. Follow the directions on https://github.com/bubuntux/nordlynx to get it running on your machine:

---
version: "3" 
services:
  nordlynx:
    image: ghcr.io/bubuntux/nordlynx
    container_name: nordlynx
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    cap_add:
      - NET_ADMIN
    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1  # Recommended if using ipv4 only
    environment:
      - PRIVATE_KEY=MY_PRIVATE_KEY
      - ALLOWED_IPS=0.0.0.0/1,128.0.0.0/1
      - NET_LOCAL=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
      - "POST_UP=ip -4 route add $$(wg | awk -F'[: ]' '/endpoint/ {print $$5}') via $$(ip route | awk '/default/ {print $$3}')" 
      - "PRE_DOWN=ip -4 route del $$(route -n | awk '/255.255.255.255/ {print $$1}') via $$(ip route | awk '/default/ {print $$3}')" 
    ports:
      - 8088:8088
      - 6077:6077
      - 6881:6881
      - 6881:6881/udp
  cabernet:
    image: ghcr.io/cabernetwork/cabernet:latest
    container_name: cabernet
    network_mode: service:nordlynx
    environment:
      - WEBUI_PORT=6077
      - PUID=1026
      - PGID=101
    volumes:
      - /volume1/docker/cabernet:/app
    depends_on:
      - nordlynx
    restart: always

Step 3: Go into Cabernet Settings > Data MGNT
In Reset Channel Data choose USTVGO on the drop down menu to the right. Then click on Reset next to Reset Channel Data. After that it'll show the channels that require VPN.

Step 4: If you use Plex, go to Plex Settings > Live TV & DVR and Refresh the channel guide.

That's all. Enjoy.

UPDATE : I realized that not long ago the nordvpn container stopped working and they recommend using https://github.com/bubuntux/nordlynx. I updated the instructions. Now I have Cabernet working great and Plex is able to access Cabernet channels smoothly. Thanks for the help! Hope this helps others.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

Early on, USTVGO provided a post-VPN interface which indicated that Cabernet was able to get the premium channels and were not DRM. Not sure what is happening in your case, but would be very interested, if you want to enter an issue with cabernet. The Cabernet log should have info that will indicate why it was unable to connect to the stream.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

G Kazaroth wrote:

Early on, USTVGO provided a post-VPN interface which indicated that Cabernet was able to get the premium channels and were not DRM. Not sure what is happening in your case, but would be very interested, if you want to enter an issue with cabernet. The Cabernet log should have info that will indicate why it was unable to connect to the stream.

I realized my issue is not Cabernet, the issue I'm having is with the VPN container having connection issues. From what I read seems like the nordvpn container stopped working not long ago and they recommend using https://github.com/bubuntux/nordlynx instead. I am working on it at the moment, once I figure it out ill post an update. At least I know that Cabernet does work with a vpn and shows the channels that require VPN so once I get the VPN container running Cabernet and Plex should have no issue.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

Ok I got Cabernet working with NordLynx VPN container and now Plex is able to play USTVGO channels that require VPN! I updated the instructions on my previous post.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by Mark de Leon 3 months ago

I think much of what is available is not for the Windows exe version, which is what I am trying to run on Windows 10 64 bit

I can get to the web interface but not seeing much in the way of what I read.

I created a config.ini that is at C:\Program Files\cabernet\data\config.ini but not even sure if that is necessary on the Windows version.

My pluto TV M3u file at http://ipaddress:6077/pLuToTv/channels.m3u has only the single line header, no channels

The channel editor has no tabs.

Not sure where to go with this. I think my issues are specific to the Windows version, and its configuration

Mark

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

Hi Mark,
The installer for windows installs a config.ini file at the top Cabernet folder during install. If you also added a config.ini in the data folder, you would have two config files, of which, only one would be used. You can use either location, but you probably need to get rid of one of them. Cabernet looks in the install folder and the data folder for the config.ini and then uses the first one found. It would report the location found in the log at the INFO level.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by Mark de Leon 3 months ago

Thank you

I am now getting Pluto playlist. First test with a pluto stream this way shows the same problem I have everywhere else with Pluto streams freezing and stuttering. Seems Pluto is hacking in low res commercials changing resolution mid stream and all. I guess they are rocket surgeons there.

Do I have to modify the config.ini file for Xumo?

Not sure where that file is, looking but do not see it in c:\Program Files\cabernet. I see a example config file at c:\Program Files\cabernet\lib\tvheadend\example_config.ini

Much confused about it all but if it is the same result that I have with other methods of PutoTV where all the streams freeze when they hack in a commercial , then Pluto is not useful to me and only Xumo interests me.

So what do I need for Xumo? It is activated in the tabs . I assume that http://IPADDRESS/channels.m3u would show ALL channels, including xumo if they were coming through, but no such luck.

thanks

Mark

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

Cabernet has the ability to cleanup streams, but you kinda need to know what the issue is. For PlutoTV, the issue is the provider does not care about the ATSC steam timestamps, so timestamps during ads are not consistent with timestamps during shows. Also, timestamps for the next show do not flow from the previous show causing more disconnects. To fix this, check "Enable PTS/DTS Resync". This causes Cabernet to rewrite the timestamps in the stream. You can also "Enable URL Filtering". This has good and bad sides. The good part is ads are removed. The bad side is when playing live and not recorded, the show will stop playing during the ads. Those that record most shows like the filter while those that like to watch live do not.

For XUMO, you would need to add the instance to the config.ini to enable the instance, just like you did with PlutoTV. Once the instance is added, the configuration can be controlled in the web page.

The example_config.ini is an example of a config.ini file.

http://IP:6077/channels.m3u will produce the m3u file for all channels Cabernet knows in m3u format.

XUMO is a pseudo on-demand stream. Some channels are live, but many are not. If you play the on demand ones, it will start playing from the start of the movie even if you are half way through the time slot. Due to this being a VOD type stream, the timestamps are not consistent between movies, so the recommendation is to set the "Enable PTS/DTS Resync" to true. You can also adjust the start time and end time in seconds (EPG section) to get the recording to start perfectly at the start of the movie and end at the end of the movie. This EPG start and stop time adjustment is available for PlutoTV as well.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by Mark de Leon 3 months ago

I did finally find "enable PTS/DTS Resync" in the Pluto TV instance menu options in "advanced" mode. I checked it and will see what happens.

Now if you recall, I made an ini file and it was not necessary on Windows you later informed me. Additionally I can not find anywhere the referenced config.ini file for cabernet. I would need to know the default (Windows X86_64) path to that file for the exe version. I am also completely in the dark in how or what needs. I can see on the github page what it needs for Pluto TV but no example for xumo. It seems it probably needs a standard name whether Xumo or xumotv ? I do see the config_example.ini at c:\Program Files\cabernet\lib\tvheadend but there is no config.ini at the location where the example is, so I would not assume that is where it goes. There is also no xumo example in that config file. I would imagine a config.ini already exists somewhere, because PlutoTV is working.

All of this is without touching on the subject of HDHomerun integration which looks like is available. To be honest I am quite perplexed with all of this.

I have also come to find out I can not access it fro the LAN only on Localhost. Looking for settings that control access to port 6077 .

UPDATE>>>>>>>>>>>>
Just changed the Bind address from 0.0.0.0 to the actual computer IP address in the GUI near where it showed port 6077, now I can no longer even access it on localhost.

So now I have completely lost it . I know the GUI says you can edit the config files but have no idea where config files are located as mentioned earlier.

--update to the update....
Settings apparently survived an uninstall and reinstall because even removing and reinstalling does not bring it back, it's GONE.
--end update to update....

END UPDATE >>>>>>>>>

Is there really absolutely no documentation that covers these topics? It seems the Windows version is such a different beast it should have its own area of documentation.

I would prefer to run this on the Pi (raspbian stretch) but I have a seemingly insurmountable Python dependency problem (with rust 1.41.0 where I have only 1.24.1

Docker seems like its bloaty to run on my old Pi3 and has its own learning curve, let alone the curve for Cabernet.
I appreciate your replies, thanks

Mark

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by Mark de Leon 3 months ago

Yea , not so easy running it on Raspberry Pi either. I spent many hours trying to resolve issues getting docker installed.

Then , I did the

docker pull ghcr.io/cabernetwork/cabernet:latest

I can see the image using
[email protected]:~# docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/cabernetwork/cabernet latest 0ccbb5a051f0 2 months ago 404MB

then I try to run it , if this is correct

[email protected]:~# docker run -p 6077:6077 ghcr.io/cabernetwork/cabernet
standard_init_linux.go:219: exec user process caused: no such file or directory

Not sure what that is all about but maybe I am doing something wrong?

Mark

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

I just realized the config.ini for windows install is located in the data folder that is set by you during the install. This is caused by Windows Program Files area being protected. It defaults to a home folder location like most applications. If you don't remember and you used the default, you can rerun the first part of the install and it will tell you where the data folder is located.

Also, going to the website and migrating to Settings > Internal > Paths
Will show you where the config.ini is located.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

I just realized the channels are all mixed up for me. The channel that plays VH1 plays another channel, History plays something else, etc. Anyone know how to fix this?

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by Mark de Leon 3 months ago

I am by no means a noob , but nor am I a dev. I hate Python it never works for me and always needs a dependency that can not be installed. To me it has always been a major waste of time. I would love to just run this on the pi from a python command line but that does not work either.

To be honest, the settings are so touchy in the Windows version changing most anything breaks it. That is no exaggeration.

Fixing the bind address from 0.0.0.0 in GUI to the real LAN fixed IP causes Cabernet to fail completely. I did find the config files (and you are correct the installer does ask where to put them) and deleted them to do a "clean" install. Before I did this I also confirmed that the bind address was correct. This all led me to the more problems below. Sometimes even reverting the settings to their original settings did not work, forcing me to remove the program then the settings folder and re-install. I think it might be best to have full explanation of what options are used or can be used.

Enabling the option you suggested does not work, the streams still stutter then freeze (burp then BARF) when I tested streams from VLC. I also tested some from NextPVR which would not play at all I would use TV headend but it has issues with probing for many of my important sources.

I also tested resync types "internal" "ffmpeg" and "default" although at default it always went back to "internal" . I did reboot after each change.

I also even tried Docker Desktop for Windows and Mac along the way. I suppose that too could have buggered the Windows machine. Unfortunately there are no real full instructions neither at docker nor on your site. There is a Docker Desktop tutorial but it does not even use the same docker command that is the single "pull" command you show on Github. I got lost in translation from what they say and what you say. I ended up with docker images that would not run so it might be nice to have more docs there.

XUmo never worked to any degree, (no channels ever in m3u files) and I have seen nowhere that says what I need to put (exactly) in the config.ini to make xumo work. I mean even if I could get xumo out of it, it would be worth the time spent.

Another issue that arose in the installation , and re-installation of Cabernet is that My windows 10 Machine has now completely lost its ability to switch windows. I can ALT Tab and see a window open, I can click an icon to open a new window but can never get to it. This is a relatively clean install of Windows 10 that I have only really used to run XAMPP web server on for a php code project of my own.

I think you also might want to to tell windows users to open ports 6077 and 5004 on their Windows Firewall.

The implication here is that this does work with TV headend but I would imagine you are not stuck with TV Headend 4.2 nor the Windows version of Cabernet. I am stuck with TVHeadend4.2 because my Pi is running Raspbian Stretch and will not install all dependencies for TVH 4.3 so I used the .deb installer for Pi. It just hammers the sources when scanning, causing all channels to fail.

Guess ill have to give up on this one as I have tried WIndows, Mac and Linux and two different ways of doing it on Windows and two on Linux. None of which seem to work for me. Even when it does run (Windows exe) the stuttering and freezing is not fixed.

Now I have the nightmare of fixing my Windows Machine as it is my only Windows Machine.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

If you are talking about USTVGO, I am working on a release now.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

LINK IN THE ABOVE TEXT IS SPYWARE AND HAS SENT WIFI DATA TO FOREIGN COUNTRY! DO NOT CLICK ON IT.

locast is dead...

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by G Kazaroth 3 months ago

0.9.7.4
This has a number of small updates, but has one major update to USTVGO. The channel list changed, significantly. You may need to remove the MUX and EPG list for USTVGO and then rescan/update once Cabernet updates. That is what I did. There are a few more changes to the list, but those are adds. TVH normally works fine when adding channels (modify is where the issue is).

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by R W 3 months ago

G Kazaroth wrote:

If you are talking about USTVGO, I am working on a release now.

Not sure if this was meant for me but I was talking about USTVGO.

RE: PlutoTV, USTVGO, XUMO, M3U/XMLTV, SamsungTV, Plex interfaces (appliance) - Added by Mark de Leon 3 months ago

Ok I got this running under python (not docker) on the Raspberry Pi.

I was fortunate enough to encounter this on github , which took care of issues I was having with Rust and cryptography as I recall.

After doing as instructed on that page, damn, Python 3.8 is now good on my Pi.

So I have this script running and I will say that it is leaps and bounds ahead of the Windows.exe version that seemed so problematic.

I still have the following issues however.

Many channels still fail fail on TVHeadend by way of this script ALL of my channels from Frndly running the frndlytv for channels script. I get probably less than half of the xumo and half of the Pluto channels. I know that there is a method where supposedly one can extract a number from a single stream, but after trying it on TVH4.2 many times I have concluded it is for version 4.3, and does not apply to 4.2. Unfortunately I am stuck with 4.2 from what I can tell.

I was able to get it working once where I was not seeing commercials at all (ad block mode), that was on VLC. When I tried on on TVHeadend TVHeadend the Kodi client for TVHeadend never resumed playback it said something like "No stream" when it went to commercial and never came back. SO I need to figure out what other options work

I think also TVHeadend at least the version I run on the Pi3 (version 4.2) seems to stutter on some streams for no apparent reason, Nothing to do with ads. I did not think TVHeadend was really doing much more than a redirect in this case. Other PVR Solutions running on the same pi have not stuttered this way, and some of them were far more resource hungry..

Questions
Is it possible to use more and one m3u list?
It looks like there is HDHomerun integration but how do we make it work?
How do I make sure that I am seeing all the channels? Much Like TVHeadend channels are missing on some sources, probably due to failing at scanning???.

Feature request : Integration of https://frndlytv.com/ , especially if it can get past TVHeadend scan failures. You might be able to get some useful info from the script here https://github.com/matthuisman/frndlytv-for-channels https://www.matthuisman.nz/2021/11/frndly-tv-for-channels.html

(651-675/753)