2010-10-11, 03:26
NEW: Send NZB files from feed items to the SABnzb addon. Tested with nzb.su, nzbindex.nl, medianzb.
Install my repository to install this addon and keep it updated:
repository.googlecode.daledude.zip
Google Reader Direct DownLoad Video Streamer
Dharma addon to browse through a Google Reader account and stream any hotfile download links found on the resulting feed page or send an NZB file to the SABnzb addon. I prefer to use Google Reader instead of having to deal with each sites individual feeds, like rlslog/rlsbb/scnrls, plus searching feed history is nice.
REQUIREMENTS:
* Google Reader account.
* Premium hotfile account or SABnzbd addon for NZB downloading.
* Feeds need to be in at least one folder/category in Google Reader because this script gets a list of folders as the initial index and then drills down from there. You can use an existing Reader account as this script won't effect any of your feeds.
* For multipart rar streaming you must create/modify userdata/autoexec.py. See README.txt.
NZB HANDLING:
If an nzb file is found when you select a feed item it will automatically be sent to the SABnzb addon. If the feed has images attached (nzb.su) then they will be used just like usual. When adding rss feeds from sites such as nzbindex or binsearch be sure to add ".nzb" to the search query. This will mostly ensure that the returned results will only be the nzb posts.
MULTIPART RARS:
To stream multipart rars you must create, or add a line to, the autoexec.py file in the userdata folder. See the autoexec.py file provided with this module which you may copy or use as an example. Restart XBMC to have it loaded. Then go to the GReader DDL addon settings and enable the REDIRECT SERVER. If you receive a REDIRECT SERVER CONNECT error when browsing feeds then try changing the port number which is also in the addon settings. When selecting an archive the script will need to read the directory from each file which can take some time depending on the number of rars in the set. Also when selecting a video within the archive XBMC will need to read data from each of the files again so be patient.
KNOWN ISSUES:
*For rars: XBMC will check each rar again before it plays. There is no indicators for this other than "working...". Can take a few seconds.
*For rars: XBMC will sometimes fail to start the video and get stuck with "working..." and require a restart of the program.
TODO:
*Mark individual items as read, unread, starred, etc.
*Customize # feed items to display. Currently hard coded at 100 max.
*Browse all latest, starred, shared, read and friends feeds.
*Browse a whole folder's feeds instead of drilling down per feed.
*Download context menu. Maybe integrate with jdownloader or some other queueing program.
*Allow filtering items. Maybe integrate with TVRage script.
*Add more premium hosters like rapidshare, megaupload, etc. But I don't want to buy premium accounts to do this. If someone is trusting enough to let me use theirs for development PM me.
WINDOWS:
I did development on Windows but I only use XBMC on Linux for regular use. During development I had alot of problems with "URLError: <urlopen error (8, 'EOF occurred in violation of protocol" errors when trying to connect to https. It will give this error the first time but then work ok for awhile.
THANKS:
Unbehagen for the hotfile code.
Asktherelic.com for the python greader api code.
Marko Kreen for rarfile.py.
Install my repository to install this addon and keep it updated:
repository.googlecode.daledude.zip
Google Reader Direct DownLoad Video Streamer
Dharma addon to browse through a Google Reader account and stream any hotfile download links found on the resulting feed page or send an NZB file to the SABnzb addon. I prefer to use Google Reader instead of having to deal with each sites individual feeds, like rlslog/rlsbb/scnrls, plus searching feed history is nice.
REQUIREMENTS:
* Google Reader account.
* Premium hotfile account or SABnzbd addon for NZB downloading.
* Feeds need to be in at least one folder/category in Google Reader because this script gets a list of folders as the initial index and then drills down from there. You can use an existing Reader account as this script won't effect any of your feeds.
* For multipart rar streaming you must create/modify userdata/autoexec.py. See README.txt.
NZB HANDLING:
If an nzb file is found when you select a feed item it will automatically be sent to the SABnzb addon. If the feed has images attached (nzb.su) then they will be used just like usual. When adding rss feeds from sites such as nzbindex or binsearch be sure to add ".nzb" to the search query. This will mostly ensure that the returned results will only be the nzb posts.
MULTIPART RARS:
To stream multipart rars you must create, or add a line to, the autoexec.py file in the userdata folder. See the autoexec.py file provided with this module which you may copy or use as an example. Restart XBMC to have it loaded. Then go to the GReader DDL addon settings and enable the REDIRECT SERVER. If you receive a REDIRECT SERVER CONNECT error when browsing feeds then try changing the port number which is also in the addon settings. When selecting an archive the script will need to read the directory from each file which can take some time depending on the number of rars in the set. Also when selecting a video within the archive XBMC will need to read data from each of the files again so be patient.
KNOWN ISSUES:
*For rars: XBMC will check each rar again before it plays. There is no indicators for this other than "working...". Can take a few seconds.
*For rars: XBMC will sometimes fail to start the video and get stuck with "working..." and require a restart of the program.
TODO:
*Mark individual items as read, unread, starred, etc.
*Customize # feed items to display. Currently hard coded at 100 max.
*Browse all latest, starred, shared, read and friends feeds.
*Browse a whole folder's feeds instead of drilling down per feed.
*Download context menu. Maybe integrate with jdownloader or some other queueing program.
*Allow filtering items. Maybe integrate with TVRage script.
*Add more premium hosters like rapidshare, megaupload, etc. But I don't want to buy premium accounts to do this. If someone is trusting enough to let me use theirs for development PM me.
WINDOWS:
I did development on Windows but I only use XBMC on Linux for regular use. During development I had alot of problems with "URLError: <urlopen error (8, 'EOF occurred in violation of protocol" errors when trying to connect to https. It will give this error the first time but then work ok for awhile.
THANKS:
Unbehagen for the hotfile code.
Asktherelic.com for the python greader api code.
Marko Kreen for rarfile.py.