Classification and Genre Changer 1.1.1 (2008-03-01) [MM3]

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

Moderators: Peke, Gurus

aprzybylo
Posts: 301
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada
Contact:

Post 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
spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Post 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!
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
aprzybylo
Posts: 301
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada
Contact:

Post 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.
aprzybylo
Posts: 301
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada
Contact:

Post 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.
spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Post 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?
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
fridge
Posts: 75
Joined: Sat Jan 19, 2008 1:21 pm
Location: Vienna, Austria
Contact:

Post 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.
WebNodes: adds customised WebNodes to your monkey
Classification and Genre Changer: easily edit the currently playing song's Classification and Genre
fridge's MM-Scripts
aprzybylo
Posts: 301
Joined: Tue Aug 21, 2007 2:58 pm
Location: Ottawa, Canada
Contact:

Post 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.
spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Post 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.
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
spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Post 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
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
fridge
Posts: 75
Joined: Sat Jan 19, 2008 1:21 pm
Location: Vienna, Austria
Contact:

Post 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.
WebNodes: adds customised WebNodes to your monkey
Classification and Genre Changer: easily edit the currently playing song's Classification and Genre
fridge's MM-Scripts
spacefish
Posts: 1427
Joined: Mon Jan 14, 2008 7:21 am
Location: Denmark

Post by spacefish »

fridge wrote:I will look into this for the next update.
Thank you! :)
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
Christoph
Posts: 243
Joined: Fri Jan 25, 2008 12:43 pm

Post 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
fridge
Posts: 75
Joined: Sat Jan 19, 2008 1:21 pm
Location: Vienna, Austria
Contact:

Post 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?
WebNodes: adds customised WebNodes to your monkey
Classification and Genre Changer: easily edit the currently playing song's Classification and Genre
fridge's MM-Scripts
Christoph
Posts: 243
Joined: Fri Jan 25, 2008 12:43 pm

Post 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
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post 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.
Post Reply