mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
Replaced built-in valuetypes with language keywords.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||
return _proxy.GetActivePlayers(settings);
|
||||
}
|
||||
|
||||
public String GetSeriesPath(XbmcSettings settings, Series series)
|
||||
public string GetSeriesPath(XbmcSettings settings, Series series)
|
||||
{
|
||||
var allSeries = _proxy.GetSeries(settings);
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||
var matchingSeries = allSeries.FirstOrDefault(s =>
|
||||
{
|
||||
var tvdbId = 0;
|
||||
Int32.TryParse(s.ImdbNumber, out tvdbId);
|
||||
int.TryParse(s.ImdbNumber, out tvdbId);
|
||||
|
||||
return tvdbId == series.TvdbId || s.Label == series.Title;
|
||||
});
|
||||
|
Reference in New Issue
Block a user