mbruel / ngPost

Command Line (or minimalist GUI) usenet poster for binaries developped in C++/QT designed to be as fast as possible and offer all the main features to post data easily and safely. Releases for Linux, Windows and MacOS are available.
GNU General Public License v3.0
183 stars 36 forks source link

Upload without Compression #214

Open Zach99f opened 2 months ago

Zach99f commented 2 months ago

Hello sir

I hope this message finds you well. First and foremost, I would like to express my appreciation for the excellent tool you've developed. It's been incredibly useful for my Usenet uploads.

I would like to kindly request a feature that would greatly enhance the functionality and convenience of ngpost:

Feature Request:

This feature would streamline the process of uploading multiple files and ensure that they are readily available in their original form. The automatic creation and saving of the NZB file would also simplify retrieval and distribution, aligning with the needs of users who manage large numbers of files.

Thank you for considering this request. I believe it would be a valuable addition to ngpost and would greatly benefit the community. I look forward to any updates or feedback you may have on this.

Best regards,

Abu3safeer commented 1 month ago

Hello @Zach99f I have seen these requests several times, I don't think this will be implemented anytime soon. I have made a python script (exe for windows also) that does what you say, check them here: Abu3safeer/ngPost-bulk

DEVUVO commented 1 month ago

Hi @Abu3safeer , I extracted the files and only can find main.py and no exe ?

how can i run this py i tried from cmd and it wont load ? please help.

Abu3safeer commented 1 month ago

Hello @DEVUVO There is exe in releases section image

Zach99f commented 1 month ago

Thanks, I'll check it out.

On Thu, Sep 26, 2024, 4:48 PM Abu3safeer @.***> wrote:

Hello @DEVUVO https://github.com/DEVUVO There is exe in releases section image.png (view on web) https://github.com/user-attachments/assets/60f517ec-52c6-417d-81a6-8c51500107f4

— Reply to this email directly, view it on GitHub https://github.com/mbruel/ngPost/issues/214#issuecomment-2377909389, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKRKK4CV7ZYZLLYTUVBVKIDZYRXK7AVCNFSM6AAAAABMVY3N5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZXHEYDSMZYHE . You are receiving this because you were mentioned.Message ID: @.***>

DEVUVO commented 1 month ago

Now I downloaded the .exe now when i run it inside the ngpost it wont run , run it using cmd it wont run , tried without the ngpost folder it wont run . can you please explain how to run it please

Abu3safeer commented 1 month ago

You need to follow those naming to work https://github.com/Abu3safeer/ngPost-bulk/blob/e0043814fbec3f936b3b5c62d446810b7e4361ca/main.py#L9

first create a folder called files, this will have files and folders to upload second create a folder called nzb, here you will see nzb files when upload complete thirds create a folder called ngPostv4.16.1_x64, inside it you need to put ngPost and all it's configuration.

when done, just put some folders and files inside "files" and then run the exe, it should handle everything for you.

DEVUVO commented 1 month ago

I did , It will not run it open an cmd screen and it disappeared

Abu3safeer commented 1 month ago

Open an issue on my repo.

mbruel commented 1 month ago

Hi @Abu3safeer I had a quick look at your script, basically you create a new folder tree with nzb for each individual files right? Is this @Zach99f request? Or shall we have the folder tree structure and all the files straight in one main nzb?

Zach99f commented 1 month ago

Hi @Abu3safeer If we have the folder tree structure and all the files straight in one main nzb that will be excellent 👌

Abu3safeer commented 1 month ago

Hello @mbruel when using ngpost gui with folders, and forces to rar the files, you cannot post each file individually. Use case of my script like: --> Show name: ----> Season 01 ------> EP01.mkv ------> EP02.mkv ------> EP03.mkv ----> Season 02 ------> EP01.mkv ------> EP02.mkv ------> EP03.mkv

I want to post each file with his own nzb, this is the use case that ngpost gui does not support.

my script goes on every single file, and post it with it's own nzb file while keeping the folder structure the same as original, so you get: --> Show name: ----> Season 01 ------> EP01.mkv.nzb ------> EP02.mkv.nzb ------> EP03.mkv.nzb ----> Season 02 ------> EP01.mkv.nzb ------> EP02.mkv.nzb ------> EP03.mkv.nzb

Abu3safeer commented 1 month ago

Hi @Zach99f , you can do that in the normal ngpost command, it should handle the folder and files inside it with no additional effort.

Zach99f commented 1 month ago

Thanks for the tip! But can we get it under a single nzb for each folder instead?

On Sun, Sep 29, 2024, 5:33 AM Abu3safeer @.***> wrote:

Hello @mbruel https://github.com/mbruel when using ngpost gui with folders, and forces to rar the files, you cannot post each file individually. Use case of my script like: --> Show name: ----> Season 01 ------> EP01.mkv ------> EP02.mkv ------> EP03.mkv ----> Season 02 ------> EP01.mkv ------> EP02.mkv ------> EP03.mkv

I want to post each file with his own nzb, this is the use case that ngpost gui does not support.

my script goes on every single file, and post it with it's own nzb file while keeping the folder structure the same as original, so you get: --> Show name: ----> Season 01 ------> EP01.mkv.nzb ------> EP02.mkv.nzb ------> EP03.mkv.nzb ----> Season 02 ------> EP01.mkv.nzb ------> EP02.mkv.nzb ------> EP03.mkv.nzb

— Reply to this email directly, view it on GitHub https://github.com/mbruel/ngPost/issues/214#issuecomment-2381283521, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKRKK4BQCINUXATHETICC2LZY7COPAVCNFSM6AAAAABMVY3N5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGI4DGNJSGE . You are receiving this because you were mentioned.Message ID: @.***>

Zach99f commented 1 month ago

The point is to upload folders without compression and get a single nzb ss I said earlier

On Sun, Sep 29, 2024, 5:35 AM Mo Mo @.***> wrote:

Thanks for the tip! But can we get it under a single nzb for each folder instead?

On Sun, Sep 29, 2024, 5:33 AM Abu3safeer @.***> wrote:

Hello @mbruel https://github.com/mbruel when using ngpost gui with folders, and forces to rar the files, you cannot post each file individually. Use case of my script like: --> Show name: ----> Season 01 ------> EP01.mkv ------> EP02.mkv ------> EP03.mkv ----> Season 02 ------> EP01.mkv ------> EP02.mkv ------> EP03.mkv

I want to post each file with his own nzb, this is the use case that ngpost gui does not support.

my script goes on every single file, and post it with it's own nzb file while keeping the folder structure the same as original, so you get: --> Show name: ----> Season 01 ------> EP01.mkv.nzb ------> EP02.mkv.nzb ------> EP03.mkv.nzb ----> Season 02 ------> EP01.mkv.nzb ------> EP02.mkv.nzb ------> EP03.mkv.nzb

— Reply to this email directly, view it on GitHub https://github.com/mbruel/ngPost/issues/214#issuecomment-2381283521, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKRKK4BQCINUXATHETICC2LZY7COPAVCNFSM6AAAAABMVY3N5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGI4DGNJSGE . You are receiving this because you were mentioned.Message ID: @.***>

Abu3safeer commented 1 month ago

@Zach99f Sure, create a folder called files, and put all folders inside it, the use this:

@echo off

for %%f in ("files\*") do (
    echo Processing file %%~nxf...
    "path\to\ngPost.exe" -i "files\%%~nxf" -o "nzb\%%~nxf.nzb" -c "path\to\ngPost.conf" --gen_par2
)

echo All files processed.
pause
Zach99f commented 1 month ago

Thanks again but how to use the code

On Sun, Sep 29, 2024, 2:27 PM Abu3safeer @.***> wrote:

@Zach99f https://github.com/Zach99f Sure, create a folder called files, and put all folders inside it, the use this:

@echo off

for %%f in ("files*") do ( echo Processing file %%~nxf... "path\to\ngPost.exe" -i "files\%%~nxf" -o "nzb\%%~nxf.nzb" -c "path\to\ngPost.conf" --gen_par2 )

echo All files processed. pause

— Reply to this email directly, view it on GitHub https://github.com/mbruel/ngPost/issues/214#issuecomment-2381572371, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKRKK4HU22U34DJCGMJXMJLZZBIBVAVCNFSM6AAAAABMVY3N5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGU3TEMZXGE . You are receiving this because you were mentioned.Message ID: @.***>