Skip to content

Commit

Permalink
sort by playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
naoto committed Nov 18, 2012
1 parent bbd7244 commit 433fc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/airplayer/playlist.rb
Expand Up @@ -21,7 +21,7 @@ def entries(&blk)

private
def media_in(path)
Dir.entries(path).map do |node|
Dir.entries(path).sort.map do |node|
Media.new(File.expand_path(node, path)) if Media.playable? node
end.compact
end
Expand Down

0 comments on commit 433fc8e

Please sign in to comment.