Lines Matching refs:idmap
285 idmap = {}
292 idmap[id_] = '-1'
294 if DEBUG and idmap:
296 debug_print(list(idmap.keys()))
297 return idmap
299 def remap_playlist_references(root, idmap): argument
304 if id_ in idmap:
305 item.set('id', idmap[id_])
307 debug_print('Remapping id %s to %s'%(id_, idmap[id_]))
323 idmap = {}
329 idmap[str(old)] = str(new)
330 return idmap
339 idmap = ensure_numeric_ids(root)
340 if len(idmap) > 0:
342 remap_playlist_references(root, idmap)
353 idmap = rebase_ids(root, base, sourceid, playlist_sid)
354 remap_playlist_references(root, idmap)