Skip to content
Browse files

remove code from music_parser which isn't used

  • Loading branch information...
1 parent cad7fcc commit 959720afbc8d60753b3f9494311c14f955f9758f @TheDevelopment committed Jan 15, 2010
Showing with 0 additions and 29 deletions.
  1. +0 −29 music_parser.rb
View
29 music_parser.rb
@@ -12,35 +12,6 @@
@@unknown_tag = Array.new
@@all_artists = Array.new
-def find_or_create_new_folder(folder, artist, album)
- artist_path = File.join(@destination, artist)
- if File.directory?(artist_path)
- album_path = File.join(artist_path, album)
- if File.directory?(album_path)
- puts "#{artist} - #{album} already exist"
- else
- #puts "Need to create #{album} for #{artist}"
- if @enact == true
- Dir.mkdir(album_path)
- File.move(folder, album_path, true)
- else
- end
- puts "#{folder} -> #{album_path}"
- end
- else
- #puts "Folder #{artist_path} needs to be created"
- album_path = File.join(artist_path, album)
- if @enact == true
- Dir.mkdir(artist_path)
- Dir.mkdir(album_path)
- File.move(folder, album_path, true)
- else
- end
- puts "#{folder} -> #{album_path}"
- end
-
-end
-
if $0 == __FILE__
path = ARGV[0]
@destination = ARGV[1] || "/Volumes/Music/"

0 comments on commit 959720a

Please sign in to comment.
Something went wrong with that request. Please try again.