SpaceK33z / web-to-plex

🚠 Adds a button on various movie & TV show sites to open it in Plex.
Other
122 stars 18 forks source link

How do I test the BETA version? #104

Closed NicoLeOca closed 5 years ago

NicoLeOca commented 5 years ago

Hi,

I am pretty interested in testing the v4 but I can't figure out how to do so. Could you help please? @Ephellon ?

Thanks

Ephellon commented 5 years ago

Good evening. What browser are you using?

Ephellon commented 5 years ago

Solved in #106

Notice though, that the application still doesn't work properly for Firefox, not sure why, possibly the "phantom" file structure that it creates for each extension. See #197 for the still present issue, and S.O/32533775 for related issues. The pages running properly is now the problem.

Ephellon commented 5 years ago

Here is a modified manifest.json for Firefox ONLY

manifest.json ```javascript { // "update_url": "https://ephellon.github.com/web.to.plex/update.xml", "name": "Web to Plex", "description": "Adds a button on various movie & TV show sites to open the item in Plex, or send to your designated NZB manager for download.", "homepage_url": "https://github.com/SpaceK33z/web-to-plex/", "manifest_version": 2, "version": "4.1.0.1", // Firefox Support => "applications": { "gecko": { "id": "minkcbos@gmail.com", "strict_min_version": "57.0" } }, "icons": { "16": "img/16.png", "32": "img/32.png", "48": "img/48.png", "96": "img/96.png", "128": "img/128.png", "256": "img/256.png" }, "content_scripts": [ // Allows media downloads { "matches": [ "*://*.openload.co/*", "*://*.oload.co/*", "*://*.openload.com/*", "*://*.oload.com/*", "*://*.openload.fun/*", "*://*.oload.fun/*", "*://*.openload.biz/*", "*://*.oload.biz/*", "*://*.openload.vip/*", "*://*.oload.vip/*", "*://*.openload.club/*", "*://*.oload.club/*", "*://*.openload.io/*", "*://*.oload.io/*", "*://*.openload.xyz/*", "*://*.oload.xyz/*", "*://*.openload.cc/*", "*://*.oload.cc/*", "*://*.openload.to/*", "*://*.oload.to/*", "*://*.openload.is/*", "*://*.oload.is/*", "*://*.openload.gg/*", "*://*.oload.gg/*", "*://*.openload.tv/*", "*://*.oload.tv/*", "*://*.openload.fm/*", "*://*.oload.fm/*", "*://*.openload.cx/*", "*://*.oload.cx/*", "*://*.openload.ac/*", "*://*.oload.ac/*", "*://*.openload.name/*", "*://*.oload.name/*", "*://*.openload.global/*", "*://*.oload.global/*" ], "js": ["download/oload.js"], "all_frames": true }, { "matches": ["*://*.consistent.stream/titles/*", "*://*.consistent.stream/watch/*"], "js": ["download/consistent.js"], "all_frames": true }, { "matches": ["*://app.plex.tv/desktop#!/server/*/details?*"], "js": ["download/plex.js"], "all_frames": true }, // Testing purposes only { "matches": ["*://ephellon.github.io/web.to.plex/test/*"], "js": ["utils.js", "sites/__test__.js"], "css": ["sites/common.css", "sites/theme.css"] }, // The sites { "matches": ["*://*.movieo.me/*"], "js": ["history-hack.js", "utils.js", "sites/movieo/index.js"], "css": ["sites/movieo/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.imdb.com/*"], "js": ["utils.js", "sites/imdb/index.js"], "css": ["sites/imdb/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.trakt.tv/*"], "js": ["history-hack.js", "utils.js", "sites/trakt/index.js"], "css": ["sites/trakt/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.letterboxd.com/*"], "js": ["utils.js", "sites/letterboxd/index.js"], "css": ["sites/letterboxd/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.tvmaze.com/shows/*"], "js": ["utils.js", "sites/tvmaze/index.js"], "css": ["sites/tvmaze/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.thetvdb.com/series/*"], "js": ["utils.js", "sites/tvdb/index.js"], "css": ["sites/tvdb/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.themoviedb.org/movie/*", "*://*.themoviedb.org/tv/*"], "js": ["utils.js", "sites/tmdb/index.js"], "css": ["sites/tmdb/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.vrv.co/*"], "js": ["utils.js", "sites/vrv/index.js"], "css": ["sites/vrv/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.hulu.com/*"], "js": ["utils.js", "sites/hulu/index.js"], "css": ["sites/hulu/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://play.google.com/store/*"], "js": ["utils.js", "sites/google/play.js"], "css": ["sites/google/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://itunes.apple.com/*"], "js": ["utils.js", "sites/itunes/index.js"], "css": ["sites/itunes/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.metacritic.com/*"], "js": ["utils.js", "sites/metacritic/index.js"], "css": ["sites/metacritic/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.fandango.com/*"], "js": ["utils.js", "sites/fandango/index.js"], "css": ["sites/fandango/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.amazon.com/*"], "js": ["utils.js", "sites/amazon/index.js"], "css": ["sites/amazon/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.vudu.com/*"], "js": ["utils.js", "sites/vudu/index.js"], "css": ["sites/vudu/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.verizon.com/*"], "js": ["utils.js", "sites/verizon/index.js"], "css": ["sites/verizon/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.couchpotato.life/*/*"], "js": ["utils.js", "sites/couchpotato/index.js"], "css": ["sites/couchpotato/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.rottentomatoes.com/*/*"], "js": ["utils.js", "sites/rottentomatoes/index.js"], "css": ["sites/rottentomatoes/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.netflix.com/watch/*"], "js": ["utils.js", "sites/netflix/index.js"], "css": ["sites/netflix/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.vumoo.to/*"], "js": ["utils.js", "sites/vumoo/index.js"], "css": ["sites/vumoo/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://www.google.com/*"], "js": ["utils.js", "sites/google/index.js"], "css": ["sites/google/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://www.youtube.com/*"], "js": ["utils.js", "sites/youtube/index.js"], "css": ["sites/youtube/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.flickmetrix.com/*"], "js": ["utils.js", "sites/flickmetrix/index.js"], "css": ["sites/flickmetrix/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.justwatch.com/*"], "js": ["utils.js", "sites/justwatch/index.js"], "css": ["sites/justwatch/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.moviemeter.nl/*"], "js": ["utils.js", "sites/moviemeter/index.js"], "css": ["sites/moviemeter/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.allocine.fr/*"], "js": ["utils.js", "sites/allocine/index.js"], "css": ["sites/allocine/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.gostream.site/*"], "js": ["utils.js", "sites/gostream/index.js"], "css": ["sites/gostream/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://*.tubitv.com/*"], "js": ["utils.js", "sites/tubi/index.js"], "css": ["sites/tubi/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://ephellon.github.io/web.to.plex/?*", "*://ephellon.github.io/web.to.plex/index.html?*", "*://ephellon.github.io/web.to.plex/login.html?*"], "js": ["utils.js", "sites/webtoplex/index.js"], "css": ["sites/webtoplex/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["*://app.plex.tv/desktop/*"], "js": ["utils.js", "sites/plex/index.js"], "css": ["sites/plex/index.css", "sites/common.css", "sites/theme.css"] },{ "matches": ["https://*/*"], "js": ["utils.js", "sites/common.js"] } ], "background": { "scripts": ["background.js", "plugn.js"], "persistent": true }, // Disable/Comment "options_page" to enable FF support //"options_page": "options/index.html", "options_ui": { "page": "options/index.html", "open_in_tab": true }, "browser_action": { "default_icon": { "16": "img/16.png", "32": "img/32.png", "48": "img/48.png", "96": "img/96.png" }, "default_title": "Web to Plex", "default_popup": "popup/index.html" }, "permissions": [ "tabs", "storage", "downloads", "contextMenus", "" ], "web_accessible_resources": ["img/*", "options/*"] } ```
NicoLeOca commented 5 years ago

Thanks @Ephellon I try to install on Firefox but it keeps saying that the zip file is corrupted I can't get any further any idea?

Ephellon commented 5 years ago

Yes, perform the manifest modification (described above), then rezip the file

Ephellon commented 5 years ago

In class at the moment, I'll try to respond when possible

NicoLeOca commented 5 years ago

Hi @Ephellon Thanks for trying to help again I am afraid I face the same issue still... Would you mind uploading the appropriate zip somewhere please? just in case

Ephellon commented 5 years ago

Here's moz.zip. I believe I packaged it correctly... if not, let me know.

NicoLeOca commented 5 years ago

Firefox doesn't want it still

Ephellon commented 5 years ago

As expected. I'm still reading the API, so I may have a fix soon

Ephellon commented 5 years ago

In order to install, please use the "Load temporary add-on" feature (Firefox Developer Edition), then install the add-on.

Known Bugs:

Ephellon commented 5 years ago

OCT 22, 2019 18:30 (MDT)

I'm OK with the minor display bug. See the beta-branch for the update.

NicoLeOca commented 5 years ago

Hi @Ephellon Thanks for your investigation I installed the plugin as temperory

I don't succeed to connect it to any manager

Capture d’écran 2019-10-24 à 06 55 03

Any Idea?

Ephellon commented 5 years ago

Have you been able to save the settings? @NicoLeOca

Ephellon commented 5 years ago

Click on the name of the manager (drops down its settings), fill them out, then save them

NicoLeOca commented 5 years ago

Click on the name of the manager (drops down its settings), fill them out, then save them

I don't realize I am that d**b...

About the saving, it says it did, but I didn't test. I'll test further tonight, I am off to work

Ephellon commented 5 years ago

No problem. I'll try forcing arrows to show (like on Chrome)

NicoLeOca commented 5 years ago

A few tests later, I am not really successful. Plex and Radarr are said to be connected. When I go on Allociné, when I am on a movie page, I click on web to plex in the below left corner and nothing happens. Where can I look for logs?

Ephellon commented 5 years ago

Enable Allociné in the settings

Ephellon commented 5 years ago

All sites are disabled by default (will change if needed)

Ephellon commented 5 years ago

Other Settings | Site Settings | Default Sites

image

NicoLeOca commented 5 years ago

thanks! it's getting better This extension has a lot of potential indeed

There are 2 issues I face still the extension gets deleted every single time Firefox restarts; that might be due to the way developer settings are designed (but settings remain). foreign titles struggle to get a match in the extension even if they exist in Radarr.

Ephellon commented 5 years ago

OK, will note. I'll check on the foreign titles

Ephellon commented 4 years ago

As for the deletion, yes, Firefox is designed to do that. If you want the extension permanetly, install the Firefox Extension (XPI).