summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJames Smith <smithjd15@gmail.com>2021-09-29 00:21:05 -0400
committerWilliam Wilgus <me.theuser@yahoo.com>2021-09-29 00:53:48 -0400
commit4f450b6e116c806c430d32cd2aa03f77c1934510 (patch)
treea94b4c2f98b545a88f26f370ffc0f78b26ba5eb8 /apps
parenta7f2d1ffb472b72e2363ff2aa545b37d697896cc (diff)
Revert "Playlist Viewer: Add file properties to playlist entry menu."
This reverts commit 67716c6b46a7780bff6b80408b3452c01bfbfdc4. Reason for revert: Only partially working on bare-metal ports, so revert this for now. Change-Id: I5cea7d2b6466a43aaff4c3eb90ab5d7aee736a5b
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist_viewer.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 07773b90e2..e0e2e787cd 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -489,8 +489,8 @@ static int onplay_menu(int index)
playlist_buffer_get_track(&viewer.buffer, index);
MENUITEM_STRINGLIST(menu_items, ID2P(LANG_PLAYLIST), NULL,
ID2P(LANG_CURRENT_PLAYLIST), ID2P(LANG_CATALOG),
- ID2P(LANG_REMOVE), ID2P(LANG_MOVE), ID2P(LANG_PROPERTIES),
- ID2P(LANG_SHUFFLE), ID2P(LANG_SAVE),
+ ID2P(LANG_REMOVE), ID2P(LANG_MOVE), ID2P(LANG_SHUFFLE),
+ ID2P(LANG_SAVE),
ID2P(LANG_PLAYLISTVIEWER_SETTINGS));
bool current = (current_track->index == viewer.current_playing_track);
@@ -547,24 +547,16 @@ static int onplay_menu(int index)
ret = 0;
break;
case 4:
- /* file properties */
- struct playlist_track_info info;
- playlist_get_track_info(viewer.playlist, current_track->index, &info);
-
- result = filetype_load_plugin((void *)"properties", info.filename);
- ret = (result == MENU_ATTACHED_USB) ? -1 : 0;
- break;
- case 5:
/* shuffle */
playlist_randomise(viewer.playlist, current_tick, false);
ret = 1;
break;
- case 6:
+ case 5:
/* save playlist */
save_playlist_screen(viewer.playlist);
ret = 0;
break;
- case 7:
+ case 6:
/* playlist viewer settings */
result = do_menu(&viewer_settings_menu, NULL, NULL, false);
ret = (result == MENU_ATTACHED_USB) ? -1 : 0;