shivasiddharth / GassistPi

Google Assistant for Single Board Computers
Other
1.02k stars 304 forks source link

Can't Use Library based Kodi functions #122

Closed supreme83 closed 6 years ago

supreme83 commented 6 years ago

actions.txt Testing through build and everything else seems to be working fine except for On Kodi options that require accessing library. Using library options restarts the Assistant service..... "OK Google, Play Avengers movie on Kodi" restarts Google Assistant service

and i hear the start up chime and "Hi" from the assistant.

I've attached my modified actions.py file and can provide any additional info of my build and any logs necessary, provided you can tell me how to retrieve them

shivasiddharth commented 6 years ago

It could be because of the NAS directory that you have given. Stop the assistant service using: sudo systemctl stop gassistpi-ok-google.service and manually start the main.py. So now when the assistant crashes, it will throw out the reason for the error.

supreme83 commented 6 years ago

actions.py.txt

Thanks for the reply. I actually corrected the issue by simply mounting the remote location as nfs drives and editing /etc/fstab to mount the locations at boot and adjusted Raspbian to pause and wait for network at boot to allow network discovery and mounting. In the Actions.py I simply used the local locations i mounted and it works seamlessly. Network locations set as your file locations within Kodi Library and within actions.py dont seem to work with the script to retrieve your kodi library. Must appear to be local file location for GassistPi to locate file and play. Unfortunately Google AIY was limited usage so i decided to try the https://github.com/shivasiddharth/Assistants-Pi setup. It works great with both alexa and aiy but is it installing the same directories? I ask because GassistPi did not seem to need to be deleted and works along side the Assistants setup but AIY was constantly triggered by my tv and wasting api quota for aiy, so i first renamed entire GassistPi file to Gassist.backup which made both Alexa and AIY stop working on next boot(no recognition on "Alexa" or "OK Google" (no custom wake word set). I renamed the file to original name and things worked on next boot.....I then instead renamed the GassistPi/src file to GassistPi/backup.src and Amazon Alexa works but only with my newly created custom wake word "Oasis". Again, my question is about the GAssistPi folder (i ask because these are both your developments and i see AssistantsPi did use the same "/home/pi/alexa-avs-sample-app" directory as alexa-avs-sample folder git would have. Is GassistPi part of the AssistantsPi setup or an unrelated folder?

shivasiddharth commented 6 years ago

Please do not open two issues for the same query. Will answer your query in the other git.

supreme83 commented 6 years ago

the question was related to this git initially and where it originates since it had to do with Gassist's placement once the other software is installed side by side.