Alt.Binz forum

New Alt.Binz versions => Requests => Open requests => Topic started by: coffmanrunner on November 27, 2008, 08:25:07 pm

Title: Web Interface
Post by: coffmanrunner on November 27, 2008, 08:25:07 pm
I know that a web interface would be a crap load of work but maybe start off small and simple and slowly grow it? It would be really nice to open up a few ports on my router so that no matter where I was I could go to http://myipadress:portnumber and add .nzb's / see status on downloads/par/unrar
Title: Re: Web Interface
Post by: pilotsnipes on November 29, 2008, 12:32:03 pm
Yeah, I think this would be good too :)

However, really, with the ease of which you can add a vnc client/server to your computer which allows you to do EVERYTHING on your home pc as if you were there, what really is the point?

For those of you who say, "Ah but you need a vncviewer to see your home pc, so I can't use my browser", not really. Ultravnc, has a webpage support that you can use to view everything via explorer/firefox/other crappy browser.


Give it a shot.
Title: Re: Web Interface
Post by: coffmanrunner on November 30, 2008, 06:33:01 am
Yes I currently use UltraVNC but im thinking about like I want to check really fast or let my friends use my usenet access if im not using it. I have written PHP (+ mysql) before for side projects and I think I might be able to find a way to make a simple interface (in PHP) that lets users upload .nzb's and it could just drop them into the dir that alt.binz auto-checks for downloads and then (and I guess this is what I'm really asking for) if alt.binz could have some sort of status file or a way to request a status file. In PHP I could run a command that asked alt.binz to write a status xml file or something and then parse that data onto a web page so that I could see what was downloading, how fast, ETA (for all and per item), unrar (ETA/Status) just basic info to "check up" on my downloads. I am going to be getting a new phone soon that I will buy a data plan for and It would be really nice to be able to pull up a website that had my status and be like of yea I want to download XXX file and drop a nzb in. - Does this make any sense? I already have XAMPP installed on my machine so it wouldn't be too difficult to set up if I had a status file
Title: Re: Web Interface
Post by: Hecks on November 30, 2008, 11:53:00 am
Alt.Binz already outputs the altbinz_status.xml file if you enable it in Setup > Miscellaneous #2.  It contains basic connection info, and you can toggle Connect on/off by editing it.  Otherwise there's the mIRC plugin for monitoring the queue via IRC that might be of some use to you.

In the absence of a proper Alt.Binz API, what would be really handy is a way of parsing the queue.abz file ... somebody wrote a .NET dll for it, can't remember where it is now, but anyway such a thing is possible.

Have you looked at SABnzbd?  It's built entirely in Python with its own mini web server, driven by a web interface.  Maybe Python is the better way to go here ...
Title: Re: Web Interface
Post by: coffmanrunner on December 01, 2008, 04:38:39 am
hmm maybe your right. I was going to use my home PC as a mini-server for this project but this would save me time and energy. I have hosting on Bluehost so now i need to see if SABnzbd can be set up to work there... that way it is downloaded to my server and then I can ftp it back to my house or... idk this is obviously a bunch of jumbled ideas in my head, I want everything to stay on my home network for this cause I dont want to download to an external site... Ill post back what I decide and how to set it up if anyone is interested
Title: Re: Web Interface
Post by: Pimmetje on January 13, 2009, 12:26:22 pm
I like the idea of a webinterface also  ;)
Title: Re: Web Interface
Post by: noons on January 17, 2009, 02:16:24 am
Not sure why you all dont just use sabnzbd then since its completely web based. Its free supported and updated.
Title: Re: Web Interface
Post by: karn on January 20, 2009, 11:30:30 pm
Hey Hecks,

It was me that wrote the .NET DLL (and i still have the source).

I also wrote a PHP class that parsed it iirc. Will have to have a look around for it.
Title: Re: Web Interface
Post by: Hecks on January 20, 2009, 11:45:19 pm
Hooray for php!  Look forward to it. :)
Title: Re: Web Interface
Post by: karn on January 20, 2009, 11:55:32 pm
I can't find the PHP class but I can always write it up again. Wouldn't take long as I can port most of it from the C# code.
Title: Re: Web Interface
Post by: Hecks on January 21, 2009, 07:56:50 am
That would be incredibly helpful, I think. :)
Title: Re: Web Interface
Post by: karn on February 06, 2009, 02:53:56 pm
Hey sorry for the silence - been a bit preoccupied. I'll try and get something working for PHP.  It will probably just be a collection of functions to decode the queue.abz file into an array.
Title: Re: Web Interface
Post by: no mercy on September 04, 2009, 12:03:16 am
any news?


webinterface is a nice idea
Title: Re: Web Interface
Post by: ericab on September 18, 2009, 05:18:26 am
i would be willing to donate again.... for a web interface.

excellent idea.
Title: Re: Web Interface
Post by: karn on September 22, 2009, 08:26:41 pm
I occasionally surface :)

http://www.karn.co.uk/files

I uploaded 2 versions of the abzQueueReader, the original .Net DLL and a PHP Port (I cannot guarantee the quality of the PHP port - it's been a while but should be fully functional.)

I'm still meaning to write a simple web front end around these (python would in my opinion be the better, and possibly more distributable option, and it wouldn't be too difficult to rewrite the reader in python) but I have yet to get around to doing so. Would probably be just a reader/writer to the status.xml file (to pause/connect/disconnect etc) and show the current queue and progress, modifying the queue would be possible but would have to work like this:

client goes into queue modify mode
client closes abz (either through windows API and abz subsequently writes queue OR waits till the next queue write and kills abz's process)
client backs up and makes changes to queue file
client restarts abz.

Quite a lot of hassle, so I wouldn't bother myself (unless some form of API is added for simple queue manipulation, i.e. move collection up/down, pause collection.)
Most of the reason for wanting a front end is to add collections to the queue (imo) and possibly monitor progress - which would be easily possible.
Title: Re: Web Interface
Post by: Moose on October 01, 2009, 01:14:23 am
Totally +1 for this  :)
Title: Re: Web Interface
Post by: runeblade on October 15, 2009, 12:54:38 am
I was going to open this topic myself untill I saw someone else already did.

Web interface would be fantastic if possible, as long as it has the abilities to search usenet groups / select/download nzb's / control queue's from that interface.
My personal usage for this would be usefull, because at my work all ports are blocked (3389 (rdp), 5800/5900(vnc) etc..) so for a lot of people I would guess it would become quite handy? (good marketing/selling point as well ;))
It would also be better if there would be html files redirecting towards controlling alt-binz, instead of a built in http server
Title: Re: Web Interface
Post by: ChaosKiller on October 19, 2009, 12:10:26 am
Wow this really gets a +1 from me!
Title: Re: Web Interface
Post by: amelsfort on October 29, 2009, 10:50:58 am
Actually, the only thing we (or at least I) need is a website/server which allows me to search for NZB's and downloads them on my machine. If the program downloads them to the nzb-folder of Alt.Binz, Alt.Binz automatically imports them and starts downloading.

The search-program doesn't have to be a part of Alt.Binz at all.
Title: Re: Web Interface
Post by: Hecks on October 29, 2009, 11:27:21 am
Actually, the only thing we (or at least I) need is a website/server which allows me to search for NZB's and downloads them on my machine. If the program downloads them to the nzb-folder of Alt.Binz, Alt.Binz automatically imports them and starts downloading.

The search-program doesn't have to be a part of Alt.Binz at all.

Probably the closest to this currently would by something like the (free) 'My NZBs' and 'My Searches' RSS feeds for nzbs.org, in that you can set Alt.Binz to poll these, and change the listings remotely via web browser:

http://nzbs.org/index.php?action=rss

Would be most useful if Alt.Binz could handle multiple RSS feeds, though ;).
Title: Remote Monitoring
Post by: Cloudhopper on December 07, 2009, 04:09:43 pm
Hi,

i know this isn't entirely new (having been brought up back in the days here: https://www.altbinz.net/forum/index.php?topic=370.0 ), however i like to bring this up again after 2.5 years.

Back then the answer was "use a different application".
Well i don't want to quite frankly, as i think alt.binz is working well for me. I like that it is a standalone app, i do have my VNC setup at home to access it remotely, all very well.

However :)
Sometimes it would be fantastic to access it via the Web. I can't RDP to my Server at home from certain places (Office, Blackberry) and it would be nice to be able to. While purely web based apps like Ninan are nice, they don't give me the usability that i get from Alt.Binz, it just is the better software (sorry!).

I don't know how hard it is (but if the Donkey-boys could do it....) or if there is demand apart from me.
What do you think rdl, would this be something you see as a valuable addition to the product? I mean if it is not to hard to do it might attract new contributors and i don't see how that could be a bad thing ;)

Cheers!
C

[Edit: Hecks, merged into this more recent request]
Title: Re: Web Interface
Post by: davidq666 on December 07, 2009, 04:32:55 pm
i personaly don't realy need that feature, but i see ur point.
In the meantime u could try the mirc-script and see if it could be of use to:

https://www.altbinz.net/wiki/MIRC_Script
Title: Re: Web Interface
Post by: Cloudhopper on December 07, 2009, 07:36:30 pm
First thanks to Hecks for merging this, this thread actually didn't come up during my search (no clue why..).

While the mIRC script is a useful thing, the ports aren't available to me.

I'd need the search function (as binsearch etc are blocked through our Network) and the ability to add NZBs to the Q as well as check connectivity and reconnect.
So.. it's the same feed the client uses for search and three radio buttons.

If i could prog that myself, id do it.
Title: Re: Web Interface
Post by: Schokobanane on June 05, 2011, 02:09:27 pm
i personaly don't realy need that feature, but i see ur point.
In the meantime u could try the mirc-script and see if it could be of use to:

https://www.altbinz.net/wiki/MIRC_Script

Very nice :-)

But the Problem is, altBinz isnt installed on the same Computer, like mIRC is. Is there any way, to readout the Datas via Network (From Computer A (running altBinz) to Computer B (running mIRC))?