Difference between revisions of "Bemix Notes"
From SlugWiki
Line 3: | Line 3: | ||
==Players== | ==Players== | ||
− | * (c)play?playerId=x | + | * (s,c)play?playerId=x |
− | * (c)pause?playerId=x | + | * (s,c)pause?playerId=x |
− | * (c)stop?playerId=x | + | * (s,c)stop?playerId=x |
− | * (c)loadList?playerId=x&playlistId=y | + | * (s,c)loadList?playerId=x&playlistId=y |
* (s,c)player?playerId=x | * (s,c)player?playerId=x | ||
Line 22: | Line 22: | ||
* (s,c)players | * (s,c)players | ||
* (s,c)playlists | * (s,c)playlists | ||
+ | |||
+ | =Client Types= | ||
+ | ==Client== | ||
+ | The "client" output format returns data in a simple newline-delimited list. | ||
+ | "The playlist command's result:" | ||
+ | id=30 | ||
+ | name=the list | ||
+ | success=true |
Revision as of 20:46, 15 January 2006
URL Scheme
All URLs are relative to http://bemix.com/, and all URLs have an output=[html, client]. An example URL is http://bemix.com/play?output=client&playerId=2
Players
- (s,c)play?playerId=x
- (s,c)pause?playerId=x
- (s,c)stop?playerId=x
- (s,c)loadList?playerId=x&playlistId=y
- (s,c)player?playerId=x
Playlist
- (s,c)create?name=x
- (s,c)delete?playlistId=x
- (s,c)add?playlistId=x&song=y
- (s,c)remove?playlistId=x&index=y
- (s,c)playlist?playlistId=x
Browsing
- (s)browse?dir=x
General
- (s,c)players
- (s,c)playlists
Client Types
Client
The "client" output format returns data in a simple newline-delimited list. "The playlist command's result:" id=30 name=the list success=true