z411 / trackma

Open multi-site list manager for Unix-like systems. (ex-wMAL)
https://z411.github.io/trackma
GNU General Public License v3.0
775 stars 81 forks source link

Plex: Add SSL toggle #674

Closed TheVexedGerman closed 1 year ago

TheVexedGerman commented 1 year ago

This would be a solution for Issue #369.

The hardcoded http prevents any secure connections from being used. This pull request adds a configuration option to use ssl, which then prefixes https. This is not a perfect fix since it will still run into SSL certificate errors if only the server IP is used, but if the plex.direct url of the server is used, to which the certificate is issues it works without a problem.

Alternatively the SSL verification can be turned off, but that is not a good solution even if this solution puts the onus on the user to use the correct URL instead of simply the IP.

This fix also adds a checkbox toggle for the setting to the qt and gtk setting windows.