Removed excess tags from title

Now only adds "Source", "Video Format", "Audio Format", and "Language"
This commit is contained in:
clinton-hall
2012-11-13 18:43:31 -08:00
parent 68c0496f8e
commit 71cca6b87f

View File

@@ -94,8 +94,10 @@ class Newzbin(NZBProvider, RSS):
# Add attributes to name
try:
use_attr = ['Source', 'Video Fmt', 'Audio Fmt', 'Language']
for attr in nzb.find('{%s}attributes' % REPORT_NS):
title += ' ' + attr.text
if attr.get("type") in use_attr:
title += ' ' + attr.text
except:
pass