PDA

View Full Version : NZB/Newsgroup Support



AaronX
October 29th, 2008, 09:38 PM
i'd love to also see newsgroup support built into boxee. someone could even hack it in using python and hellanzb. in addition someone could use rss and a feed like this one (http://www.tvnzb.com/tvnzb_new.rss) to bring up recently uploaded television shows. i prefer to use newsgroups over bittorrent because it is significantly faster.

i'd code it in myself if I knew how the heck to do it lol.

AaronX
October 30th, 2008, 04:51 PM
With a little direction tweaking... up and running on the AppleTV
http://i376.photobucket.com/albums/oo209/aedelman0313/SABnzbdATV.png

AaronX
October 30th, 2008, 06:31 PM
ok here are some files: http://drop.io/AppleTVnzb
download the .zip file there named ATVnzb.zip
Contents:
SABcheck.sh
sabnzbd.ini
SABnzbdPlus.app

1) transfer all these files to your appletv using fugu/scp.
2) open up a ssh connection to your appletv
3) move SABnzbdPlus.app and SABcheck.sh to /Applications/

cp -R SABnzbdPlus.app /Applications/
mv SABcheck.sh /Applications/
4) make the directory for the sabnzbd.ini file

mkdir ~/.sabnzbd
5) move the sabnzbd.ini file into that folder

mv sabnzbd.ini ~/.sabnzbd/
6) now edit the sabnzbd.ini file

sudo nano ~/.sabnzbd/sabnzbd.ini
to change:
autobrowser = 1 to autobrowser = 0
host = ip address of appletv
port = 8080
7) edit the rc.local file to make this boot on startup

sudo nano /etc/rc.local
/Applications/SABcheck.sh
8) start SABnzbd for the first time

open /Applications/SABnzbd.app

now you should be able to open up a browser on your computer and connect to the GUI using the ip address earlier for example 192.168.1.10:8080/sabnzbd/

this way you can configure your usenet provider settings.

once I get the rss support figured out this should work. the nzb files will download, repair if needed using the par2 files, and unrar itself in the boxee video download directory.
This is why I love usenet: Download speed: 1389.74 KB/s

agentlame
October 31st, 2008, 12:20 AM
would love to test this, but my cable recently disabled all of the alt.* hierarchy.

AaronX
October 31st, 2008, 12:33 PM
yeah my isp killed all the alt.bin groups too. i've found that news.astraweb.com has really good pricing on their plans and it's what i use.

Last part of the puzzle is the RSS feed... here is some of the raw data from the link in the first post. Anyone know what boxee isn't liking?


<?xml version="1.0" encoding="iso-8859-1"?> <rss version="2.0">
<channel>
<title>TvNZB.com</title>
<link>http://www.tvnzb.com</link>
<description>TvNZB.com Automated RSS Feed</description>
<lastBuildDate>Fri, 31 Oct 2008 17:48:18 +0000</lastBuildDate>
<pubDate>Fri, 31 Oct 2008 17:48:18 +0000</pubDate>


<item>
<title>30.Rock.S03E01.HDTV.XviD-LOL</title>
<link>http://www.tvnzb.com/nzb/14655</link>
<show_id>299</show_id>
<season>3</season>
<episode>1</episode>
<description>30 Rock 3x01</description>
<enclosure url="http://www.tvnzb.com/nzb/14655" length="54013" type="application/x-nzb" />
<pubDate>Fri, 31 Oct 2008 10:24:11 +0000</pubDate>
</item>


<item>
<title>My.Name.Is.Earl.S04E08.Little.Bad.Voodoo.Brother.H DTV.XviD.FQM</title>
<link>http://www.tvnzb.com/nzb/14654</link>
<show_id>194</show_id>
<season>4</season>
<episode>8</episode>
<description>My Name Is Earl 4x08</description>
<enclosure url="http://www.tvnzb.com/nzb/14654" length="58498" type="application/x-nzb" />
<pubDate>Fri, 31 Oct 2008 07:56:10 +0000</pubDate>
</item>

AaronX
November 8th, 2008, 10:02 AM
Well I tried coding it in myself and compiling it but I utterly failed at building boxee from source.
I think this would need to be added to the RssSourceManager.cpp


if (item->m_strPath.IsEmpty())
{
if (item->GetLabel().Right(4) == ".nzb")
{
item->m_strPath = item->GetProperty("link");
item->SetProperty("IsTorrent", true);
}
}

CrashX
November 13th, 2008, 10:57 AM
An example showing XBMC SABnzbd+ Python Script :):)

http://forums.sabnzbd.org/index.php?topic=494.0

mobeus00
November 25th, 2008, 01:04 AM
mackdd4

Were you running it on an appletv?

AaronX

Did you ever get the rss feed working? I'm real interested in trying the nzb out.

ahreno
December 24th, 2008, 10:19 PM
this would be amazing... couple it with searching / creating the nzb on binsearch.info

egrims
February 26th, 2009, 12:09 PM
Any updates on the RSS feeds?

I'm a big user of Giganews and Newzbin, this will definitely make Boxee a definite for me if I can get it working.

mobeus00
March 28th, 2009, 11:41 PM
I am currently working on a plugin for asian movies and tv shows (using mysoju.com) it searches stream video source like youtube google video and it also searches torrent and NZB sites. It returns the results and you can choose to watch it now streaming or download for viewing later. I got all of it to work except the NZB part. WIth aaronx help I'm close, I cannt seem to download the nzb file and save it with the .nzb ext so sabnzb will auto download. I can down the nzb but I have to change file to an torrent extension. Boxee downloader doesn't seem to know what to do with nzb ext download link.

Any help would be greatly appreciated. After this last hurdle I will release the plugin.