Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/4a9e2894ef17c44a607b163533313c1b4aa1e652
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
2 additions and
61 deletions
Width:
|
Height:
|
Size: 1.5 KiB
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
public void Notify ( XbmcSettings settings , string title , string message )
{
var notification = String . Format ( "Notification({0},{1},{2},{3})" , title , message , settings . DisplayTime * 1000 , "https://raw.github.com/NzbDrone/NzbDrone/ vnext/NzbDrone.Core/NzbDrone.jp g") ;
var notification = String . Format ( "Notification({0},{1},{2},{3})" , title , message , settings . DisplayTime * 1000 , "https://raw.github.com/NzbDrone/NzbDrone/ develop/Logo/64.pn g") ;
var command = BuildExecBuiltInCommand ( notification ) ;
SendCommand ( settings , command ) ;
@ -26,7 +26,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
var parameters = new JObject (
new JProperty ( "title" , title ) ,
new JProperty ( "message" , message ) ,
new JProperty ( "image" , "https://raw.github.com/NzbDrone/NzbDrone/ vnext/NzbDrone.Core/NzbDrone.jp g") ,
new JProperty ( "image" , "https://raw.github.com/NzbDrone/NzbDrone/ develop/Logo/64.pn g") ,
new JProperty ( "displaytime" , settings . DisplayTime * 1000 ) ) ;
var postJson = BuildJsonRequest ( "GUI.ShowNotification" , parameters ) ;
@ -1,58 +0,0 @@
using System.Drawing ;
using System.IO ;
namespace NzbDrone.Core.Notifications.Xbmc
{
public class ResourceManager
{
public static Icon GetIcon ( string Name )
{
Stream stm = typeof ( ResourceManager ) . Assembly . GetManifestResourceStream ( string . Format ( "NzbDrone.Core.{0}.ico" , Name ) ) ;
if ( stm = = null ) return null ;
return new Icon ( stm ) ;
}
public static byte [ ] GetRawData ( string Name )
{
byte [ ] data ;
using ( Stream stm = typeof ( ResourceManager ) . Assembly . GetManifestResourceStream ( string . Format ( "NzbDrone.Core.{0}.ico" , Name ) ) )
{
if ( stm = = null ) return null ;
data = new byte [ stm . Length ] ;
stm . Read ( data , 0 , data . Length ) ;
}
return data ;
}
public static byte [ ] GetRawLogo ( string Name )
{
byte [ ] data ;
using ( Stream stm = typeof ( ResourceManager ) . Assembly . GetManifestResourceStream ( string . Format ( "NzbDrone.Core.{0}" , Name ) ) )
{
if ( stm = = null ) return null ;
data = new byte [ stm . Length ] ;
stm . Read ( data , 0 , data . Length ) ;
}
return data ;
}
public static Bitmap GetIconAsImage ( string Name )
{
Stream stm = typeof ( ResourceManager ) . Assembly . GetManifestResourceStream ( string . Format ( "NzbDrone.Core.{0}.ico" , Name ) ) ;
if ( stm = = null ) return null ;
Bitmap bmp ;
using ( Icon ico = new Icon ( stm ) )
{
bmp = new Bitmap ( ico . Width , ico . Height ) ;
using ( Graphics g = Graphics . FromImage ( bmp ) )
{
g . DrawIcon ( ico , 0 , 0 ) ;
}
}
return bmp ;
}
}
}
@ -541,7 +541,6 @@
<Content Include= "MediaInfo.dll" >
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
</Content>
<Content Include= "NzbDrone.ico" />
</ItemGroup>
<ItemGroup >
<Folder Include= "Download\Clients\Sabnzbd\Api\" />