Node: Unknown Volume v1.0 & v2.1(Auto Analyze) [Script]

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

Moderators: Peke, Gurus

DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Node: Unknown Volume v1.0 & v2.1(Auto Analyze) [Script]

Post by DiddeLeeDoo »

Tiny script to help find songs not yet Volume Analyzed.

Adds new node: Library - Files to Edit - Unknown Volume

Now available in two versions.

Install Script v1.00 Without Auto Analyze
Open zip, and double click install file.

Install Script v2.10 With Auto Analyze
Open zip, and double click install file.

In version 2.1 you may want to tweak the number you consider to be max to analyze at once automatically.
Set between 0 and 300 in the script. Tweak as you like.

Code: Select all

 If SDB.AllVisibleSongList.Count>   0 And _
    SDB.AllVisibleSongList.Count< 300 Then 
Version 1 Version 2.1 is below

Code: Select all

'-------------------------------------------------------------------
' \Program Files\MediaMonkey\Scripts\Auto\Node_UnknownVolume.vbs
'
' Adds node: Library - Files to Edit - Unknown Volume Level
' Helps to find files for the Tools - Analyze Volume command
'
' Version: 1.00
' Date: July 2006
' By DiddeLeeDoo
'-------------------------------------------------------------------
Sub OnStartup
Set VLN=SDB.MainTree.CreateNode
    VLN.Caption=SDB.Localize("Unknown Volume")
    VLN.IconIndex=40
    VLN.UseScript=Script.ScriptPath
    VLN.OnFillTracksFunct="VLFiles"
    SDB.MainTree.AddNode SDB.MainTree.Node_FilesToEdit, VLN, 2
End Sub

Sub VLFiles(VLNode)
    SQL="AND Songs.NormalizeTrack=-999999"
    SDB.MainTracksWindow.AddTracksFromQuery(SQL)
    SDB.MainTracksWindow.FinishAdding
End Sub
This one analyze the found files too, as longs at the number of files to analyze is less than 300. You can change the limiter to whatever is right on your machine.

Version 2.1

Code: Select all

'-------------------------------------------------------------------
' \Program Files\MediaMonkey\Scripts\Auto\Node_UnknownVolume.vbs
'
' Adds node: Library - Files to Edit - Unknown Volume Level
' Helps to find files for the Tools - Analyze Volume command
'
' Version: 2.10
' Date: 12 August 2006
' By DiddeLeeDoo
'-------------------------------------------------------------------
Sub OnStartup
Set VLN=SDB.MainTree.CreateNode
    VLN.Caption=SDB.Localize("Unknown Volume")
    VLN.IconIndex=40
    VLN.UseScript=Script.ScriptPath
    VLN.OnFillTracksFunct="VLFiles"
    SDB.MainTree.AddNode SDB.MainTree.Node_FilesToEdit, VLN, 2
End Sub

Sub VLFiles(VLNode)
    SQL="AND Songs.NormalizeTrack=-999999"
    SDB.MainTracksWindow.AddTracksFromQuery(SQL)
    SDB.MainTracksWindow.FinishAdding
 If SDB.AllVisibleSongList.Count>   0 And _
    SDB.AllVisibleSongList.Count< 300 Then
        CreateObject("WScript.Shell").SendKeys "(^a)"
        CreateObject("WScript.Shell").SendKeys "(+^v)"
 End If
End Sub
Last edited by DiddeLeeDoo on Sun Mar 04, 2007 11:20 pm, edited 35 times in total.
Image
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

thanks for putting it to a node form.

sure beats using the all availble files playlist and clicking on the level field.

8)
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
pah68
Posts: 1504
Joined: Wed Apr 07, 2004 5:26 pm
Location: Sydney, Australia

Post by pah68 »

You can do this with Magic Nodes too, although you get sub node for each Volume Level value as well.
Image
Image
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Thanks - I was going to get round to doing this myself, but never did. You've saved me the bother! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
DiddeLeeDoo
Posts: 1017
Joined: Wed Mar 01, 2006 1:09 am
Location: In a jungle down under
Contact:

Post by DiddeLeeDoo »

Thank you guys..

Added a version 2.10 today, inspired by DigitalBoy's endevour to find some sort of way to get internal control of Volume Analyzing.

Version 2.10 simply do the shortcut keys needed to start analyzing the files found. (Limited to up to 300 songs by default)

Guess I could add some shortcut key to this node too... haven't done that yet.
Image
cadmanmeg
Posts: 309
Joined: Sun Nov 19, 2006 5:28 am

Post by cadmanmeg »

By auto analyzing, does that mean it is changing/editing my files automatically?
rovingcowboy
Posts: 14163
Joined: Sat Oct 25, 2003 7:57 am
Location: (Texas)
Contact:

Post by rovingcowboy »

yes he has it set to 300 as the volume limit for max.

so you will need to set it where you want.

check the posting of the codes to find where to change it. :)

i wonder if he is going to get this working in mm 3
:-?
roving cowboy / keith hall. My skins http://www.mediamonkey.com/forum/viewto ... =9&t=16724 for some help check on Monkey's helpful messages at http://www.mediamonkey.com/forum/viewto ... 4008#44008 MY SYSTEMS.1.Jukebox WinXp pro sp 3 version 3.5 gigabyte mb. 281 GHz amd athlon x2 240 built by me.) 2.WinXP pro sp3, vers 2.5.5 and vers 3.5 backup storage, shuttle 32a mb,734 MHz amd athlon put together by me.) 3.Dell demension, winxp pro sp3, mm3.5 spare jukebox.) 4.WinXp pro sp3, vers 3.5, dad's computer bought from computer store. )5. Samsung Galaxy A51 5G Android ) 6. amd a8-5600 apu 3.60ghz mm version 4 windows 7 pro bought from computer store.
Post Reply