Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-upgrade to v4 (rebased) #55

Merged
merged 10 commits into from
Sep 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "@volst",
"root": true,
"rules": {
"no-use-before-define": 0
},
"globals": {
"chrome": true
}
}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules/
pkg*.zip
build/
env
.rpt2_cache
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

17 changes: 11 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@ commit-version: FORCE
git commit -am "$(version)"
git tag "v$(version)"

firefox: FORCE
rm -rf build/firefox
mkdir -p build
cp -r src/. build/firefox
rm build/firefox/manifest.json
mv build/firefox/manifest_firefox.json build/firefox/manifest.json

release-chrome: FORCE
rm -f pkg-chrome.zip
npm run -s build
cd build; zip -r ../pkg-chrome.zip **
cd src; zip -r ../pkg-chrome.zip **

build-firefox: FORCE
build-firefox: FORCE firefox
rm -f pkg-firefox.zip
FIREFOX=1 npm run -s build
find build -name '.DS_Store' -type f -delete
cd build; zip -r ../pkg-firefox.zip **
find build/firefox -name '.DS_Store' -type f -delete
cd build/firefox; zip -r ../../pkg-firefox.zip **

release-firefox: FORCE build-firefox lint

Expand Down
105 changes: 85 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,101 @@
# Web to Plex
# Web to Plex ![Icon](src/img/48.png)

This browser extension adds a Plex button on movie pages like IMDb, letting you immediately open the movie or TV show on Plex Web if it is available.
![Logo](src/img/256.png)

Optionally you can configure CouchPotato or Radarr in the options. After that, you can immediately add a movie to CouchPotato/Radarr, with one click, right from your favorite movie page.
This browser extension searches your [Plex Media Server (PMS)](https://www.plex.tv/downloads/) for matching media on sites like [IMDb](https://imdb.com), 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.

![Examples](image.png)
Optionally, you can configure [Sonarr](https://sonarr.tv/) (TV Shows), [Radarr](https://radarr.video/) (Movies), [Watcher 3](https://nosmokingbandit.github.io/) (Movies), and/or [CouchPotato](https://couchpota.to/) (Both) in the extension's options. After that, you can immediately add a TV show or movie to CouchPotato/Sonarr/Radarr with one click, right from your favorite site.

**Supported movie pages:**
![Examples](example.png)

- [Movieo](http://movieo.me/)
- [IMDb](http://imdb.com/)
- [Trakt.tv](https://trakt.tv/)
- [Letterboxd](https://letterboxd.com/)
----

## Install
## Status: 426 (UPGR-RQ)

**Download on [Chrome Webstore](https://chrome.google.com/webstore/detail/movieo-to-plex/kmcinnefmnkfnmnmijfmbiaflncfifcn).**
Getting the repo ready for a pull request.

**Download on [FireFox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/web-to-plex/).**
----

## Usage
## Features:

Make sure you have at least **Plex Media Server v1.4.3** or higher.
- Can save media directly from noted sites (file downloads/magnet URLs)
- Right-click | Web to Plex | Save as "Show/Movie (Year)"
- Can push requests to your chosen NZB manager
- [Radarr](https://radarr.video/)
- [Sonarr](https://sonarr.tv/)
- [CouchPotato](https://couchpota.to/)
- [Watcher 3](https://nosmokingbandit.github.io/) ("Watcher, version 3")
- Offers search options via right-click (context menu)
- Right-click | Web to Plex | Find "Show/Movie (Year)"
- Offers a Plex-like GUI
- Settings page
- Pop-up page
- Offers a status via the browser badge
- Orange: item is available/found
- Grey: item is unavailable/not found
- Offers an easy login feature
- Offers an API login feature
- Offers a "Direct Plex URL" feature
- i.e. you can specify `localhost:32400` as your Plex URL to avoid bandwidth usage for Plex requests

Before using the extension, you need to configure it in the Options page (go to `chrome://extensions` and click on Options next to the extension).
## Supported sites: *Site (button location)*

If you have issues with configuring, please don't hesitate to [submit an issue](https://github.com/SpaceK33z/web-to-plex/issues/new).
*Given in order of completion*

## Contributions
1. [Movieo](http://movieo.me/) ([button location](button-locations/movieo.png))
2. [IMDb](http://imdb.com/) ([button location](button-locations/imdb.png))
3. [Trakt.tv](https://trakt.tv/) ([button location](button-locations/trakt.png))
4. [Letterboxd](https://letterboxd.com/) ([button location](button-locations/letterboxd.png))
5. [Flenix](https://flenix.co/)<sup>1/5</sup> ([button locations](button-locations/flenix.png))
6. [TV Maze](http://www.tvmaze.com/) ([button location](button-locations/tvmaze.png))
7. [The TVDb](https://www.thetvdb.com/) ([button location](button-locations/tvdb.png))
8. [The MovieDb](https://www.themoviedb.org/) ([button location](button-locations/tmdb.png))
9. [VRV](https://vrv.co/)<sup>2</sup> ([button location](button-locations/vrv.png))
10. [Hulu](https://hulu.com/)<sup>2/3/4</sup> ([button location](button-locations/hulu.png))
11. [Google Play Store](https://play.google.com/store/movies/) ([button location](button-locations/google.png))
12. [iTunes](https://itunes.apple.com/)<sup>3/5</sup> ([button location](button-locations/itunes.png))
13. [Metacritic](http://www.metacritic.com/)<sup>4</sup> ([button location](button-locations/metacritic.png))
14. [Fandango](https://www.fandango.com/) ([button location](button-locations/fandango.png))
15. [Amazon](https://www.amazon.com/)<sup>5</sup> ([button location](button-locations/amazon.png))
16. [Vudu](https://www.vudu.com/) ([button location](button-locations/vudu.png))
17. [Verizon](https://www.tv.verizon.com/) ([button location](button-locations/verizon.png))
18. [CouchPotato](http://couchpotato.life/) ([button location](button-locations/couch-potato.png))
19. [Rotten Tomatoes](https://www.rottentomatoes.com/) ([button location](button-locations/rotten-tomatoes.png))
20. [ShowRSS](https://showrss.info/)<sup>1</sup> (no button location)
21. [Netflix](https://netflix.com/)<sup>3</sup> ([button location](button-locations/netflix.png))

All contributions are very welcome. Please make an issue first, so we can discuss it.
*Notes*

## Related
- `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.*

- [IMDb to Movieo](https://github.com/SpaceK33z/imdb-to-movieo)
## In Progress sites (adding support):

- Nothing here... for now

## En Progress sites (may add support):

- Nothing here... for now

## Installing Web to Plex

- **Download the [CRX](https://github.com/Ephellon/web-to-plex/raw/master/src.crx)**

- **Download the [ZIP](https://github.com/Ephellon/web-to-plex/raw/master/src.zip)**

- **Download the [SRC](https://github.com/Ephellon/web-to-plex/archive/master.zip)**

## Requirements

+ [**Plex Media Server v1.4.3.0**](https://www.plex.tv/downloads/#getdownload) or higher

+ Before using the [extension](chrome://extensions), you must configure the settings

## Issues & Contributions

If you have any problem with the extension, please don't hesitate to [submit an issue](https://github.com/Ephellon/web-to-plex/issues/new).

All contributions are welcome.
9 changes: 9 additions & 0 deletions adblockplus.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@@||127.0.0.1:32400/$document
@@||localhost:8989/$document
@@||localhost:7878/$document
@@||localhost:7070/$document
@@||localhost:8686/$document
metacritic.*##div[id*="muccuzs"]
flenix.*##.trailer_frame~div
flenix.*##body>script~div[id]
flenix.*##body>div[id]:last-child
Binary file added button-locations/amazon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/couch-potato.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/fandango.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/flenix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/hulu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/imdb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/itunes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/letterboxd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/metacritic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/movieo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/netflix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/rotten-tomatoes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/tmdb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/trakt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/tvdb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/tvmaze.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/verizon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/vrv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added button-locations/vudu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading