-
Notifications
You must be signed in to change notification settings - Fork 12
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
Media Sources #4
Conversation
c8d498e
to
46257dd
Compare
Oh-- it might be useful to also pass the üWave core object and the current user to Sources, so that a Source could use the üWave Play History, or the current user's liked videos on YouTube, or use the current user's preferences to hide videos that are not available in their country. Passing the üWave core object is fairly simple, but the current user would have to be passed to each method call. |
Although that might be over-engineering it. |
46257dd
to
d90e62f
Compare
Took a few clues from Browserify's |
d90e62f
to
5d110de
Compare
4103e90
to
58f96a1
Compare
58f96a1
to
cad8a25
Compare
A "current user's playlists" source cannot yet be implemented with this, but I'll merge this now to get a cleaner api-v1 repo, anyway. |
Implements a simple, pluggable media source API.
Sources are registered using a
source()
method:Then searches can be run like:
The search pagination implementation is incomplete.