gboudreau / XBMCnfoMoviesImporter.bundle

688 stars 158 forks source link

Multiple SETs / COLLECTIONs #127

Open sergiorbp opened 4 years ago

sergiorbp commented 4 years ago

I don't fully understand the code here: def read_sets_name(self): ''' sets name into a list than return it. ''' set_list = [] for set_el in self.nfo_xml.xpath('set'): name_el = first(set_el.xpath('name'), set_el) if name_el.text: set_list.append(name_el.text) return set_list but it looks like it is returning a list of SETs. However, PLEX is only picking up the first set. My NFO looks like this: `

Test ABC

Test XYZ `
sergiorbp commented 4 years ago

I was able to add multiple collections by using TAGs like this: <tag>Test ABC</tag><tag>Test XYZ</tag> Still not sure why it's not working using SETs