More logical naming conventions for seeking, 5s polling for updates
This commit is contained in:
@ -141,23 +141,23 @@ export function setRandom(random){
|
||||
}
|
||||
}
|
||||
|
||||
export function seek(time_position){
|
||||
return {
|
||||
type: 'MOPIDY_SEEK',
|
||||
time_position: parseInt(time_position)
|
||||
}
|
||||
}
|
||||
|
||||
export function getTimePosition(){
|
||||
return {
|
||||
type: 'MOPIDY_GET_TIME_POSITION'
|
||||
}
|
||||
}
|
||||
|
||||
export function setTimePosition(time_position){
|
||||
return {
|
||||
type: 'MOPIDY_SET_TIME_POSITION',
|
||||
time_position: parseInt(time_position)
|
||||
}
|
||||
}
|
||||
|
||||
export function timePosition(time_position){
|
||||
return {
|
||||
type: 'MOPIDY_TIME_POSITION',
|
||||
time_position: time_position
|
||||
time_position: parseInt(time_position)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user