OzymandiasTheGreat / mopidy-ytmusic

Mopidy extension for playling music/managing playlists in Youtube Music
Apache License 2.0
80 stars 28 forks source link

Cannot access mopidy ytmusic #44

Open GiannisA opened 2 years ago

GiannisA commented 2 years ago

Hello, This is not really an issue. It's more like me not succeeding to make this work. Just started using mopidy and I have installed your addon. I followed the instructions in the readme file and completed the procedure succesfuly (as far as I can tell). Now how do I access yt mousic though mopidy? When I access the mopidy server, I see the mobile and mopify web clients that I have installed but nothing more. Could you please give me a hand? Thank you

kmac commented 2 years ago

You'll have a library in mopidy that you can select your playlists from. Or you can use your mopidy client to search for an artist or a song, and add it to your mopidy playlist.

cprn commented 1 year ago

Unless it's still unclear: mopidy is a server that runs in the background (e.g. simplest case scenario you run it in terminal and leave the terminal open / minimized), then you talk to mopidy server through your mopidy client of choice:

  1. you've installed mopidy-mopify server extension so you can access your library through your browser by opening a website served at port 6680 of your local machine on your PC (or replace the IP with 192.168.x.x that points to your server machine in local network and open it on your phone), however, mopify was designed specifically for Spotify and doesn't seem to work with YouTube Music - you might want to try mopidy-musicbox instead (it's a very popular Mopidy webclient)
  2. you've also installed mopidy-mobile server extension so you can use Mopidy Mobile app on your Android device to browse your library, play media, etc.

If you don't see your music files or streaming services in Mopidy Mobile, double check your ~/.config/mopidy/mopidy.conf file (assuming mopidy runs in a terminal, if it runs as a service config file should be in /etc/mopidy/).

As an example, I use ncmpcpp which is a terminal client - there's a pretty simple tutorial on how to run mopidy + spotify + ncmpcpp on YouTube made by HexDSL, it's very similar with YouTube Music. The difference is to create authentication token for mopidy-ytmusic you run mopidy ytmusic setup in terminal and follow the instructions.