Code Monkey home page Code Monkey logo

Comments (3)

david8sen4 avatar david8sen4 commented on August 22, 2024

So I got this almost working right now.
My main fault has been using the wrong settings file.

I first used the settings for running as a service placed here: /etc/mopidy/mopidy.conf
After that I tried to run mopidy by simply typing "mopidy" to the console.

After I placed my setting at the config file placed here "/home/pi/.config/mopidy/mopidy.conf" I got a refresh token.

My second problem is, that I have to run it as a service and to get gmusic working I had to install the extension a second time for the user "mopidy" using this command:

sudo -u mopidy pip install https://github.com/mopidy/mopidy-gmusic/archive/master.zip

Had some issues with lxml and crashing OS all the time and had to try installation very often to get it installed. I tried five different SD Cards and multiple versions of Raspbian.

I still don't know where I can see the startup log for mopidy running as a service so I placed the same settings (refresh token) I got from running mopidy as user "pi" to the settings for running it as a service.

I can search for songs from Gmusic in Iris right now but have not been able to play one of the songs. There is also an issue of mopidy disconnecting from Iris all the time.

Maybe somebody can explain where I can see the URL for the gmusic extension refresh token while running mopidy as a service so I will try to do a fresh install hoping this will be the last.

many thanks!

from mopidy-gmusic.

jjok avatar jjok commented on August 22, 2024

From the docs:

You can use journalctl to view Mopidy’s log, including important error messages:

sudo journalctl -u mopidy

journalctl has many useful options, including -f/--follow and -e/--pager-end, so please check out journalctl --help and man journalctl.

https://docs.mopidy.com/en/latest/running/service/#service-management-with-systemd

from mopidy-gmusic.

jodal avatar jodal commented on August 22, 2024

Because of age and nothing concrete to address here, I'm closing this. Feel free to use the forum at https://discourse.mopidy.com to get further help.

from mopidy-gmusic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.