tubearchivist / tubearchivist-plex

Tube Archivist Plex Integration
GNU General Public License v3.0
120 stars 9 forks source link

[Installation Help]: Documentation update TubeArchivist URL #29

Open jfroebe opened 1 year ago

jfroebe commented 1 year ago

Installation instructions

Operating System

Linux Container

Your installation or setup question

update install documentation

The TubeArchivist URL needs to include the port number else the plugin will attempt to connect to port 80

cat ta_config.json { "ta_url": "http://tube-archivist.local:8000", "ta_api_key": "....." }

Note: If Plex is installed in a container, you may need to specify the host to ip address to the docker run line:

--add-host "tube-archivist.local:192.168.68.4"

see "extra_hosts" for docker composer.

Relevant log output

2023-11-27 10:15:22,356 [TubeArchivist Scanner] INFO - Attempting to connect to TubeArchivist at http://tube-archivist.local with provided token from `ta_config.json` file.
2023-11-27 10:15:22,374 [TubeArchivist Scanner] ERROR - Error connecting to TubeArchivist with URL 'http://tube-archivist.local', Exception: 'No JSON object could be decoded'

^^ the plugin was connecting to port 80 (Unraid in my case).  Specifying the port # of TubeArchive resolved the issue
lamusmaser commented 11 months ago

It will connect using standard port if not supplied, so 80 for HTTP, 443 for HTTPS. Documentation can be updated to reflect this.

If someone else can get to this, that would be appreciated. Otherwise, it'll be a while before I have available resources to make the updates required.

lamusmaser commented 2 months ago

Missed doing this when I was handling the updates for v0.1.6, so I'll ensure it gets included with a future update that incorporates the README fixes.