-
-
{{ t('radio', 'Stream URL') }}
-
-
-
@@ -71,16 +52,16 @@ import AppContent from '@nextcloud/vue/dist/Components/AppContent'
import Breadcrumbs from '@nextcloud/vue/dist/Components/Breadcrumbs'
import Breadcrumb from '@nextcloud/vue/dist/Components/Breadcrumb'
import EmptyContent from '@nextcloud/vue/dist/Components/EmptyContent'
-import AppSidebar from '@nextcloud/vue/dist/Components/AppSidebar'
-import AppSidebarTab from '@nextcloud/vue/dist/Components/AppSidebarTab'
-import Navigation from './Navigation'
-import Table from './Table'
-import { Howl } from 'howler'
-
-import { generateUrl } from '@nextcloud/router'
+import generateUrl from '@nextcloud/router'
import { showError } from '@nextcloud/dialogs'
import axios from '@nextcloud/axios'
+import Navigation from './Navigation'
+import Sidebar from './Sidebar'
+import Table from './Table'
+
+import Howl from 'howler'
+
let audioPlayer = null
export default {
@@ -93,8 +74,7 @@ export default {
Breadcrumb,
Table,
EmptyContent,
- AppSidebar,
- AppSidebarTab,
+ Sidebar,
},
data: () => ({
tableData: [],
@@ -231,6 +211,7 @@ export default {
vm.$store.dispatch('isBuffering', false)
},
})
+ audioPlayer.unload()
audioPlayer.play()
audioPlayer.fade(0, vm.player.volume, 500)
diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
new file mode 100644
index 0000000..f3bf9e6
--- /dev/null
+++ b/src/components/Sidebar.vue
@@ -0,0 +1,28 @@
+