Skip to content

Instantly share code, notes, and snippets.

View danelowe's full-sized avatar

danelowe

  • Auckland, New Zealand
View GitHub Profile
@danelowe
danelowe / README.markdown
Last active March 14, 2024 22:25
Mopidy and librespot (spotify connect)

Method taken from https://github.com/pimusicbox/pimusicbox

Assuming mopidy and Iris etc are already installed, we need to install mpc, so that we can stop playback on mopidy when we use spotify connect

sudo apt-get install mpc 

Then we install the easiest librespot spotify connect system

import { Component, defineAsyncComponent, defineComponent, h } from 'vue'
export function hydrateNever(componentOrFactory: Component): Component {
return makeHydrationBlocker(componentOrFactory, {
beforeCreate() {
this.never = true
},
})
}