Changeset 1886
- Timestamp:
- 16/11/08 18:54:02 (8 weeks ago)
- svm:headrev:
cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11168- Files:
-
- 1 modified
-
freevo/src/audio/plugins/radio.py (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
freevo/src/audio/plugins/radio.py
r1773 r1886 58 58 from util.benchmark import benchmark 59 59 benchmarking = config.DEBUG_BENCHMARKING 60 benchmarkcall = config.DEBUG_BENCHMARKCALL 60 61 61 62 class PluginInterface(plugin.MainMenuPlugin): … … 80 81 | ] 81 82 """ 82 @benchmark(benchmarking )83 @benchmark(benchmarking, benchmarkcall) 83 84 def __init__(self): 84 85 _debug_('PluginInterface.__init__()', 2) … … 90 91 91 92 92 @benchmark(benchmarking )93 @benchmark(benchmarking, benchmarkcall) 93 94 def config(self): 94 95 return [ … … 98 99 99 100 100 @benchmark(benchmarking )101 @benchmark(benchmarking, benchmarkcall) 101 102 def items(self, parent): 102 103 return [ RadioMainMenuItem(parent) ] … … 109 110 of commands in a submenu. 110 111 """ 111 @benchmark(benchmarking )112 @benchmark(benchmarking, benchmarkcall) 112 113 def __init__(self, parent): 113 114 _debug_('RadioMainMenuItem.__init__(parent=%r)' % (parent,), 2) … … 116 117 117 118 118 @benchmark(benchmarking )119 @benchmark(benchmarking, benchmarkcall) 119 120 def actions(self): 120 121 """ … … 124 125 125 126 126 @benchmark(benchmarking )127 @benchmark(benchmarking, benchmarkcall) 127 128 def create_stations_menu(self, arg=None, menuw=None): 128 129 station_items = [] … … 154 155 and stderr of last command run. 155 156 """ 156 @benchmark(benchmarking )157 @benchmark(benchmarking, benchmarkcall) 157 158 def __init__(self): 158 159 Item.__init__(self) … … 164 165 165 166 166 @benchmark(benchmarking )167 @benchmark(benchmarking, benchmarkcall) 167 168 def actions(self): 168 169 """ Get a list of actions for this item """ … … 171 172 172 173 173 @benchmark(benchmarking )174 @benchmark(benchmarking, benchmarkcall) 174 175 def checktv(self): 175 176 """ Check if something is recording """ … … 178 179 179 180 180 @benchmark(benchmarking )181 @benchmark(benchmarking, benchmarkcall) 181 182 def play(self, arg=None, menuw=None): 182 183 _debug_('station=%r station_index=%r name=%r' % (self.station, self.station_index, self.name)) … … 199 200 200 201 201 @benchmark(benchmarking )202 @benchmark(benchmarking, benchmarkcall) 202 203 def confirm (self, arg=None, menuw=None): 203 204 """ Confirm that the player should be stopped """ … … 208 209 209 210 210 @benchmark(benchmarking )211 @benchmark(benchmarking, benchmarkcall) 211 212 def stop(self, arg=None, menuw=None): 212 213 """ Stop the current playing """ … … 220 221 Radio Player user interface 221 222 """ 222 @benchmark(benchmarking )223 @benchmark(benchmarking, benchmarkcall) 223 224 def __init__(self, item, menuw=None): 224 225 """ Create an instance of a RadioPlayerGUI """ … … 232 233 233 234 234 @benchmark(benchmarking )235 @benchmark(benchmarking, benchmarkcall) 235 236 def refresh(self): 236 237 """ Give information to the skin """
