skip 10 or 20 seconds forward in a track?

Any ideas about how to improve MediaMonkey? Let us know!

Moderator: Gurus

gggirlgeek
Posts: 67
Joined: Mon Feb 11, 2008 4:24 pm
Location: Seattle, WA

Re: skip 10 or 20 seconds forward in a track?

Post by gggirlgeek » Mon May 21, 2012 9:02 am

For the button script: the buttons worked well but when playing videos they are hidden no matter where I move them. It doesn't matter whether I'm in Fullscreen or simply maximized, there is no way to move the buttons beside the player module, or up to the menu bar (which are the only two "modules" shown while videos are playing). I tried skinned and unskinned modes too.

Fortunately, I have the mouse tilt button set to the shortcut key mentioned above, so this is a workaround for now.

I am thinking of using MM for more serious video watching because the sound is so much better than VLC. These buttons would be important in that case.

Suggestions?
My current favorite software: MediaMonkey Gold!

Peke
Posts: 13178
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: skip 10 or 20 seconds forward in a track?

Post by Peke » Thu Nov 01, 2018 6:25 pm

Have you tried Arrow keys in Full screen?
Best regards,
Pavle
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add SCREENSHOTS to forum

UpliftingPills

Re: skip 10 or 20 seconds forward in a track?

Post by UpliftingPills » Tue Mar 03, 2020 5:12 pm

THANK YOU SOOOOOO MUCH!
Escay wrote:
Tue Sep 20, 2011 3:57 pm
For those wanting shortcuts instead of buttons, this works for me:

Store this in a file 'fastforward.vbs' in /Scripts, not in /Scripts/Auto

Code: Select all

Sub Forward
  Dim pltime
  'ffwd  time in seconds
  pltime = 20

  'Script.Reload(Script.ScriptPath)
  if (SDB.Player.isPlaying) And (Not SDB.Player.isStartingPlayback) Then
	If Not (SDB.Player.PlaybackTime+(pltime*1000) > SDB.Player.CurrentSongLength) Then
	  SDB.Player.PlaybackTime = SDB.Player.PlaybackTime+(pltime*1000)
	end If
  End If
End Sub

Sub Rewind
  Dim pltime
  'rewind time in seconds
  pltime = 10

  'Script.Reload(Script.ScriptPath)
  If (SDB.Player.isPlaying) And (Not SDB.Player.isStartingPlayback) Then
	If Not (SDB.Player.PlaybackTime-(pltime*1000) < 0) Then
	  SDB.Player.PlaybackTime = SDB.Player.PlaybackTime-(pltime*1000)
	end if
  End if
End sub
Then add 2 shortcuts by adding the following code at the end of /Scripts/Scripts.ini:

Code: Select all

[FastForward]
FileName=fastforward.vbs
ProcName=Forward
Order=60
DisplayName=Fast Forward 20
Description=Fast Forwards 20 seconds
Language=VBScript
ScriptType=0
Shortcut=.

[FastRewind]
FileName=fastforward.vbs
ProcName=Rewind
Order=61
DisplayName=Fast Rewind 10
Description=Fast Rewinds 10 seconds
Language=VBScript
ScriptType=0
Shortcut=,
Now you can fast forward 20 seconds with . and rewind 10 seconds with ,
Change the Shortcut= to your own preferences. See http://www.mediamonkey.com/wiki/index.p ... _scripting for more info on the Shortcut=

Thank you all for the original script!

Erwin Hanzl
Posts: 500
Joined: Tue Jun 13, 2017 8:47 am
Location: Vienna

Re: skip 10 or 20 seconds forward in a track?

Post by Erwin Hanzl » Thu Mar 05, 2020 7:43 am

I If you work with the two shortcuts: the two buttons "." and "," cannot be used for tag editing.
I have included this script in my toolbar.


Please add code.
I received error messages after selection from column browser

Code: Select all

Sub Forward
     on error resume next

Code: Select all

Sub Rewind
     on error resume next
MMW 4.1.29.1910 Gold-official release | Meine Einstellungen | Bilder hochladen
AutoChangeEqualizer | Clear Field 1.3 | CustomFieldsTagger 1.0.3.0 | Discogs Tagger 5.7.5
External Tools 1.4. | FindCurrentPlayingTrack 1.3.2 | Lyrics and Comment Viewer 2.2.0.0 | Randomise Playlist 1.3.
MMA 1.4.0.0930 Free Beta-Tester | Huawei Mate 20 Pro 128GB | Android 10 | USB-Cable-Sync
Win 10 Vers.2004 PRO 64-Bit | Defender mit Echtzeitschutz | I7-3840 QM 2,8 GHz 4-Kern | RAM: 32 GB
Samsung-SSD on board: 840 PRO-512 GB und 860 PRO-2 TB | Extern: SSD T7-2 TB

Post Reply