You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,10 @@ Tubifarry supports **Slskd**, the Soulseek client, as both an **indexer** and **
61
61
62
62
---
63
63
64
-
### YouTube Downloader Setup 🎥
64
+
### YouTube Downloader Setup 🎥
65
+
> #### YouTube Warning ⚠️
66
+
> Please be aware that YouTube often blocks Tubifarry as a bot. We are currently waiting for external updates. Logging in and the YouTube-only indexer are disabled for now. If login is necessary, please revert to versions earlier than 1.6.0. We appreciate your patience and understanding during this time.
67
+
65
68
Tubifarry allows you to download music directly from YouTube. Follow the steps below to configure the YouTube downloader.
Copy file name to clipboardExpand all lines: Tubifarry/Download/Clients/Soulseek/SlskdProviderSettings.cs
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,11 @@ public SlskdProviderSettingsValidator()
36
36
.GreaterThanOrEqualTo(0.1)
37
37
.WithMessage("Timeout must be at least 0.1 hours.")
38
38
.When(c =>c.Timeout.HasValue);
39
+
40
+
// RetryAttempts validation
41
+
RuleFor(c =>c.RetryAttempts)
42
+
.InclusiveBetween(0,10)
43
+
.WithMessage("Retry attempts must be between 0 and 10.");
39
44
}
40
45
}
41
46
@@ -61,13 +66,15 @@ public class SlskdProviderSettings : IProviderConfig
61
66
[FieldDefinition(7,Label="Timeout",Type=FieldType.Textbox,HelpText="Specify the maximum time to wait for a response from the Slskd instance before timing out. Fractional values are allowed (e.g., 1.5 for 1 hour and 30 minutes). Set leave blank for no timeout.",Unit="hours",Advanced=true,Placeholder="Enter timeout in hours")]
62
67
publicdouble?Timeout{get;set;}
63
68
69
+
[FieldDefinition(8,Label="Retry Attempts",Type=FieldType.Number,HelpText="The number of times to retry downloading a file if it fails.",Advanced=true,Placeholder="Enter retry attempts")]
Copy file name to clipboardExpand all lines: Tubifarry/Download/Clients/YouTube/YoutubeProviderSettings.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ public class YoutubeProviderSettings : IProviderConfig
58
58
[FieldDefinition(0,Label="Download Path",Type=FieldType.Path,HelpText="Specify the directory where downloaded files will be saved.")]
59
59
publicstringDownloadPath{get;set;}="";
60
60
61
-
[FieldDefinition(1,Label="Cookie Path",Type=FieldType.FilePath,Placeholder="/downloads/Cookies/cookies.txt",HelpText="Specify the path to the YouTube cookies file. This is optional but required for accessing restricted content.",Advanced=true)]
61
+
[FieldDefinition(1,Label="Cookie Path",Type=FieldType.FilePath,Hidden=HiddenType.HiddenIfNotSet,Placeholder="/downloads/Cookies/cookies.txt",HelpText="Specify the path to the YouTube cookies file. This is optional but required for accessing restricted content.",Advanced=true)]
62
62
publicstringCookiePath{get;set;}=string.Empty;
63
63
64
64
[FieldDefinition(2,Label="Use ID3v2.3 Tags",HelpText="Enable this option to use ID3v2.3 tags for better compatibility with older media players like Windows Media Player.",Type=FieldType.Checkbox,Advanced=true)]
0 commit comments