Sending download location to an application/http

Want something added? Ask for it here.
Post Reply
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Sending download location to an application/http

Post by evidenceunseen »

I know you mentioned auto sorting rar's as a feature coming in 4.0, I was wondering if you'd be willing to have a button on the webserver (for instance a play button) that would send the file information to a predefined application or url (changed in the settings) as soon as the .rar is downloaded and decoded to an application like vlc or an http api for an application like xbmc's www.xbmc.org. I can give you some information on how the program should communicate them if anyone is interested.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Sending download location to an application/http

Post by switch »

Sending to xbmc would indeed be useful, however SABnzbd has no info on how, or if the file is shared. Maybe there would need to be a config section where you enter the path on your network to your complete folder.

Playing locally (local to the install of sab) would be easier.

This is something that can be looked into, but there are some other things that need more attention first.
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: Sending download location to an application/http

Post by evidenceunseen »

Yah that's what I was refering to you could use a command like this:

[url=http://xbox_ip/xbmcCmds/xbmcHttp?command=PlayFile&parameter=smb:complete_n etwork_path_to_download_dir%n]http://xbox_ip/xbmcCmds/xbmcHttp?command=PlayFile&parameter=smb:complete_n etwork_path_to_download_dir%n[/url]


<--- %n=filename.avi
or

[url=http://xbox_ip/xbmcCmds/xbmcHttp?command=PlayFile&parameter=smb:complete_n etwork_path_to_download_dir%N]http://xbox_ip/xbmcCmds/xbmcHttp?command=PlayFile&parameter=smb:complete_n etwork_path_to_download_dir%N[/url]

<--- %N=NZB_download_subdir/filename.avi (if you download to nzb subdir)
duz
Jr. Member
Jr. Member
Posts: 76
Joined: January 21st, 2008, 6:53 pm

Re: Sending download location to an application/http

Post by duz »

This can be done with a post processing script, can't it?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Sending download location to an application/http

Post by switch »

The idea here is to start the file mid download as a stream. I'm a bit apprehensive about streaming stuff on newsgroups, as unless there is some mid download par checking and repairing (which as far as I am aware is not possible) then you are bound to run into files with missing parts.
evidenceunseen
Jr. Member
Jr. Member
Posts: 56
Joined: February 11th, 2008, 2:33 pm

Re: Sending download location to an application/http

Post by evidenceunseen »

It is possible to do par2 checking mid download, and is done by other software altbinz, but I believe it just checks for errors.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sending download location to an application/http

Post by shypike »

It would be possible. But you cannot do repair unless you first get enough par2 files.
(par2 files are downloaded as late as possible).

Anyway, it would take a serious redesign. So: long term item.
Post Reply