cabernetwork / cabernet

Cabernet allows control of IPTV streams. Plugins supports DaddyLive, Pluto TV, XUMO, M3U/XMLTV.XML files (SamsungTV, STIRR, DistroTV, Plex TV)
https://cabernetwork.github.io
MIT License
176 stars 23 forks source link

streamlink proxy stream type is not working #43

Closed merrychrishna closed 1 year ago

merrychrishna commented 1 year ago

streamlink proxy stream type is not working. it looks like you made a typo. it says hds-segment threads. i think you mean hls-segment threads. i dont know what file that its to modify though or i would try to change it myself.

image

merrychrishna commented 1 year ago

i managed to find the file and changed it to hls but all i get are errors. so i removed the line and i get what looks llike the same errors.

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-01 01:37:00,415-WARNING:main ######################################### 2023-03-01 01:37:00,415-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 2023-03-01 01:37:00,510-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-01 01:37:00,510-WARNING:plugin PLUGIN MANIFEST FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-01 01:37:17,453-WARNING:plugin_channels odict_keys([2977158, 2019972, 1302083, 823489, 464544]) 2023-03-01 01:37:19,836-ERROR:web_tuner UNEXPECTED EXCEPTION on GET='player-enable_pts_filter' Traceback (most recent call last): File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 114, in do_GET if gettunerrequest.call_url(self, self.content_path): File "C:\Program Files\cabernet\lib\common\decorators.py", line 243, in call_url self.url2func[uri](_webserver, *args, kwargs) File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 48, in watch _webserver.do_tuning(sid, _webserver.query_data['name'], _webserver.query_data['instance']) File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 196, in do_tuning self.streamlink_proxy.stream(station_data, self.wfile) File "C:\Program Files\cabernet\lib\streams\streamlink_proxy.py", line 84, in stream self.validate_stream() File "C:\Program Files\cabernet\lib\streams\streamlink_proxy.py", line 109, in validate_stream if not self.config[self.channel_dict['namespace'].lower()]['player-enable_pts_filter']: KeyError: 'player-enable_pts_filter' 2023-03-01 01:37:20,495-WARNING:plugin_channels odict_keys([2977158, 2019972, 1302083, 823489, 464544]) 2023-03-01 01:37:22,255-ERROR:web_tuner UNEXPECTED EXCEPTION on GET='player-enable_pts_filter' Traceback (most recent call last): File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 114, in do_GET if gettunerrequest.call_url(self, self.content_path): File "C:\Program Files\cabernet\lib\common\decorators.py", line 243, in call_url self.url2func[uri](_webserver, *args, *kwargs) File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 48, in watch _webserver.do_tuning(sid, _webserver.query_data['name'], _webserver.query_data['instance']) File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 196, in do_tuning self.streamlink_proxy.stream(station_data, self.wfile) File "C:\Program Files\cabernet\lib\streams\streamlink_proxy.py", line 84, in stream self.validate_stream() File "C:\Program Files\cabernet\lib\streams\streamlink_proxy.py", line 109, in validate_stream if not self.config[self.channel_dict['namespace'].lower()]['player-enable_pts_filter']: KeyError: 'player-enable_pts_filter' 2023-03-01 01:37:22,974-WARNING:plugin_channels odict_keys([2977158, 2019972, 1302083, 823489, 464544]) 2023-03-01 01:37:25,354-ERROR:web_tuner UNEXPECTED EXCEPTION on GET='player-enable_pts_filter' Traceback (most recent call last): File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 114, in do_GET if gettunerrequest.call_url(self, self.content_path): File "C:\Program Files\cabernet\lib\common\decorators.py", line 243, in call_url self.url2func[uri](_webserver, args, kwargs) File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 48, in watch _webserver.do_tuning(sid, _webserver.query_data['name'], _webserver.query_data['instance']) File "C:\Program Files\cabernet\lib\clients\web_tuner.py", line 196, in do_tuning self.streamlink_proxy.stream(station_data, self.wfile) File "C:\Program Files\cabernet\lib\streams\streamlink_proxy.py", line 84, in stream self.validate_stream() File "C:\Program Files\cabernet\lib\streams\streamlink_proxy.py", line 109, in validate_stream if not self.config[self.channel_dict['namespace'].lower()]['player-enable_pts_filter']: KeyError: 'player-enable_pts_filter'

rocky4546 commented 1 year ago

I went through the other proxy streams in 0.9.10.0. Found a number of issues with most of them. It has all been fixed. I found an issue where the version of streamlink seems to have different options available. The version I was using (2.7) had the hds option, but the new versions do not. Doing a straight install on Ubuntu (Linux) gives 1.4.7. crazy old. Anyway, it should not work on 0.9.10.0

rocky4546 commented 1 year ago

Also, added the stream quality on each of the stream provider instances. If you set the Stream_type to streamlink, you can set the maximum stream quality to 570000 and that would be the same as --default-stream 570k. The way cabernet works is it determines the stream quality and sends the exact link streamlink should use. The option --default-stream 570k would do nothing since there would be no way for streamlink to choose any other stream.

rocky4546 commented 1 year ago

There is a lot in this release. Also added to the paths tab streamlink, so you can point to the exact version of streamlink you need to use.

merrychrishna commented 1 year ago

awesome. ok i have tried your update procedure by searching for updates and then going back to the home page to select update but i got these errors after it said the update is complete. permission errors even when i run cabernet as administrator. and cabernet no longer starts up.

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-03 00:41:36,300-WARNING:main ######################################### 2023-03-03 00:41:36,300-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 2023-03-03 00:41:36,303-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins.provider_video_123tv 2023-03-03 00:41:36,303-WARNING:plugin PLUGIN MANIFEST FILE NOT FOUND AT plugins.provider_video_123tv Traceback (most recent call last): File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 56, in collect_plugins importlib.resources.read_text(_plugins_pkg, folder) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 103, in read_text with open_text(package, resource, encoding, errors) as fp: File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 82, in open_text open_binary(package, resource), encoding=encoding, errors=errors File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 46, in open_binary return reader.open_resource(resource) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\abc.py", line 433, in open_resource return self.files().joinpath(resource).open('rb') File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1119, in open return self._accessor.open(self, mode, buffering, encoding, errors, PermissionError: [Errno 13] Permission denied: 'C:\Program Files\cabernet\plugins\provider_video_123tv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Program Files\cabernet\tvh_main.py", line 23, in main.main(script_dir) File "C:\Program Files\cabernet\lib\main.py", line 128, in main plugins = init_plugins(config_obj) File "C:\Program Files\cabernet\lib\main.py", line 181, in init_plugins plugins = plugin_handler.PluginHandler(_config_obj) File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 43, in init self.collect_plugins(self.config_obj.data['paths']['internal_plugins_pkg']) File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 59, in collect_plugins plugin = Plugin(self.config_obj, self.plugin_defn, '.'.join([_plugins_pkg, folder])) File "C:\Program Files\cabernet\lib\plugins\plugin.py", line 65, in init if not self.config_obj.data[self.namespace.lower()]['enabled']: KeyError: ''

C:\Program Files\cabernet>pause Press any key to continue . . .

merrychrishna commented 1 year ago

and this is after a fresh config.ini

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-03 00:54:15,644-WARNING:main ######################################### 2023-03-03 00:54:15,645-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 2023-03-03 00:54:15,647-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins.provider_video_123tv 2023-03-03 00:54:15,648-WARNING:plugin PLUGIN MANIFEST FILE NOT FOUND AT plugins.provider_video_123tv Traceback (most recent call last): File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 56, in collect_plugins importlib.resources.read_text(_plugins_pkg, folder) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 103, in read_text with open_text(package, resource, encoding, errors) as fp: File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 82, in open_text open_binary(package, resource), encoding=encoding, errors=errors File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 46, in open_binary return reader.open_resource(resource) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\abc.py", line 433, in open_resource return self.files().joinpath(resource).open('rb') File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1119, in open return self._accessor.open(self, mode, buffering, encoding, errors, PermissionError: [Errno 13] Permission denied: 'C:\Program Files\cabernet\plugins\provider_video_123tv'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Program Files\cabernet\tvh_main.py", line 23, in main.main(script_dir) File "C:\Program Files\cabernet\lib\main.py", line 128, in main plugins = init_plugins(config_obj) File "C:\Program Files\cabernet\lib\main.py", line 181, in init_plugins plugins = plugin_handler.PluginHandler(_config_obj) File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 43, in init self.collect_plugins(self.config_obj.data['paths']['internal_plugins_pkg']) File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 59, in collect_plugins plugin = Plugin(self.config_obj, self.plugin_defn, '.'.join([_plugins_pkg, folder])) File "C:\Program Files\cabernet\lib\plugins\plugin.py", line 65, in init if not self.config_obj.data[self.namespace.lower()]['enabled']: KeyError: ''

C:\Program Files\cabernet>pause Press any key to continue . . .

merrychrishna commented 1 year ago

now i have tried uninstalling and reinstalling fresh since the update didnt work and i get this error

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-03 01:24:50,642-WARNING:main ######################################### 2023-03-03 01:24:50,642-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 Traceback (most recent call last): File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 56, in collect_plugins importlib.resources.read_text(_plugins_pkg, folder) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 103, in read_text with open_text(package, resource, encoding, errors) as fp: File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 82, in open_text open_binary(package, resource), encoding=encoding, errors=errors File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\resources.py", line 46, in open_binary return reader.open_resource(resource) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\importlib\abc.py", line 433, in open_resource return self.files().joinpath(resource).open('rb') File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\pathlib.py", line 1119, in open return self._accessor.open(self, mode, buffering, encoding, errors, PermissionError: [Errno 13] Permission denied: 'C:\Program Files\cabernet\plugins\provider_video_m3u'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Program Files\cabernet\tvh_main.py", line 23, in main.main(script_dir) File "C:\Program Files\cabernet\lib\main.py", line 128, in main plugins = init_plugins(config_obj) File "C:\Program Files\cabernet\lib\main.py", line 181, in init_plugins plugins = plugin_handler.PluginHandler(_config_obj) File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 43, in init self.collect_plugins(self.config_obj.data['paths']['internal_plugins_pkg']) File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 59, in collect_plugins plugin = Plugin(self.config_obj, self.plugin_defn, '.'.join([_plugins_pkg, folder])) File "C:\Program Files\cabernet\lib\plugins\plugin.py", line 69, in init self.load_instances() File "C:\Program Files\cabernet\lib\plugins\plugin.py", line 95, in load_instances inst_defn_obj = ConfigDefn(self.plugin_path, PLUGIN_INSTANCE_DEFN_FILE, self.config_obj.data, True) File "C:\Program Files\cabernet\lib\config\config_defn.py", line 56, in init self.merge_defn_file(_defn_path, _defn_file) File "C:\Program Files\cabernet\lib\config\config_defn.py", line 70, in merge_defn_file defn = json.loads(json_file) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\json__init__.py", line 346, in loads return _default_decoder.decode(s) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Users\User0\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 94 column 21 (char 5010)

C:\Program Files\cabernet>pause Press any key to continue . . .

rocky4546 commented 1 year ago

So lets take each comment in line. just FYI, on the forum is where I post any things you might want to do prior to upgrading. I know forgot to mention that... It states that 123TV has gone so you need to go the things to remove 123TV from Cabernet (I need to do the plugin upgrade to also handle TVGuide plugin upgrades, installing and removing plugins... TBD)

On the first problem... On the forum I put any notes that may be needed for the upgrade. In this case 123TV is gone, so removing 123TV from Cabernet would be appropriate. It is not suppose to be essential, so you found an issue which I am fixing. The message: 2023-03-03 00:54:15,647-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins.provider_video_123tv Indicates you had 123TV still present when the upgrade occurred. Again Cabernet is suppose to fail gracefully, so I have a fix for the problem you found.

Second try with config.ini... Still had the same issue that 123TV was present (kinda) and needed to be removed. My fix will allow Cabernet to continue to run even though it found pieces of 123TV in the system.

Third try with a reinstall... Looks like you have user permission issues. it should have sufficient file permissions, but it looks like the uninstall did not remove all the files (except the data folder). not sure how you are installing the product and why the permission issues. Recommend uninstalling and making sure everything except the data folder is removed, then try installing again.

Once you have a good/working install, we can test the upgrade ability and see if it will work with your permissions.

merrychrishna commented 1 year ago

im not getting the permission issue anymore. i think since it installs to program files i need to run as administrator. but now i get these errors on 9.10.01.

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-03 12:10:09,878-WARNING:main ######################################### 2023-03-03 12:10:09,878-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 2023-03-03 12:10:10,012-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-03 12:10:10,013-WARNING:plugin PLUGIN MANIFEST FILE NOT FOUND AT plugins_ext.provider_epg_tvguide Traceback (most recent call last): File "C:\Program Files\cabernet\tvh_main.py", line 23, in main.main(script_dir) File "C:\Program Files\cabernet\lib\main.py", line 128, in main plugins = init_plugins(config_obj) File "C:\Program Files\cabernet\lib\main.py", line 182, in init_plugins plugins.initialize_plugins() File "C:\Program Files\cabernet\lib\plugins\plugin_handler.py", line 88, in initialize_plugins if not self.config_obj.data[plugin.name.lower()]['enabled']: AttributeError: 'NoneType' object has no attribute 'lower'

C:\Program Files\cabernet>pause Press any key to continue . . .

merrychrishna commented 1 year ago

does that mean i need ot remove plugins_ext.provider_epg_tvguide ?

rocky4546 commented 1 year ago

Either you are crazy and creating empty folders in the plugins/plugin_ext directory (not very likely) or you have added the tvguide plugin incorrectly. To check, all plugins will have a plugin.json, config_defn.json and instance_defn.json at the top level. I suspect you just unpacked the plugin from GitHub instead of grabbing the subfolder containing the plugin. So as a specific example, you should find: plugins_ext/provider_epg_tvguide/plugin.json To have Cabernet not blowup when the plugin is not installed correctly, I have created 0.9.10.02.

merrychrishna commented 1 year ago

all i did was a fresh uninstall from control panel and installed 9.10.01 fresh. then i created the data folder and made the config.ini with the 2 pluto lines. i didnt touch the plugins.

merrychrishna commented 1 year ago

fresh install of 9.10.02 finally runs cabernet. now i can try stuff. its going to be a bit though since im taking care of an issue with emby right now on something else.

merrychrishna commented 1 year ago

channel editor pluto tv tab is broken again. i just only set my own ffmpeg path and changed the stream mode to streamlinkproxy and enabled pluto tv instance. Version: 0.9.10.02. i then tried a fresh config.ini but the pluto tv tab is still not showing up.

image image image

config.ini

[plutotv_default] label = PlutoTV Instance enabled = True

[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 = 80DDAD07-B9FD-11ED-883D-B40EDEF81EB0

[hdhomerun] hdhr_id = 1050ABB7

rocky4546 commented 1 year ago

There is nothing wrong with everything you have shown me. I would need to see the log file. Go into the Data Mgmt and do a channel reset on PlutoTV with the edits=Yes. The restart Cabernet and the log should show what is happening. Before doing that, if you can upgrade to *.03, thanks.

merrychrishna commented 1 year ago

ok ive now done what youve suggested and upgraded to .03 and the edit channles pluto tv tab is now showing up but the pluto tv instance tab is now missing.

image

merrychrishna commented 1 year ago

is this the logs you wanted?

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-03 21:22:51,626-INFO:user_config Loading Configuration File: C:\Program Files\cabernet\data\config.ini 2023-03-03 21:22:51,627-NOTICE:config_callbacks streamlink_path does not exist in [cabernet]/streamlink/bin, will use PATH env to find streamlink.exe 2023-03-03 21:22:51,731-WARNING:main ######################################### 2023-03-03 21:22:51,731-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 2023-03-03 21:22:51,732-NOTICE:main Cabernet v0.9.10.03 2023-03-03 21:22:51,732-INFO:main Getting Plugins... 2023-03-03 21:22:51,733-DEBUG:plugin_handler Plugin Defn file loaded 2023-03-03 21:22:51,734-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_daddylive 2023-03-03 21:22:51,746-DEBUG:db config_defn database closed for thread:22328 2023-03-03 21:22:51,746-DEBUG:config_defn Database terminated for thread:22328 2023-03-03 21:22:51,748-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_daddylive 2023-03-03 21:22:51,753-INFO:plugin No instances found, disabling plugin DaddyLive 2023-03-03 21:22:51,753-NOTICE:plugin Plugin created for DaddyLive 2023-03-03 21:22:51,754-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_m3u 2023-03-03 21:22:51,766-DEBUG:db config_defn database closed for thread:22328 2023-03-03 21:22:51,766-DEBUG:config_defn Database terminated for thread:22328 2023-03-03 21:22:51,768-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_m3u 2023-03-03 21:22:51,773-INFO:plugin No instances found, disabling plugin M3U 2023-03-03 21:22:51,773-NOTICE:plugin Plugin created for M3U 2023-03-03 21:22:51,774-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_plutotv 2023-03-03 21:22:51,785-DEBUG:db config_defn database closed for thread:22328 2023-03-03 21:22:51,785-DEBUG:config_defn Database terminated for thread:22328 2023-03-03 21:22:51,787-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_plutotv 2023-03-03 21:22:51,793-INFO:plugin No instances found, disabling plugin PlutoTV 2023-03-03 21:22:51,794-NOTICE:plugin Plugin created for PlutoTV 2023-03-03 21:22:51,795-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_xumo 2023-03-03 21:22:51,806-DEBUG:db config_defn database closed for thread:22328 2023-03-03 21:22:51,806-DEBUG:config_defn Database terminated for thread:22328 2023-03-03 21:22:51,809-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_xumo 2023-03-03 21:22:51,814-INFO:plugin No instances found, disabling plugin XUMO 2023-03-03 21:22:51,814-NOTICE:plugin Plugin created for XUMO 2023-03-03 21:22:51,816-DEBUG:plugin Plugin Config Defn file loaded at plugins_ext.provider_epg_tvguide 2023-03-03 21:22:51,817-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-03 21:22:51,817-WARNING:plugin PLUGIN MANIFEST FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-03 21:22:51,818-DEBUG:plugin Plugin disabled in config.ini for 2023-03-03 21:22:51,818-INFO:plugin_handler Plugin DaddyLive is disabled in config.ini 2023-03-03 21:22:51,819-INFO:plugin_handler Plugin M3U is disabled in config.ini 2023-03-03 21:22:51,819-INFO:plugin_handler Plugin PlutoTV is disabled in config.ini 2023-03-03 21:22:51,819-INFO:plugin_handler Plugin XUMO is disabled in config.ini 2023-03-03 21:22:51,820-INFO:plugin_handler Plugin None is disabled in config.ini 2023-03-03 21:22:51,822-DEBUG:pickling Pickling PluginHandler 2023-03-03 21:22:51,823-NOTICE:main Starting admin website on 192.168.5.250:6077 2023-03-03 21:22:52,080-DEBUG:pickling Unpickling PluginHandler 2023-03-03 21:22:52,082-DEBUG:decorators Registering GET URL: /api/data_mgmt 2023-03-03 21:22:52,082-DEBUG:decorators Registering GET URL: /background 2023-03-03 21:22:52,083-DEBUG:decorators Registering GET URL: /api/index.js 2023-03-03 21:22:52,083-DEBUG:decorators Registering GET URL: /html/index.html 2023-03-03 21:22:52,084-DEBUG:decorators Registering GET URL: / 2023-03-03 21:22:52,084-DEBUG:decorators Registering GET URL: /favicon.ico 2023-03-03 21:22:52,085-DEBUG:decorators Registering GET URL: /api/dashstatus.json 2023-03-03 21:22:52,086-DEBUG:decorators Registering GET URL: /xmltv.xml 2023-03-03 21:22:52,086-DEBUG:decorators Registering GET URL: /playlist 2023-03-03 21:22:52,086-DEBUG:decorators Registering GET URL: /channels.m3u 2023-03-03 21:22:52,087-DEBUG:decorators Registering GET URL: /lineup.xml 2023-03-03 21:22:52,087-DEBUG:decorators Registering GET URL: /lineup.json 2023-03-03 21:22:52,088-DEBUG:decorators Registering GET URL: /api/channels 2023-03-03 21:22:52,088-DEBUG:decorators Registering GET URL: /api/channels_form 2023-03-03 21:22:52,090-DEBUG:decorators Registering GET URL: /discover.json 2023-03-03 21:22:52,090-DEBUG:decorators Registering GET URL: /device.xml 2023-03-03 21:22:52,091-DEBUG:decorators Registering GET URL: /lineup_status.json 2023-03-03 21:22:52,091-DEBUG:decorators Registering GET URL: /api/configform 2023-03-03 21:22:52,092-DEBUG:decorators Registering GET URL: /tunerstatus 2023-03-03 21:22:52,092-DEBUG:decorators Registering GET URL: /api/upgrade 2023-03-03 21:22:52,093-DEBUG:decorators Registering GET URL: /config.json 2023-03-03 21:22:52,093-DEBUG:decorators Registering GET URL: /api/schedulehtml 2023-03-03 21:22:52,094-DEBUG:decorators Registering GET URL: /api/scheduler 2023-03-03 21:22:52,094-DEBUG:decorators Registering GET URL: /api/restart 2023-03-03 21:22:52,095-DEBUG:decorators Registering POST URL: /api/data_mgmt 2023-03-03 21:22:52,095-DEBUG:decorators Registering POST URL: /api/channels_form 2023-03-03 21:22:52,096-DEBUG:decorators Registering POST URL: /lineup.post 2023-03-03 21:22:52,097-DEBUG:decorators Registering POST URL: /api/configform 2023-03-03 21:22:52,097-DEBUG:decorators Registering POST URL: /api/schedulehtml 2023-03-03 21:22:52,098-DEBUG:decorators Registering GET URL: /html/ 2023-03-03 21:22:52,098-DEBUG:decorators Registering GET URL: /images/ 2023-03-03 21:22:52,100-DEBUG:decorators Registering GET URL: /modules/ 2023-03-03 21:22:52,100-DEBUG:decorators Registering GET URL: /temp/ 2023-03-03 21:22:52,101-INFO:web_handler WebAdminHttpHandler Now listening for requests. Number of listeners=8 2023-03-03 21:22:52,130-NOTICE:main Starting streaming tuner website on 192.168.5.250:5004 2023-03-03 21:22:52,328-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for DaddyLive 2023-03-03 21:22:52,329-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for M3U 2023-03-03 21:22:52,329-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for PlutoTV 2023-03-03 21:22:52,330-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for XUMO 2023-03-03 21:22:52,371-DEBUG:pickling Unpickling PluginHandler 2023-03-03 21:22:52,373-INFO:web_handler TunerHttpHandler Now listening for requests. Number of listeners=40 2023-03-03 21:22:52,430-NOTICE:scheduler Running inline task Channels:Refresh PlutoTV Channels 2023-03-03 21:22:52,430-DEBUG:scheduler PlutoTV scheduled tasks ignored. plugin disabled 2023-03-03 21:22:52,434-NOTICE:scheduler Running threaded task Applications:Check for Updates 2023-03-03 21:22:52,436-NOTICE:scheduler Running threaded task EPG:Refresh PlutoTV EPG 2023-03-03 21:22:52,445-DEBUG:scheduler PlutoTV scheduled tasks ignored. plugin disabled 2023-03-03 21:22:54,547-DEBUG:pickling Deleting Pickle File PluginHandler 2023-03-03 21:22:54,547-NOTICE:main Cabernet is now online.

merrychrishna commented 1 year ago

when i set the reset edits to yes, theres no save button so when i refresh the page the setting goes back to "no"

image

merrychrishna commented 1 year ago

if i set it to yes anyway and i close cabernet and open it i get these logs in the cmd windows

C:\Windows\system32>firefox http://localhost:6077

C:\Windows\system32>cd "C:\Program Files\cabernet"

C:\Program Files\cabernet>python tvh_main.py 2023-03-03 21:34:59,349-INFO:user_config Loading Configuration File: C:\Program Files\cabernet\data\config.ini 2023-03-03 21:34:59,350-NOTICE:config_callbacks streamlink_path does not exist in [cabernet]/streamlink/bin, will use PATH env to find streamlink.exe 2023-03-03 21:34:59,453-WARNING:main ######################################### 2023-03-03 21:34:59,453-WARNING:main MIT License, Copyright (C) 2021 ROCKY4546 2023-03-03 21:34:59,454-NOTICE:main Cabernet v0.9.10.03 2023-03-03 21:34:59,454-INFO:main Getting Plugins... 2023-03-03 21:34:59,455-DEBUG:plugin_handler Plugin Defn file loaded 2023-03-03 21:34:59,456-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_daddylive 2023-03-03 21:34:59,467-DEBUG:db config_defn database closed for thread:21772 2023-03-03 21:34:59,468-DEBUG:config_defn Database terminated for thread:21772 2023-03-03 21:34:59,470-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_daddylive 2023-03-03 21:34:59,475-INFO:plugin No instances found, disabling plugin DaddyLive 2023-03-03 21:34:59,475-NOTICE:plugin Plugin created for DaddyLive 2023-03-03 21:34:59,476-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_m3u 2023-03-03 21:34:59,486-DEBUG:db config_defn database closed for thread:21772 2023-03-03 21:34:59,486-DEBUG:config_defn Database terminated for thread:21772 2023-03-03 21:34:59,489-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_m3u 2023-03-03 21:34:59,494-INFO:plugin No instances found, disabling plugin M3U 2023-03-03 21:34:59,494-NOTICE:plugin Plugin created for M3U 2023-03-03 21:34:59,494-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_plutotv 2023-03-03 21:34:59,504-DEBUG:db config_defn database closed for thread:21772 2023-03-03 21:34:59,504-DEBUG:config_defn Database terminated for thread:21772 2023-03-03 21:34:59,506-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_plutotv 2023-03-03 21:34:59,511-INFO:plugin No instances found, disabling plugin PlutoTV 2023-03-03 21:34:59,511-NOTICE:plugin Plugin created for PlutoTV 2023-03-03 21:34:59,512-DEBUG:plugin Plugin Config Defn file loaded at plugins.provider_video_xumo 2023-03-03 21:34:59,522-DEBUG:db config_defn database closed for thread:21772 2023-03-03 21:34:59,523-DEBUG:config_defn Database terminated for thread:21772 2023-03-03 21:34:59,525-DEBUG:plugin Plugin Manifest file loaded at plugins.provider_video_xumo 2023-03-03 21:34:59,531-INFO:plugin No instances found, disabling plugin XUMO 2023-03-03 21:34:59,531-NOTICE:plugin Plugin created for XUMO 2023-03-03 21:34:59,534-DEBUG:plugin Plugin Config Defn file loaded at plugins_ext.provider_epg_tvguide 2023-03-03 21:34:59,535-WARNING:plugin PLUGIN CONFIG DEFN FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-03 21:34:59,535-WARNING:plugin PLUGIN MANIFEST FILE NOT FOUND AT plugins_ext.provider_epg_tvguide 2023-03-03 21:34:59,536-DEBUG:plugin Plugin disabled in config.ini for 2023-03-03 21:34:59,536-INFO:plugin_handler Plugin DaddyLive is disabled in config.ini 2023-03-03 21:34:59,537-INFO:plugin_handler Plugin M3U is disabled in config.ini 2023-03-03 21:34:59,537-INFO:plugin_handler Plugin PlutoTV is disabled in config.ini 2023-03-03 21:34:59,537-INFO:plugin_handler Plugin XUMO is disabled in config.ini 2023-03-03 21:34:59,537-INFO:plugin_handler Plugin None is disabled in config.ini 2023-03-03 21:34:59,539-DEBUG:pickling Pickling PluginHandler 2023-03-03 21:34:59,541-NOTICE:main Starting admin website on 192.168.5.250:6077 2023-03-03 21:34:59,788-DEBUG:pickling Unpickling PluginHandler 2023-03-03 21:34:59,790-DEBUG:decorators Registering GET URL: /api/data_mgmt 2023-03-03 21:34:59,790-DEBUG:decorators Registering GET URL: /background 2023-03-03 21:34:59,791-DEBUG:decorators Registering GET URL: /api/index.js 2023-03-03 21:34:59,791-DEBUG:decorators Registering GET URL: /html/index.html 2023-03-03 21:34:59,791-DEBUG:decorators Registering GET URL: / 2023-03-03 21:34:59,792-DEBUG:decorators Registering GET URL: /favicon.ico 2023-03-03 21:34:59,792-DEBUG:decorators Registering GET URL: /api/dashstatus.json 2023-03-03 21:34:59,792-DEBUG:decorators Registering GET URL: /xmltv.xml 2023-03-03 21:34:59,793-DEBUG:decorators Registering GET URL: /playlist 2023-03-03 21:34:59,793-DEBUG:decorators Registering GET URL: /channels.m3u 2023-03-03 21:34:59,794-DEBUG:decorators Registering GET URL: /lineup.xml 2023-03-03 21:34:59,794-DEBUG:decorators Registering GET URL: /lineup.json 2023-03-03 21:34:59,795-DEBUG:decorators Registering GET URL: /api/channels 2023-03-03 21:34:59,795-DEBUG:decorators Registering GET URL: /api/channels_form 2023-03-03 21:34:59,795-DEBUG:decorators Registering GET URL: /discover.json 2023-03-03 21:34:59,796-DEBUG:decorators Registering GET URL: /device.xml 2023-03-03 21:34:59,796-DEBUG:decorators Registering GET URL: /lineup_status.json 2023-03-03 21:34:59,796-DEBUG:decorators Registering GET URL: /api/configform 2023-03-03 21:34:59,797-DEBUG:decorators Registering GET URL: /tunerstatus 2023-03-03 21:34:59,797-DEBUG:decorators Registering GET URL: /api/upgrade 2023-03-03 21:34:59,798-DEBUG:decorators Registering GET URL: /config.json 2023-03-03 21:34:59,798-DEBUG:decorators Registering GET URL: /api/schedulehtml 2023-03-03 21:34:59,799-DEBUG:decorators Registering GET URL: /api/scheduler 2023-03-03 21:34:59,799-DEBUG:decorators Registering GET URL: /api/restart 2023-03-03 21:34:59,799-DEBUG:decorators Registering POST URL: /api/data_mgmt 2023-03-03 21:34:59,800-DEBUG:decorators Registering POST URL: /api/channels_form 2023-03-03 21:34:59,800-DEBUG:decorators Registering POST URL: /lineup.post 2023-03-03 21:34:59,800-DEBUG:decorators Registering POST URL: /api/configform 2023-03-03 21:34:59,801-DEBUG:decorators Registering POST URL: /api/schedulehtml 2023-03-03 21:34:59,801-DEBUG:decorators Registering GET URL: /html/ 2023-03-03 21:34:59,802-DEBUG:decorators Registering GET URL: /images/ 2023-03-03 21:34:59,803-DEBUG:decorators Registering GET URL: /modules/ 2023-03-03 21:34:59,803-DEBUG:decorators Registering GET URL: /temp/ 2023-03-03 21:34:59,803-INFO:web_handler WebAdminHttpHandler Now listening for requests. Number of listeners=8 2023-03-03 21:34:59,808-DEBUG:web_handler [127.0.0.1] "GET / HTTP/1.1" 302 - 2023-03-03 21:34:59,833-NOTICE:main Starting streaming tuner website on 192.168.5.250:5004 2023-03-03 21:34:59,857-DEBUG:web_handler [127.0.0.1] "GET /html/index.html HTTP/1.1" 200 - 2023-03-03 21:34:59,899-DEBUG:web_handler [127.0.0.1] "GET /modules/navdrawer/navdrawer.css HTTP/1.1" 200 - 2023-03-03 21:34:59,899-DEBUG:web_handler [127.0.0.1] "GET /modules/scrollstyles.css HTTP/1.1" 200 - 2023-03-03 21:34:59,900-DEBUG:web_handler [127.0.0.1] "GET /modules/fonts/fonts.css HTTP/1.1" 200 - 2023-03-03 21:34:59,901-DEBUG:web_handler [127.0.0.1] "GET /modules/fonts/material-icons/style.css HTTP/1.1" 200 - 2023-03-03 21:34:59,903-DEBUG:web_handler [127.0.0.1] "GET /modules/backdrop/style.css HTTP/1.1" 200 - 2023-03-03 21:34:59,905-DEBUG:web_handler [127.0.0.1] "GET /modules/navdrawer/navdrawer.js HTTP/1.1" 200 - 2023-03-03 21:34:59,905-DEBUG:web_handler [127.0.0.1] "GET /modules/flexstyles.css HTTP/1.1" 200 - 2023-03-03 21:34:59,905-DEBUG:web_handler [127.0.0.1] "GET /api/index.js HTTP/1.1" 200 - 2023-03-03 21:34:59,912-DEBUG:web_handler [127.0.0.1] "GET /modules/emby-elements/emby-collapse/emby-collapse.css HTTP/1.1" 200 - 2023-03-03 21:34:59,927-DEBUG:web_handler [127.0.0.1] "GET /modules/emby-elements/emby-button/emby-button.css HTTP/1.1" 200 - 2023-03-03 21:35:00,046-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for DaddyLive 2023-03-03 21:35:00,047-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for M3U 2023-03-03 21:35:00,047-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for PlutoTV 2023-03-03 21:35:00,048-DEBUG:web_tuner TunerHttpHandler Implementing 10 tuners for XUMO 2023-03-03 21:35:00,117-DEBUG:pickling Unpickling PluginHandler 2023-03-03 21:35:00,120-INFO:web_handler TunerHttpHandler Now listening for requests. Number of listeners=40 2023-03-03 21:35:00,150-NOTICE:scheduler Running inline task Channels:Refresh PlutoTV Channels 2023-03-03 21:35:00,151-DEBUG:scheduler PlutoTV scheduled tasks ignored. plugin disabled 2023-03-03 21:35:00,157-NOTICE:scheduler Running threaded task Applications:Check for Updates 2023-03-03 21:35:00,162-NOTICE:scheduler Running threaded task EPG:Refresh PlutoTV EPG 2023-03-03 21:35:00,176-DEBUG:scheduler PlutoTV scheduled tasks ignored. plugin disabled 2023-03-03 21:35:01,587-DEBUG:web_handler [127.0.0.1] "GET /modules/layout.css HTTP/1.1" 200 - 2023-03-03 21:35:01,610-DEBUG:web_handler [127.0.0.1] "GET /images/icon-32x32.png HTTP/1.1" 200 - 2023-03-03 21:35:01,611-INFO:web_handler ConnectionAbortedError:[WinError 10053] An established connection was aborted by the software in your host machine 2023-03-03 21:35:01,624-DEBUG:web_handler [127.0.0.1] "GET /modules/fonts/material-icons/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 HTTP/1.1" 200 - 2023-03-03 21:35:01,625-DEBUG:web_handler [127.0.0.1] "GET /modules/fonts/roboto/KFOmCnqEu92Fr1Mu4mxK.woff2 HTTP/1.1" 200 - 2023-03-03 21:35:01,651-DEBUG:web_handler [127.0.0.1] "GET /modules/fonts/roboto/KFOlCnqEu92Fr1MmEU9fBBc4.woff2 HTTP/1.1" 200 - 2023-03-03 21:35:02,267-DEBUG:pickling Deleting Pickle File PluginHandler 2023-03-03 21:35:02,268-NOTICE:main Cabernet is now online. 2023-03-03 21:35:02,614-DEBUG:web_handler [127.0.0.1] "GET /modules/themes/spring/theme.css HTTP/1.1" 200 - 2023-03-03 21:35:02,614-DEBUG:web_handler [127.0.0.1] "GET /modules/themes/spring/theme.js HTTP/1.1" 200 - 2023-03-03 21:35:02,623-DEBUG:web_handler [127.0.0.1] "GET /modules/dashboard/dashboard.css HTTP/1.1" 200 - 2023-03-03 21:35:02,623-DEBUG:web_handler [127.0.0.1] "GET /modules/table/table.css HTTP/1.1" 200 - 2023-03-03 21:35:02,625-DEBUG:web_handler [127.0.0.1] "GET /modules/dashboard/dashboard.js HTTP/1.1" 200 - 2023-03-03 21:35:02,666-DEBUG:web_handler [127.0.0.1] "GET /modules/themes/logowhite.png HTTP/1.1" 200 - 2023-03-03 21:35:02,740-DEBUG:web_handler [127.0.0.1] "GET /background HTTP/1.1" 200 - 2023-03-03 21:35:05,696-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:35:05,698-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:35:05,707-DEBUG:web_handler [127.0.0.1] "GET /modules/fonts/roboto/KFOlCnqEu92Fr1MmWUlfBBc4.woff2 HTTP/1.1" 200 - 2023-03-03 21:35:10,763-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:35:10,765-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:35:18,826-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:35:18,828-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:35:29,889-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:35:29,891-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:35:43,947-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:35:43,948-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:36:01,013-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:36:01,014-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:36:21,069-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:36:21,071-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 - 2023-03-03 21:36:44,134-DEBUG:web_handler [127.0.0.1] "GET /tunerstatus HTTP/1.1" 200 - 2023-03-03 21:36:44,135-DEBUG:web_handler [127.0.0.1] "GET /api/dashstatus.json HTTP/1.1" 200 -

rocky4546 commented 1 year ago

It says you have no instance enabled, so nothing is going to happen.

merrychrishna commented 1 year ago

i think you missed when i said this. the instance tab is missing in cabernet 9.10.03

image

merrychrishna commented 1 year ago

oh i know what the problem is. i might have removed it from the config.ini. i have now just created a new config.ini and its showing up now. sorry for the newbie stuff ive been doing, im still getting the hang of it. ill probably forget everthing too if i stop using it for a month lol.