jinxo13 / FetchTV-Helpers

Useful tools for FetchTV
GNU General Public License v3.0
11 stars 3 forks source link

self.description issue #2

Closed mesh-newbie closed 3 years ago

mesh-newbie commented 3 years ago

Hi @jinxo13 . Nice script. Exactly what i have been looking for. Have noticed for me that the script bombs at: self.description = xml.find("./{urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/}description").text Have temporarily done the following to bypass the item that doesn't contain an object with ".text". desc = xml.find("./{urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/}description") self.description = desc.text if desc is not None and desc.text else desc Thanks C

jinxo13 commented 3 years ago

Thanks @mesh-newbie - I've made some changes to fix this