Easy/fast nested nodes & FilesToEdit hiding (09Nov08)

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by nynaevelan » Fri Oct 31, 2008 8:17 am

I don't think there is a way to do this within MCN, but you can accomplish what you want with MoDementia's View Manager 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

spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by spacefish » Mon Nov 03, 2008 7:32 am

I've checked through the Readme and I haven't found a method to create a node for Grouping. Can support be added for that field? I'm finding lately that I search for values in this field and it's a bit cumbersome when I know exactly where I want to go.

Basically what I want is a node that looks like this:

Code: Select all

- Grouping
  - Value 1
     - Album 1 (Album Artist)
     - Album 2 (Album Artist)
  + Value 2
  + Value 3
If there's some method currently in place that will let me create a node like that, please let me know!

Thanks,
Paula
Image
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

sbondi

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by sbondi » Thu Nov 06, 2008 4:10 pm

spacefish wrote:I've checked through the Readme and I haven't found a method to create a node for Grouping. Can support be added for that field? I'm finding lately that I search for values in this field and it's a bit cumbersome when I know exactly where I want to go.

Basically what I want is a node that looks like this:

Code: Select all

- Grouping
  - Value 1
     - Album 1 (Album Artist)
     - Album 2 (Album Artist)
  + Value 2
  + Value 3
If there's some method currently in place that will let me create a node like that, please let me know!

Thanks,
Paula
Hi Paula,

chrisbod had requested this same enhancement in early August, but I never got around to it with my travel and my move from Windows to the iMac.

In any case, I dusted MCN off and implemented the "Grouping" level in just a few minutes :)

I have already posted it to the download link site.] ... just re-download.

Regards,

Steve

KEP
Posts: 179
Joined: Sun Feb 18, 2007 10:27 pm
Location: Vancouver USA

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by KEP » Wed Nov 12, 2008 6:06 pm

sbondi wrote:In any case, I dusted MCN off and implemented the "Grouping" level in just a few minutes :)

I have already posted it to the download link site.] ... just re-download.
Ummmm, what/where?

Redownload and reinstall the latest MM build, or is this a separate addon?

Thanks...!

nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by nynaevelan » Wed Nov 12, 2008 6:22 pm

The link to the updated script is in the first post of this topic.

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

KEP
Posts: 179
Joined: Sun Feb 18, 2007 10:27 pm
Location: Vancouver USA

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by KEP » Wed Nov 12, 2008 7:46 pm

nynaevelan wrote:The link to the updated script is in the first post of this topic.
Ahhhh... Thanks much!

justin_f
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by justin_f » Thu Nov 13, 2008 3:02 pm

I'm hoping someone can help me with an idea I have. I'm not sure whether this script, or Magic Nodes would be better suited to it.

I'd like to create nodes based on instrumentation. I'd have a parent, then beneath it have sub-nodes for songs with interesting instrumentation (beyond normal guitar, bass, drums). Beneath that I'd like to have it sorted like Artist (Artist > Album > Song). So I'd be looking for something along these lines

Code: Select all

Instrumentation (Parent)
    -Violin
        -Andrew Bird's Bowl of Fire (Artist)
             -The Swimming Hour (Album)
                 -Why? (Title)
                 -Case in Point
    -Accordion
        -Beirut
etc.

I'm thinking that I would store all the instrumentation for a song in a single field (possibly grouping, since I don't use that, but I'm open to suggestion). Does anyone know if something like this would be possible?

Thanks,
Justin

spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by spacefish » Fri Nov 14, 2008 10:47 am

sbondi wrote:
spacefish wrote:I've checked through the Readme and I haven't found a method to create a node for Grouping. Can support be added for that field? I'm finding lately that I search for values in this field and it's a bit cumbersome when I know exactly where I want to go.

Basically what I want is a node that looks like this:

Code: Select all

- Grouping
  - Value 1
     - Album 1 (Album Artist)
     - Album 2 (Album Artist)
  + Value 2
  + Value 3
If there's some method currently in place that will let me create a node like that, please let me know!

Thanks,
Paula
Hi Paula,

chrisbod had requested this same enhancement in early August, but I never got around to it with my travel and my move from Windows to the iMac.

In any case, I dusted MCN off and implemented the "Grouping" level in just a few minutes :)

I have already posted it to the download link site.] ... just re-download.
Thank you, Steve! I will let you know if it works. :)

Paula
Image
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

sbondi

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by sbondi » Fri Nov 14, 2008 11:20 am

justin_f wrote:I'm hoping someone can help me with an idea I have. I'm not sure whether this script, or Magic Nodes would be better suited to it.

I'd like to create nodes based on instrumentation. I'd have a parent, then beneath it have sub-nodes for songs with interesting instrumentation (beyond normal guitar, bass, drums). Beneath that I'd like to have it sorted like Artist (Artist > Album > Song). So I'd be looking for something along these lines

Code: Select all

Instrumentation (Parent)
    -Violin
        -Andrew Bird's Bowl of Fire (Artist)
             -The Swimming Hour (Album)
                 -Why? (Title)
                 -Case in Point
    -Accordion
        -Beirut
etc.

I'm thinking that I would store all the instrumentation for a song in a single field (possibly grouping, since I don't use that, but I'm open to suggestion). Does anyone know if something like this would be possible?

Thanks,
Justin
Yes, this can be easily done with this script (and probably Magic Nodes).

Once you install this script and add the info to the Grouping field in your song database, you would edit the .INI file to include a custom node like this somewhere under the "Add Custom Nodes" section:

Code: Select all

[Instrumentation]
level=Grouping
level=Artist
level=Album
level=Title
trackCriteria="(Grouping <> '')"
And then you are set :)

Regards,

Steve

spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by spacefish » Fri Nov 14, 2008 12:03 pm

Thank you, Steve! It does just what I want it to. :D
Image
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

justin_f
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by justin_f » Sat Nov 15, 2008 3:06 pm

sbondi wrote:Yes, this can be easily done with this script (and probably Magic Nodes).

Once you install this script and add the info to the Grouping field in your song database, you would edit the .INI file to include a custom node like this somewhere under the "Add Custom Nodes" section:

Code: Select all

[Instrumentation]
level=Grouping
level=Artist
level=Album
level=Title
trackCriteria="(Grouping <> '')"
And then you are set :)

Regards,

Steve
Thanks for the quick response, Steve. I love the script.

The answer you gave doesn't seem to work. I get the following message when I use it:

Code: Select all

Error executing SQL "SELECT Songs.* FROM Songs WHERE (Grouping<>")": no such column: Grouping (1,1)
Also, though, I was looking through the Read Me file, and I don't know that what I'm looking to do will work, at least not in the Grouping field, since it doesn't look like it supports multiple values. My grouping field would be similar to this:

Code: Select all

Violin;Accordion;Mandolin
Any suggestions or thoughts? Thanks again, Steve.

Justin

justin_f
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by justin_f » Sat Nov 15, 2008 3:33 pm

I put the info into the Conductor field and it works perfectly :D

I love it. Thanks a ton.

Justin

nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by nynaevelan » Sat Nov 15, 2008 3:36 pm

Justin:

You have to change this

Code: Select all

trackCriteria="(Grouping <> '')"
to this

Code: Select all

trackCriteria="(GroupDesc <> '')"
As far as the multi-values, do you have one of the multi-value fields not in use, maybe you can switch to that?

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

justin_f
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN
Contact:

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by justin_f » Sat Nov 15, 2008 3:49 pm

Thanks Nyn. I got it up and running perfectly. In case anyone is interested in a node like this for themselves, here's what I did:

Code: Select all

;------------------------------------------------------------------------
[Instrumentation]
;------------------------------------------------------------------------
icon=Tempo
parent="Library"

;------------------------------------------------------------------------
[By Artist/Album]
;------------------------------------------------------------------------
icon=Artist
level=Artist
level=Conductor
level=Album
level=Title
trackCriteria="(Conductor <> '')"
parent="Instrumentation"

;------------------------------------------------------------------------
[By Instrument]
;------------------------------------------------------------------------
icon=Tempo
level=Conductor
level=Artist
level=Album
level=Title
trackCriteria="(Conductor <> '')"
parent="Instrumentation"

Justin

sbondi

Re: Easy/fast nested nodes & FilesToEdit hiding (25Apr08)

Post by sbondi » Sat Nov 15, 2008 5:19 pm

nynaevelan wrote:Justin:

You have to change this

Code: Select all

trackCriteria="(Grouping <> '')"
to this

Code: Select all

trackCriteria="(GroupDesc <> '')"
As far as the multi-values, do you have one of the multi-value fields not in use, maybe you can switch to that?

Nyn
Thanks, Nyn! I did not test it, and was not focused on the fact that the database field is "GroupDesc" as opposed to the user field title "Grouping" in MM (and that I coded in MCN).

But of course, since Justin needed multi-value support from MM/MCN, the "Conductor" field works better for him anyway :)

Post Reply