Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rzajac/cliplparser
Command line playlist parser / detector in pure Go.
https://github.com/rzajac/cliplparser
Last synced: 3 days ago
JSON representation
Command line playlist parser / detector in pure Go.
- Host: GitHub
- URL: https://github.com/rzajac/cliplparser
- Owner: rzajac
- Created: 2013-05-08T23:28:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-08T23:29:23.000Z (over 11 years ago)
- Last Synced: 2023-03-24T23:47:49.980Z (over 1 year ago)
- Language: Go
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Command line playlist parser in Go
Command line playlist parser / detector in pure Go.
# Supported playlist formats
* PLS
* ASX
* ASF
* M3U# Installation / compilation
1. Clone this repo
2. Run `go get github.com/rzajac/plparser`
3. Run `go build cliplparser.go`
4. Enjoy# Updating
Run
go get -u github.com/rzajac/plparser
go get -u github.com/rzajac/cliplparserCompile again.
# Benchmarking
go test -bench=".*" github.com/rzajac/plparser
# Usage
$ ./cliplparser
Wrong number of argumants.Usage:
cliplparser [options] playlist_file | URL
Options:
--json Return JSON string instead of text.
--timeout n Set timeout for HTTP connections, where n is number of seconds.Notes:
URL must start with http:// or https://# See
Go and see the the library this tool is using [http://github.com/rzajac/plparser](http://github.com/rzajac/plparser)
# License
Licensed under the MIT license