![]() |
Previous button strange - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Previous button strange (/showthread.php?tid=338) |
Previous button strange - mezcal - 07-22-2018 Hi all, the previous button in the GUI behaves strange. For webradios it behaves as expected. But for local files it does set position in the track to 0 and pause. Is it what the prev button should do or is it a bug? I think it should do the same as mpc prev for all tracks. RE: Previous button strange - Tim Curtis - 07-22-2018 Yes, thats how its supposed to behave. Click once to rewind the track then click again again to skip to previous track. Its similar to how iTunes Prev behaves except in moOde we do rewind/pause while in iTunes its rewind/play. -Tim RE: Previous button strange - mezcal - 07-22-2018 Thanks for explanation. I understand. Code: $('#prev,#mprev').click(function() { I think rewind/play is better. If you go back you must click twice to move to previous track and at the end click play. Code: if (parseInt(MPD.json['time']) > 3 && parseInt(sendMoodeCmd('GET', 'getmpdstatus')['elapsed']) > 3) { Then you dont need pause. RE: Previous button strange - Tim Curtis - 07-22-2018 iTunes is similar in that it requires 2 quick clicks to go to Prev track. This is where you end up when there is no dedicated Stop button. If you had a Stop btn in addition to the Play/Pause btn then Stop would rewind to 0, Play/Pause would act as-is and Prev would skip to previous track -Tim |