diff --git a/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html b/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html
index d504869b5..79146fb1a 100644
--- a/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html
+++ b/src/Ombi/ClientApp/src/app/settings/ombi/ombi.component.html
@@ -16,7 +16,7 @@
Api Key
diff --git a/src/Ombi/ClientApp/src/app/settings/plex/plex.component.ts b/src/Ombi/ClientApp/src/app/settings/plex/plex.component.ts
index dc2352999..894f9ef6a 100644
--- a/src/Ombi/ClientApp/src/app/settings/plex/plex.component.ts
+++ b/src/Ombi/ClientApp/src/app/settings/plex/plex.component.ts
@@ -52,7 +52,10 @@ export class PlexComponent implements OnInit, OnDestroy {
}
public selectServer(selectedServer: IPlexServerResponse, server: IPlexServer) {
- server.ip = selectedServer.localAddresses.split(",")[0];
+ var splitServers = selectedServer.localAddresses.split(",");
+ if (splitServers.length > 1) {
+ server.ip = splitServers[splitServers.length - 1];
+ }
server.name = selectedServer.name;
server.machineIdentifier = selectedServer.machineIdentifier;
server.plexAuthToken = selectedServer.accessToken;
diff --git a/src/Ombi/ClientApp/src/app/settings/themoviedb/themoviedb.component.html b/src/Ombi/ClientApp/src/app/settings/themoviedb/themoviedb.component.html
index 57f25a1c4..4d47aa8a9 100644
--- a/src/Ombi/ClientApp/src/app/settings/themoviedb/themoviedb.component.html
+++ b/src/Ombi/ClientApp/src/app/settings/themoviedb/themoviedb.component.html
@@ -30,7 +30,7 @@
{{key.name}}
- cancel
+
diff --git a/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.html b/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.html
index 14ef50b98..924114202 100644
--- a/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.html
+++ b/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.html
@@ -1,6 +1,6 @@
- {{matIcon}} {{'Requests.Remaining.Quota' | translate: {remaining: remaining.remaining, total: remaining.limit} }}
+ {{'Requests.Remaining.Quota' | translate: {remaining: remaining.remaining, total: remaining.limit} }}
diff --git a/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.ts b/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.ts
index 222389e5e..8cff9d078 100644
--- a/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.ts
+++ b/src/Ombi/ClientApp/src/app/shared/remaining-requests/remaining-requests.component.ts
@@ -53,17 +53,17 @@ export class RemainingRequestsComponent implements OnInit {
switch (this.type) {
case RequestType.movie:
this.requestService.getRemainingMovieRequests().subscribe(callback);
- this.matIcon = "movie";
+ this.matIcon = "fas fa-film";
break;
case RequestType.tvShow:
this.requestService.getRemainingTvRequests().subscribe(callback);
- this.matIcon = "tv";
+ this.matIcon = "fas fa-tv";
break;
case RequestType.album:
this.requestService.getRemainingMusicRequests().subscribe(callback);
- this.matIcon = "library_music";
+ this.matIcon = "fas fa-music";
break;
}
diff --git a/src/Ombi/ClientApp/src/styles/shared.scss b/src/Ombi/ClientApp/src/styles/shared.scss
index 7184d96fb..04f63f3dc 100644
--- a/src/Ombi/ClientApp/src/styles/shared.scss
+++ b/src/Ombi/ClientApp/src/styles/shared.scss
@@ -137,4 +137,8 @@ table {
::ng-deep .mat-form-field.mat-focused .mat-form-field-label {
color: $accent;
+}
+
+.icon-spacing {
+ margin-right: 1%;
}
\ No newline at end of file
diff --git a/tests/cypress/fixtures/discover/popularMovies.json b/tests/cypress/fixtures/discover/popularMovies.json
index ca85e1c90..f0c30e11a 100644
--- a/tests/cypress/fixtures/discover/popularMovies.json
+++ b/tests/cypress/fixtures/discover/popularMovies.json
@@ -233,45 +233,6 @@
"subscribed": false,
"showSubscribe": true
},
- {
- "adult": false,
- "backdropPath": "/vKzbIoHhk1z9DWYi8kyFe9Gg0HF.jpg",
- "genreIds": [],
- "originalLanguage": "en",
- "originalTitle": "Coming 2 America",
- "overview": "Prince Akeem Joffer is set to become King of Zamunda when he discovers he has a son he never knew about in America – a street savvy Queens native named Lavelle. Honoring his royal father's dying wish to groom this son as the crown prince, Akeem and Semmi set off to America once again.",
- "popularity": 2243.493896484375,
- "posterPath": "/nWBPLkqNApY5pgrJFMiI9joSI30.jpg",
- "releaseDate": "2021-03-05T00:00:00",
- "title": "Coming 2 America",
- "video": false,
- "voteAverage": 7.099999904632568,
- "voteCount": 552,
- "alreadyInCp": false,
- "trailer": null,
- "homepage": null,
- "rootPathOverride": 0,
- "qualityOverride": 0,
- "type": 1,
- "releaseDates": null,
- "digitalReleaseDate": null,
- "id": 484718,
- "approved": false,
- "denied": null,
- "deniedReason": null,
- "requested": false,
- "requestId": 0,
- "available": false,
- "plexUrl": null,
- "embyUrl": null,
- "jellyfinUrl": null,
- "quality": null,
- "imdbId": "tt6802400",
- "theTvDbId": null,
- "theMovieDbId": "484718",
- "subscribed": false,
- "showSubscribe": true
- },
{
"adult": false,
"backdropPath": "/lOSdUkGQmbAl5JQ3QoHqBZUbZhC.jpg",
diff --git a/tests/cypress/tests/details/movie/moviedetials-buttons.spec.ts b/tests/cypress/tests/details/movie/moviedetails-buttons.spec.ts
similarity index 97%
rename from tests/cypress/tests/details/movie/moviedetials-buttons.spec.ts
rename to tests/cypress/tests/details/movie/moviedetails-buttons.spec.ts
index 45dc8a7fb..5482ecfbc 100644
--- a/tests/cypress/tests/details/movie/moviedetials-buttons.spec.ts
+++ b/tests/cypress/tests/details/movie/moviedetails-buttons.spec.ts
@@ -99,11 +99,11 @@ describe("Movie Details Buttons", () => {
it("Movie Requested, Deny Movie", () => {
cy.login();
- Page.visit("484718");
+ Page.visit("671");
Page.requestButton.click();
cy.verifyNotification(
- "Coming 2 America (2021) has been successfully added"
+ "Harry Potter and the Philosopher's Stone (2001) has been successfully added"
);
cy.reload();