Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/c58cb4dbe1eff9fdd075cecd9e484ab874d96641
You should set ROOT_URL correctly, otherwise the web may not work correctly.
6 changed files with
22 additions and
9 deletions
@ -57,7 +57,7 @@ namespace Ombi.Notifications.Agents
{
Message = html ,
Subject = parsed . Subject ,
To = settings. AdminEmail ,
To = model. Recipient . HasValue ( ) ? model . Recipient : settings. AdminEmail ,
} ;
return message ;
@ -11,5 +11,6 @@ namespace Ombi.Notifications.Models
public DateTime DateTime { get ; set ; } = DateTime . Now ;
public NotificationType NotificationType { get ; set ; }
public RequestType RequestType { get ; set ; }
public string Recipient { get ; set ; }
}
}
@ -82,7 +82,8 @@ namespace Ombi.Schedule.Jobs.Emby
DateTime = DateTime . Now ,
NotificationType = NotificationType . RequestAvailable ,
RequestId = movie . Id ,
RequestType = RequestType . Movie
RequestType = RequestType . Movie ,
Recipient = movie . RequestedUser . Email ,
} ) ) ;
}
}
@ -130,7 +131,8 @@ namespace Ombi.Schedule.Jobs.Emby
DateTime = DateTime . Now ,
NotificationType = NotificationType . RequestAvailable ,
RequestId = child . ParentRequestId ,
RequestType = RequestType . TvShow
RequestType = RequestType . TvShow ,
Recipient = child . RequestedUser . Email ,
} ) ) ;
}
}
@ -71,7 +71,8 @@ namespace Ombi.Schedule.Jobs.Plex
DateTime = DateTime . Now ,
NotificationType = NotificationType . RequestAvailable ,
RequestId = child . ParentRequestId ,
RequestType = RequestType . TvShow
RequestType = RequestType . TvShow ,
Recipient = child . RequestedUser . Email
} ) ) ;
}
}
@ -101,7 +102,8 @@ namespace Ombi.Schedule.Jobs.Plex
DateTime = DateTime . Now ,
NotificationType = NotificationType . RequestAvailable ,
RequestId = movie . Id ,
RequestType = RequestType . Movie
RequestType = RequestType . Movie ,
Recipient = movie . RequestedUser . Email
} ) ) ;
}
}
@ -5,6 +5,7 @@ using System.IO;
using System.Linq ;
using System.Runtime.InteropServices ;
using System.Text ;
using System.Threading ;
namespace Ombi.Updater
{
@ -18,9 +19,16 @@ namespace Ombi.Updater
// Make sure the process has been killed
if ( p . FindProcessByName ( "Ombi" ) . Any ( ) )
while ( p . FindProcessByName ( "Ombi" ) . Any ( ) )
{
// throw
Console . WriteLine ( "Found another process called Ombi, KILLING!" ) ;
var proc = p . FindProcessByName ( "Ombi" ) . FirstOrDefault ( ) ;
if ( proc ! = null )
{
Console . WriteLine ( $"[{proc.Id}] - {proc.Name} - Path: {proc.StartPath}" ) ;
p . Kill ( proc . Id ) ;
}
Thread . Sleep ( 500 ) ;
}
MoveFiles ( options ) ;
@ -24,12 +24,12 @@
< small > If you are getting any permissions issues, you can specify a user for the update process to run under.< / small >
< div class = "form-group" >
< input type = "text" id = "username" formControlName= "username" >
< input type = "text" id = "username" class= "form-control form-control-custom" formControlName= "username" >
< label for = "username" > Username< / label >
< / div >
< div class = "form-group" >
< input type = "password" id = "password" formControlName= "password" >
< input type = "password" id = "password" class= "form-control form-control-custom" formControlName= "password" >
< label for = "password" > Password< / label >
< / div >