X-Git-Url: https://code.delx.au/notipod/blobdiff_plain/02030014f9372d738ae6a519ec71c464dbfb0f6a..ebcbeef5fb45ea997fdbf6e2220398d892537dd3:/libnotipod.py diff --git a/libnotipod.py b/libnotipod.py index 02f7c30..270c272 100644 --- a/libnotipod.py +++ b/libnotipod.py @@ -125,24 +125,6 @@ class ITunesLibrary(NSObject): def get_playlists(self): return self.playlists.values() - def outlineView_numberOfChildrenOfItem_(self, view, item): - if item == None: - return len(self.playlists) - else: - return 0 - - def outlineView_isItemExpandable_(self, view, item): - return False - - def outlineView_child_ofItem_(self, view, index, item): - if item == None: - return self.playlists[index] - else: - return None - - def outlineView_objectValueForTableColumn_byItem_(self, view, column, item): - return item.name - encoded_names = {} valid_chars = frozenset("\\/-_.() abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")