Kids are very into their music, yet downloaded music files are often not well organized. There are a number of perl modules that can read the headers of an mp3 file (ie., Artist, Title, Album, etc). So, have your students create a program that:
A) sorts the music files on their pc,
B) creates directories (they decide how to organize the directory names),
C) move the files to the appropriate directory,
D) Clean up (remove) any empty directories,
E) Print summary reports of content, i.e. number of songs in each category: by artist, by genre, artist unknown, etc.
F) Extra Credit for any other bells and whistles.
You can use this project to satisfy multiple learning objectives. They can go to CPAN and do a search on mp3 to get a variety of modules they can use. The larger program can be built in smaller increments as they learn to search for directories, download modules, read documentation, etc.
Good luck!!!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.