Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Create folder hierarchy based on MP3 tags

by hbm (Hermit)
on Aug 08, 2012 at 15:22 UTC ( #986309=note: print w/ replies, xml ) Need Help??


in reply to Re: Create folder hierarchy based on MP3 tags
in thread Create folder hierarchy based on MP3 tags

Ternary is nice, but I'd check the tags this way, in case any is just whitespace:

$title = 'unknown_title' if $title !~ /\S/; $artist = 'unknown_artist' if $artist !~ /\S/; $album = 'unknown_album' if $album !~ /\S/;


Comment on Re^2: Create folder hierarchy based on MP3 tags
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986309]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-05-30 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (600 votes), past polls