Winamp Log Parser ![]() Well, I promised I'd make something that would make use of the winamp logger output. It's written as ruby, which I've immediately adopted because it's just more sensible than perl. (Although the runtime error messages leave something to be desired.) logparser.rb
If you don't specify an output file, it will just print the results. It gives you rankings for song and artist popularity, with song counts and percentage of totals. Nickel Creek #3, eh? The script doesn't do any accounting for taste. [Song popularity] 1. Counting Crows - Rain King, 13, (10.8%) 2. Counting Crows - Mr. Jones, 12, (10.0%) 3. Counting Crows - Children In Bloom, 11, (9.2%) 4. Simon & Garfunkel - The Boxer, 9, (7.5%) 5. Collective Soul - Run, 9, (7.5%) 6. Airbase - Gouryella - Ligaya (Airbase Re, 9, (7.5%) 7. Counting Crows - Catapult, 9, (7.5%) 8. Nickel Creek - Out Of The Woods, 8, (6.7%) 9. Counting Crows - High Life, 8, (6.7%) 10. Nickel Creek - Lighthouse Tale, 8, (6.7%) ... [Artist popularity] 1. Counting Crows, 93, (77.5%) 2. Airbase, 32, (26.7%) 3. Nickel Creek, 18, (15.0%)Original log file Output file |