Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLS parser #1

Closed
ProjectMoon opened this issue Oct 16, 2011 · 0 comments
Closed

PLS parser #1

ProjectMoon opened this issue Oct 16, 2011 · 0 comments
Assignees

Comments

@ProjectMoon
Copy link
Owner

File format: http://en.wikipedia.org/wiki/PLS_(file_format)

Should pretty much only need to be one function.

Input: string (contents of PLS file)
Output: object representation of the contents of the PLS file.

Maybe something like this:

[
    {
        file: 'http://example.com/stream.mp3',
        length: -1
    },
    {
        file: 'http://example.com/stream2.mp3',
        length: -1
    }
]

In this example, the returned object is a list, whose length is equal to the number of records, and each entry in the list is a particular file. That is, File1 becomes index 0, and File2 would be index 1.

@ghost ghost assigned deltascope Oct 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants