browser-extension icon indicating copy to clipboard operation
browser-extension copied to clipboard

Extension expects latest TA version: JSON.parse: unexpected character at line 2 column 1 of the JSON data

Open Mizerka opened this issue 9 months ago • 8 comments

Image

Hey, looks like 0.4 is live now, I had an issue with it on firefox, title + pic shown,

I dont believe it actually copies the cookie over correctly in this state, I wanted the live sync ages ago but couldnt get it to work at all, reverted to 0.3.2 which was working slow but working.

Let me know if you need any logs from anywhere.

Mizerka avatar Mar 09 '25 17:03 Mizerka

Did you update TA to v0.5.0? API has changed, you need to update things together.

bbilly1 avatar Mar 09 '25 17:03 bbilly1

good question, no, dont think so, hub was updated 3hours ago, updating docker now.

Mizerka avatar Mar 09 '25 18:03 Mizerka

that sorted it, thanks.

had old docker template btw, didnt like redist_host, changed to redis_con and had to change from to redis://:port

will see if that works better, thanks.

Mizerka avatar Mar 09 '25 19:03 Mizerka

@Mizerka Glad you found it. see the detailed release notes on the main repo.

Then as this is user error, please also correct your review here: https://addons.mozilla.org/en-US/firefox/addon/tubearchivist-companion/reviews/

bbilly1 avatar Mar 09 '25 23:03 bbilly1

Just pointing out that it is not strictly user error as the release notes say "Added compatibility for Tube Archivist v0.5.0.", not that support for v0.4.x was removed.

light avatar Mar 12 '25 20:03 light

Just pointing out that it is not strictly user error as the release notes say "Added compatibility for Tube Archivist v0.5.0.", not that support for v0.4.x was removed.

It's clearly stated in the readme here that you need to run the latest version of TA for compatibility:

Verify that you are running the latest version of Tube Archivist as the API is under development and will change.

But I also added a note to the release notes to make this even more obvious.

bbilly1 avatar Mar 14 '25 16:03 bbilly1

The browser extension updated on its own, I don't have control over what version it is running. Please consider maintaining backwards compatibility. I don't currently have the time to do the upgrade to 0.5.0, as it seems like it is a painful process that will take many hours of troubleshooting.

avwuff avatar Mar 14 '25 21:03 avwuff

Effort is better spent on improving the the project and pushing it forward, not on maintaining backwards compatibility.

But nothing magical with browser extensions:

Firefox

All release versions are accessible on the release tab here: https://addons.mozilla.org/en-US/firefox/addon/tubearchivist-companion/versions

Click on download file for any version you want to install

Chrome

Slightly more complicated, as they don't provide convenient version history. But: Clone this repo by the version tag you want to run, copy the manifest.json file and load the extension.

Something like this:

git clone --branch v0.3.2 https://github.com/tubearchivist/browser-extension TA-Companion
cp TA-Companion/extension/manifest-chrome.json TA-Companion/extension/manifest.json

Then in Chrome go to chrome://extensions/, toggle on "Developer mode" on the top right there, then click on "Load unpacked" and load the "extension" folder you have just cloned with the "manifest.json" file, that's TA-Companion/extension.

I'm reopening and pinning this issue to hopefully avoid duplicates.

bbilly1 avatar Mar 15 '25 09:03 bbilly1

Just updated to TA 0.5.0 then to 0.5.1 and then Firefox plugin... and have the same issue. Image

But integration works, I can download, I see subscription and video status Image

QuAzI avatar Apr 16 '25 15:04 QuAzI

Because http://home.local:8000/api/appsettings/cookie/ crashes. Even can't PUT new cookies

Image

QuAzI avatar Apr 16 '25 16:04 QuAzI

That is probably related to the appsettings migration problem, as documented in the release notes:

https://github.com/tubearchivist/tubearchivist/releases/tag/v0.5.0

You can follow the steps there.

bbilly1 avatar May 15 '25 00:05 bbilly1

I have the same problem with freshly installed TubeArchivist v0.5.2

ottsch avatar May 21 '25 11:05 ottsch

I have the same problem with browser-extension on chrome v0.4.1 and TubeArchivist v0.4.13

xinmans avatar Jun 06 '25 15:06 xinmans