|
|
@ -1454,7 +1454,7 @@ class NzbObject(TryList): |
|
|
|
def _get_first_meta(type): |
|
|
|
values = self.nzo_info.get('x-oznzb-rating-' + type, None) or self.nzo_info.get('x-rating-' + type, None) |
|
|
|
return values[0] if values and isinstance(values, list) else values |
|
|
|
rating_types = ['url', 'host', 'video', 'videocnt', 'audio', 'audiocnt', 'voteup', |
|
|
|
rating_types = ['url', 'host', 'video', 'videocnt', 'audio', 'audiocnt', 'voteup', |
|
|
|
'votedown', 'spam', 'confirmed-spam', 'passworded', 'confirmed-passworded'] |
|
|
|
fields = {} |
|
|
|
for k in rating_types: |
|
|
|