Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 avoiding work at the Monastery: (8)
As of 2014-08-01 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (53 votes), past polls