-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when trying to play artist - gmusic #5
Comments
Hi thanks for the report. It was a while since I used the gmusic part so I'll have to check it out. (mostly use spotify and local music). This does sound a bit weird. The loading of artists and albums require |
Ok, looking over this one more time. It looks like the skill hasn't connected to the mopidy client properly and nothing has been registered (it's triggering the resume method which is to unpause music). I definitely need to make checks for this case and provide useful feedback. @martymulligan made this guide to get the skill working with spotify: https://github.com/martymulligan/mopidy_skill/wiki/PiCroft:-Install-Mopidy-w--Spotify-and-the-mopidy_skill-for-Mycroft Might be a good resource to check your installation while I keep searching and improving at my end =) |
thanks for looking into this and the hints. I had a look at the guide and it seems pretty straight forward. i removed the skill (just cloned it to not sure if this is any helpful, but the first time the error pops up is during initial reloading of all skills (im just starting with mycroft so not sure what triggers this, but all skills are reloaded when initialising with
I think I had some issues with alsa and pulseaudio on mopidy before. I also had mopidy_skill in both `/opt/mopidy/skills and ~/.mycroft/third_party_skills. i think i have cleaned that up now. i still get the above error though. here is log from mopidy discovery and connection after i run
annd when i try to play a playlist it fails with this error now:
similarily for an artist:
i can also see this when i run with
and:
here is a request sent back from mopidy with some gmusic titles
i also have some local music in mopidy and it does not let me play that neither. next time i might try to remove gmusic from mopidy and see if your skill will work on local stuff. |
Thanks for the debug info. The error you're getting is that there's no matching intent found. Seems like The artist sub focus isn't getting registered and for I'm feeling lucky I have no idea why this fails. The intents for this skill require the Could you verify that the I've tested here and it's working for my files. |
the contents of vocab directory:
also found this in the log, not sure if the GFlags are for google music and if it is in any way related:
I have went through the logs carefully again and here is a full log from mopidy skill loading:
then i can see a long json being retrieved that interleaves debug messages from other skills. some of the fields say gmusic and type:directory. then the mopidy skill gets reloaded
and then I can see another reload that crashes:
|
Hmm, those reloads are a bit weird. But that's something that could potentially cause problems. Will try to fix it. |
Pushed a fix for the reload crash. should at least take care of that problem even if it's not the source of your problems it can't hurt =) |
hmm, are the reloads not normal behaviour in mycroft? all my skills keep reloading, maybe I should try to remove the source of that first? after the fix the previous error is gone and the mopidy_skill reloads fine all the time. when trying to play an artist (not sure if it knows how to handle 'play artist', but i tried with just 'play' with same result) i now get:
|
Well, the reload should only happen if the skill is modified. I guess it may be triggered by python generating .pyc files... I wonder if the reloads are messing with the connection tying up the port and then after the final reload it isn't connected. I'll try to trigger this reload behavior here and see what it yields. I'll keep you posted! |
Hey, thank you for the (hopefully? :) ) awesome skill.
i am trying to get mycroft play music from my google play music library.
i've setup the mopidy client with google play music and i can play it through an android mpd client.
i think i have installed your skill correctly, i can see it retrieving song names from mopidy during startup, but when i try to ask mycroft to play music (the widdler artist), this is what i get:
similarily, when trying Otz artist:
im on raspberry pi, installed manually with git clone. can provide more info if needed.
do you have any suggestions?
thanks,
nnm
The text was updated successfully, but these errors were encountered: