Testing and Feedback for Kodi Skill

Yes, I have followed that. successfully signed in and search works, but it wont play videos. says “check log for details”. I have yet to find the location of said log file… :smiley:
I have a feeling it might be some sort of port conflict or something since it is the kodi that runs on the same device as picroft. My other kodi instance that runs on another Rpi (libeelec) plays youtube without problems.

Hi,

I keep having issues with youtube playback. I plays songs, but doesn’t play more vaguely formulated searches that should bring any number of results in youtube search.
Log:

Thanks for the detail logs. There is an issue in how an error from api is being handled. I should be able to correct and a change should get pushed to your device shortly.

Hello,
as of today youtube has stopped working. Here is the output:

It works if I cast it from Yatse, so I assume its a Mycroft issue. Can you have a look?

Thanks for the logs. I am getting a different error but an error none the less. I will investigate and let you know what I find.

@enstain
I pushed some changes to the repo so they should get pulled down to your device soon. I was not able to re-create your exact issue but I did encounter an issue when attempting to ‘play sunday morning jazz from youtube’. Let me know if this works for you now.
Cheers!

Hello,

still not working…

Tried some other music - the same result:

Thanks for the logs. I do have some plans to clean up the youtube integration it is a bit of a mess right now. I am still unable to reproduce this issue so the logs are definitely helpful. Give me a few days to work through the new youtube integration. Thanks for testing this skill.

no problem. since I don’t know coding, I am glad to help in anyway :slight_smile:

I managed to get some time to refactor the youtube stuff and hopefully won’t break as often Looks like it is working for me. try an msm update to pull the latest updates. I integrated the youtube_searcher that @JarbasAl created it is much cleaner than the mess I was attempting.

Yes, it works so far. :slight_smile: did you have any time to look at the tv shows to play the last unwatched episode?

I did look into it a while back and add a couple hooks to make it easier but then got busy on other things. I will have another look and see if I can wrap it up.

Hi again :smiley:
youtube stopped working again. not much of a log output, so I am not sure if this is a skill issue or something else:

10:23:39.179 | INFO | 769 | Playback Control Skill | Resolving Player for: poisoning pidgeons in the park on youtube
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
10:23:42.166 | INFO | 769 | Playback Control Skill | No matches
10:24:06.551 | INFO | 769 | Playback Control Skill | Resolving Player for: sunday morning jazz on youtube
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
10:24:08.202 | INFO | 769 | Playback Control Skill | No matches

Thought I’d check in and see if you had any success today with your Sunday morning jazz?

Well it sometimes works and sometimes it doesn’t. Mistery…

Hello,

I have some new log output for you to figure out :smiley:

Why does it keep breaking or whatever is happening to it?

I will have another look at this. Not sure why you continue to have intermittent problems. The command does work on my system.

Neither youtube nor kodi commands don’t work. Maybe it is a problem with my system? I am running it on Rpi4. The base is Picroft image, but kodi is also installed in the same system. Perhaps I was supposed to do it differently? I just used apt-get Kodi and it works.
Also I constantly face an issue that after a longer period mycroft sais it is not connected to the internet on the first command, but works if I repeat it…

One thing that may be worth investigating is what version of python Kodi is using. I know that kodi has migrated to Python3 now but the subversion may be causing some issues with the dependencies between kodi and mycroft. This is complete speculation on my part. I run my kodi and picroft on two different pieces of hardware. When I get a chance I may have a look and see what python they are both using.