Overwriting Node SortGroup and maybe SortCriteria

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Overwriting Node SortGroup and maybe SortCriteria

Re: Overwriting Node SortGroup and maybe SortCriteria

by MoDementia » Fri Jan 30, 2009 7:33 pm

No Mantis Entry
Not fixed 3.1.0 1220

by MoDementia » Thu Jun 05, 2008 8:40 pm

A little dissapointed that this issue has not been acknowledged / fixed in RC-9 (1183)

by MoDementia » Wed May 28, 2008 8:56 pm

Any movement on this issue?

by MoDementia » Fri May 16, 2008 7:55 am

Script has been mailed but you can grab it any time here

Thanks for trying Bex :)

by Bex » Fri May 16, 2008 6:33 am

I haven't yet checked anything but I'm sure you will do a better job than me Petr! :D
So I'm stepping out of this!

by PetrCBR » Fri May 16, 2008 4:42 am

MoDementia,

you're trying with latest release, right (build 1173) ? Can you send me that script (petr < att > mm.com) ?

by Bex » Thu May 15, 2008 7:08 pm

I'll take a look at the script and see if I can find a solution.

by MoDementia » Thu May 15, 2008 7:00 pm

Hahaha that not only adds the grouping immediately but crashes MM when I switch back to Album Artist Node :(

by Bex » Thu May 15, 2008 6:45 pm

Switching from Album Artist to Custom Node NEVER changes the grouping/sort order.
Perhaps this works then:
SDB.MainTree.CurrentNode.NodeType = 22 '<-- AlbumArtist Node
SDB.MainTracksWindow.Refresh
SDB.MainTree.CurrentNode.NodeType = 255

You can also try to set your custom node to NodeType = 22. But that can give other strange behavior...

by MoDementia » Thu May 15, 2008 6:10 pm

This doesn't work
Bex wrote:What happens if you click on the Library node before you click on your node?

In scripts it can be done like this:
SDB.MainTree.CurrentNode.NodeType = 12
SDB.MainTracksWindow.Refresh
SDB.MainTree.CurrentNode.NodeType = 255

That's what I use to reset any added sortorder to my nodes. It works if you have sortorder 0.
This didn't work either
Bex wrote:Did you ever try this:
Did you try to refresh after you clicked on the Library node?
Does it work if you have normal view in your custom node?
If I leave the custom node in normal view it never gets grouped/sorted.

Switching from Album Artist to Custom Node NEVER changes the grouping/sort order.

Before clicking Now Playing/Library Node
Image
After clicking Now Playing/Library Node
Image

by Bex » Thu May 15, 2008 9:27 am

Did you ever try this:
Did you try to refresh after you clicked on the Library node?
Does it work if you have normal view in your custom node?

by MoDementia » Thu May 15, 2008 9:24 am

So far all I can confirm is that everytime I click the node it has

NodeType = 255
SortCriteria = 0
SortGroup = 0

But eventually it will have the [A], , [C] etc grouping images/icons top left of the album art.

by Bex » Thu May 15, 2008 2:39 am

You can also try my Debug Helper script which give you these kinds of info on any node.
http://www.mediamonkey.com/forum/viewtopic.php?t=25935

by MoDementia » Thu May 15, 2008 2:31 am

Just found it will check it out

by Bex » Thu May 15, 2008 2:29 am

Steegy has made an excellent site with nodetype values:
http://www.mediamonkey.com/wiki/index.p ... _structure

12 = Library node
255 = Custom made node

Did you try to refresh after you clicked on the Library node?
Does your Custom made node have sortgroup 0?
Does it work if you have normal view in your custom node?

Top