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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
thejinx0r
Newbie
Newbie
Posts: 8
Joined: December 9th, 2010, 12:07 pm

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

Post 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
Last edited by thejinx0r on May 21st, 2014, 6:43 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: yEnc decoding - which version is sab using?

Post 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).
thejinx0r
Newbie
Newbie
Posts: 8
Joined: December 9th, 2010, 12:07 pm

Re: yEnc decoding - which version is sab using?

Post 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?
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: yEnc decoding - which version is sab using?

Post 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'
thejinx0r
Newbie
Newbie
Posts: 8
Joined: December 9th, 2010, 12:07 pm

Re: yEnc decoding - which version is sab using?

Post by thejinx0r »

Thanks!
That's what I was looking for.
Post Reply