mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-11 21:58:11 -05:00
15 lines
278 B
JavaScript
15 lines
278 B
JavaScript
import { defineStore } from 'pinia'
|
|
|
|
export const usePlayerStore = defineStore('PlayerStore', {
|
|
state: () => ({
|
|
consume: false,
|
|
item_id: 0,
|
|
item_length_ms: 0,
|
|
item_progress_ms: 0,
|
|
repeat: 'off',
|
|
shuffle: false,
|
|
state: 'stop',
|
|
volume: 0
|
|
})
|
|
})
|