On the road to LottaNZB 0.6
July 8th, 2010 - SeverinAs promised in the post announcing the availability of daily builds of LottaNZB 0.6, I’d like to present you the most important changes since the last progress report in April.
Setting up LottaNZB
I guess everyone agrees that LottaNZB should be as easy to set up as possible, especially for novice users. Previous versions of LottaNZB were not quite optimal in this regard, as the dialog for selecting LottaNZB’s usage mode (screenshot) reflected too much what was going on behind the scenes. Usage mode names like Standalone and Local front-end were not so easy to understand, which required a more verbose explanatory text to be added to the window. The whole progress has been redesigned from the ground up and the first progress report has already given you a glimpse at what it looks like. The user is now presented with two options, which are easy to understand and don’t require any additional text.
- Download to this computer
- Manage the downloads of another computer
Also related to setting up LottaNZB, there’s an important aspect to the new backend, SABnzbd. LottaNZB depends on the recently-released SABnzbd 0.5.2, which is not available in the repositories of common distributions yet. Additionally, there are many distributions like Fedora or OpenSuSE that don’t even provide SABnzbd in the form of a package. Also, the LottaNZB package doesn’t have a hard dependency on SABnzbd anymore, as it’s perfectly reasonable to install LottaNZB without SABnzbd and manage the downloads of another computer.
This means that LottaNZB users will be required to ensure that a supported version of SABnzbd is available on their computers. LottaNZB 0.6 aims to provide as much assistance as possible. For instance, if a supported version of SABnzbd is already ready for installation on a Debian-based system, installing it is as simple as clicking a button. If this is not the case, the user is provided with instructions on how to install or upgrade SABnzbd. The text varies depending on whether the user has already installed an unsupported version of SABnzbd or not.
Download queue
The download queue has seen a major overhaul in LottaNZB 0.6. Behind the scenes, many changes were made to make the download queue much more responsive. In order to do that, a layer of indirection has been torn down and any operation performed on the download queue, like reordering and renaming downloads, will take place instantaneously, without waiting for SABnzbd to respond. Should such an operation fail on SABnzbd’s side, it will be reverted shortly after.
A major downside of HellaNZB was that it didn’t track the progress of post-processing operations, let alone provide such information to third-party applications. This implied that LottaNZB 0.5 would just display “Processing…” for a while. Using LottaNZB 0.6, the user is not only informed about what type of post-processing is being performed, but even about the progress in the form of a percentage value.
It’s now possible to search all downloads in the list of downloads by just starting to type a part of the name of the download of interest.
Adding NZB files by URL
It’s now possible to add an NZB file to the download queue by providing LottaNZB with a URL.
Existing LottaNZB users
Migrating from LottaNZB 0.5 to LottaNZB 0.6 should be as painless as possible. This is of special importance for users who don’t upgrade LottaNZB manually, but perform an upgrade to a newer version of their distribution. Of course, those users cannot be warned beforehand that LottaNZB’s backend has changed.
This is why LottaNZB automatically imports all settings including servers from the existing HellaNZB configuration file managed by LottaNZB. Also, after having set up LottaNZB 0.6, the user will be asked whether unfinished downloads of the previous version of LottaNZB should be imported.
Behind the scenes
An important change behind the scenes is that LottaNZB doesn’t depend on the Kiwi framework anymore. It was introduced in LottaNZB 0.4 with the goal of simplifying UI development. Even though this held true, one soon faced problems as Kiwi isn’t actively being developed anymore. New PyGTK features like gtk.Builder are not supported, which required me to write ugly work-arounds. Also, it would certainly represent a blocker when it comes to making LottaNZB ready for Python 3. Some of Kiwi’s functionality has been reimplemented within LottaNZB, such as the validation of forms, loading UI files and the composition of them.
A couple of LottaNZB users have reported that post-processing downloads (verifying and extracting archives) causes their computers to slow down to such an extent that it becomes impossible to use them. This is something that I also experienced many times. Fortunately, SABnzbd makes it possible to run post-processing programs using lower priorities, even though this is not enabled by default. LottaNZB 0.6 will use the most conservative values for both nice and ionice. This doesn’t cause post-processing to take much longer, but it causes it to have the least possible impact on the user experience. It was possible for me to watch HD video material while the post-processing of a download took place, accessing the same hard drive.
I really hope that you weren’t bored reading this overly long text. As mentioned in the previous post, you’re encouraged to report any bugs you encounter when using the daily builds.




July 8th, 2010 at 8:18 pm
I like the decision to use the most conservative (io)nice values. I have heard from other people, that post-processing makes their computer unusable. Same for me. I don’t know why SABnzbd people don’t change this.
July 8th, 2010 at 8:55 pm
For anyone interested:
anonymous asked the SABnzbd developers why SABnzbd doesn’t use more conservative values for (io)nice by default. The reason is that such values wouldn’t make much sense when running SABnzbd on a headless host in the basement.
It looks like LottaNZB aims to have a broader user base, making it comfortable to run SABnzbd locally too… and this includes not making the system unresponsive while post-processing. This is why in the case of existing SABnzbd users, LottaNZB will probably ask whether the (io)nice values should be changed, but only if SAbnzbd is running on the local machine and a post-processing operation is taking place.
August 2nd, 2010 at 1:51 pm
Just a quick question: will it be possible with lottanzb 0.6 to control the order in which individual files are downloaded? This would be useful to inspect the first few files in a multi-part download without having to wait for the entire download to be finished.
August 3rd, 2010 at 4:44 pm
Hi Douwtjeh,
unfortunately, SABnzbd doesn’t support this kind of feature and thus LottaNZB 0.6 cannot provide it either. This is why I suggest you to request that feature in the SABnzbd forums. Adding the ability to reorder individual files in a download probably wouldn’t be enough, as SABnzbd doesn’t move the download to the download directory until all of its files have been downloaded.
Should your request be fulfilled by the SABnzbd developers, LottaNZB could indeed be extended accordingly.
Thanks for letting us know about what you’d like LottaNZB to be. Keep the ideas coming!
August 22nd, 2010 at 8:43 pm
Will it be possible to use RSS feeds like in sabnzbd?
August 22nd, 2010 at 10:08 pm
@David: The support for RSS feeds is an advanced and useful feature of SABnzbd and will, like many others, sooner or later find its way into LottaNZB. For LottaNZB 0.6, the goal is to cover the basic functionality of SABnzbd and make the application as stable and reliable as possible. After the release of LottaNZB 0.6, the focus will shift to implementing new features, whereas the plug-in infrastructure needs to be ported first.
For the time being, it’s perfectly possible to add RSS feeds to SABnzbd using its web interface. This will work as expected, even though the feature itself will not be accessible through LottaNZB.
October 22nd, 2011 at 11:19 pm
Продажа квартир в Джубке, быстро и недорого.
November 22nd, 2011 at 2:20 pm
I have learned newer and more effective things by means of your web site.
December 28th, 2011 at 2:15 am
Magnificent goods from you, man. I’ve be aware your stuff previous to and you are simply too wonderful. I actually like what you have bought here, really like what you’re stating and the way in which in which you are saying it. You are making it entertaining and you still take care of to stay it wise. I can’t wait to read much more from you. This is actually a wonderful website.