Revert "Fix the build for 67716c6b."

This reverts commit 483563a1b2.

Reason for revert: Only partially works.

Change-Id: I28e412bf4eeb515cf72845f27d5772746cebc5e5
This commit is contained in:
James Smith 2021-09-29 00:19:42 -04:00 committed by William Wilgus
parent eeacffbd15
commit a7f2d1ffb4

View file

@ -494,9 +494,6 @@ static int onplay_menu(int index)
ID2P(LANG_PLAYLISTVIEWER_SETTINGS));
bool current = (current_track->index == viewer.current_playing_track);
struct playlist_track_info trackinfo;
playlist_get_track_info(viewer.playlist, index, &trackinfo);
result = do_menu(&menu_items, NULL, NULL, false);
if (result == MENU_ATTACHED_USB)
{
@ -551,7 +548,10 @@ static int onplay_menu(int index)
break;
case 4:
/* file properties */
result = filetype_load_plugin((void *)"properties", trackinfo.filename);
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: