IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
rewind on pause, playback options
Ryre Inc
post Jan 7 2013, 23:28
Post #1





Group: Members
Posts: 6
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!
Go to the top of the page
+Quote Post
marc2003
post Jan 8 2013, 10:57
Post #2





Group: Members
Posts: 4337
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;
}
Go to the top of the page
+Quote Post
Ryre Inc
post Jan 10 2013, 03:18
Post #3





Group: Members
Posts: 6
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.
Go to the top of the page
+Quote Post
marc2003
post Jan 10 2013, 10:42
Post #4





Group: Members
Posts: 4337
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.
Go to the top of the page
+Quote Post
Ryre Inc
post Jan 12 2013, 03:54
Post #5





Group: Members
Posts: 6
Joined: 7-January 13
Member No.: 105677



Thank you again, that extra code did help its appearance.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th April 2014 - 09:51