1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 02:09:59 +00:00

project updates

This commit is contained in:
kay.one 2011-04-18 23:37:34 -07:00
parent 9e194266e8
commit b6c04dc2d0
3 changed files with 11 additions and 14 deletions

View file

@ -244,11 +244,10 @@ public static string NormalizeTitle(string title)
return NormalizeRegex.Replace(title, String.Empty).ToLower(); return NormalizeRegex.Replace(title, String.Empty).ToLower();
} }
//Note: changing case on path is a problem for running on mono/*nix
//Not going to change the casing any more... Looks Ugly in UI anyways :P
public static string NormalizePath(string path) public static string NormalizePath(string path)
{ {
if (String.IsNullOrEmpty(path)) if (String.IsNullOrWhiteSpace(path))
throw new ArgumentException("Path can not be null or empty"); throw new ArgumentException("Path can not be null or empty");
var info = new FileInfo(path); var info = new FileInfo(path);

View file

@ -107,22 +107,28 @@ private void ProcessItem(SyndicationItem feedItem)
if (!_seriesProvider.IsMonitored(parseResult.SeriesId)) if (!_seriesProvider.IsMonitored(parseResult.SeriesId))
{ {
Logger.Debug("{0} is present in the DB but not tracked. skipping.", parseResult.SeriesTitle); Logger.Debug("{0} is present in the DB but not tracked. skipping.", parseResult.SeriesTitle);
return;
} }
if (!_seriesProvider.QualityWanted(parseResult.SeriesId, parseResult.Quality)) if (!_seriesProvider.QualityWanted(parseResult.SeriesId, parseResult.Quality))
{ {
Logger.Debug("Post doesn't meet the quality requirements [{0}]. skipping.", parseResult.Quality); Logger.Debug("Post doesn't meet the quality requirements [{0}]. skipping.", parseResult.Quality);
return;
} }
if (_seasonProvider.IsIgnored(parseResult.SeriesId, parseResult.SeasonNumber)) if (_seasonProvider.IsIgnored(parseResult.SeriesId, parseResult.SeasonNumber))
{ {
Logger.Debug("Season {0} is currently set to ignore. skipping.", parseResult.SeasonNumber); Logger.Debug("Season {0} is currently set to ignore. skipping.", parseResult.SeasonNumber);
return;
} }
if (!_episodeProvider.IsNeeded(parseResult)) if (!_episodeProvider.IsNeeded(parseResult))
{ {
Logger.Debug("Episode {0} is not needed. skipping.", parseResult); Logger.Debug("Episode {0} is not needed. skipping.", parseResult);
return;
} }
//Should probably queue item to download
} }
} }

View file

@ -603,8 +603,9 @@
<Content Include="Scripts\2011.1.315\telerik.treeview.min.js" /> <Content Include="Scripts\2011.1.315\telerik.treeview.min.js" />
<Content Include="Scripts\2011.1.315\telerik.upload.min.js" /> <Content Include="Scripts\2011.1.315\telerik.upload.min.js" />
<Content Include="Scripts\2011.1.315\telerik.window.min.js" /> <Content Include="Scripts\2011.1.315\telerik.window.min.js" />
<Content Include="Scripts\jquery-1.5.1-vsdoc.js" /> <Content Include="Scripts\jquery-1.5.2-vsdoc.js" />
<Content Include="Scripts\jquery-1.5.1.min.js" /> <Content Include="Scripts\jquery-1.5.2.js" />
<Content Include="Scripts\jquery-1.5.2.min.js" />
<Content Include="Scripts\jquery-ui-1.8.8.min.js" /> <Content Include="Scripts\jquery-ui-1.8.8.min.js" />
<Content Include="Scripts\jquery-ui-1.8.5.custom.min.js" /> <Content Include="Scripts\jquery-ui-1.8.5.custom.min.js" />
<Content Include="Scripts\jquery.form.js" /> <Content Include="Scripts\jquery.form.js" />
@ -812,15 +813,6 @@
<VisualStudio> <VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties> <WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>21704</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost/NzbDrone</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>http://localhost:8989</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
<SaveServerSettingsInUserFile>True</SaveServerSettingsInUserFile> <SaveServerSettingsInUserFile>True</SaveServerSettingsInUserFile>
</WebProjectProperties> </WebProjectProperties>
</FlavorProperties> </FlavorProperties>