github.com/tijn/pls.cr
0.2.0 / published Jan 2, 2018 / repository
A small library to read PLS files (for playlists)
pls
A small library to parse PLS playlists
A PLS playlist is simply an INI file with a predefined set of keys.
Installation
Add this to your application's shard.yml:
dependencies:
pls:
github: tijn/pls.cr
Usage
require "pls"
playlist = PLS::Playlist.parse(File.read("name_of_file.pls"))
playlist.entries.each do |entry|
puts entry.file
end
Development
You can clone it and improve it I guess ...
Contributing
- Fork it ( https://github.com/tijn/pls/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- tijn Tijn Schuurmans - creator, maintainer