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

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Silence Between Songs v3.0 [MM3] updated 2010-12-26

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

Post by rrfpacker » Fri Oct 26, 2012 9:14 pm

Many have this problem, go to the top of this page and the previous page for documentation.

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

Post by jpw » Fri Oct 26, 2012 4:08 pm

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?

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

Post by Eyal » Fri Jun 08, 2012 4:18 am

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

Post by Onno@heuveltop.nl » Thu Jun 07, 2012 4:41 am

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

Silence between songs for MM 4.0.3

Post by bugi66 » Tue Jun 05, 2012 2:19 am

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 script outdated!!

Post by BKKKPewsey » Sat Mar 17, 2012 6:55 pm

Silence-Between-Songs script outdated!!

Post by jiterdancr » Sat Mar 17, 2012 3:26 pm

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 v3.0 [MM3] updated 2010-12-26

Post by jiterdancr » Sat Mar 17, 2012 2:54 pm

Scripts are out of date!!! Where can I find it? Gold member.

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

Post by armando » Sat Feb 18, 2012 5:19 pm

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

Post by armando » Sat Feb 18, 2012 5:06 pm

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

Post by armando » Sat Feb 18, 2012 4:53 pm

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

Post by OnnoTabak » Thu Feb 16, 2012 4:46 pm

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

Post by lizat » Tue Feb 14, 2012 1:49 pm

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 skips tracks

Post by Ben Tyndall » Thu Feb 09, 2012 9:05 am

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

Post by Lowlander » Mon Jan 23, 2012 2:57 pm

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.

Top