by Mizery_Made » Fri Jan 09, 2009 1:52 am
There's a few things that seem off about this feature. The biggest problem I'm running into is performance. I just ran a scan of this node while DebugView was open and it took
seven minutes to complete. That's for 10,715 tracks. I've had this scan run faster than this in the past, and even if I hadn't, seven minutes seems a bit much. I raised an issue with the performance of this node way back in the original 3.0 test cycle I believe, comparing it to Trixmoto's UnAutoOrganised script, pointing out that the built in feature took somewhere between two and three minutes I believe (and this was on no more than 2,000 less files than my current total) while his script could finish in under a minute.
I believe an entry was made into Mantis for this report. (Found it,
#4090) I can understand pointing out that the built in feature uses a more complex method than his script, but when it performs nearly the identical function, seven minutes is a bit much in comparison to roughly thirty five seconds.
I'm attaching a debug log snippet from the point I clicked the node until it stopped cycling through the tracks. Not sure it'll help in finding a way to optimize, but you can see yourself it took an awful long time. However, there's a couple things in the log I want to point out separately.
Code: Select all
00013652 13.94685650 [5448] Auto-Organizer : Track matches rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>)))
00013653 13.94739151 [5448] Auto-Organizer : Begin checking track C:\My Music\Rap\Matic Lee\0000 - Infinity\03 - {Matic Lee} - Chalk it up!!.mp3
00013654 13.94751549 [5448] Auto-Organizer : Checking rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>))) for genres
00013655 13.94757366 [5448] Auto-Organizer : Genre Rap matches
00013656 13.94761467 [5448] Auto-Organizer : Track matches rule
00013657 13.94765377 [5448] Auto-Organizer : Track matches path
00013658 13.94872189 [5448] Auto-Organizer : Track is in: C:\My Music\Rap\Matic Lee\0000 - Infinity\03 - {Matic Lee} - Chalk it up!!.mp3
00013659 13.94877148 [5448] Auto-Organizer : Should be in: C:\My Music\Rap\Matic Lee\0000 - Infinity\
00013660 13.94904327 [5448] Auto-Organizer : Track name is: 03 - {Matic Lee} - Chalk it up!!.mp3
00013661 13.94909000 [5448] Auto-Organizer : Track name should be: 03 - {Matic Lee} - Chalk It Up!!.mp3
Code: Select all
00055745 159.43266296 [5448] Auto-Organizer : Track matches rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>)))
00055746 159.43276978 [5448] Auto-Organizer : Begin checking track C:\My Music\Rap\Matic Lee\0000 - Infinity\14 - {Matic Lee} - Love And Happiness.mp3
00055747 159.43281555 [5448] Auto-Organizer : Checking rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>))) for genres
00055748 159.43287659 [5448] Auto-Organizer : Genre Rap matches
00055749 159.43290710 [5448] Auto-Organizer : Track matches rule
00055750 159.43392944 [5448] Auto-Organizer : Track matches path
00055751 159.43400574 [5448] Auto-Organizer : Track is in: C:\My Music\Rap\Matic Lee\0000 - Infinity\14 - {Matic Lee} - Love And Happiness.mp3
00055752 159.43426514 [5448] Auto-Organizer : Should be in: C:\My Music\Rap\Matic Lee\0000 - Infinity\
00055753 159.43432617 [5448] Auto-Organizer : Track name is: 14 - {Matic Lee} - Love And Happiness.mp3
00055754 159.43440247 [5448] Auto-Organizer : Track name should be: 14 - {Matic Lee} - Love and Happiness.mp3
In the first snippet, it's ran through a track who has a filename with some lowercase letters that have since been fixed in MediaMonkey. ("Chalk it up!!" -> "Chalk It Up!!") While in the second example, I took a file that was named correctly and lowercased a word to see if it worked in reverse. ("Love And Happiness" -> "Love and Happiness") The Auto-Organizer will show a difference between the cases in the log, but neither of these tracks are displayed in the main window. Running Auto Organize on either of these files will result in it correcting the case, so why isn't the Auto-Organizer showing these as not correct?
I also thought I would note that while it was reported that a progress bar was added to this node in Mantis entry
#5015, switching to the Monkey from DebugView while running a test on this node, there was never a progress bar present.
Can anyone confirm what appears to be slow performance of this node, the case issues, or the lack of functioning bar?
EDIT: Forgot to set up the "Upload attachment," then I realized the log was 19mb... so I had to RAR it, which cut it down to like a tenth of the size.
- Attachments
-
[The extension rar has been deactivated and can no longer be displayed.]
There's a few things that seem off about this feature. The biggest problem I'm running into is performance. I just ran a scan of this node while DebugView was open and it took [b]seven[/b] minutes to complete. That's for 10,715 tracks. I've had this scan run faster than this in the past, and even if I hadn't, seven minutes seems a bit much. I raised an issue with the performance of this node way back in the original 3.0 test cycle I believe, comparing it to Trixmoto's UnAutoOrganised script, pointing out that the built in feature took somewhere between two and three minutes I believe (and this was on no more than 2,000 less files than my current total) while his script could finish in under a minute.
I believe an entry was made into Mantis for this report. (Found it, [url=http://www.ventismedia.com/mantis/view.php?id=4090]#4090[/url]) I can understand pointing out that the built in feature uses a more complex method than his script, but when it performs nearly the identical function, seven minutes is a bit much in comparison to roughly thirty five seconds.
I'm attaching a debug log snippet from the point I clicked the node until it stopped cycling through the tracks. Not sure it'll help in finding a way to optimize, but you can see yourself it took an awful long time. However, there's a couple things in the log I want to point out separately.
[code]00013652 13.94685650 [5448] Auto-Organizer : Track matches rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>)))
00013653 13.94739151 [5448] Auto-Organizer : Begin checking track C:\My Music\Rap\Matic Lee\0000 - Infinity\03 - {Matic Lee} - Chalk it up!!.mp3
00013654 13.94751549 [5448] Auto-Organizer : Checking rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>))) for genres
00013655 13.94757366 [5448] Auto-Organizer : Genre Rap matches
00013656 13.94761467 [5448] Auto-Organizer : Track matches rule
00013657 13.94765377 [5448] Auto-Organizer : Track matches path
00013658 13.94872189 [5448] Auto-Organizer : Track is in: C:\My Music\Rap\Matic Lee\0000 - Infinity\03 - {Matic Lee} - Chalk it up!!.mp3
00013659 13.94877148 [5448] Auto-Organizer : Should be in: C:\My Music\Rap\Matic Lee\0000 - Infinity\
00013660 13.94904327 [5448] Auto-Organizer : Track name is: 03 - {Matic Lee} - Chalk it up!!.mp3
00013661 13.94909000 [5448] Auto-Organizer : Track name should be: 03 - {Matic Lee} - Chalk It Up!!.mp3
[/code]
[code]00055745 159.43266296 [5448] Auto-Organizer : Track matches rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>)))
00055746 159.43276978 [5448] Auto-Organizer : Begin checking track C:\My Music\Rap\Matic Lee\0000 - Infinity\14 - {Matic Lee} - Love And Happiness.mp3
00055747 159.43281555 [5448] Auto-Organizer : Checking rule:Genres:Country,Instrumental & Acapella,Pop,R&B,Rap,Rock; C:\My Music\<Genre>\$if(<Grouping>=--Album--,<Album Artist>\$if(<Album>=Hip-Hop Weekly,<Album>,<Year> - <Album>),$if(<Genre>=Instrumental & Acapella,,!<Grouping>!))\$if(<Grouping>=--Album--,<Track#> - {<Artist>} - <Title>,$if(<Title>=It's Okay [One Blood][Remix],$left(<Artist>,8) - <Title>,$if(<Title>=Won't Let You Down [Extended Texas Remix],$left(<Artist>,14) - <Title>,<Artist> - <Title>))) for genres
00055748 159.43287659 [5448] Auto-Organizer : Genre Rap matches
00055749 159.43290710 [5448] Auto-Organizer : Track matches rule
00055750 159.43392944 [5448] Auto-Organizer : Track matches path
00055751 159.43400574 [5448] Auto-Organizer : Track is in: C:\My Music\Rap\Matic Lee\0000 - Infinity\14 - {Matic Lee} - Love And Happiness.mp3
00055752 159.43426514 [5448] Auto-Organizer : Should be in: C:\My Music\Rap\Matic Lee\0000 - Infinity\
00055753 159.43432617 [5448] Auto-Organizer : Track name is: 14 - {Matic Lee} - Love And Happiness.mp3
00055754 159.43440247 [5448] Auto-Organizer : Track name should be: 14 - {Matic Lee} - Love and Happiness.mp3 [/code]
In the first snippet, it's ran through a track who has a filename with some lowercase letters that have since been fixed in MediaMonkey. ("Chalk it up!!" -> "Chalk It Up!!") While in the second example, I took a file that was named correctly and lowercased a word to see if it worked in reverse. ("Love And Happiness" -> "Love and Happiness") The Auto-Organizer will show a difference between the cases in the log, but neither of these tracks are displayed in the main window. Running Auto Organize on either of these files will result in it correcting the case, so why isn't the Auto-Organizer showing these as not correct?
I also thought I would note that while it was reported that a progress bar was added to this node in Mantis entry [url=http://www.ventismedia.com/mantis/view.php?id=5015]#5015[/url], switching to the Monkey from DebugView while running a test on this node, there was never a progress bar present.
Can anyone confirm what appears to be slow performance of this node, the case issues, or the lack of functioning bar?
[b]EDIT:[/b] Forgot to set up the "Upload attachment," then I realized the log was 19mb... so I had to RAR it, which cut it down to like a tenth of the size.