dmunozv04 / iSponsorBlockTV

SponsorBlock client for all YouTube TV clients.
GNU General Public License v3.0
2.49k stars 105 forks source link

Suddenly stopped working entirely w/ no system changes/updates? Decoder/json err? #180

Closed vulcanjedi closed 3 months ago

vulcanjedi commented 3 months ago

Before opening an issue make sure that there are no duplicates and that you are on the latest version. suddenly spontaneously stopped working entirely. Main TV physical broke....while waiting for replacment to be delivered, migrated Chromecast dongle downstairs. Delivery took excessive time, then when new tv arrived, connected to new tv and everything continued work no problem then yesterday evening just stopped. Reviewed container and realized errors

Expected behavior A clear and concise description of what you expected to happen. None of the default expectant behvaiour works. Autoskipping...etc

Screenshots If applicable, add screenshots to help explain your problem.

iSponsorBlockTV server (please complete the following information): docker on linux/ubuntu v2.1.0

Apple TV (please complete the following information): Chromecast 4k dongle

Additional context

ssss

ch Filter... Lines 100 Actions

File "./iSponsorBlockTV/helpers.py", line 150, in app_start File "./iSponsorBlockTV/helpers.py", line 45, in init File "./iSponsorBlockTV/helpers.py", line 77, in load File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 160) Traceback (most recent call last): File "./main.py", line 3, in File "./iSponsorBlockTV/helpers.py", line 150, in app_start File "./iSponsorBlockTV/helpers.py", line 45, in init File "./iSponsorBlockTV/helpers.py", line 77, in load File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 160) Traceback (most recent call last): File "./main.py", line 3, in File "./iSponsorBlockTV/helpers.py", line 150, in app_start File "./iSponsorBlockTV/helpers.py", line 45, in init File "./iSponsorBlockTV/helpers.py", line 77, in load File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 160) Traceback (most recent call last): File "./main.py", line 3, in File "./iSponsorBlockTV/helpers.py", line 150, in app_start File "./iSponsorBlockTV/helpers.py", line 45, in init File "./iSponsorBlockTV/helpers.py", line 77, in load File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 160) Traceback (most recent call last): File "./main.py", line 3, in File "./iSponsorBlockTV/helpers.py", line 150, in app_start File "./iSponsorBlockTV/helpers.py", line 45, in init File "./iSponsorBlockTV/helpers.py", line 77, in load File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 160) Traceback (most recent call last): File "./main.py", line 3, in File "./iSponsorBlockTV/helpers.py", line 150, in app_start File "./iSponsorBlockTV/helpers.py", line 45, in init File "./iSponsorBlockTV/helpers.py", line 77, in load File "/usr/local/lib/python3.11/json/init.py", line 293, in load return loads(fp.read(), ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 160)

dmunozv04 commented 3 months ago

Hi @vulcanjedi please check that your config.json file is valid json. If you want, you can post it, censoring the sensitive data like the YouTube api key and the screen ids

vulcanjedi commented 3 months ago

I used the gui tool to create it and didnt mess with it at all?


From: David @.> Sent: Friday, July 26, 2024 10:02 AM To: dmunozv04/iSponsorBlockTV @.> Cc: vulcanjedi @.>; Mention @.> Subject: Re: [dmunozv04/iSponsorBlockTV] Suddenly stopped working entirely w/ no system changes/updates? Decoder/json err? (Issue #180)

Hi @vulcanjedihttps://github.com/vulcanjedi please check that your config.json file is valid json. If you want, you can post it, censoring the sensitive data like the YouTube api key and the screen ids

— Reply to this email directly, view it on GitHubhttps://github.com/dmunozv04/iSponsorBlockTV/issues/180#issuecomment-2252954489, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQPFPA4BXOTJXE7B2LHWR3ZOJQJFAVCNFSM6AAAAABLQV25VSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJSHE2TINBYHE. You are receiving this because you were mentioned.Message ID: @.***>

vulcanjedi commented 3 months ago

{ "devices": [ { "screen_id": "xxxxxxxxxxxxxxxxxxxxxxxx", "name": "YouTube on TV", "offset": 0 }, ], "apikey": "", "skip_categories": [ "sponsor", "selfpromo", "intro", "music_offtopic" ], "channel_whitelist": [], "skip_count_tracking": true, "mute_ads": true, "skip_ads": true }