Browse Source

levels to menu

shuvit 3 years ago
parent
commit
c4c266eff0
2 changed files with 46 additions and 7 deletions
  1. 43
    3
      menuV3.py
  2. 3
    4
      music_player.py

+ 43
- 3
menuV3.py
File diff suppressed because it is too large
View File


+ 3
- 4
music_player.py View File

@@ -156,10 +156,9 @@ def main(cont):
156 156
     plist = dict['mu_playlist']  
157 157
     pl_length = len(dict['mu_playlist'])    
158 158
     if pl_length == 0:
159
-        dict['mu_playlist'] = dict['mu_lib']  
160
-        
159
+        dict['mu_playlist'] = dict['mu_lib']        
161 160
     #allow controlls while paused or in replay    
162
-    if dict['npause']  == True or dict['playback'] == True:
161
+    if dict['npause']  == 1 or dict['playback'] == True:
163 162
         if dict['yBut'] == False and dict['last_yBut'] == True:
164 163
             if dict['mu_stopped'] == 1:
165 164
                 play_music()    
@@ -170,5 +169,5 @@ def main(cont):
170 169
         if dict['rBump'] == False and dict['last_rBump'] == True:
171 170
             next_track()                
172 171
             
173
-   
172
+    
174 173
 #main()        

Loading…
Cancel
Save