rewind on pause, playback options |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
![]() ![]() |
rewind on pause, playback options |
Jan 7 2013, 23:28
Post
#1
|
|
|
Group: Members Posts: 5 Joined: 7-January 13 Member No.: 105677 |
Hi,
I'm looking for a feature that will rewind the track being played by e.g. 5 seconds upon pausing, similar to the Rockbox feature: Rockbox Playback Settings. Scouring the internet has so far produces no results. Anything like this exist? Thanks! |
|
|
|
Jan 8 2013, 10:57
Post
#2
|
|
![]() Group: Members Posts: 3281 Joined: 27-January 05 From: England Member No.: 19379 |
you could hide a WSH panel mod panel in your layout and put this code in it.
CODE var limit = 5;
function on_playback_pause(state) { if (state) fb.PlaybackTime -= limit; } |
|
|
|
Jan 10 2013, 03:18
Post
#3
|
|
|
Group: Members Posts: 5 Joined: 7-January 13 Member No.: 105677 |
Thank you, the plugin and code work perfectly!
But, is there a better to way to hide the panel than simply dragging the border? It's still slightly visible... not a big deal though. |
|
|
|
Jan 10 2013, 10:42
Post
#4
|
|
![]() Group: Members Posts: 3281 Joined: 27-January 05 From: England Member No.: 19379 |
add this code and it will draw the background the same colour as the splitter.
CODE var ww = 0; var wh = 0; function on_size() { ww = window.Width; wh = window.Height; } function on_paint(gr) { gr.FillSolidRect(0, 0, ww, wh, utils.GetSysColor(15)); } if you were using columns UI, you can hide panels on the layout page of the preferences. |
|
|
|
Jan 12 2013, 03:54
Post
#5
|
|
|
Group: Members Posts: 5 Joined: 7-January 13 Member No.: 105677 |
Thank you again, that extra code did help its appearance.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 20:02 |