Page 5 of 6

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Mon Jan 23, 2012 2:09 pm
by random7
Well the first download link is to a .zip file, not an .mmip file. Inside it are 2 .ini files and a .vbs file. The second link is broken, so is there any other instructions for installing?

Thx

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Mon Jan 23, 2012 2:57 pm
by Lowlander
random7 wrote:Well the first download link is to a .zip file, not an .mmip file.
You're probably on Internet Explorer. Rename the extension back from .zip to .mmip and then you can double click to install.

Re: Silence between songs skips tracks

Posted: Thu Feb 09, 2012 9:05 am
by Ben Tyndall
Eric Genname wrote:If I select the Play option Silence between songs, MM4 skips every other track. MM3 did not have this problem.
The solution to this is in the post immediately preceding yours.

(1) Go to the \MediaMonkey\scripts\auto\ directory where MediaMonkey is installed, and open the file, SilenceBetweenSongs.vbs with a text editor (preferably an editor that is "vbs aware", although Notepad will do).

(2) find the routine, "Sub GapOnTimer(Timer)"

(3) Comment out (or delete) the first three lines of the routine:

Code: Select all

If GapProgress.Value = 0 Then
   SDB.Player.Next
End If
by placing a single quote quote as the first character in each line, like so

Code: Select all

'If GapProgress.Value = 0 Then
'   SDB.Player.Next
'End If
(4) restart MediaMonkey

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Tue Feb 14, 2012 1:49 pm
by lizat
This looks like it would solve my problem as well. However I don't have a vbs file in Auto, or anywhere else, called SilenceBetweenSongs, I only have the original mmip file. But it is definitely installed. I have however found a copy in the MediaMonkeyBackups folder.

Where is the installed one?

Thank you......................... liz

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Thu Feb 16, 2012 4:46 pm
by OnnoTabak
If you read my post on the previous page you would have noticed that MM 4 is now persionalized. Most likely the file is now in your User profile instead of in de MM dir.
Look in C:\Users\"User name"\AppData\Roaming\MediaMonkey\Scripts
If Appdata isn't visiable in Explorer you have to go into Folder Options, click tab View, and checkmark "Show hidden files and folders".

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Sat Feb 18, 2012 4:53 pm
by armando
Gingernut63 wrote:I also have the same problem. I am using MediaMonkey Gold 4.0.0.1412 beta and Silence Between Songs v.3.0. Options not selected. Note: Crossfade and Auto Crossfade deselected.

Error #424 - Microsoft VBScript runtime error
Object required: 'GapProgress'
File: "C:\Program Files (x86)\MediaMonkey\Scripts\Auto\SilenceBetweenSongs.vbs" Line: 160, Column: 6

The error appeared when one track finished and the second tried to start. The play then skipped to the third track, totally bypassing the second. The error appeared once, the 2nd track skipped evertime I repeated the play sequence above. With Silence Between Songs (SBS) deselected in Play the 2nd track played every time. Restarting MediaMonkey and re-selecting SBS, I could replicated the skipping of the 2nd track but not Error #424.

For the record (Ha Ha Ha - joke for the older people on the forum) the pieces of music came from Julia Fischer - Poème, Track sequence: 1 Respighi - Poema autunnale, 2 Vaughan Williams - The Lark Ascending, 3 Suk - Fantasy (all Flac)

Gingernut63
P.S. Sorry for the attempt at humour
I think I solved this problem by adding a line to the GapOnTimer sub in SilenceBetweenSongs.vbs

Original sub is :

Code: Select all

'---------------------
Sub GapOnTimer(Timer)
   If GapProgress.Value = 0 Then
      SDB.Player.Next
   End If
   If GapTimer.Enabled = True Then
      GapProgress.Increase
      GapProgress.Text="Gap " & SilenceTime - GapProgress.Value & " seconds."
   End If
   If GapProgress.Value >= GapProgress.MaxValue Then
      'If Repeat is ON, continue playing:
      If SDB.Player.IsRepeat Then
         SDB.Player.Play
      Else
         'Continue playing if Shuffle has not played all files:
         If CurrentTrack <> SDB.Player.CurrentSongIndex Then
            SDB.Player.Play
         End If
      End If
      GapTimer.Enabled = False
      Set GapProgress = Nothing
   End If
End Sub

Modified sub :

Code: Select all

'---------------------
Sub GapOnTimer(Timer)
   If GapProgress.Value = 0 Then
      SDB.Player.Next
   End If
   If GapTimer.Enabled = True Then
      '---ADDED LINE BELOW---
      If GapProgress Is Nothing Then Set GapProgress.Value = 0  'Sometimes gapProgress = nothing and that crashes script.
      '-----------------------------
      GapProgress.Increase
      GapProgress.Text="Gap " & SilenceTime - GapProgress.Value & " seconds."
   End If
   If GapProgress.Value >= GapProgress.MaxValue Then
      'If Repeat is ON, continue playing:
      If SDB.Player.IsRepeat Then
         SDB.Player.Play
      Else
         'Continue playing if Shuffle has not played all files:
         If CurrentTrack <> SDB.Player.CurrentSongIndex Then
            SDB.Player.Play
         End If
      End If
      GapTimer.Enabled = False
      Set GapProgress = Nothing
   End If
End Sub
The problem seemed that in some cases GapProgress points nowhere. I don't know if that will fix all occurrences of the bug, but it seems to work here. I don't have time to do more testing. I'm also not a vbscript specialist !

Thanks

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Sat Feb 18, 2012 5:06 pm
by armando
Sorry make it the first line of the script instead -- copied the wrong version :
Sub GapOnTimer(Timer)
If GapProgress Is Nothing then Set GapProgress.Value = 0 'Sometimes gapProgress = nothing and that crashes script.

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Sat Feb 18, 2012 5:19 pm
by armando
armando wrote:Sorry make it the first line of the script instead -- copied the wrong version :
Sub GapOnTimer(Timer)
If GapProgress Is Nothing then Set GapProgress.Value = 0 'Sometimes gapProgress = nothing and that crashes script.

hmmmm... I just experienced the bug again. So let me play with it a bit more. I have another version but will wait a few days and see if it's fixed for good. :-?

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Sat Mar 17, 2012 2:54 pm
by jiterdancr
Scripts are out of date!!! Where can I find it? Gold member.

Silence-Between-Songs script outdated!!

Posted: Sat Mar 17, 2012 3:26 pm
by jiterdancr
Please help!!
The scripts to download to add a gap are no longer available. Does anyone have a new link?
Thanks,
CJ

Re: Silence-Between-Songs script outdated!!

Posted: Sat Mar 17, 2012 6:55 pm
by BKKKPewsey

Silence between songs for MM 4.0.3

Posted: Tue Jun 05, 2012 2:19 am
by bugi66
Once I had the addon Silence between songs for MM v3.0 but this does not work any more with MM v4.0. Anyone has an updated version that works with the latest MM? Very much appreciated! Thanks

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Thu Jun 07, 2012 4:41 am
by Onno@heuveltop.nl
I have updated the MMIP file.
You can download it at http://www.mediafire.com/file/gkh81xfxy ... ngs31.mmip

Please note that this is for MM4 only.
There is a new option called "STOP HERE".
Rename any song to "STOP HERE" (likely a short one) and the playlist wil stop at the next song after STOP HERE.
Very handy in cases you want to pause at a specific point in the playlist.
You can change the name "STOP HERE" in the options.

Regards,
Onno Tabak

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Fri Jun 08, 2012 4:18 am
by Eyal
Onno@heuveltop.nl wrote:I have updated the MMIP file.
Thanks Onno Tabak!

You forgot to modify Install.ini to "3.1" but it does work fine.

I will (soon) make an update based on this code to make the script with both MM3 and MM4.
It will also save "STOP HERE" name in case you modify its title in the options.

:~)

Re: Silence Between Songs v3.0 [MM3] updated 2010-12-26

Posted: Fri Oct 26, 2012 4:08 pm
by jpw
I just installed the script and it SORT OF WORKS:

When you do not intervene with the tracks, it plays them consecutively, with the selected silence gap, as expected.

But, when you scan through the presently playing track using the slider bar, it SKIPS PAST the track after the gap and jumps to the following one.

Can anyone verify this?