mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
better Series.ToString()
This commit is contained in:
parent
2d41ebcc78
commit
a216e37d6a
12 changed files with 35 additions and 30 deletions
|
@ -150,7 +150,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||
//If the path is found update it, else update the whole library
|
||||
if (!String.IsNullOrEmpty(xbmcSeriesPath))
|
||||
{
|
||||
_logger.Trace("Updating series [{0}] on XBMC host: {1}", series.Title, settings.Address);
|
||||
_logger.Trace("Updating series [{0}] on XBMC host: {1}", series, settings.Address);
|
||||
var command = BuildExecBuiltInCommand(String.Format("UpdateLibrary(video,{0})", xbmcSeriesPath));
|
||||
SendCommand(settings, command);
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||
else
|
||||
{
|
||||
//Update the entire library
|
||||
_logger.Trace("Series [{0}] doesn't exist on XBMC host: {1}, Updating Entire Library", series.Title, settings.Address);
|
||||
_logger.Trace("Series [{0}] doesn't exist on XBMC host: {1}, Updating Entire Library", series, settings.Address);
|
||||
var command = BuildExecBuiltInCommand("UpdateLibrary(video)");
|
||||
SendCommand(settings, command);
|
||||
}
|
||||
|
|
|
@ -143,7 +143,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||
|
||||
if (seriesPath != null)
|
||||
{
|
||||
_logger.Trace("Updating series [{0}] (Path: {1}) on XBMC host: {2}", series.Title, seriesPath, settings.Address);
|
||||
_logger.Trace("Updating series {0} (Path: {1}) on XBMC host: {2}", series, seriesPath, settings.Address);
|
||||
|
||||
var parameters = new JObject(new JObject(new JProperty("directory", seriesPath)));
|
||||
postJson = BuildJsonRequest("VideoLibrary.Scan", parameters);
|
||||
|
@ -151,7 +151,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
|||
|
||||
else
|
||||
{
|
||||
_logger.Trace("Series [{0}] doesn't exist on XBMC host: {1}, Updating Entire Library", series.Title,
|
||||
_logger.Trace("Series {0} doesn't exist on XBMC host: {1}, Updating Entire Library", series,
|
||||
settings.Address);
|
||||
|
||||
postJson = BuildJsonRequest("VideoLibrary.Scan");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue