1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 14:32:40 +00:00
This commit is contained in:
fiso64 2023-05-25 22:20:51 +02:00
parent fa126ee33f
commit e103cff6bd
3 changed files with 7 additions and 2 deletions

View file

@ -28,6 +28,9 @@ Options:
--yt-id-col <column> Youtube video ID column (only needed if length-col or yt-desc-col don't exist). Use with --yt-parse. --yt-id-col <column> Youtube video ID column (only needed if length-col or yt-desc-col don't exist). Use with --yt-parse.
--yt-parse Enable if you have a csv file of YouTube video titles and channel names; attempt to parse. --yt-parse Enable if you have a csv file of YouTube video titles and channel names; attempt to parse.
-s --single <str> Search & download a specific track
-a --album <str> Does nothing
--pref-format <format> Preferred file format (default: mp3) --pref-format <format> Preferred file format (default: mp3)
--pref-length-tol <tol> Preferred length tolerance (if length col provided) (default: 3) --pref-length-tol <tol> Preferred length tolerance (if length col provided) (default: 3)
--pref-min-bitrate <rate> Preferred minimum bitrate (default: 200) --pref-min-bitrate <rate> Preferred minimum bitrate (default: 200)
@ -93,3 +96,4 @@ Supports .conf files: Create a file named `slsk-batchdl.conf` in the same direct
- YouTube playlist downloading is unreliable since there are no track name / artist tags - YouTube playlist downloading is unreliable since there are no track name / artist tags
- The CSV file must be saved with `,` as field delimiter and `"` as string delimiter, encoded with UTF8 - The CSV file must be saved with `,` as field delimiter and `"` as string delimiter, encoded with UTF8
- 40% of the code was written by ChatGPT - 40% of the code was written by ChatGPT
- Sometimes it starts vomiting text in the terminal (I don't know why), use --slow-output if that's an issue.

View file

@ -162,7 +162,7 @@ class Program
MaxSampleRate = -1, MaxSampleRate = -1,
}; };
string confPath = Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "slsk-batchdl.conf"); string confPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "slsk-batchdl.conf");
if (System.IO.File.Exists(confPath)) if (System.IO.File.Exists(confPath))
{ {
string confArgs = System.IO.File.ReadAllText(confPath); string confArgs = System.IO.File.ReadAllText(confPath);

View file

@ -1,7 +1,8 @@
{ {
"profiles": { "profiles": {
"slsk-batchdl": { "slsk-batchdl": {
"commandName": "Project" "commandName": "Project",
"commandLineArgs": "-s \"nanoray mimicloq\""
}, },
"YouTube": { "YouTube": {
"commandName": "Project", "commandName": "Project",