Commits

A2K committed 209dd83

Search more is now working again

Comments (0)

Files changed (2)

         'list-files-first': False,
         'tree-states': {'deep': {'column-widths': [1.0],
                                  'expanded-nodes': [(4,)],
-                                 'selected-nodes': [(4,
-        8)],
-                                 'top-node': (7,)}},
+                                 'selected-nodes': [(40,)],
+                                 'top-node': (13,)}},
         'tree-style': 'deep'}}),
                               ('pylintpanel#02EFWRQK9X24',
                                'tall',
                          'top-node': [('generic attribute',
                                        loc('main.py'),
                                        'app')]},
-        loc('minigui_qt.py'): {'column-widths': [1.0],
-                               'expanded-nodes': [],
-                               'selected-nodes': [],
-                               'top-node': [('class def',
-        loc('minigui_qt.py'),
-        'Ui_Form')]},
+        loc('minigui.py'): {'column-widths': [1.0],
+                            'expanded-nodes': [],
+                            'selected-nodes': [],
+                            'top-node': [('class def',
+        loc('minigui.py'),
+        'ComboModel')]},
         loc('options.py'): {'column-widths': [1.0],
                             'expanded-nodes': [],
                             'selected-nodes': [],
                             'top-node': [('function def',
         loc('queries.py'),
         'add_album_cover')]},
-        loc('searchprocessor.py'): {'column-widths': [1.0],
-                                    'expanded-nodes': [],
-                                    'selected-nodes': [],
-                                    'top-node': [('class def',
-        loc('searchprocessor.py'),
-        'SearchProcessor')]},
-        loc('source.py'): {'column-widths': [1.0],
-                           'expanded-nodes': [],
-                           'selected-nodes': [],
-                           'top-node': [('class def',
-        loc('source.py'),
-        'Source')]},
+        loc('resultsmodel.py'): {'column-widths': [1.0],
+                                 'expanded-nodes': [],
+                                 'selected-nodes': [],
+                                 'top-node': [('class def',
+        loc('resultsmodel.py'),
+        'ResultsModel')]},
         u'All Classes': {'column-widths': [1.0],
                          'expanded-nodes': [],
                          'selected-nodes': [[('class def',
                          'top-node': [('class def',
                                        loc('collectionmodel.py'),
                                        'ColRoot')]},
-        loc('minigui.py'): {'column-widths': [1.0],
-                            'expanded-nodes': [],
-                            'selected-nodes': [],
-                            'top-node': [('class def',
-        loc('minigui.py'),
-        'ComboModel')]},
-        loc('resultsmodel.py'): {'column-widths': [1.0],
-                                 'expanded-nodes': [],
-                                 'selected-nodes': [],
-                                 'top-node': [('class def',
-        loc('resultsmodel.py'),
-        'ResultsModel')]},
+        loc('minigui_qt.py'): {'column-widths': [1.0],
+                               'expanded-nodes': [],
+                               'selected-nodes': [],
+                               'top-node': [('class def',
+        loc('minigui_qt.py'),
+        'Ui_Form')]},
         loc('search.py'): {'column-widths': [1.0],
                            'expanded-nodes': [],
                            'selected-nodes': [],
                            'top-node': [('class def',
         loc('search.py'),
         'Search')]},
+        loc('searchprocessor.py'): {'column-widths': [1.0],
+                                    'expanded-nodes': [],
+                                    'selected-nodes': [],
+                                    'top-node': [('class def',
+        loc('searchprocessor.py'),
+        'SearchProcessor')]},
         loc('similarartistspopulator.py'): {'column-widths': [1.0],
         'expanded-nodes': [],
         'selected-nodes': [],
         'top-node': [('class def',
                       loc('similarartistspopulator.py'),
                       'SimilarArtistsPopulator')]},
+        loc('source.py'): {'column-widths': [1.0],
+                           'expanded-nodes': [],
+                           'selected-nodes': [],
+                           'top-node': [('class def',
+        loc('source.py'),
+        'Source')]},
         loc('tagreader.py'): {'column-widths': [1.0],
                               'expanded-nodes': [],
                               'selected-nodes': [],
                       'wide',
                       1,
                       {})],
-        'primary_view_state': {'editor_states': {'bookmarks': ([(loc('resultsmodel.py'),
-        {'attrib-starts': [('ResultsModel',
-                            12),
-                           ('ResultsModel.data',
-                            38)],
-         'first-line': 0,
+        'primary_view_state': {'editor_states': {'bookmarks': ([(loc('bufferer.py'),
+        {'attrib-starts': [('Buffer',
+                            21),
+                           ('Buffer.end',
+                            129)],
+         'first-line': 198,
          'folded-linenos': [],
-         'sel-line': 76,
-         'sel-line-start': 2581,
-         'selection_end': 2584,
-         'selection_start': 2584},
-        1252269277.8462591),
-        (loc('guicomponents/searchwidget.py'),
-         {'attrib-starts': [('CustomFilterProxyModel',
-                             54),
-                            ('CustomFilterProxyModel.lessThan',
-                             68)],
-          'first-line': 52,
-          'folded-linenos': [],
-          'sel-line': 75,
-          'sel-line-start': 2608,
-          'selection_end': 2634,
-          'selection_start': 2634},
-         1252269292.0796211),
-        (loc('options.py'),
-         {'attrib-starts': [],
-          'first-line': 17,
-          'folded-linenos': [],
-          'sel-line': 13,
-          'sel-line-start': 279,
-          'selection_end': 292,
-          'selection_start': 292},
-         1252269368.3485551),
-        (loc('guicomponents/searchwidget.py'),
-         {'attrib-starts': [('CustomFilterProxyModel',
-                             54),
-                            ('CustomFilterProxyModel.lessThan',
-                             68)],
-          'first-line': 52,
-          'folded-linenos': [],
-          'sel-line': 70,
-          'sel-line-start': 2327,
-          'selection_end': 2327,
-          'selection_start': 2327},
-         1252269425.4836631),
-        (loc('bufferer.py'),
-         {'attrib-starts': [('Buffer',
-                             21),
-                            ('Buffer.run',
-                             41)],
-          'first-line': 48,
-          'folded-linenos': [],
-          'sel-line': 70,
-          'sel-line-start': 1841,
-          'selection_end': 2143,
-          'selection_start': 1841},
-         1252270166.6332619),
-        (loc('bufferer.py'),
-         {'attrib-starts': [('Buffer',
-                             21),
-                            ('Buffer.end',
-                             129)],
-          'first-line': 214,
-          'folded-linenos': [],
-          'sel-line': 228,
-          'sel-line-start': 7895,
-          'selection_end': 7942,
-          'selection_start': 7895},
-         1252270169.459007),
-        (loc('common.py'),
-         {'attrib-starts': [],
-          'first-line': 0,
-          'folded-linenos': [],
-          'sel-line': 0,
-          'sel-line-start': 0,
-          'selection_end': 0,
-          'selection_start': 0},
-         1252270249.3538101),
-        (loc('bufferer.py'),
-         {'attrib-starts': [('Buffer',
-                             21),
-                            ('Buffer.end',
-                             129)],
-          'first-line': 198,
-          'folded-linenos': [],
-          'sel-line': 242,
-          'sel-line-start': 8372,
-          'selection_end': 8438,
-          'selection_start': 8438},
-         1252270267.7640619),
+         'sel-line': 242,
+         'sel-line-start': 8372,
+         'selection_end': 8438,
+         'selection_start': 8438},
+        1252270267.7640619),
         (loc('common.py'),
          {'attrib-starts': [('clean_string',
                              20)],
           'selection_end': 7462,
           'selection_start': 7462},
          1252956639.7428551),
-        [loc('guicomponents/fileswidget.py'),
-         {'attrib-starts': [],
+        (loc('guicomponents/fileswidget.py'),
+         {'attrib-starts': [('FilesWidget',
+                             10),
+                            ('FilesWidget.__init__',
+                             11)],
+          'first-line': 7,
+          'folded-linenos': [],
+          'sel-line': 28,
+          'sel-line-start': 888,
+          'selection_end': 929,
+          'selection_start': 929},
+         1253113718.167717),
+        (loc('search.py'),
+         {'attrib-starts': [('Search',
+                             15),
+                            ('Search._parse_page',
+                             111)],
+          'first-line': 154,
+          'folded-linenos': [],
+          'sel-line': 134,
+          'sel-line-start': 5014,
+          'selection_end': 5014,
+          'selection_start': 5014},
+         1253973114.2763209),
+        (loc('lyrics.py'),
+         {'attrib-starts': [('Lyrics',
+                             6),
+                            ('Lyrics.get_lyrics',
+                             15)],
           'first-line': 0,
           'folded-linenos': [],
-          'sel-line': 0,
-          'sel-line-start': 0,
-          'selection_end': 0,
-          'selection_start': 0},
-         1253113718.167717]],
+          'sel-line': 29,
+          'sel-line-start': 892,
+          'selection_end': 921,
+          'selection_start': 921},
+         1253976682.9933579),
+        (loc('search.py'),
+         {'attrib-starts': [('Search',
+                             15),
+                            ('Search.search',
+                             50)],
+          'first-line': 57,
+          'folded-linenos': [],
+          'sel-line': 74,
+          'sel-line-start': 2291,
+          'selection_end': 2291,
+          'selection_start': 2291},
+         1253976827.0438621),
+        (loc('lyrics.py'),
+         {'attrib-starts': [('Lyrics',
+                             6),
+                            ('Lyrics.get_lyrics',
+                             15)],
+          'first-line': 0,
+          'folded-linenos': [],
+          'sel-line': 26,
+          'sel-line-start': 718,
+          'selection_end': 785,
+          'selection_start': 785},
+         1253976841.539886),
+        (loc('search.py'),
+         {'attrib-starts': [('Search',
+                             16),
+                            ('Search.search',
+                             51)],
+          'first-line': 49,
+          'folded-linenos': [],
+          'sel-line': 66,
+          'sel-line-start': 2060,
+          'selection_end': 2092,
+          'selection_start': 2092},
+         1253977064.7436161),
+        (loc('lyrics.py'),
+         {'attrib-starts': [('Lyrics',
+                             6),
+                            ('Lyrics.get_lyrics',
+                             15)],
+          'first-line': 0,
+          'folded-linenos': [],
+          'sel-line': 28,
+          'sel-line-start': 805,
+          'selection_end': 868,
+          'selection_start': 868},
+         1253977452.3420291),
+        [loc('search.py'),
+         {'attrib-starts': [('Search',
+                             16),
+                            ('Search.search',
+                             51)],
+          'first-line': 49,
+          'folded-linenos': [],
+          'sel-line': 66,
+          'sel-line-start': 2060,
+          'selection_end': 2092,
+          'selection_start': 2092},
+         1253977477.9341331]],
         19),
-        'current-loc': loc('guicomponents/fileswidget.py'),
+        'current-loc': loc('search.py'),
         'editor-states': {loc('bufferer.py'): {'attrib-starts': [('Buffer',
         21),
         ('Buffer.end',
         'selection_end': 1807,
         'selection_start': 1807},
                           loc('guicomponents/fileswidget.py'): {'attrib-star'\
-        'ts': [],
-        'first-line': 11,
+        'ts': [('FilesWidget',
+                10),
+               ('FilesWidget.__init__',
+                11)],
+        'first-line': 7,
         'folded-linenos': [],
-        'sel-line': 0,
-        'sel-line-start': 0,
-        'selection_end': 0,
-        'selection_start': 0},
+        'sel-line': 28,
+        'sel-line-start': 888,
+        'selection_end': 929,
+        'selection_start': 929},
                           loc('guicomponents/playlistwidget.py'): {'attrib-s'\
         'tarts': [('PlaylistWidget',
                    13),
         'sel-line-start': 57,
         'selection_end': 278,
         'selection_start': 57},
+                          loc('lyrics.py'): {'attrib-starts': [('Lyrics',
+        6),
+        ('Lyrics.get_lyrics',
+         15)],
+        'first-line': 0,
+        'folded-linenos': [],
+        'sel-line': 28,
+        'sel-line-start': 805,
+        'selection_end': 868,
+        'selection_start': 868},
                           loc('options.py'): {'attrib-starts': [('Options',
         15),
         ('Options.__init__',
         'sel-line-start': 2581,
         'selection_end': 2584,
         'selection_start': 2584},
+                          loc('search.py'): {'attrib-starts': [],
+        'first-line': 0,
+        'folded-linenos': [],
+        'sel-line': 14,
+        'sel-line-start': 252,
+        'selection_end': 282,
+        'selection_start': 282},
                           loc('shortcuts.py'): {'attrib-starts': [('Shortcut'\
         's',
         15),
         u'resultsmodel.py',
         u'shortcuts.py',
         u'source_phonon.py',
-        u'guicomponents/fileswidget.py']},
+        u'guicomponents/fileswidget.py',
+        u'lyrics.py',
+        u'search.py']},
         'split_percents': {0: 0.5},
         'splits': 2,
         'tab_location': 'top',
                          31,
                          1260,
                          934)}]}
-guimgr.recent-documents = [loc('guicomponents/fileswidget.py')]
+guimgr.recent-documents = [loc('search.py'),
+                           loc('lyrics.py'),
+                           loc('guicomponents/fileswidget.py')]
 guimgr.visual-state = {loc('../../.wingide3/pylintpanel.cfg'): {'attrib-star'\
         'ts': [],
         'first-line': 0,
             self.emit(QtCore.SIGNAL('status'), 'end')
             return []
         self.emit(QtCore.SIGNAL('status'), 'begin')
-        post = urllib.urlencode({ 'q': self.target, 'st': page*100 })
+        post = urllib.urlencode({ 'section': 'audio', 'q': self.target,
+                                  'offset': page*100 })
         req = urllib2.Request(self.url, post, self.headers)
         try:
             urlreq = urllib2.urlopen(req)