Support and General Use > User Interface and Voice
Pressing LEFT to get to WPS from file root
hshah:
Poo, this patch is no longer working for me. Anyone know how to fix it?
TiMiD:
--- Quote from: hshah on September 10, 2005, 04:28:47 PM ---Poo, this patch is no longer working for me. Anyone know how to fix it?
--- End quote ---
just edit apps/tree.c and change this piece of code line 750 :
--- Quote --- if (!tc.dirlevel)
break;
--- End quote ---
with
--- Quote ---
if (!tc.dirlevel && audio_status()!=0)
{
/* if we are in / directory and a song is selected in the wps screen, jump to wps */
start_wps = true;
break;
}
--- End quote ---
(i'm too lazy to make a new patch ;D)
maybe this should be added to the cvs since it's very convenient and it's very unlikely this piece of code would generate a bug
hshah:
I might modify that and remove the && audio_status()!=0 so that it always goes back to WPS regardless of the fact that it is playing a song!
TiMiD:
--- Quote from: hshah on September 11, 2005, 01:36:59 AM ---I might modify that and remove the && audio_status()!=0 so that it always goes back to WPS regardless of the fact that it is playing a song!
--- End quote ---
I added && audio_status()!=0 to correct a small bug with this patch : when you start your player and when resume is off, the player is in the file browser program and then if you press back it goes to wps but nothing is displayed, the screen remains the same (you see files and directories) but since you are now in wps program, you are obliged to press the select button to go back to directories (I don't know if I explain clearly clear here)
audio_status() returns 0 when no song is loaded and others values wether a song is paused or playing ...
hshah:
Ahh rite - ok :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version