2020-07-16 22:11:28 +00:00
|
|
|
import { socket } from '@/utils/socket'
|
2020-04-22 20:06:59 +00:00
|
|
|
|
|
|
|
function sendAddToQueue(url, bitrate = null) {
|
2020-06-19 09:10:47 +00:00
|
|
|
if (url != '') {
|
2020-07-16 20:20:13 +00:00
|
|
|
socket.emit('addToQueue', { url: url, bitrate: bitrate }, () => {})
|
2020-04-22 20:06:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
2020-07-14 20:27:48 +00:00
|
|
|
sendAddToQueue
|
2020-04-22 20:06:59 +00:00
|
|
|
}
|