pls.cr v0.2.0

A small library to read PLS files (playlists) in Crystal

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

  1. Fork it ( https://github.com/tijn/pls/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • tijn Tijn Schuurmans - creator, maintainer
Repository

pls.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 1
  • 0
  • almost 7 years ago
  • September 24, 2017
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 11:22:41 GMT

Languages