Skip to content

Commit

Permalink
Major update
Browse files Browse the repository at this point in the history
Created a new UI
  • Loading branch information
Ephellon authored May 5, 2018
1 parent 1602b73 commit aa3a731
Show file tree
Hide file tree
Showing 12 changed files with 338 additions and 179 deletions.
6 changes: 3 additions & 3 deletions src/flenix.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
color: #acb4bf!important;
}

.web-to-plex-wrapper:hover, .web-to-plex-button--downloader:hover {
.web-to-plex-wrapper:hover, .web-to-plex-wrapper:hover > *, .web-to-plex-button--downloader {
background-color: #f67e56!important;
color: #ffffff!important;
}

.web-to-plex-button--found {
.web-to-plex-wrapper--found, .web-to-plex-button--found {
background-color: #ca7c1f!important;
color: #ffffff!important;
}

.web-to-plex-button--found:hover {
.web-to-plex-wrapper--found:hover, .web-to-plex-wrapper--found:hover > *, .web-to-plex-button--found:hover {
background-color: #f8c022!important;
}

Expand Down
4 changes: 2 additions & 2 deletions src/flenix.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function initPlexThingy() {

let title = $title.innerText.trim(),
year = parseInt($date.innerText),
IMDbID = IMDbID(title, year);
IMDbID = getIMDbID(title, year);

findPlexMedia({ title, year, button: $button, IMDbID, remote: '/engine/ajax/get.php', locale: 'flenix' });
}
Expand Down Expand Up @@ -82,7 +82,7 @@ function renderPlexButton() {
return els;
}

async function IMDbID(_title, _year) {
async function getIMDbID(_title, _year) {
let title = null,
year = null;

Expand Down
Binary file modified src/img/128.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 modified src/img/256.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 modified src/img/48.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 modified src/img/store-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 14 additions & 6 deletions src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@

"name": "Web to Plex+",
"description": "Adds a button on various movie & TV show sites to open it in Plex.",
"homepage_url": "https://github.com/Ephellon/web-to-plex/",
"manifest_version": 2,
"version": "0.2.1.2",
"version": "0.2.1.3",
"icons": {
"16": "img/16.png",
"48": "img/48.png",
"128": "img/128.png"
"128": "img/128.png",
"256": "img/256.png"
},
"content_scripts": [
{
Expand Down Expand Up @@ -41,11 +43,17 @@
"scripts": ["background.js"],
"persistent": false
},
"options_ui": {
"page": "options/index.html",
"chrome_style": true
},
"options_page": "options/index.html",
"browser_action": {
"default_icon": {
"16": "img/16.png",
"48": "img/48.png"
},
"default_title": "Web to Plex+",
"default_popup": "popup/index.html"
},
"permissions": [
"tabs",
"storage",
"https://*.plex.direct/*"
],
Expand Down
12 changes: 6 additions & 6 deletions src/manifest_firefox.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "Web to Plex+",
"description": "Adds a button on various movie & TV show sites to open it in Plex.",
"homepage_url": "https://github.com/Ephellon/web-to-plex/",
"manifest_version": 2,
"version": "0.2.0.2",
"version": "0.2.0.3",
"icons": {
"16": "img/16.png",
"48": "img/48.png",
"128": "img/128.png"
"128": "img/128.png",
"256": "img/256.png"
},
"applications": {
"gecko": {
Expand Down Expand Up @@ -40,11 +42,9 @@
"scripts": ["background.js"],
"persistent": false
},
"options_ui": {
"page": "options/index.html",
"chrome_style": true
},
"options_page": "options/index.html",
"permissions": [
"tabs",
"storage",
"http://*/",
"https://*/"
Expand Down
Loading

0 comments on commit aa3a731

Please sign in to comment.