Skip to content

Commit 56fc712

Browse files
author
Meyn
committed
Logg more
1 parent 29361ea commit 56fc712

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Tubifarry/Download/Clients/Soulseek/SlskdClient.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,13 @@ private void PostProcess(SlskdDownloadItem item, SlskdDownloadFile file) => item
5656
{
5757
string filename = Path.GetFileName(file.Filename);
5858
string filePath = Path.Combine(item.GetFullFolderPath(Settings.DownloadPath).FullPath, filename);
59-
_logger.Info("PostProcess");
59+
_logger.Info($"PostProcess {filePath}");
6060
if (!File.Exists(filePath))
61+
{
62+
_logger.Info($"Not extsis {filePath}");
63+
_logger.Info(string.Join(", ", Directory.GetFiles(item.GetFullFolderPath(Settings.DownloadPath).FullPath)));
6164
return;
65+
}
6266
_logger.Info("Parser Process");
6367
FileInfoParser parser = new(file.Filename);
6468
if (parser.Title == null)

Tubifarry/Indexers/Soulseek/SlskdSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class SlskdSettings : IIndexerSettings
8080
[FieldDefinition(4, Type = FieldType.ArtistTag, Label = "Include File Extensions", HelpText = "Specify file extensions to include when 'Include Only Audio Files' is enabled. This setting has no effect if 'Include Only Audio Files' is disabled.", Advanced = true)]
8181
public IEnumerable<string> IncludeFileExtensions { get; set; } = Array.Empty<string>();
8282

83-
[FieldDefinition(5, Label = "Enable Fallback Search", Type = FieldType.Checkbox, HelpText = "If no results are found, perform a secondary search using additional metadata.")]
83+
[FieldDefinition(5, Label = "Enable Fallback Search", Type = FieldType.Checkbox, HelpText = "If no results are found, perform a secondary search using additional metadata.", Advanced = true)]
8484
public bool UseFallbackSearch { get; set; }
8585

8686
[FieldDefinition(6, Type = FieldType.Number, Label = "Early Download Limit", Unit = "days", HelpText = "Time before release date Lidarr will download from this indexer, empty is no limit", Advanced = true)]

0 commit comments

Comments
 (0)