Default Failure action

I use mycroft mostly for Spotify and a few Home Assistant integrations.

I find that it is not able to return results from spoitfy very often.

I ask “play artist name” and sometime it responds “just one moment while i look for that” then plays the artist as expected.

Then if I try some other artists I get the same “just one moment while i look for that” then it starts playing AP news, which I don;t even have configured in my skills, I have CBC set up as I am in Canada.

Is this “AP news” a default response when the request is not processed correctly? is there any way to change it to something else?

Thanks

Hi redacted, thanks for flagging this.

Whilst there’s a default news station, you can also call any of the other news stations by name. This is particularly for countries where we have multiple providers. It sounds like “AP news” is matching a bit liberally.

To help us test this out, can you remember any of the queries that triggered it? The more the merrier :slight_smile:

My guess is that it is missing the match in Spotify. Can you clarify. When you call for the music, are you invoking Spotify by name or just saying play?

For example: “Play Hughy Lewis and the News on Spotify” should return something like their album “Four” from 1987. I think it’s their undisputed masterpiece.

If you simply say “Play Hughy Lewis and the News” then the Play skill will likely pick up on “News” and trigger your news playback.

I’m not sure the disabiguation software is working as intended at the moment. As Gez said above, can you provide some specifics so we can take a peek at the issue?

Thanks for the replies, I have been trying to invoke it using " play artist" and “play artist on spotify” both ended up playing ap news. None of them are Hughy Lewis an the News :wink:

I think I can reproduce the issue, I will try again later and pull the logs.

Thanks,

Playing WAVE '/home/pi/mycroft-core/mycroft/res/snd/start_listening.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
2020-01-14 14:30:50.408 | INFO     |   682 | __main__:handle_record_begin:37 | Begin Recording...
2020-01-14 14:30:53.171 | INFO     |   682 | __main__:handle_record_end:43 | End Recording...
2020-01-14 14:30:54.544 | INFO     |   682 | __main__:handle_utterance:64 | Utterance: ['play tyler childers']


2020-01-14 14:30:40.451 | INFO     |   676 | SpotifySkill | Pausing Spotify...
Removing event mycroft-spotify.forslund:MonitorSpotify
2020-01-14 14:30:50.432 | INFO     |   676 | VolumeSkill | MUTING!
2020-01-14 14:30:50.550 | INFO     |   676 | VolumeSkill | Volume before mute: 60
2020-01-14 14:30:50.552 | INFO     |   676 | VolumeSkill | 60
0
60
2020-01-14 14:30:56.184 | INFO     |   676 | Playback Control Skill | Resolving Player for: tyler childers
2020-01-14 14:30:56.354 | INFO     |   676 | SpotifySkill | Handling "tyler childers" as a genric query...
2020-01-14 14:30:56.355 | INFO     |   676 | SpotifySkill | Checking users playlists
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
2020-01-14 14:30:56.501 | INFO     |   676 | SpotifySkill | Spotify confidence: 0.8235294117647058
2020-01-14 14:30:56.524 | INFO     |   676 | SpotifySkill |               data: {'data': {'collaborative': False, 'description': '', 'external_urls': {'spotify': 'https://open.spotify.com/playlist/37i9dQZF1E4wx5r7lXoTNp'}, 'href': 'https://api.spotify.com/v1/playlists/37i9dQZF1E4wx5r7lXoTNp', 'id': '37i9dQZF1E4wx5r7lXoTNp', 'images': [{'height': None, 'url': 'https://seeded-session-images.scdn.co/v1/img/artist/13ZEDW6vyBF12HYcZRr4EV/en', 'width': None}], 'name': 'Tyler Childers Radio', 'owner': {'display_name': 'Spotify', 'external_urls': {'spotify': 'https://open.spotify.com/user/spotify'}, 'href': 'https://api.spotify.com/v1/users/spotify', 'id': 'spotify', 'type': 'user', 'uri': 'spotify:user:spotify'}, 'primary_color': None, 'public': False, 'snapshot_id': 'MjYzMTY4NzAsMDAwMDAwMDBhMGVhODExNWI1MTEwOWVkODI2ZjE4NTUwZmZiYmFmNQ==', 'tracks': {'href': 'https://api.spotify.com/v1/playlists/37i9dQZF1E4wx5r7lXoTNp/tracks', 'total': 50}, 'type': 'playlist', 'uri': 'spotify:playlist:37i9dQZF1E4wx5r7lXoTNp'}, 'name': 'tyler childers radio', 'type': 'playlist'}
Removing event mycroft-spotify.forslund:launch_librespot
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
2020-01-14 14:31:01.252 | INFO     |   676 | Playback Control Skill | Playing with: mycroft-npr-news.mycroftai
2020-01-14 14:31:01.573 | INFO     |   676 | SevereWeatherInformation | SevereWeatherInformation skill stop
2020-01-14 14:31:01.716 | INFO     |   676 | Playback Control Skill | Audio service status: {}
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  5 3165k    5  176k    0     0  27470      0  0:01:57  0:00:06  0:01:51 306992020-01-14 14:31:19.135 | INFO     |   676 | VolumeSkill | MUTING!
2020-01-14 14:31:19.261 | INFO     |   676 | VolumeSkill | Volume before mute: 60
2020-01-14 14:31:19.265 | INFO     |   676 | VolumeSkill | 60
0
60
2020-01-14 14:31:24.157 | INFO     |   676 | SevereWeatherInformation | SevereWeatherInformation skill stop
2020-01-14 14:31:24.272 | INFO     |   676 | Playback Control Skill | Audio service status: {'artist': '', 'album': ''}
2020-01-14 14:31:43.221 | INFO     |   676 | VolumeSkill | MUTING!
2020-01-14 14:31:43.328 | INFO     |   676 | VolumeSkill | Volume before mute: 60
2020-01-14 14:31:43.329 | INFO     |   676 | VolumeSkill | 60
0
60
2020-01-14 14:32:08.194 | INFO     |   676 | VolumeSkill | MUTING!
2020-01-14 14:32:08.298 | INFO     |   676 | VolumeSkill | Volume before mute: 60
2020-01-14 14:32:08.307 | INFO     |   676 | VolumeSkill | 60

High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.25.10; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

Directory: /tmp/mycroft/cache/tts/GoogleTTS/
Playing MPEG stream 1 of 1: 593a45a785a12130317b1ce3c97b9cc2.mp3 ...

MPEG 2.0 L III cbr32 24000 mono

mpg123: death by SIGTERM

[0:01] Decoding of 593a45a785a12130317b1ce3c97b9cc2.mp3 finished.
2020-01-14 14:31:01.519 | INFO     |   679 | mycroft.audio.speech:mute_and_speak:120 | Speak: Here is this hour's news on YLE.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.25.10; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

mycroft_fail

Ah yeah, I see what’s happening.

The Skill is searching for a match of the station acronym in the utterance. As it found YLE in “tyler” it reported a high confidence level which was apparently higher than Spotify’s confidence.

Thanks for reporting this, I’ve got a fix in the works so we’ll try get that out to devices as soon as possible.

Great! thanks. let me know if you need anything else.

1 Like

Hey, I seem to be having this same problem; no matter what I request it defaults to some news playback. Were you able to fix this?