[linux-minidisc] [PATCH 08/14] Put group name in return value, rather than its computed index.


---
 netmd/libnetmd.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/netmd/libnetmd.py b/netmd/libnetmd.py
index 5e50398..5a9829e 100644
--- a/netmd/libnetmd.py
+++ b/netmd/libnetmd.py
@@ -670,6 +670,7 @@ class NetMDInterface(object):
             group title
             track number list
         """
+        # XXX: not tested
         raw_title = self._getDiscTitle()
         group_list = raw_title.split('//')
         track_dict = {}
@@ -699,9 +700,6 @@ class NetMDInterface(object):
                 track_dict[track] = group_name, group_index
                 track_append(track)
             append((group_name, track_list))
-        track_list = [x for x in xrange(track_count) if x not in track_dict]
-        if len(track_list):
-            append((None, track_list))
         return result
 
     def getTrackTitle(self, track, wchar=False):