DevYukine / red_oxide

A CLI helping with uploading to Redacted, inspired by REDBetter
MIT License
116 stars 22 forks source link

Unable to run program past the identifying formats/transcoding stages #2

Open LanSchooI opened 1 year ago

LanSchooI commented 1 year ago

Trying to run the program on a couple of torrents seems to exit almost all of them, I've only had luck with one torrent while others hang up on either Error: The system cannot find the path specified. (os error 3) (prints after [✅] Found missing format(s) MP3 320,MP3 V0, for torrent x in group x) or Error: program not found (prints after [➡️] Transcoding...)

I've ran all of these so far with red_oxide_Windows_x86_64-pc-windows-msvc.exe transcode --debug -c "G:\RustRED\config.json" "URL" and my config.json looks like this { "api_key": "", "torrent_directory": "G:\\RustRED\\torrent", "content_directory": "G:\\RustRED\\content", "transcode_directory": "G:\\RustRED\\transcodes", "spectrogram_directory": "G:\\RustRED\\spectrograms", "move_transcode_to_content": true, "automatic_upload": true }

and if it helps, i'm running this on Windows 11 (22621.1413)

DevYukine commented 1 year ago

Hey there 👋

I'm aware that error handling currently isn't in a perfect spot as they just exit the program, i'll surely come down to improve that over the next time. That said the error Error: program not found is very likely comming from you missing sox or the flac cli, make sure both those are installed and added to your PATH variable (you can test this by running sox and flac in a terminal and check if both come up, for windows you might need to add a .exe afterwards)

LanSchooI commented 1 year ago

Whoops, turns out my flac PATH was messed up, still getting the "system cannot find the path specified" error but the program works a lot better with that out of the way