MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum ŧ MediaPortal 1 ŧ Community Skins and Plugins ŧ Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
LinkBack Thread Tools Display Modes
Old 2007-08-02, 16:52   #41 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 30
Posts: 41
Thanks: 4
Thanked 4 Times in 4 Posts

Country:


Default

Had already done that, But I upgraded my account to VIP and the the search started to work. Could be the cookies.

But still the same problem with the nzb.

2007-08-02 15:42:20,203::INFO::[sabnzbd.misc] Trying to import c:\sab\NZB_blackhole\COMPLETE.nzb
2007-08-02 15:42:21,203::ERROR::[nzbstuff] Trying to fix COMPLETE.nzb (will take some time)
Traceback (most recent call last):
File "sabnzbd\nzbstuff.pyo", line 329, in __init__
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 2
2007-08-02 15:42:21,937::ERROR::Error importing
Traceback (most recent call last):
File "sabnzbd\misc.pyo", line 81, in run
File "sabnzbd\nzbstuff.pyo", line 336, in __init__
File "<string>", line 85, in XML
SyntaxError: not well-formed (invalid token): line 1, column 2


I see also that it saves the nzb in the wrong place it saves it in the root
of sabnzbd instead of the nzb_blackhole. and are named nzh_blackholefilename.nzb But I think you knew that.

But the problem is only with files saved thru the plugin. I threw on nzb downloaded with the plugin into the nzb_blackhole but it trew an error. Downloaded the file manually and no error.

Hope I could describe it well enough
gizzard is offline   Reply With Quote
Old 2007-08-02, 17:24   #42 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

Quote:
Originally Posted by gizzard View Post
I see also that it saves the nzb in the wrong place it saves it in the root
of sabnzbd instead of the nzb_blackhole. and are named nzh_blackholefilename.nzb But I think you knew that.

But the problem is only with files saved thru the plugin. I threw on nzb downloaded with the plugin into the nzb_blackhole but it trew an error. Downloaded the file manually and no error.

Hope I could describe it well enough
I'm not exactly sure what's going on here. Can you connect to sab and copy/paste your dirscan directory? I THINK I've fixed the problem, but I need to make sure it would work in your situation. As far as the invalid NZB files go, can you kill SAB, download one with the plugin and e-mail it to me at jburnette (a t) gmail.com? I'm not having these two problems so it's hard for me to recreate them. I think what might be happening in this case is that special characters are being changed to their char code. I'm not positive on that though. Thanks.


EDIT:
gizzard,
Thanks for sending me the NZB. I think I see what your problem is. If you change the extension on that NZB to .zip you'll see that it is still a zipped NZB. If you are not a VIP member of NZBMatrix then all NZB files are sent to you zipped. The plugin will automatically unzip them if your grabber is not SAB. If your grabber is sab then it doesn't unzip them because SAB will do that for you. I think what's going on here is that you've checked the VIP box and you are not a VIP member. If you have just become one (I'm not so I don't really know) perhaps it will take them a little bit of time to update or there could be an option on their website under your account settings to zip them or not. I would uncheck the VIP box and then see what happens. Hope this helps, let me know what happens.

Last edited by jburnette; 2007-08-02 at 17:39. Reason: Automerged Doublepost
jburnette is offline   Reply With Quote
Old 2007-08-02, 17:57   #43 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 30
Posts: 41
Thanks: 4
Thanked 4 Times in 4 Posts

Country:


Default

But I am. I have downloaded from nzbmatrix in nzb not zip.

I can choose if want to dl the file in zip or not and I always download it in nzb.

Link for NZB
://nzbmatrix.com/nzb-download.php?id=140772&name=History%20Bites%20-%2049%20-%20Neolithic%20Park%20%286%2C000%20BC%29.%5Bnzbmat rix%5D.nzb&nozip=1

Link for ZIP
://nzbmatrix.com/nzb-download.php?id=140772&name=History%20Bites%20-%2049%20-%20Neolithic%20Park%20%286%2C000%20BC%29.%5Bnzbmat rix%5D.nzb[/url]


Think you have to add the "&nozip=1" here

Line 481. myusenet.vb
test.DownloadFile("http://nzbmatrix.com/nzb-download.php?id=" + itemnum, pathtostatus + nzbdir + filename + ".nzb")
I beleve the nozip flag tells the server to not zip the file.

Last edited by gizzard; 2007-08-02 at 18:01.
gizzard is offline   Reply With Quote
Old 2007-08-02, 18:01   #44 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

OK, thanks. I really wasn't sure if my code was going to work for VIP members as I had no way to test it or know how NZBMatrix handled that. I will add that today, thanks. A temporary solution would be for you to uncheck the box so that the the plugin names the zipped file accordingly.
jburnette is offline   Reply With Quote
Old 2007-08-02, 21:47   #45 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 30
Posts: 41
Thanks: 4
Thanked 4 Times in 4 Posts

Country:


Default

More to debug

Now when ever I download a nzb itīs added to the queue 2 times.
Thatīs strange. Iīll try to find out why.
gizzard is offline   Reply With Quote
Old 2007-08-02, 21:53   #46 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

Quote:
Originally Posted by gizzard View Post
More to debug

Now when ever I download a nzb itīs added to the queue 2 times.
Thatīs strange. Iīll try to find out why.
Yeah, I noticed that problem when I was looking at the download strings. It's because I had left some code in there from before I added SAB and the VIP flags. It should only download twice if you are a VIP. I'm working on going through and fixing a lot of things that I just wrote in a hurry.

Last edited by jburnette; 2007-08-02 at 21:57.
jburnette is offline   Reply With Quote
Old 2007-08-02, 22:38   #47 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 30
Posts: 41
Thanks: 4
Thanked 4 Times in 4 Posts

Country:


Default

I have found out what the problem is.

When you download the zip file to sabnzbd blackhole dir and then you unzip the file
sabnzbd unzips the file also and takes in in to queue. and the nzb file that the plugin unzips. Itīs works when you disable the unzip switch in sabnzbd.
gizzard is offline   Reply With Quote
Old 2007-08-02, 23:05   #48 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

Hmm, it shouldn't be unzipping the files when adding to SAB. It only unzips if the grabber isn't SAB (ideally thats how its supposed to work). It's not doing it to me but I've also cleaned that code up a lot. Could have been a bug I incidentally fixed but I will double check. Thanks again.
jburnette is offline   Reply With Quote
Old 2007-08-06, 03:44   #49 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 28
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts


Default

It seems like i can't get the plugin to connect to my SAB instance - the server is running, with the default settings, and no authentication. However, when i try to connect to 127.0.0.1:8080, the plugin throws an error saying it can't connect to my SAB instance. I've tried this with several different listening IPs/ports, and on more than one computer's mediaportal installation. Is there a log somewhere that i can check, or something obvious that i'm missing? I'm eager to try this plugin!
Ryoga79 is offline   Reply With Quote
Old 2007-08-06, 11:46   #50 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

Is SAB installed on the same computer that MP is running on? Also, can you connect to SAB through a browser on the same computer that MP is running on?
jburnette is offline   Reply With Quote
Reply

Bookmarks

Tags
nzb

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
REQ: Usenet plugin is there interest idioteque Plugins 4 2006-11-13 11:34


All times are GMT +1. The time now is 00:29.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress