lib/kagu/playlists.rb in kagu-0.4.7 vs lib/kagu/playlists.rb in kagu-1.0.0

- old
+ new

@@ -22,9 +22,10 @@ def each(&block) return unless block_given? tracks = {}.tap do |tracks| library.tracks.each { |track| tracks[track.id] = track } end + Kagu.logger.debug('Kagu') { "Reading iTunes library playlists from #{library.path.inspect}" } File.open(library.path, 'r') do |file| begin line = file.readline.strip end while !line.starts_with?('<key>Playlists</key>') playlist_name = nil