prints the message and start recording time.
message
: String
prints the message with the spent time.
returns the spent time in miliseconds.
message
: String
sets the path of the text file to record log history.
path
: String
Create a log record of the message.
message
: String
sets the path of the
json
file to store playlists data.
path
: String
returns an Array of source paths.
if requested playlist doesn't exist, returns null.
-
clientID
: String -
playlistID
: String
Sets a playlist with given id and list.
-
clientID
: String -
playlistID
: String -
playlist
: Array
returns an Array of user's playlists.
if requested playlist doesn't exist, returns null.
clientID
: String
A Shortcut for creating an HTML Element.
-
tagName
: String -
attributes
: Objecteach
{"key" : "value"}
pairs will be set as{"attribute name" : "value"}
-
childNodes
: Array [Node1, Node2, ...]
Header - DOM list
-
primaryButton
: HTMLElement -
primaryButton_icon
: HTMLElement -
title
: HTMLElement -
secondaryButton
: HTMLElement -
secondaryButton_icon
: HTMLElement
Shows the message via
console.log
, and starts recording time.
message
: String
Stops recording time. Shows the message via
console.log
with how long did the record take.
returns the spent time in miliseconds.
message
: String
Status of player.
-
playlist
: StringID of the playlist that is currently being played.
-
index
: Numberindex of the song that is currently being played.
Object of playlists.
each keys are playlistID, values are the Array of paths.
playlistID : [path1, path2, ...]
updates
audio.playlist[playlistID]
asynchronously.
resolves received data on success.
playlistID
: String
uploads
audio.playlist[playlistID]
asynchronously.
resolves updated playlist on success.
playlistID
: String
Lists of folders/files data in current path.
-
folder
: Array -
file
: Array
get a list of JSON data from server.
resolves an Array of{name:
String, type:
String, secured:
Boolean}
path
: String