diff --git a/src/Ombi.Api.Plex/Models/Friends/PlexFriends.cs b/src/Ombi.Api.Plex/Models/Friends/PlexFriends.cs
index f41cbae25..1e597d916 100644
--- a/src/Ombi.Api.Plex/Models/Friends/PlexFriends.cs
+++ b/src/Ombi.Api.Plex/Models/Friends/PlexFriends.cs
@@ -16,6 +16,10 @@ public class UserFriends
public string Username { get; set; }
[XmlAttribute(AttributeName = "email")]
public string Email { get; set; }
+ ///
+ /// DO NOT USE THIS
+ /// Home Users can actually be an unmanaged account with an email/username to log in.
+ ///
[XmlAttribute(AttributeName = "home")]
public bool HomeUser { get; set; }
}
diff --git a/src/Ombi.Api.Plex/PlexApi.cs b/src/Ombi.Api.Plex/PlexApi.cs
index 882723b47..cc0d13aaa 100644
--- a/src/Ombi.Api.Plex/PlexApi.cs
+++ b/src/Ombi.Api.Plex/PlexApi.cs
@@ -65,8 +65,7 @@ private string ApplicationName
}
private const string SignInUri = "https://plex.tv/users/sign_in.json";
- private const string NewFriendsUri = "https://plex.tv/api/users";
- private const string FriendsUri = "https://plex.tv/pms/friends/all";
+ private const string FriendsUri = "https://plex.tv/api/users";
private const string GetAccountUri = "https://plex.tv/users/account.json";
private const string ServerUri = "https://plex.tv/pms/servers.xml";
private const string WatchlistUri = "https://metadata.provider.plex.tv/";
diff --git a/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs b/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs
index e0ccd88cb..6c90dd20f 100644
--- a/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs
+++ b/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs
@@ -127,19 +127,14 @@ private async Task> ImportPlexUsers(UserManagementSettings userMa
continue;
}
- if (plexUser.HomeUser)
- {
- _log.LogInformation($"User '{plexUser.Title}' is a Plex Home User. Home Users are not supported");
- continue;
- }
-
// Check if this Plex User already exists
+ // We are using the Plex USERNAME and Not the TITLE, the Title is for HOME USERS without an account
var existingPlexUser = allUsers.FirstOrDefault(x => x.ProviderUserId == plexUser.Id);
if (existingPlexUser == null)
{
if (!plexUser.Username.HasValue())
{
- _log.LogInformation($"Could not create Plex user since the have no username, PlexUserId: {plexUser.Id}");
+ _log.LogInformation($"Could not create user since the have no username (Probably a Home User), PlexUserId: {plexUser.Id}, Title: {plexUser.Title}");
continue;
}