rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.35k stars 604 forks source link

cannot connect to nzbget #3294

Closed Blackbear199 closed 2 years ago

Blackbear199 commented 2 years ago

windows 10 python 3.10.2 i cant send the mzb file from headphones.

headphones ==> nzbget headhone log 2022-02-13 19:52:34 | ERROR | Connect Error to NZBget: could not add xxxxxxxx.nzb to the queue nzbget log Sun Feb 13 2022 19:52:36 | headphones connected to drop of xxxxxxxxx.nzb any moment now

so i tried setting it up to use black hoLe.. headphones log 2022-02-13 19:58:29 | ERROR | Couldn't write NZB file: write() argument must be str, not bytes

rembo10 commented 2 years ago

Hm, not a lot of information on the nzbget one to go on.... I've fixed the black hole though. So headphones sends the headphones connected to drop of... message... so it's connecting... I just don't know where it's failing. Would you mind trying to run it from a command prompt and see if it throws any errors there?

Thanks for the report

rembo10 commented 2 years ago

I think I have it fixed if you wouldn't mind giving it a try

Blackbear199 commented 2 years ago

looks ok now

headphones log 14-Feb-2022 02:28:37 - INFO :: ('CP Server Thread-8',) : Searching for "xxxxx" since it was marked as wanted 14-Feb-2022 02:28:37 - INFO :: ('CP Server Thread-8',) : Searching Headphones Indexer with search term: xxxxxxx 14-Feb-2022 02:28:37 - INFO :: ('CP Server Thread-8',) : Found xxxxxx. Size: 110.0 MB 14-Feb-2022 02:28:37 - INFO :: ('CP Server Thread-8',) : Making sure we can download the best result 14-Feb-2022 02:28:38 - INFO :: ('CP Server Thread-8',) : Found best result from headphones: xxxxxxxxxxx - 110.0 MB 14-Feb-2022 02:28:38 - INFO :: ('CP Server Thread-8',) : Sending NZB to NZBget 14-Feb-2022 02:28:38 - INFO :: ('CP Server Thread-8',) : Search for wanted albums complete

nzbget shows downloading in messages but log now shows.. Mon Feb 14 2022 02:29:10 | Could not resolve hostname my.newsserver.com: ErrNo -2, Name or service not known

Blackbear199 commented 2 years ago

all ok nzbget had that server enabled by default but not configured. sorry for the confusion,first time using it.

so nbzget has the file sitting in que so far as headphones is concerned i say its solved. black hole loos fine also,nzb file gets created in file file location.

rembo10 commented 2 years ago

Ok great, so I'll mark this as closed, thanks for the feedback