Skip to content

Commit 9e5f624

Browse files
Music Player app: add music dir shortcut
1 parent 4376808 commit 9e5f624

File tree

1 file changed

+1
-0
lines changed
  • internal_filesystem/apps/com.micropythonos.musicplayer/assets

1 file changed

+1
-0
lines changed

internal_filesystem/apps/com.micropythonos.musicplayer/assets/music_player.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def onCreate(self):
2222
self.file_explorer.explorer_open_dir('M:/')
2323
self.file_explorer.align(lv.ALIGN.CENTER, 0, 0)
2424
self.file_explorer.add_event_cb(self.file_explorer_event_cb, lv.EVENT.ALL, None)
25+
self.file_explorer.explorer_set_quick_access_path(lv.EXPLORER.MUSIC_DIR, "M:/sdcard/music")
2526
self.setContentView(screen)
2627

2728
def onResume(self, screen):

0 commit comments

Comments
 (0)