Easy/fast nested nodes & FilesToEdit hiding (09Nov08)
-
Weatherman
- Posts: 161
- Joined: Sun Nov 19, 2006 11:08 am
Custom nodes
I would like to thank you for this fantastic script. Alas I don't think I can use it. I am not good enough with scripting to make my own scripts and I would just rely on your sample scripts. Reading the posts, it seems that your customnodes script has been a favourite with those who are able to write sql etc etc, which is fair enough...after all, how would the rest of us get so much from MM?!
I realise there are so many potential nodes that could be created from your script, but as someone who just wants to listen and organise his music, are there some templates, or scripts that other experts have created that I can download?
Jim
I realise there are so many potential nodes that could be created from your script, but as someone who just wants to listen and organise his music, are there some templates, or scripts that other experts have created that I can download?
Jim
-
sbondi
Re: Custom nodes
Thanks for the complimentWeatherman wrote:I would like to thank you for this fantastic script. Alas I don't think I can use it. I am not good enough with scripting to make my own scripts and I would just rely on your sample scripts. Reading the posts, it seems that your customnodes script has been a favourite with those who are able to write sql etc etc, which is fair enough...after all, how would the rest of us get so much from MM?!
I realise there are so many potential nodes that could be created from your script, but as someone who just wants to listen and organise his music, are there some templates, or scripts that other experts have created that I can download?
Jim
I am sorry to hear that the script was not user-friendly enough for you. With the easyCriteria, easyCaption, basic syntax, and samples, I had hoped it would even be enough for non-technical users to benefit from ... but maybe not totally
In any case, Nyn can probably point you to the best other scripts, but in the meantime, if you tell me what you would like to do with this script, I can hopefully easily configure it for you, so you can organize your music ASAP!
-
nohitter151
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Did you read the 1st post?
Steps:
1. Download the Script file: http://www.stevebondi.com/downloads/MyCustomNodes.vbs
2. Download the ReadMe file (right-click and "Save Target As ..."): http://www.stevebondi.com/downloads/MyC ... eadMe.html
3. Download the .INI File (sample): http://www.stevebondi.com/downloads/MyCustomNodes.ini
4. Copy all 3 files to your MediaMonkey "Auto" folder (e.g., C:\Program Files\MediaMonkey\Scripts\Auto)
Last edited by nohitter151 on Fri Mar 28, 2008 5:50 pm, edited 1 time in total.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
-
nynaevelan
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
Re: Custom nodes
Weatherman:Weatherman wrote:I would like to thank you for this fantastic script. Alas I don't think I can use it. I am not good enough with scripting to make my own scripts and I would just rely on your sample scripts. Reading the posts, it seems that your customnodes script has been a favourite with those who are able to write sql etc etc, which is fair enough...after all, how would the rest of us get so much from MM?!
I realise there are so many potential nodes that could be created from your script, but as someone who just wants to listen and organise his music, are there some templates, or scripts that other experts have created that I can download?
Jim
I am sorry to read that you are not able to use the MCN script for your music needs. But let me assure you as someone who is completely sql illiterate, this is one of the easiest node scripts to use. However, if you just state what it is you want to accomplish one of the nice MM users will try to help you accomplish your goals. I do have one question, is the script unusable for you because you are having trouble installing it or because you do not know how to create your own nodes? SBondi has provided a sample .ini file to help get you started but also, if that does not meet your needs, just post what you want and someone should be able to help you. As you can see from my signature, I like to take advantage of all the great work that the users contribute to MM.
Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
-
nohitter151
- Posts: 23640
- Joined: Wed Aug 09, 2006 10:20 am
- Location: NJ, USA
- Contact:
Re: Custom nodes
Sorry, I didn't want to sound meannynaevelan wrote:Weatherman:Weatherman wrote:I would like to thank you for this fantastic script. Alas I don't think I can use it. I am not good enough with scripting to make my own scripts and I would just rely on your sample scripts. Reading the posts, it seems that your customnodes script has been a favourite with those who are able to write sql etc etc, which is fair enough...after all, how would the rest of us get so much from MM?!
I realise there are so many potential nodes that could be created from your script, but as someone who just wants to listen and organise his music, are there some templates, or scripts that other experts have created that I can download?
Jim
I am sorry to read that you are not able to use the MCN script for your music needs. But let me assure you as someone who is completely sql illiterate, this is one of the easiest node scripts to use. However, if you just state what it is you want to accomplish one of the nice MM users will try to help you accomplish your goals. I do have one question, is the script unusable for you because you are having trouble installing it or because you do not know how to create your own nodes? SBondi has provided a sample .ini file to help get you started but also, if that does not meet your needs, just post what you want and someone should be able to help you. As you can see from my signature, I like to take advantage of all the great work that the users contribute to MM.
Nyn
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
Need help? Got a suggestion? Can't find something?
Please no PMs in reply to a post. Just reply in the thread.
-
nynaevelan
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
I didn't think you sounded mean, but when I read Weatherman's post I was unsure if he was stating he couldn't install the script or if he didn't know how to create any nodes.
Nyn
Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Re: Custom nodes
I don't even read sql much less write it!Weatherman wrote:it seems that your customnodes script has been a favourite with those who are able to write sql etc etc,
I can generally figure out how stuff works though if I see examples, which sbondi, nynaevelan, and others have provided. And as Nyn said, if you want to make a custom node and can't figure out what criteria to use, just post here and I'm sure someone can help you! They've sure helped me enough.

MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes
Re: Custom nodes
I also see the potential but am unable to figure out how to go about it ; when i startup i get alot of " unable to find node " messages,.Weatherman wrote:I would like to thank you for this fantastic script. Alas I don't think I can use it. I am not good enough with scripting to make my own scripts and I would just rely on your sample scripts. Reading the posts, it seems that your customnodes script has been a favourite with those who are able to write sql etc etc, which is fair enough...after all, how would the rest of us get so much from MM?!
I realise there are so many potential nodes that could be created from your script, but as someone who just wants to listen and organise his music, are there some templates, or scripts that other experts have created that I can download?
Jim
This passage in the readme : " Once a custom node is added under the "Library" branch with this
' script, MM3 will allow you to re-position it along with the
' standard nodes (by right-clicking any node, selecting "Options" then
' "Choose tree nodes"); next time MM3 is started (and this script is
' auto-run), MM3 will move the custom nodes to their previously
' configured locations "
is not clear to me.
perhaps someone would be so kind to post an ini file which ,say , for example gives me a " date added " custom node , so i can see how it works ?
thanks Lin
-
nynaevelan
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
HI Lin:
I usually get that message when I have added a level critieria that the script does not support, but in order to help you better understand here's an example of my nodes which I have created for tracks that are added to the library:
Nyn
I usually get that message when I have added a level critieria that the script does not support, but in order to help you better understand here's an example of my nodes which I have created for tracks that are added to the library:
Code: Select all
;------------------------------------------------------------------------
[Additions]
icon=Title
parent="Personal Node"
;------------------------------------------------------------------------
;------------------------------------------------------------------------
[Added Today]
icon=Quality
sortLike=Genre
level=Genre
levelEasyCaption=BaseCaptionAndTrackCount
trackCriteria="((CAST([vb]CDbl(Now)[vb] AS Integer)) - CAST(DateAdded AS Integer) = 0)"
parent="Additions"
[Added Yesterday]
icon=Preview
sortLike=Genre
level=Genre
levelEasyCaption=BaseCaptionAndTrackCount
trackCriteria="((CAST([vb]CDbl(Now)[vb] AS Integer)) - CAST(DateAdded AS Integer) = 1)"
parent="Additions"
[Added in Last 7 Days]
icon=Album
sortLike=Album
hideifempty=1
level=DateAdded
levelEasyCaption=BaseCaptionAndNodeCount
LevelEasySort=MostRecentlyAdded
level=Genre
easyCriteria=addedwithinthelast7days
parent="Additions"
[Date Added by Genre]
icon=Genre
sortLike=Genre
level=DateAdded
levelSortOrder=descending
level=Genre
levelEasyCaption=BaseCaptionAndTrackCount
trackCriteria="(ID <> '')"
parent="Additions"
;------------------------------------------------------------------------
;------------------------------------------------------------------------ 3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Thank you , i'm afraid we will have to go back to the beginning ,when i replace the ini file with your code i get : " parent node not found .personal node "nynaevelan wrote:HI Lin:
I usually get that message when I have added a level critieria that the script does not support, but in order to help you better understand here's an example of my nodes which I have created for tracks that are added to the library:
NynCode: Select all
;------------------------------------------------------------------------ ----------------------------------------------
and ::" parent node not found ,Additions "
what am i overlooking ?
Lin
Nyn left out the custom parent. I've added it here at the top:
Also, I was wondering have you tried the sample .ini linked in the first post? Was that file used when getting the "node not found" messages?
Code: Select all
;------------------------------------------------------------------------
[Personal Node]
icon=Rating
expandAtStartup=1
;------------------------------------------------------------------------
[Additions]
icon=Title
parent="Personal Node"
;------------------------------------------------------------------------
;------------------------------------------------------------------------
[Added Today]
icon=Quality
sortLike=Genre
level=Genre
levelEasyCaption=BaseCaptionAndTrackCount
trackCriteria="((CAST([vb]CDbl(Now)[vb] AS Integer)) - CAST(DateAdded AS Integer) = 0)"
parent="Additions"
[Added Yesterday]
icon=Preview
sortLike=Genre
level=Genre
levelEasyCaption=BaseCaptionAndTrackCount
trackCriteria="((CAST([vb]CDbl(Now)[vb] AS Integer)) - CAST(DateAdded AS Integer) = 1)"
parent="Additions"
[Added in Last 7 Days]
icon=Album
sortLike=Album
hideifempty=1
level=DateAdded
levelEasyCaption=BaseCaptionAndNodeCount
LevelEasySort=MostRecentlyAdded
level=Genre
easyCriteria=addedwithinthelast7days
parent="Additions"
[Date Added by Genre]
icon=Genre
sortLike=Genre
level=DateAdded
levelSortOrder=descending
level=Genre
levelEasyCaption=BaseCaptionAndTrackCount
trackCriteria="(ID <> '')"
parent="Additions"
;------------------------------------------------------------------------
;------------------------------------------------------------------------
MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes
Yes the sample ine file gives me many " node not found" .spacefish wrote:Nyn left out the custom parent. I've added it here at the top:
Also, I was wondering have you tried the sample .ini linked in the first post? Was that file used when getting the "node not found" messages?Code: Select all
;------------------------------------------------------------------------ [Personal Node] icon=Rating expandAtStartup=1 ;------------------------------------------------------------------------ [Additions] icon=Title parent="Personal Node" ;------------------------------------------------------------------------ ;------------------------------------------------------------------------ [Added Today] icon=Quality sortLike=Genre level=Genre levelEasyCaption=BaseCaptionAndTrackCount trackCriteria="((CAST([vb]CDbl(Now)[vb] AS Integer)) - CAST(DateAdded AS Integer) = 0)" parent="Additions" [Added Yesterday] icon=Preview sortLike=Genre level=Genre levelEasyCaption=BaseCaptionAndTrackCount trackCriteria="((CAST([vb]CDbl(Now)[vb] AS Integer)) - CAST(DateAdded AS Integer) = 1)" parent="Additions" [Added in Last 7 Days] icon=Album sortLike=Album hideifempty=1 level=DateAdded levelEasyCaption=BaseCaptionAndNodeCount LevelEasySort=MostRecentlyAdded level=Genre easyCriteria=addedwithinthelast7days parent="Additions" [Date Added by Genre] icon=Genre sortLike=Genre level=DateAdded levelSortOrder=descending level=Genre levelEasyCaption=BaseCaptionAndTrackCount trackCriteria="(ID <> '')" parent="Additions" ;------------------------------------------------------------------------ ;------------------------------------------------------------------------
Now , when i use this code from your post i still get these two node not found messages : once : parent node not found .personal node "
and 4 times : " parent node not found ,Additions "
But now " personal node " exists in the tree
Must be getting close
Well, to be fair that's not a whole .ini file. There are some options missing. It would be helpful if you could load up the sample .ini file again and take a screenshot of what your errors are. You can upload the screenshot to somewhere like http://imageshack.us/ and then link here.

MM Gold 3.0.3.1183 : Vista HP SP1 (x86) : Zen Stone (2GB)
Zekton: An original MM3 skin by Eyal.
Scripts in Use: Add/Remove PlayStat | Auto Album DJ | AutoRateAccurate | Backup
Case & Leading Zero Fixer | Classification & Genre Changer | Clean Scripts.ini | Clear
Field | Custom Report | Discogs Auto-Tag Web Search | Forget Crossfade | Invert
Selection/Select None | Last 100... | Lyricator | Lyrics to Instrumental | MonkeyRok
MusicBrainz Tagger | My Custom Nodes | Now Playing Art Node | Play History & Stats
Right Click for Reports | Right Click for Scripts | Right Click for Web | Stop After Current
WebNodes
-
nynaevelan
- Posts: 5559
- Joined: Wed Feb 07, 2007 11:07 pm
- Location: New Jersey, USA
- Contact:
@SP: Sorry,
I forgot I had that in a sub-node. I would post my entire ini file but it's gotten really long (over 800 lines). If you all want to see it let me know and I'll post it.
@Linn: Are you sure you are using the most recent version of the script?? I just tried using the sample ini file and it works for me without any errors. So, as you stated let's go back to the beginning. Tell us all the steps you've taken to use the script.
Nyn
@Linn: Are you sure you are using the most recent version of the script?? I just tried using the sample ini file and it works for me without any errors. So, as you stated let's go back to the beginning. Tell us all the steps you've taken to use the script.
Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
Link to Favorite Scripts/Skins
Join Dropbox, the online site to share your files
No use loading the original sample ini and capturing the messages , must be 20 at least !spacefish wrote:Well, to be fair that's not a whole .ini file. There are some options missing. It would be helpful if you could load up the sample .ini file again and take a screenshot of what your errors are. You can upload the screenshot to somewhere like http://imageshack.us/ and then link here.
They are similar to these :
http://farm4.static.flickr.com/3029/237 ... 3772_o.jpg[/url]
Ok ,i loaded sample.ini ,i get lots of messages, this is a shot of my tree :
http://farm4.static.flickr.com/3207/237 ... 8193_o.jpg
Last edited by linn on Sat Mar 29, 2008 11:06 am, edited 1 time in total.