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
Run nyuu -h abc.provider.com -S -u user -p password-n40 -k10 -g alt.binaries.boneless "folder with mkv files"
Current behavior
No NZB output
What am I trying to achieve?
I'm trying to provide a folder of mkv files as an input and have nyuu generate one nzb for each set of mkv+par2 files
When the example didn't work, I also tried to edit (below) but to no avail
nzb: function(filenum,filenumtotal,filename,filesize){letbaseFileName;// Split the filename by periodsconstparts=filename.split('.');// If it's an .mkv file, use everything before the last period as the base file nameif(filename.endsWith('.mkv')){baseFileName=parts.slice(0,-1).join('.');}// If it's a .par or .par2-related file, look for ".vol" to determine the base file nameelseif(filename.includes('.vol')&&filename.endsWith('.par2')){constvolIndex=filename.indexOf('.vol');baseFileName=filename.substring(0,volIndex);}// For base .par2 fileselseif(filename.endsWith('.par2')){baseFileName=parts.slice(0,-1).join('.');}else{return;// If the file doesn't match the expected patterns, do not add to any NZB}return[baseFileName,{writeTo: baseFileName+'.nzb',// Each group will have its own NZB file named after the base filenamewriteOpts: {flags: 'w'}}];},
The text was updated successfully, but these errors were encountered:
My first run was successful with no NZB but that's likely because config.js wasn't being used. I re-ran it with the config specified and it crashed. I'll test again and get back to you.
I'm talking about this example
Steps to reproduce
nyuu -h abc.provider.com -S -u user -p password-n40 -k10 -g alt.binaries.boneless "folder with mkv files"
Current behavior
No NZB output
What am I trying to achieve?
I'm trying to provide a folder of mkv files as an input and have nyuu generate one nzb for each set of mkv+par2 files
When the example didn't work, I also tried to edit (below) but to no avail
The text was updated successfully, but these errors were encountered: