Search found 49 matches

by Yil
30 Jul 2014, 19:06
Forum: Feature discussion
Topic: [New Feature] Article memory cache
Replies: 33
Views: 33333

Re: [New Feature] Article memory cache

Hmm, seems I didn't get a lot correct in that last post... I'm not sure I understand cache operation with direct write disabled. What's the point of flushing to temporary files if you have to flush for space reasons? Why not just use the direct write code path if you have an article cache enabled? I...
by Yil
30 Jul 2014, 04:22
Forum: Feature discussion
Topic: [New Feature] Article memory cache
Replies: 33
Views: 33333

Re: [New Feature] Article memory cache

I think cache > article size * number connections is kind of important which means it's configuration dependent. If you assume no connection errors and a single server then that's really all the size you need. On the other hand, you want to make sure that if you fetch from a number of ring 0 servers...
by Yil
29 Jul 2014, 18:50
Forum: Feature discussion
Topic: [New Feature] Quick par verification
Replies: 48
Views: 24118

Re: [New Feature] Quick par verification

There are actually a whole pile of further improvements you can make. Assuming yenc'd files (which basically everything is) NZBGet knows the byte offset of each article in the file and thus can skip the whole sliding CRC thing like it's doing now. However, the par2 lib assumed that it needed to do t...
by Yil
29 Jul 2014, 16:36
Forum: Feature discussion
Topic: SQLite?
Replies: 0
Views: 1871

SQLite?

Is there any downside to using SQLite for the download/history queues? It seems to run on nearly everything, requires nothing more than linking against a small library (no server/daemon process) and gets you a number of benefits. Obviously using tables with fields would make things cleaner and allow...
by Yil
29 Jul 2014, 15:56
Forum: Feature discussion
Topic: [Feature discussion] Par on the fly (TODOs / vision)
Replies: 12
Views: 7047

Re: [Feature discussion] Par on the fly (TODOs / vision)

Since you've extracted the biggest improvement already there isn't a rush to get my version done until it offers something else significant. I'll just continue along in my free time and then you can check it out later. The multi-threaded par-repair library is a worthwhile task since there are always...
by Yil
29 Jul 2014, 05:21
Forum: Feature discussion
Topic: [Feature Request] First time setup / server test
Replies: 1
Views: 1643

[Feature Request] First time setup / server test

I think it would be useful to have the server recognize a user without a configured NZBGet and help the user setup the first server connection. This could be done by taking them directly to the server setup screen, or preferably to a new modal dialog which they can opt out of if they want to do it m...
by Yil
29 Jul 2014, 05:15
Forum: Feature discussion
Topic: [Feature Request] nzbget.conf auto-upgrading
Replies: 1
Views: 1729

[Feature Request] nzbget.conf auto-upgrading

I'm actually a fan of user-readable configuration files instead of XML ones, but NZBGet really could benefit from a method of upgrading the configuration file as things change. For instance, when a new feature it added the default description and value could be extracted from the template (which sho...
by Yil
29 Jul 2014, 04:40
Forum: Feature discussion
Topic: [New Feature] Quick par verification
Replies: 48
Views: 24118

Re: [New Feature] Quick par verification

It's nice to see the feature added, and I'm sorry if this seems like a bit of rant, but was it really worth having you do it a few weeks before I could do it at this point? It is my idea after all and I've offered to implement it and have spent several weeks worth of time working on a number of chan...
by Yil
23 Jul 2014, 07:28
Forum: Feature discussion
Topic: [Feature discussion] Par on the fly (TODOs / vision)
Replies: 12
Views: 7047

Re: [Feature discussion] Par on the fly (TODOs / vision)

I've thought about the ArticleInfo memory consumption problem and think I've got a workable solution. All we really need is a way to indicates the block is good/bad using the preloaded par2 block details stored in sourceblocks created via PreProcess(). So each article downloaded does a little CRC co...
by Yil
22 Jul 2014, 04:10
Forum: Feature discussion
Topic: [Feature discussion] Par on the fly (TODOs / vision)
Replies: 12
Views: 7047

Re: [Feature discussion] Par on the fly (TODOs / vision)

It looks like there aren't that many places that use FileList that a simple completed, downloaded, etc flag wouldn't work to prune out already handled files during processing which would allow me to keep the FileInfos in the FileList, but it's simple enough to push completed ones onto a secondary ve...