Skip to content

Commit

Permalink
Rebase
Browse files Browse the repository at this point in the history
Rebased from @SpaceK33z
  • Loading branch information
Ephellon committed Aug 7, 2018
1 parent 9542082 commit 817a7f3
Show file tree
Hide file tree
Showing 128 changed files with 6,070 additions and 2,742 deletions.
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
93 changes: 74 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,91 @@
# 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), 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)
- Can push requests to your chosen NZB manager
- Offers search options via right-click (context menu)
- Offers a Plex-like GUI
- Offers a status via the browser badge (orange meaning "available/found," grey meaning "unavailable/not found")
- Offers an easy login feature
- Offers an API login feature
- Offers a Plex URL feature (i.e. you can specify `localhost:32400` as your Plex URL)

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).
- [Movieo](http://movieo.me/) ([button location](button-locations/movieo.png))
- [IMDb](http://imdb.com/) ([button location](button-locations/imdb.png))
- [Trakt.tv](https://trakt.tv/) ([button location](button-locations/trakt.png))
- [Letterboxd](https://letterboxd.com/) ([button location](button-locations/letterboxd.png))
- [Flenix](https://flenix.co/)<sup>1</sup> ([button locations](button-locations/flenix.png))
- [TV Maze](http://www.tvmaze.com/) ([button location](button-locations/tvmaze.png))
- [The TVDb](https://www.thetvdb.com/) ([button location](button-locations/tvdb.png))
- [The MovieDb](https://www.themoviedb.org/) ([button location](button-locations/tmdb.png))
- [VRV](https://vrv.co/)<sup>2</sup> ([button location](button-locations/vrv.png))
- [Hulu](https://hulu.com/)<sup>2/3/4</sup> ([button location](button-locations/hulu.png))
- [Google Play Store](https://play.google.com/store/movies/) ([button location](button-locations/google.png))
- [iTunes](https://itunes.apple.com/)<sup>3</sup> ([button location](button-locations/itunes.png))
- [Metacritic](http://www.metacritic.com/)<sup>4</sup> ([button location](button-locations/metacritic.png))
- [Fandango](https://www.fandango.com/) ([button location](button-locations/fandango.png))
- [Amazon](https://www.amazon.com/) ([button location](button-locations/amazon.png))
- [Vudu](https://www.vudu.com/) ([button location](button-locations/vudu.png))
- [Verizon](https://www.tv.verizon.com/) ([button location](button-locations/verizon.png))
- [CouchPotato](http://couchpotato.life/) ([button location](button-locations/couch-potato.png))
- [Rotten Tomatoes](https://www.rottentomatoes.com/) ([button location](button-locations/rotten-tomatoes.png))
- [ShowRSS](https://showrss.info/)<sup>1</sup> (no button location)

## Contributions
*Notes*

All contributions are very welcome. Please make an issue first, so we can discuss it.
- `1` *This site uses the `Right click | 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.*

## In Progress sites (adding support):

- Nothing here... for now

## En Progress sites (may add support):

- [Netflix](https://netflix.com/)<sup>3</sup>

## Installing Web to Plex

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

- **Download the [ZIP](https://github.com/Ephellon/web-to-plex/raw/master/hhkmjeeccipbolailpomhjhmccnnjhkj.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.

## Related

- [IMDb to Movieo](https://github.com/SpaceK33z/imdb-to-movieo)
- [Web to Plex (original)](https://github.com/SpaceK33z/web-to-plex)
- [IMDb to Movieo by SpaceK33z](https://github.com/SpaceK33z/imdb-to-movieo)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added hhkmjeeccipbolailpomhjhmccnnjhkj.crx
Binary file not shown.
Binary file added hhkmjeeccipbolailpomhjhmccnnjhkj.zip
Binary file not shown.
22 changes: 5 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,16 @@
"name": "web-to-plex",
"private": true,
"scripts": {
"start": "rollup -c rollup.config.js -w",
"lint": "eslint src",
"test": "tslint -p .",
"build": "rm -rf build && rollup -c rollup.config.js",
"ci": "npm test && npm run -s build"
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Kees Kluskens <kees@webduck.nl>",
"author": "Kees Kluskens <kees@webduck.nl>, Ephellon Dantzler <minkcbos@gmail.com>",
"license": "ISC",
"devDependencies": {
"@types/chrome": "^0.0.68",
"@volst/tslint-config": "^0.2.1",
"@volst/eslint-config": "2.1.0",
"addons-linter": "^0.39.1",
"chrome-webstore-upload-cli": "^1.1.1",
"rollup": "^0.59.4",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-copy": "^0.2.3",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-typescript2": "^0.14.0",
"tslint": "^5.10.0",
"typescript": "^2.9.1"
"eslint": "^4.18.2"
},
"dependencies": {
"lodash-es": "^4.17.10"
}
"dependencies": {}
}
45 changes: 0 additions & 45 deletions rollup.config.js

This file was deleted.

0 comments on commit 817a7f3

Please sign in to comment.