web-to-plex icon indicating copy to clipboard operation
web-to-plex copied to clipboard

Issue: Charging CouchPotato does not work

Open sp00kie opened this issue 4 years ago • 32 comments

  1. Connect to Plex.
  2. Select server.
  3. Enter couchpotato settings.
  4. save settings.
  5. Go to IMDB and find a movie already in the library.
  6. Instead of a "View in Plex" link there is a "Download" button.

It doesn't matter how long you wait. I checked after 12 hrs and refreshed the imdb page and it still had a "Download" button

sp00kie avatar Mar 26 '20 23:03 sp00kie

Hi. CouchPotato does not cache (charge) found media correctly, see #162

Alright, got the movies to be added again. But, the charging statement does not work (still).

Charging — Web to Plex's "caching" ability; it grabs all movies/shows that the user has already added via their manager(s)

Ephellon avatar Mar 27 '20 13:03 Ephellon

Sorry, had no idea this was a dupe. I did search! Also, thanks for the great extension.

sp00kie avatar Mar 27 '20 13:03 sp00kie

No problem. I'll keep this as a separate ticket, I'll focus on CouchPotato as a whole in #162

Ephellon avatar Mar 27 '20 13:03 Ephellon

I don't know if this is of any help to you but there is an open source project called ombi that pulls data from plex for basically the same use as your plugin.

sp00kie avatar Mar 28 '20 11:03 sp00kie

Yes, Ombi support was added to this project already.

Ephellon avatar Mar 28 '20 15:03 Ephellon

Wait, what version are you using?

Ephellon avatar Mar 28 '20 15:03 Ephellon

Current version is v4.1.2.4

Ephellon avatar Mar 28 '20 15:03 Ephellon

@sp00kie ↑

Ephellon avatar Mar 28 '20 15:03 Ephellon

hi. I'm using version 3.4. That's what was on the chrome store like 4 days ago. ok I found version 4.1 and installed it. It works perfectly for movies. I'm not sure if its pulling data from couchpotato or plex. My problem with medusa is that it forces me to select one folder. The problem is that my tv shows are on 3 different hdds.

sp00kie avatar Mar 28 '20 22:03 sp00kie

Hi @sp00kie,

  1. Pulling: It's pulling from CouchPotato (charging)
  2. Multiple folders: I have a similar setup; I've already started implementing the Ctrl Click method for adding multiple folders (in the upcoming version)
  3. Ombi: I've already added their code, not sure what you mean. As far as getting data from Plex, it currently works just fine; if you're using Ombi, the extension doesn't bother doing anything other than telling Ombi to add the item

Ephellon avatar Mar 29 '20 11:03 Ephellon

yeah the current version seems to be pulling data from everywhere properly. Sorry for bothering you with the old version. I do have a different problem with the current version though. It changes the layout of websites its working on. I have attached some examples. It makes my ombi unusable because I can't access settings. The second screenshot is get info on a movie in plex. Screenshot_3 Screenshot_2 Screenshot_1 Screenshot_17

sp00kie avatar Mar 29 '20 13:03 sp00kie

Try reinstalling the extension, see #165

Ephellon avatar Mar 29 '20 15:03 Ephellon

ok so I reinstalled the extension and then restarted chrome. Whenever I open an imdb page, the extension opens its settings page and switches to it. If I switch back to imdb and refresh, it will switch back to the extension settings page. If I have closed it, it will reopen it.

All pages look fine. Signing into plex and saving settings results in my ombi page being broken like in the screenshot but the imdb page is still fine. Selecting imdb in default sites and refreshing results in the imdb page being broken including the web to plex button as well. I've tried uninstalling and reinstalling several times with the same results. I also tried doing it with all my other extensions disabled. Exactly the same result.

Also, the firefox and opera extension links on the page below result in it not being found. https://github.com/SpaceK33z/web-to-plex

I wanted to see if I could get it working properly in another browser.

sp00kie avatar Mar 29 '20 20:03 sp00kie

Sending me the errors (click to expand)
  1. Please enable Developer Mode in Web to Plex's settings, and navigate to IMDb or Ombi
  2. Press Ctrl Shift J
  3. Select the Web to Plex context from the context drop-down (left-hand side)

image

  1. Open the Console settings (right-hand side)
  2. Ensure the Selected context only box is checked

image

  1. Please send a screenshot of the page and error messages, like so ("The Hunt (2020)" on IMDb) →

image image


Response to your last post (click to expand)
  1. Settings will nag you until you save them (getting rid of that)
  2. I'll investigate with a fresh install
  3. Opera works in dev mode only. Firefox was disabled (see #167)

Ephellon avatar Mar 30 '20 01:03 Ephellon

@sp00kie ↑

Thanks for your help so far. I haven't been able to recreate the errors yet, could you take a look at the post above so I can figure out what's wrong?

Ephellon avatar Mar 30 '20 01:03 Ephellon

ok that is really weird. As soon as I turn on developer mode and refresh the IMDB page the format is fine. I'm gonna do it without refreshing the page.

sp00kie avatar Mar 30 '20 02:03 sp00kie

You won't be able to, the errors only propagate with Developer mode enabled

Ephellon avatar Mar 30 '20 02:03 Ephellon

Thanks for letting me know though... I'll see what's different with Developer mode

Ephellon avatar Mar 30 '20 02:03 Ephellon

It should've just made error messages visible...

Ephellon avatar Mar 30 '20 02:03 Ephellon

Alright, for now I'll assume remote styles are the problem, that's the only explanation

Ephellon avatar Mar 30 '20 02:03 Ephellon

here is a screenshot. hope this helps. This is how it looks with the developer mode enabled but not refreshing the page. Screenshot_5

sp00kie avatar Mar 30 '20 02:03 sp00kie

and this is how it looks with the page refreshed after the developer mode has been enabled. Screenshot_6

sp00kie avatar Mar 30 '20 02:03 sp00kie

Got it! I'm able to reproduce the error now.

Ephellon avatar Mar 30 '20 03:03 Ephellon

Fixed! Thanks @sp00kie

Ephellon avatar Mar 30 '20 03:03 Ephellon

Unfortunately, I was in the middle of creating a new version, so I won't be able to update the extension globally.

If you'd like the fix, you can do one of the following:

  1. Keep Developer mode enabled (highly recommended)
  2. Install this ZIP — see installing source code packages1

1 This package has not been thoroughly tested, and contains several features not meant to be available yet. It will break when attempting to use said features.

Ephellon avatar Mar 30 '20 03:03 Ephellon

Well on my end, Ombi and Couchpotato are fixed but IMDB looks exactly the same. Running version 4.2 Screenshot_9

sp00kie avatar Mar 30 '20 08:03 sp00kie

If you don't mind, change the button shape to Box

Ephellon avatar Mar 30 '20 16:03 Ephellon

When I change it to square, visually IMDB looks fine even when developer mode is disabled but there is no web-to-plex button that I can see on the page.

sp00kie avatar Mar 30 '20 17:03 sp00kie

It's at the top of the page, in the center image

Ephellon avatar Mar 30 '20 17:03 Ephellon

omg yeah its right there. The page looks fine and it works. AWESOME!!!

sp00kie avatar Mar 30 '20 17:03 sp00kie