Giter Club home page Giter Club logo

web-to-plex's Introduction

Web to Plex Icon

Examples

All v3.4 and below versions will need to be updated manually and are not backwards compatible.

This browser extension searches your Plex Media Server (PMS) for matching media on sites like IMDb, letting you immediately open the movie or TV show in Plex, if it is available. If the item isn't found on your PMS, then a download button is added instead.


NZB Managers

Optionally, you can configure NZB Manager (see support table) in the extension's options. After that, you can immediately add a TV show or movie with one click, right from your favorite site.

Supported Managers

Manager Movie Support TV Show Support Searchable
Watcher 3 โœ” โŒ โŒ
CouchPotato โœ” โŒ โŒ
Radarr โœ” โŒ โœ”
Sonarr โŒ โœ” โœ”
Ombi โ” โ” โœ”
Medusa โŒ โœ” โœ”
Sick Beard โŒ โœ” โŒ

Key

โœ” โŒ โ”
yes no yes (with help)

Features

Easy login

You can log into Plex using either an access token, your credentials, or Ombi (if setup).

Download (download icon)

On certain sites (denoted with the "download" icon), the user can choose to save/engage media directly, instead of waiting for their NZB manager to find the item.

Plex It! (plex it icon)

Click the icon to open Plex It! (left sidebar), click it again to add the current item(s) to your list.

It's primary purpose is to provide a watchlist service on sites that don't support watchlists.

Hide Web to Plex (hide icon)

Use this to hide the Web to Plex button. It changes the button's opacity to 10% to make it almost invisible so that it isn't as distracting on sites like Netflix.

Reload Web to Plex (reload icon)

Use this to reload Web to Plex on the current page. This can sometimes fix loading issues or cache errors.

Plex URL

This is a moderately advanced setting, but is very useful to know. If you know your Plex server's URL (e.g. https://localhost:32400), then you can specify this and avoid bandwidth usage, as the extension will communicate with Plex on your device instead of https://app.plex.tv/.

Find this | Right Click

If you aren't satisfied with a found item, or it is incorrect, you can right click the page and use the Web to Plex | Find "XYZ" feature to search for the item.

The sites used as search engines (IMDb, TMDb, and TVDb) will automatically create a cached version of the information (for "Local Search" results).


Supported sites

Sites
  1. Movieo
  2. IMDb
  3. Trakt
  4. Letterboxd
  5. GoStream1
  6. TV Maze
  7. The TVDb
  8. The MovieDb
  9. VRV2
  10. Hulu2/3/4
  11. Google Play Store
  12. Google Search (search results)
  13. iTunes3/5
  14. Metacritic4
  15. Fandango
  16. Amazon5
  17. Vudu
  18. Verizon
  19. CouchPotato
  20. Rotten Tomatoes
  21. ShowRSS1 (button isn't meant to appear)
  22. Netflix3
  23. Toloka6
  24. Shana Project6
  25. My Anime List6
  26. My Shows6
  27. YouTube
  28. Flickmetrix (Cinesift)
  29. Allocinรฉ
  30. MovieMeter
  31. JustWatch
  32. Vumoo1
  33. Web to Plex2/3/4/5
  34. Indomovie5/6
  35. Kitsu6
  36. Redbox6
  37. Freeform (Go)6
  38. Free Movies Cinema6
  39. SnagFilms6
  40. Fox Searchlight6
  41. Verizon5
  42. Tubi
  43. Plex

Key

  • 1 This site uses the Right click | Web to Plex | Save as... feature (file download), or a direct link (usually magnet URL).
  • 2 This site has a loading issue, simply refresh the page if the button doesn't appear.
  • 3 This site doesn't allow media browsing, or requires a subscription beforehand.
  • 4 This site is network intensive (loads slowly). Be patient.
  • 5 This site is known to update frequently, support may change without notice.
  • 6 This site is only supported via a plugin (enabled in the settings)

Installing Web to Plex

Install the extension (Store)

Get it for Chrome Get it for Firefox Get it for Edge Get it for Opera

Install the source code (ZIP)

Get it for Chrome Get it for Firefox Get it for Edge Get it for Opera

Requirements

Issues & Contributions

DeepScan grade

Percentage of issues still open

Average time to resolve an issue

If you have any problem with the extension, please don't hesitate to submit an issue.

All contributions are welcome.


Google Chrome is a trademark of Google Inc. Use of this trademark is subject to Google Permissions. Firefox is a trademark of Mozilla Org. Use of this trademark is subject to Mozilla Permissions. Safari is a trademark of Apple Inc. Use of this trademark is subject to Apple Permissions. Edge is a trademark of Microsoft Inc. Use of this trademark is subject to Microsoft Permissions. Plex is a trademark of Plex Inc. Use of this trademark is subject to Plex Permissions.

web-to-plex's People

Contributors

ephellon avatar fran1987 avatar lexhouk avatar spacek33z avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-to-plex's Issues

Save Configuration Error

Hi there. The similar issue was written here already, but it was without the screenshot.

I'm using Chrome 58.0.3029.110 (64-bit) in Windows 10.

When I try to connect (Test within your options page) to the server on my Synology NAS, with my "proper" X-Plex Token, like in the 1st picture,
image

I get the following error in console as this.

image

It seems the token, I did enter, was valid. (Which was and is indeed. I'm sure of it :) )
By the way, both connection to my Plex server either via my remote DDNS address;

1

or via app.plex.tv/web/app page

1

are also reachable.

Well, I've also watched the result set Data.Device for you. There is no filter function, it says undefined.
Yet there are 2 devices, one is my private PC, and the other one (Remote DDNSed one) is my office PC.
The problem started right after I've configured my private pc.
Everything was working before though.

image

Any help is appreciated.
Sorry for the mess.

Thanks,

Emir.

Can't click TEST after update 3.1

I can't add the plex token and click Test , nothing find it . In the 3.0 version yes but PLEX ERROR in imdb ...

i am on chrome last version on mac and last version for web to plex 3.1

Add Ombi support

It would be nice to be able to add a movie or TV show to Ombi if it doesn't exist on Plex.

(suggested via Facebook)

Remove debugging from production version

The person who reviewed the FF add-on said this:

  1. Your add-on's code includes instances of printing debugging information to the Console, which is generally not allowed in production add-ons. Please remove or disable such logging.

I do want to keep this debugging information because it saves time debugging, but perhaps I can find a way to not include it in the production version.

Add support for Radarr?

I would love to see support for Radarr (CouchPotato alternative).

Development is really taking off (and they have torrent support, which the dev mentioned was missing from Watcher).

Thanks :)

Can't save settings in Chrome

Hi

Thanks for a great extension, I really want to try it!

I'm using v2.3 in Chrome version 55.0.2883.95 (64-bit) on macOS.

I can't save the extension settings, nothing happens when I click the "save" button and settings aren't remembered.

Any ideas?

Matching needs to be more robust

Title matching matches titles that aren't the movie but have shared text.

Visited "The Greatest Showman" on IMDB. https://www.imdb.com/title/tt1485796/

Extension adds an "On Plex" button to the page. That movie is not in our library. Click the On Plex button and get taken to "The Greatest Showman - Never Enough [Official Lyric Video]" that has been downloaded and in a local Music Videos library.

There are actually four music videos on the server with "The Greatest Showman" in the title. "The Greatest Showman - Never Enough [Official Lyric Video]" is neither the first nor last alphabetically or by date added. Unsure why that was the title was chosen to link to on the Plex server.

Think about renaming

The name "Movieo to Plex" is not correct anymore since it can also add a button on IMDb.

Name ideas:

  • Plexify
  • Movie to Plex
  • Web to Plex
  • Add to Plex

Add IMDb support

Implement support for IMDb. This should be easier than adding Trakt support (#6), because IMDb is not a single page app.

Invalid Path Error

For Radar storage path, what should it look like? (/storage/Movies/ isn't helping really)

When attempting to add any movies, an error appears (verbatim): "Could not add to Radarr.Invalid Path"

Reduce requests to Plex

Because of #1, if a movie doesn't exist on Plex with the given year, it will do a second request with the year + 1.

Perhaps we should use the search API for this. I didn't want to use it before, because e.g. searching for a movie like "50 cent" would also return all movies where "50 cent" acts in. However I just found it is possible to prepend title:.

Another benefit of using this search API is that we no longer have to keep track of the movie & TV show libraries, because the search API just searches in all of them.

PLEX ERROR

i am getting this error

Trakt
  • Request to Plex failed TypeError: Failed to fetch utils.js:305
    getPlexMediaRequest.then.catch.err 		@ utils.js:305
    Promise.catch (async)
    findPlexMedia 					@ utils.js:299
    initPlexThingy 					@ trakt.js:72
    wait 						@ trakt.js:35
    wait 						@ utils.js:5
    init 						@ trakt.js:32
    parseOptions.then 				@ trakt.js:78
    Promise.then (async)
    (anonymous) 					@ trakt.js:75
    

imdb
  • Request to Plex failed TypeError: Failed to fetch

  • getPlexMediaRequest.then.catch.err		        @utils.js:305
    Promise.catch (async)
    findPlexMedia						@ utils.js:299
    initPlexMovie						@ imdb.js:56
    parseOptions.then					@ imdb.js:108
    Promise.then (async)
    (anonymous)						@ imdb.js:106
    

chrome lastest version
plex lastest version

Not working in Firefox Developer Edition

Thanks for a great extension!

It doesn't seem to work in the latest Firefox Developer Edition though.

It doesn't seem to save the settings. If I input my Plex Token, close the preferences, and open them again, it hasn't been saved.

I'm using Firefox on macOS:
52.0a2 (2016-12-23) (64-bit)

Possible Pull Request

TL;DR "Should I make the PR (with 4K+ changes), or not?"

Cons

  • Firefox support is dropped
  • 4K+ changes you'd have to peruse at some point
  • All in JS instead of TS

Pros

  • Included each fix you made after fork (such as Plex login)
  • New GUI/UX
  • More sites are supported (20 so far; most from "enhancements" section)

Another PLEX ERROR

Was looking for something just like this, unfortunately I can't get it to work. I'm getting a "PLEX ERROR" for everything I've tried, from trakt or imdb.

The error console shows it's getting

TypeError: Cannot read property 'Hub' of undefined
    at fetch.then.then (utils.js:25)
getPlexMediaRequest.then.catch @ utils.js:211

I peeked at the response data from plex, and it looks like this:

{"_elementType": "MediaContainer", "_children": [
    {"_elementType": "Hub", "type": "show", "hubIdentifier": "show", "size": 0, "title": "Shows", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "artist", "hubIdentifier": "artist", "size": 0, "title": "Artists", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "album", "hubIdentifier": "album", "size": 0, "title": "Albums", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "movie", "hubIdentifier": "movie", "size": 1, "title": "Movies", "more": false,
     "_children": [{"_elementType": "Video", "ratingKey": 19277, "key": "/library/metadata/19277",
                    "studio": "Chernin Entertainment", "type": "movie",
                    "title": "Miss Peregrine's Home for Peculiar Children", "contentRating": "PG-13", "rating": "6.4",
                    "audienceRating": "6.5", "viewCount": 1, "lastViewedAt": 1482883796, "year": 2016,
                    "tagline": "Stay peculiar", "thumb": "/library/metadata/19277/thumb/1481355253",
                    "art": "/library/metadata/19277/art/1481355253", "duration": 7615659,
                    "originallyAvailableAt": "2016-09-30", "addedAt": 1481355221, "updatedAt": 1481355253,
                    "audienceRatingImage": "rottentomatoes://image.rating.upright", "chapterSource": "media",
                    "ratingImage": "rottentomatoes://image.rating.ripe", "_children": [
             {"_elementType": "Media", "videoResolution": "720", "id": 21194, "duration": 7615659, "bitrate": 6164,
              "width": 1280, "height": 696, "aspectRatio": "1.85", "audioChannels": 6, "audioCodec": "dca",
              "videoCodec": "h264", "container": "mkv", "videoFrameRate": "24p", "audioProfile": "dts",
              "videoProfile": "high", "_children": [
                 {"_elementType": "Part", "id": "21291", "key": "/library/parts/21291/1480844106/file.mkv",
                  "duration": 7615659,
                  "file": "/mnt/storage/Videos/Movies/Miss Peregrine's Home for Peculiar Children (2016)/Miss.Peregrines.Home.for.Peculiar.Children.2016.720p.BluRay.x264-SPARKS/Miss.Peregrines.Home.for.Peculiar.Children.2016.720p.BluRay.x264-SPARKS.mkv",
                  "size": 5867922954, "audioProfile": "dts", "container": "mkv", "deepAnalysisVersion": "1",
                  "requiredBandwidths": "21115,14955,9998,8531,7456,6694,6270,6270", "videoProfile": "high"}]},
             {"_elementType": "Genre", "tag": "Family"}, {"_elementType": "Genre", "tag": "Adventure"},
             {"_elementType": "Genre", "tag": "Drama"}, {"_elementType": "Director", "tag": "Tim Burton"},
             {"_elementType": "Writer", "tag": "Jane Goldman"}, {"_elementType": "Country", "tag": "USA"},
             {"_elementType": "Role", "tag": "Eva Green"}, {"_elementType": "Role", "tag": "Asa Butterfield"},
             {"_elementType": "Role", "tag": "Chris O'Dowd"}]}]},
    {"_elementType": "Hub", "type": "episode", "hubIdentifier": "episode", "size": 0, "title": "Episodes",
     "more": false, "_children": []},
    {"_elementType": "Hub", "type": "track", "hubIdentifier": "track", "size": 0, "title": "Tracks", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "photoalbum", "hubIdentifier": "photoalbum", "size": 0, "title": "Photo Albums",
     "more": false, "_children": []},
    {"_elementType": "Hub", "type": "photo", "hubIdentifier": "photo", "size": 0, "title": "Photos", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "actor", "hubIdentifier": "actor", "size": 0, "title": "Actors", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "director", "hubIdentifier": "director", "size": 0, "title": "Directors",
     "more": false, "_children": []},
    {"_elementType": "Hub", "type": "genre", "hubIdentifier": "genre", "size": 0, "title": "Genres", "more": false,
     "_children": []},
    {"_elementType": "Hub", "type": "playlist", "hubIdentifier": "playlist", "size": 0, "title": "Playlists",
     "more": false, "_children": []}]}

I'm no JS expert, but it looks like the code is expecting regular json instead of this sort of xml as json format.

Can't save config to the right server

Hey, I have three PLEX servers, which all show up in the extensions options, but my main server is the middle server shown in the list, but i only seem to be able to test and save when choosing the top server in the list. If i choose the second or third servers, it just reverts back to the top option.

PLEX ERROR

Well, i did everything correctly, even got my x-token (the permanent token) and this is odd.

I did found a bunch of servers on my list, some are from friends of mine. So far so good. But when i choose my server, on imdb and trakt it gives "PLEX ERROR" but if i select other server than mine, it gives the correct information...

My Server is in my LAN but is not my localhost, i don't know if there's a difference about that

Add support for TV shows

This extension was initially meant for Movieo, which supports only movies, but now that IMDb and Trakt.tv are supported we could support TV shows as well.

Firefox extension error on IMDB

Hi,
When I click Download on an IMDB page I receive the following error: CouchPotato request failed (look in DEV tools for more info).

The console shows the following error:
image

Remove axios dependency

I temporarily used axios for requests instead of the native window.fetch because it was late at night and I wanted to get shit working and sleep.

However, this should not be necessary and is just lazy programmingยฎ.

Plex Error

So i found this Extension and wanted to test it but i got the Plex Error like this guy got
#22
but as they say at the end of the thread they know what the problem is and its same for me :)
but now im not super good at coding but know the basic
where do i change the adress for the plex so it doesent use my external ip and use my local ip cose i have my plex server on my computer
and that should fix the problem?

also if i use a vpn the Extension works

Unable to save options?

Hey,

I'm not sure exactly which details you want but I'm running windows 10 and using the latest version of chrome (Version 55.0.2883.87 m (64-bit)).

When I try to configure web to plex it finds my server, but when I hit save nothing happens. If I open options again nothing has been saved, and when I go to any compatible site it tells me to configure the app.

Any ideas?

Thanks!

Trakt "watch now" link

Trakt has added a "watch now" button from their site which shows places where you can stream/purchase movies. Would be nice to also show the plex badge in this screen (in addition to the current place) when the movie is available via plex.

Insecure CouchPotato API calls don't work

Requests to a http CouchPotato API fail because of mixed content; Movieo uses https.

I need to find a way to bypass this. It could be fixed if the request would not take place in the content script, but in a background script.

Make compatible with FireFox

It shouldn't be too hard to make it compatible with FireFox.

After a quick run on FireFox, it seems that an issue might be that they don't support the permissions API yet, which I need for dynamically asking permissions.

Improve Plex setup experience

Setting up Plex is way too difficult now. We should at least get rid of the "Plex url" option, it should figure that out automatically. Maybe use the PIN auth option?

Add support for multiple Plex servers

It should be possible to let the extension check multiple Plex servers.

It should also be possible to add a preference for a server, e.g. I would want to prefer my own Plex server above the one from a friend of mine.

Cannot read property 'Hub' of undefined

Hey, I'm running into an issue with the plugin reading results from the Plex API. I am using Chrome - Windows 7, Plex version 1.2.7.2987.

Here is the error I'm getting in the Chrome console: image

I can run the fetch request manually and Plex returns valid JSON: example

But this does not look like the data structure utils.js line 27 is expecting. Since 'data.MediaContainer.Hub' tries to read data's Media container property which does not exist it throws the 'Cannot read property 'Hub' of undefined' error. Maybe there was a change in the Plex api or I could an old version.

I'd be happy to add you to my Plex server @SpaceK33z if you want to try replicating it that way. Otherwise I can also post any logs or info you need.

Thank you for your time and thanks so much for creating this plugin, once I get it running I think it will make Movieo even better for discovering movies to watch!

Plex Error (firefox)

When I land on imdb pages now I get a PLEX ERROR button

In the console I see the message -

Request to Plex failed Cannot start a race without promises!

Additional sources

Absolutely love this plugin I thought of a few more places where we could add buttons.

  • Google search results page movie widget
    • Ephellon: Will review @mofman's PR #20
    • Ephellon: Also review db59b00
    • Ephellon: Won't require too many changes, mostly commentation and debugging text
  • Letterboxd list page (allows you to download all movies in list with one click)
    • Ephellon: In progress, not very feasible
    • Ephellon: No IMDb IDs given, may cause bandwidth issues if requests aren't queued and cached
  • IMDB's list page (allows you to download all movies in list with one click)
    • Ephellon: In progress, feasible
    • Ephellon: IMDb has very subtle ways of defining movies v. TV series
    • Ephellon: The different list views give different anchor parents
    • Ephellon: Adapt 660c840
      • Item anchors: #main [class*="item"][class*="content"] a[href*="/title/tt"]:not([href*="/showtimes/"])
      • Item title: Item.innerText
      • Item year: Item.nextElementSibling()
  • Letterboxd
  • Rottentomatos
  • Metacritic

ERROR: You must be lost. This page doesn't exist.

When I click "On Plex" button on imbd.com I get a page saying "You must be lost. This page doesn't exist."

The link on the error page ends with:
/details/%2Flibrary%2Fmetadata%2F255

But the link on the actual movie page it was supposed to show ends with:
/details?key=%2Flibrary%2Fmetadata%2F255

Automatically set Radarr storage path

Through Radarr's API it is possible to fetch all known storage paths (api/rootfolder). So instead of offering a free text input, we can make this a <select> and auto-fill it.

Should keep in mind that it is possible the current storage path is not on this list, for instance if the storage paths were changed in Radarr.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.