Page 4 of 5

Posted: Fri Mar 07, 2008 11:18 pm
by aprzybylo
spacefish wrote:I don't really understand what you just said but I know that if I have a genre or occasion there already (green), I select it to be removed (red), and I select another one (white) to add (yellow), the red one will be removed and the yellow one will be added, leaving only the one I wanted and not two separated by a semi-colon.

Perhaps if you included a screen-shot of what you are trying to do, someone could better determine what it is you'd like to accomplish.
That's fine for the specific song. But if you want to assign same genres to all songs from the same artist? Let say you have song1 with genre1 and song2 with genre2, you play song1. Your screen is then
genre1 (green) genre2 (white)

you can't assign now genre1 (or genre2) to both songs.

if you want genre1 you keep genre1 green but then if you have genre2 white song2 will have genre2;genre1 or if you set genre2 to yellow song1 will have genre1;genre2. Doesn't work in neither case

Posted: Sat Mar 08, 2008 12:02 am
by spacefish
So you want to assign the same item to more than one track but not the whole artist or album? Then you select the tracks and use the properties window.
But if you want to assign same genres to all songs from the same artist?
This script *does* allow for assigning and removing items from the entire artist and/or the album associated with the currently playing track. Just click the check box next to Apply to Artist or Apply to Album (or both).

Sorry, I'm not really following you so maybe someone else can jump in here. I know I don't have any problems with this script and I've found some fairly creative ways of using it!

Posted: Sat Mar 08, 2008 12:14 am
by aprzybylo
WHat I wanted to do is very simple, I have lot of artists that have various genres. When I play any song from that artist the script gets me all genres from that artist with number of times it's used (so far great). But now I want to pick up one of those and assign this value to all songs from that user. And that you can't do.

Posted: Sat Mar 08, 2008 12:15 am
by aprzybylo
Also performance problem is consistent for me on fresh install of MM without any script installed. Is it related to the size of database? I have a big one.

Posted: Sat Mar 08, 2008 12:25 am
by spacefish
So you have a lot of different genres on an artist (i.e. no two tracks have the same combination) and you just want to clean those up using this script? That's not what this script was designed for, unfortunately. You might want to use something like Clear Field to clean up your genres first (although you can do this with the default properties window too) then you can go through while you listen and use this script.

How large is your database?

Posted: Sat Mar 08, 2008 12:26 pm
by fridge
aprzybylo wrote:WHat I wanted to do is very simple, I have lot of artists that have various genres. When I play any song from that artist the script gets me all genres from that artist with number of times it's used (so far great). But now I want to pick up one of those and assign this value to all songs from that user. And that you can't do.
To do that you'll need to take two update steps:
1. Select all the genres any of the artist's track is tagged with and apply to artist. --> they are all green now
2. unselect all genres you don't want (red --> delete). Apply to artist again.

That way all tracks are only left with the genre(s) you want.

Posted: Sat Mar 08, 2008 2:29 pm
by aprzybylo
fridge wrote:
aprzybylo wrote:WHat I wanted to do is very simple, I have lot of artists that have various genres. When I play any song from that artist the script gets me all genres from that artist with number of times it's used (so far great). But now I want to pick up one of those and assign this value to all songs from that user. And that you can't do.
To do that you'll need to take two update steps:
1. Select all the genres any of the artist's track is tagged with and apply to artist. --> they are all green now
2. unselect all genres you don't want (red --> delete). Apply to artist again.

That way all tracks are only left with the genre(s) you want.
I was trying to it that way but only genre from playing track changes green/red. Others change from white to yellow. No way to turn them red.

Posted: Sun Mar 09, 2008 6:06 am
by spacefish
aprzybylo wrote:
fridge wrote:
aprzybylo wrote:WHat I wanted to do is very simple, I have lot of artists that have various genres. When I play any song from that artist the script gets me all genres from that artist with number of times it's used (so far great). But now I want to pick up one of those and assign this value to all songs from that user. And that you can't do.
To do that you'll need to take two update steps:
1. Select all the genres any of the artist's track is tagged with and apply to artist. --> they are all green now
2. unselect all genres you don't want (red --> delete). Apply to artist again.

That way all tracks are only left with the genre(s) you want.
I was trying to it that way but only genre from playing track changes green/red. Others change from white to yellow. No way to turn them red.
The second step turns them red. You have to give them all the genre you don't want first, and then go back and select that same genre and apply to artist again.

Step 1. > Save
Step 2. > Save

You must save in between steps.

Posted: Sun Mar 09, 2008 2:13 pm
by spacefish
I've run into a little problem that I believe might only affect tracks with unicode tags. I'm listening to Jewish music and I've got a track by an Israeli artist whose name is written in Hebrew. There is nothing displayed in the section that shows what is already tagged for this artist, even though I have a couple genres and an occasion assigned to this track. If I expand the genre and occasion sections, the ones I already have do display in green but if I try to select more to add or one to remove, when I click Save Changes, nothing happens.

Image

Posted: Mon Mar 10, 2008 2:29 am
by fridge
spacefish wrote:I've run into a little problem that I believe might only affect tracks with unicode tags. I'm listening to Jewish music and I've got a track by an Israeli artist whose name is written in Hebrew. There is nothing displayed in the section that shows what is already tagged for this artist, even though I have a couple genres and an occasion assigned to this track. If I expand the genre and occasion sections, the ones I already have do display in green but if I try to select more to add or one to remove, when I click Save Changes, nothing happens.
This is most probably a bug in the script as I have not tested it with unicode characters. I will look into this for the next update.

Posted: Mon Mar 10, 2008 4:01 am
by spacefish
fridge wrote:I will look into this for the next update.
Thank you! :)

Posted: Mon Mar 10, 2008 6:04 pm
by Christoph
Hey,
what a great script. Thank you. :)
I have two suggestions:
1. Would it be possible to open the lists for tempo, mood and so on when the track has been loaded? So you wouldn't have to click on the label.
2. Would it be possible to use this script on (multiple) selected files and not only on the current playing song?

Thanks again.

Christoph

Posted: Tue Mar 11, 2008 1:34 pm
by fridge
Christoph wrote:Hey,
what a great script. Thank you. :)
I have two suggestions:
1. Would it be possible to open the lists for tempo, mood and so on when the track has been loaded? So you wouldn't have to click on the label.
2. Would it be possible to use this script on (multiple) selected files and not only on the current playing song?

Thanks again.

Christoph
Glad you like it! :)

1. I will add options that allow you to choose which lists should be opened by default in one of the next updates.
2. This should not be much of a problem for a single track. I will probably add it in a future update :).
Could you give some detail on what you'd like the script to do for multiple selected tracks. Which values should be highlighted if the tracks have different values?

Posted: Tue Mar 11, 2008 4:34 pm
by Christoph
Hey,
1. Great. :)
2. Ok, maybe a value is painted green if all tracks have it assigned. Maybe it could be blue if only some tracks have assigned the property. So, if you check a blue value, all tracks get it. That's a common behaviour in many applications. For blue values a little tooltip that shows the count of the elements the property is applied to, would be also useful.

An example:
Genre "Pop" is assigned to 10 of 30 selected tracks. So, the field would be blue and the tooltip could say 10/30.
This could be helpful because then you know whether nearly all tracks have this property or just a few have it.

I hope it's a bit clear what I meant.

Christoph

Posted: Wed Mar 12, 2008 1:45 pm
by Teknojnky
I suggest updating the below function as indicated to avoid errors when no valid current node object is available.

Code: Select all

Function UpdateCC
  If Not (SDB.MainTree.CurrentNode Is Nothing) Then
  	If SDB.MainTree.CurrentNode.Caption = "Classification Changer" Then
  		LoadClassChanger(SDB.Objects("CCNode"))
  	End If
  End If
End Function
and suggest you always check for valid object when checking or referencing the state of the current node.