Open Thomahawkuru opened 2 months ago
Please post your config (making sure to redact sensitive info). Also, calling main_tui.py
sets the data_dir to a different place that what the regular program does; try opening the configurator by using main.py --setup
Thanks for getting back quickly. Can confirm that running main.py --setup, the autoplay config is applied correctly. So seems like i was wrong in using main_tui.py to set config for main.py? Are these unrelated?
main_tui.py puts the config in home/data/config.json/config.json:
{ "devices": [ { "screen_id": "{redacted}", "name": "Platte TV", "offset": 0 }, { "screen_id": "{redacted}", "name": "TV kast", "offset": 0 } ], "apikey": "{redacted}", "skip_categories": [ "sponsor", "selfpromo" ], "channel_whitelist": [], "skip_count_tracking": true, "mute_ads": false, "skip_ads": false, "auto_play": false }
However cant find where main.py --config puts the config.json.
@Thomahawkuru You're welcome. main_tui.py
was used for testing and should probably be removed, and it just forces the config dir to data
. The main script will save your config.json on user_data_dir("iSponsorBlockTV", "dmunozv04")
from appdirs. Maybe another command to view the data_dir path could be useful
Thank you for clarifying, sorry for my confusion.
Don't worry, this gives me the opportunity to make it better and more clear in the future
Before we begin, i am aware of #82 and #190. But somehow autoplay is always enabled regardless of the config on 2.1.0.
To Reproduce Steps to reproduce the behavior:
Expected behavior TV queu autoplay behavior following autoplay setting of the config.
iSponsorBlockTV server (please complete the following information):