cache some vars in sendToTrakt

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
only detect credits once

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
it makes no sense to be hidding all these...

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>