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

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

random7
Posts: 4
Joined: Tue Jul 12, 2011 10:50 pm

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

Post 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
Lowlander
Posts: 56491
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

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

Post 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.
Ben Tyndall

Re: Silence between songs skips tracks

Post 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
lizat
Posts: 56
Joined: Mon Aug 18, 2008 4:05 pm

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

Post 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
OnnoTabak

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

Post 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".
armando

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

Post 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
armando

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

Post 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.
armando

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

Post 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. :-?
jiterdancr
Posts: 2
Joined: Wed Aug 04, 2010 1:22 pm

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

Post by jiterdancr »

Scripts are out of date!!! Where can I find it? Gold member.
jiterdancr
Posts: 2
Joined: Wed Aug 04, 2010 1:22 pm

Silence-Between-Songs script outdated!!

Post by jiterdancr »

Please help!!
The scripts to download to add a gap are no longer available. Does anyone have a new link?
Thanks,
CJ
Last edited by Lowlander on Tue Mar 20, 2012 3:37 pm, edited 1 time in total.
Reason: Merged with existing topic
BKKKPewsey
Posts: 361
Joined: Sun Jun 05, 2011 10:45 am
Location: United Kingdom

Re: Silence-Between-Songs script outdated!!

Post by BKKKPewsey »

Everyone has the right to be stupid Image but some abuse the privilege
bugi66
Posts: 1
Joined: Tue Jun 05, 2012 2:10 am

Silence between songs for MM 4.0.3

Post 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
Last edited by Lowlander on Tue Jun 05, 2012 11:20 am, edited 1 time in total.
Reason: Merged with existing topic
Onno@heuveltop.nl

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

Post 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
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

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

Post 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.

:~)
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
jpw
Posts: 1
Joined: Thu Jul 14, 2005 1:48 pm

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

Post 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?
Post Reply