Closed Ephellon closed 5 years ago
Hi,
I merged your PR so we can continue from here. I began testing and changing some code a bit.
Please note changes have been made since the merge, so the lines won't match up!
Hey @SpaceK33z , sorry about that; the next update should fix the issue: if the user specifies HTTPS/HTTP, then use that mode, default to HTTP otherwise.
.replace(/^(?!^http(s)?:\/\/)(.+)/, 'http$1://$2')
Sidenote: Tried to use Watcher with SSL enabled (HTTPS), but the new Chrome Update is no longer accepting the certificates.
Allright thanks!
but the new Chrome Update is no longer accepting the certificates.
What do you mean with the certificates? For my own setup I use Nginx as a reverse proxy and have e.g. these urls: example.com/radarr
, example.com/sonarr
. They all use the same certificate from Let's Encrypt. I can really recommend that setup :).
I don't have the reverse proxy, may be the problem
Any other bugs?
@Ephellon, Seems to be good so far. Very nice! However the fact that the options page is on a separate page now and as a result cannot access Radarr/Sonarr from HTTPS (with i.e. a reverse proxy) is a deal breaker for me. Perhaps we can add a separate background script for the options page that performs the requests? That might work.
Yes, that sounds like it might work
Alright, finally found some free time this week to work on WtP.
Alongside the fixes mentioned above, I'll add "create background script for options page."
@SpaceK33z, could you send me a (most recent) copy of the project so far, to keep things organised? I'll use the most recent merge for now.
Cool! Sorry for the radio silence on my part, been very busy. I haven't worked on it meanwhile, so this repository is up to date.
Also I can't wait on this release 👍, very excited!
Same. I'll use this version then
Good evening/morning @SpaceK33z, I've made quite a few changes to the plugin (screenshots at bottom of post).
Hey @SpaceK33z, I just published v4 on my channel, please try it out and let me know of any errors you find.
v4.0 is ready to be reviewed: Web to Plex (4.0.0.0) - Stable.zip
@Ephellon Cool. I liked the custom Plex buttons that have the same style as the rest of the site though, to be honest, but your new approach also has some advantages that I like. I tested the extension in Chrome.
I'll try a clean install, not sure the permissions are firing
Just fixed it, added the all_urls permission
Hey @SpaceK33z, fixed with new permission: Web to Plex (4.0.0.0).zip
Also, I liked the matching buttons too, but after Amazon updated their site again, I got tired of having to go and find the correct parent element. I left the style sheets for each site in case I make a future update (maybe the user can choose between the new button and the old ones?). But I really need to clean up the code first--there are a couple hundred lines of unused code.
Nice, tested again:
The Hide button makes it transparent (on Netflix, etc) while it's unneeded.
I'll change those placeholders and descriptions.
The CSS itself is gone, simply the file is still there, i.e. there are empty CSS files for later.
@SpaceK33z, here's the extension with descriptions: Web to Plex (4.0.0.0).zip.
I also updated the Wiki. I'll add more content to the Wiki for the same questions posted on here.
TODO
"Right-Click Bug" - "Right-click | Find Title" event listeners (v1.2.0.0 - v3.1.2.0)
/background.js::chrome.contextMenus.onClicked.addListener@anonymous
)Solution(s)
/background.js::chrome.contextMenus.onClicked.addListener@anonymous:if
/background.js::chrome.contextMenus.onClicked.addListener@anonymous
if(new_window_not_open) refire_event;
"Empty Requests Bug"- Empty title queries (v0.0.0.0 - v3.1.2.0)
Solution(s)
/utils.js::findPlexMedia
if(no_title || empty_title) throw title_error;
if(no_title || empty_title) throw title_error;
"VRV Date Bug" - VRV years vs. TVDb years
Solution(s)
Replace Flenix
Solution(s)
Search for an HD MP4 file of a title
viduplayer
, and turns out it's pretty straight forwardSolution(s)
https://viduplayer.com/movies/{ IMDbID }_hd.mp4
Item Saving Bug
Solution(s)
Data Loading/Saving Error
Solution(s)
load
andsave
functions as promises