returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{movieInfo.Title} is already in Plex!" });
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{fullMovieName} is already in Plex!"});
}
}
catch(ApplicationSettingsException)
{
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"We could not check if {movieInfo.Title} is in Plex, are you sure it's correctly setup?" });
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"We could not check if {fullMovieName} is in Plex, are you sure it's correctly setup?" });
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{fullShowName} has already been requested!"});
}
try
{
if(CheckIfTitleExistsInPlex(showInfo.name,showInfo.premiered?.Substring(0,4)))// Take only the year Format = 2014-01-01
{
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{showInfo.name} is already in Plex!"});
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"{fullShowName} is already in Plex!" });
}
}
catch(ApplicationSettingsException)
{
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"We could not check if {showInfo.name} is in Plex, are you sure it's correctly setup?" });
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=$"We could not check if {fullShowName} is in Plex, are you sure it's correctly setup?" });
returnResponse.AsJson(newJsonResponseModel{Result=true,Message=$"{fullShowName} was successfully added!"});
}
returnResponse.AsJson(newJsonResponseModel{Result=false,Message=result?.message!=null?"<b>Message From SickRage: </b>"+result.message:"Something went wrong adding the movie to SickRage! Please check your settings."});
@ -38,6 +38,54 @@ You will then have a admin menu option once registered where you can setup Sonar
Looking for a Docker Image? Well [rogueosb](https://github.com/rogueosb/) has created a docker image for us, You can find it [here](https://github.com/rogueosb/docker-plexrequestsnet) :smile:
#Debian/Ubuntu
To configure PlexRequests to run on debian/ubuntu and set it to start up with the system, do the following (via terminal):
####Create a location to drop the files (up to you, we'll use /opt/PlexRequests as an example)
```sudo mkdir /opt/PlexRequests```
####Download the release zip
```
sudo wget {release zip file url}
sudo unzip PlexRequests.zip -d /opt/PlexRequests
```
####Install Mono (this app will be used to actually run the .net libraries and executable)