Page 1 of 1

[Answered] yEnc decoding - which version is sab using?

Posted: May 20th, 2014, 5:46 am
by thejinx0r
Hi,

I recently noticed that I didn't have the yEnc 0.4.0 package installed, and I have now installed it.
How can I check which method sab is using to decode yenc headers?

I'm currently running on OSX 10.9 from git branch 0.7.x.

In my logs, I see the following lines:
[assembler:88] Decoding file.rar yenc

Re: yEnc decoding - which version is sab using?

Posted: May 20th, 2014, 9:45 am
by shypike
It doesn't really matter. As far as SABnzbd is concerned 0.3 and 0.4 are compatible.
You can even run without either (with some performance loss).

Re: yEnc decoding - which version is sab using?

Posted: May 20th, 2014, 7:58 pm
by thejinx0r
shypike wrote:It doesn't really matter. As far as SABnzbd is concerned 0.3 and 0.4 are compatible.
You can even run without either (with some performance loss).
What I meant was that I didn't have at all.
From my understanding, SAB will use a slower method written in python if the yenc package is not found.

My question is: how can I tell if SAB is using the slower method, or its using the yenc package?

Re: yEnc decoding - which version is sab using?

Posted: May 21st, 2014, 2:37 am
by jcfp
You can ask sab via the api. When boolean 'yenc' is true, the _yenc module is in use.

Code: Select all

wget -q -O- 'http://localhost:8080/api?mode=options&apikey=SAB_API_KEY_HERE'

Re: yEnc decoding - which version is sab using?

Posted: May 21st, 2014, 6:42 am
by thejinx0r
Thanks!
That's what I was looking for.