Open arjunalwe opened 4 years ago
Give me frontend log and backend log.
[YOUTUBE] Control: getPlayerState null MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null
[15:20:43.350] [LOG] [AMK2] ASSISTANT_RESULT { session: 1585596038982, error: null, action: { requestId: '5e7d111a-0000-2443-ba9a-30fd381514c0' }, text: null, screen: {
the first one was from npm start dev
the second one was from the terminal
Both are not complete log. those are cut.
[15:17:46.862] [LOG] Starting MagicMirror: v2.10.1 [15:17:46.875] [LOG] Loading config ... [15:17:46.884] [LOG] Loading module helpers ... [15:17:46.888] [LOG] No helper found for module: alert. [15:17:46.963] [LOG] Initializing new module helper ... [15:17:46.965] [LOG] Module helper loaded: updatenotification [15:17:46.966] [LOG] No helper found for module: clock. [15:17:47.650] [LOG] Initializing new module helper ... [15:17:47.651] [LOG] Module helper loaded: calendar [15:17:47.652] [LOG] No helper found for module: compliments. [15:17:47.659] [LOG] No helper found for module: currentweather. [15:17:47.661] [LOG] No helper found for module: weatherforecast. [15:17:47.968] [LOG] Initializing new module helper ... [15:17:47.969] [LOG] Module helper loaded: MMM-Hotword [15:17:50.308] [LOG] Initializing new module helper ... [15:17:50.309] [LOG] Module helper loaded: MMM-AssistantMk2 [15:17:50.313] [LOG] Initializing new module helper ... [15:17:50.315] [LOG] Module helper loaded: MMM-COVID19 [15:17:50.333] [LOG] Initializing new module helper ... [15:17:50.334] [LOG] Module helper loaded: MMM-Spotify [15:17:50.335] [LOG] No helper found for module: MMM-YouTube. [15:17:50.461] [LOG] Initializing new module helper ... [15:17:50.462] [LOG] Module helper loaded: MMM-Remote-Control [15:17:50.515] [LOG] Initializing new module helper ... [15:17:50.517] [LOG] Module helper loaded: newsfeed [15:17:50.519] [LOG] All module helpers loaded. [15:17:50.521] [LOG] Starting server on port 8080 ... [15:17:50.553] [LOG] Server started ... [15:17:50.555] [LOG] Connecting socket for: updatenotification [15:17:50.557] [LOG] Connecting socket for: calendar [15:17:50.559] [LOG] Starting node helper for: calendar [15:17:50.561] [LOG] Connecting socket for: MMM-Hotword [15:17:50.564] [LOG] [HOTWORD] MMM-Hotword starts [15:17:50.567] [LOG] Connecting socket for: MMM-AssistantMk2 [15:17:50.569] [LOG] Connecting socket for: MMM-COVID19 [15:17:50.571] [LOG] Starting node helper for: MMM-COVID19 [15:17:50.572] [LOG] Connecting socket for: MMM-Spotify [15:17:50.578] [LOG] [SPOTIFY_AUTH] Token is fresh. [15:17:50.580] [LOG] Connecting socket for: MMM-Remote-Control [15:17:50.581] [LOG] Starting node helper for: MMM-Remote-Control [15:17:50.600] [LOG] Connecting socket for: newsfeed [15:17:50.603] [LOG] Starting module: newsfeed [15:17:50.604] [LOG] Sockets connected & modules started ... [15:17:50.765] [LOG] Launching application. [15:17:54.758] [LOG] Create new calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics - Interval: 300000 [15:17:55.001] [LOG] [HOTWORD] Recipe is loaded: with-AMk2v3_smart-mirror.js [15:17:55.013] [LOG] Create new news fetcher for url: https://rss.cbc.ca/lineup/topstories.xml - Interval: 300000 [15:17:55.316] [LOG] [AMK2] MMM-AssistantMk2 Version: 3.1.2 [15:17:55.321] [LOG] [AMK2] RECIPE_LOADED: with-MMM-Hotword.js [15:17:55.326] [LOG] [AMK2] RECIPE_LOADED: with-MMM-Youtube.js [15:17:55.327] [LOG] [AMK2] NO_ACTION_TO_MANAGE [15:17:55.359] [LOG] [AMK2] Response delay is set to 0.45 second [15:17:55.361] [LOG] [AMK2] Use HTML5 for audio response [15:17:55.363] [LOG] [AMK2:WEB] ASSISTANT_WEB Started [15:17:55.364] [LOG] [AMK2] AssistantMk2 is initialized. [15:17:55.453] [LOG] [AMK2] tmp directory is now cleaned. [15:17:55.742] [LOG] [MMM-Spotify] Starting [15:17:55.796] [LOG] [HOTWORD] begins. [15:17:55.810] [LOG] [HOTWORD] Detector starts listening. ^Cpi@raspberrypi:~/MagicMirror $ npm start dev
magicmirror@2.10.1 start /home/pi/MagicMirror ./run-start.sh "dev"
[15:19:16.137] [LOG] Starting MagicMirror: v2.10.1 [15:19:16.150] [LOG] Loading config ... [15:19:16.167] [LOG] Loading module helpers ... [15:19:16.172] [LOG] No helper found for module: alert. [15:19:16.270] [LOG] Initializing new module helper ... [15:19:16.272] [LOG] Module helper loaded: updatenotification [15:19:16.274] [LOG] No helper found for module: clock. [15:19:16.965] [LOG] Initializing new module helper ... [15:19:16.967] [LOG] Module helper loaded: calendar [15:19:16.968] [LOG] No helper found for module: compliments. [15:19:16.969] [LOG] No helper found for module: currentweather. [15:19:16.970] [LOG] No helper found for module: weatherforecast. [15:19:17.304] [LOG] Initializing new module helper ... [15:19:17.306] [LOG] Module helper loaded: MMM-Hotword [15:19:19.626] [LOG] Initializing new module helper ... [15:19:19.627] [LOG] Module helper loaded: MMM-AssistantMk2 [15:19:19.630] [LOG] Initializing new module helper ... [15:19:19.632] [LOG] Module helper loaded: MMM-COVID19 [15:19:19.649] [LOG] Initializing new module helper ... [15:19:19.651] [LOG] Module helper loaded: MMM-Spotify [15:19:19.652] [LOG] No helper found for module: MMM-YouTube. [15:19:19.788] [LOG] Initializing new module helper ... [15:19:19.789] [LOG] Module helper loaded: MMM-Remote-Control [15:19:19.840] [LOG] Initializing new module helper ... [15:19:19.842] [LOG] Module helper loaded: newsfeed [15:19:19.843] [LOG] All module helpers loaded. [15:19:19.847] [LOG] Starting server on port 8080 ... [15:19:19.890] [LOG] Server started ... [15:19:19.893] [LOG] Connecting socket for: updatenotification [15:19:19.896] [LOG] Connecting socket for: calendar [15:19:19.898] [LOG] Starting node helper for: calendar [15:19:19.899] [LOG] Connecting socket for: MMM-Hotword [15:19:19.902] [LOG] [HOTWORD] MMM-Hotword starts [15:19:19.905] [LOG] Connecting socket for: MMM-AssistantMk2 [15:19:19.907] [LOG] Connecting socket for: MMM-COVID19 [15:19:19.910] [LOG] Starting node helper for: MMM-COVID19 [15:19:19.913] [LOG] Connecting socket for: MMM-Spotify [15:19:19.923] [LOG] [SPOTIFY_AUTH] Token is fresh. [15:19:19.925] [LOG] Connecting socket for: MMM-Remote-Control [15:19:19.927] [LOG] Starting node helper for: MMM-Remote-Control [15:19:19.945] [LOG] Connecting socket for: newsfeed [15:19:19.949] [LOG] Starting module: newsfeed [15:19:19.953] [LOG] Sockets connected & modules started ... [15:19:20.163] [LOG] Launching application. [15:19:27.018] [LOG] Create new calendar fetcher for url: https://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics - Interval: 300000 [15:19:27.481] [LOG] [HOTWORD] Recipe is loaded: with-AMk2v3_smart-mirror.js [15:19:27.578] [LOG] Create new news fetcher for url: https://rss.cbc.ca/lineup/topstories.xml - Interval: 300000 [15:19:28.568] [LOG] [AMK2] MMM-AssistantMk2 Version: 3.1.2 [15:19:28.578] [LOG] [AMK2] RECIPE_LOADED: with-MMM-Hotword.js [15:19:28.592] [LOG] [AMK2] RECIPE_LOADED: with-MMM-Youtube.js [15:19:28.601] [LOG] [AMK2] NO_ACTION_TO_MANAGE [15:19:28.697] [LOG] [AMK2] Response delay is set to 0.45 second [15:19:28.704] [LOG] [AMK2] Use HTML5 for audio response [15:19:28.707] [LOG] [AMK2:WEB] ASSISTANT_WEB Started [15:19:28.709] [LOG] [AMK2] AssistantMk2 is initialized. [15:19:28.891] [LOG] [AMK2] tmp directory is now cleaned. [15:19:29.135] [LOG] [HOTWORD] begins. [15:19:29.139] [LOG] [HOTWORD] Detector starts listening. [15:19:29.866] [LOG] [MMM-Spotify] Starting [15:19:47.933] [LOG] [HOTWORD] Detected: SMARTMIRROR [15:19:48.430] [LOG] [HOTWORD] After Recording: 8000 [15:19:48.651] [LOG] [HOTWORD] After Recording: 4000 [15:19:48.662] [LOG] [HOTWORD] After Recording: 4000 [15:19:48.900] [LOG] [HOTWORD] After Recording: 4000 [15:19:48.911] [LOG] [HOTWORD] After Recording: 4000 [15:19:49.152] [LOG] [HOTWORD] After Recording: 8000 [15:19:49.419] [LOG] [HOTWORD] After Recording: 4000 [15:19:49.446] [LOG] [HOTWORD] After Recording: 4000 [15:19:49.650] [LOG] [HOTWORD] After Recording: 4000 [15:19:49.663] [LOG] [HOTWORD] After Recording: 4000 [15:19:49.904] [LOG] [HOTWORD] After Recording: 4000 [15:19:49.917] [LOG] [HOTWORD] After Recording: 4000 [15:19:50.158] [LOG] [HOTWORD] After Recording: 4000 [15:19:51.385] [LOG] [HOTWORD] stops. [15:19:51.391] [LOG] [HOTWORD] After Recording finised. size: 60050 [15:19:51.403] [LOG] [HOTWORD:B2W] WAV_FILE_CREATED: /home/pi/MagicMirror/modules/MMM-Hotword/temp/afterRecording.wav 60050 [15:19:51.405] [LOG] [HOTWORD] Final Result: { detected: true, hotword: 'SMARTMIRROR', file: 'temp/afterRecording.wav' } [15:19:51.992] [LOG] [AMK2] QUERY: { type: 'WAVEFILE', profile: { profileFile: 'default.json', lang: 'en-US' }, key: 'modules/MMM-Hotword/temp/afterRecording.wav', lang: null, useScreenOutput: true, useAudioOutput: true, useHTML5: true, session: 1585595991428, status: 'standby', chime: true, secretMode: false, sayMode: false } [15:19:52.199] [LOG] [AMK2:BM] MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3 [15:19:53.039] [LOG] [AMK2:AS] CONVERSATION:RESPONSE [15:19:53.429] [LOG] [AMK2:AS] CONVERSATION:END_OF_UTTERANCE [15:19:53.435] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play', done: false } [15:19:53.532] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play by', done: false } [15:19:53.562] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play boy', done: false } [15:19:53.585] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play why', done: false } [15:19:53.620] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play Bon', done: false } [15:19:53.640] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play Blind', done: false } [15:19:53.653] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding', done: false } [15:19:53.673] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding', done: false } [15:19:53.687] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding by', done: false } [15:19:53.699] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding light', done: false } [15:19:53.712] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights', done: false } [15:19:53.720] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights', done: false } [15:19:53.857] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights', done: true } [15:19:55.977] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:19:55.984] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:19:55.988] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:19:55.991] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:19:55.993] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1472 [15:19:56.032] [LOG] [AMK2:AS] CONVERSATION:SCREEN object [15:19:56.045] [LOG] [AMK2:AS] CONVERSATION:ACTION { requestId: '5e7e6e72-0000-2c49-90c5-2405887e8cec' } [15:19:56.051] [LOG] [AMK2:AS] CONVERSATION:RESPONSE [15:19:56.061] [LOG] [AMK2:AS] CONVERSATION_ALL_RESPONSES_RECEIVED [15:19:56.063] [LOG] [AMK2:AS] CONVERSATION_END:COMPLETED [15:19:56.065] [LOG] [AMK2:AS] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED [15:19:56.069] [LOG] [AMK2:BM] MP3 FILE CREATED [15:19:56.142] [LOG] [AMK2:SP] HELP:WORD About Blinding Lights [15:19:56.144] [LOG] [AMK2:SP] HELP:WORD What about Heartless? [15:19:56.146] [LOG] [AMK2:SP] HELP:WORD What's the weeknd's number? [15:19:56.150] [LOG] [AMK2:SP] TRYSAY:TRANSLATE Try saying… [15:19:56.427] [LOG] [AMK2:SP] CONVERSATION:SCREENOUTPUT_CREATED [15:19:56.429] [LOG] [AMK2] ASSISTANT_RESULT { session: 1585595991428, error: null, action: { requestId: '5e7e6e72-0000-2c49-90c5-2405887e8cec' }, text: null, screen: { text: '"The Weeknd - Blinding Lights - YouTube" ( ' + 'm.youtube.com - ' + 'https://m.youtube.com/watch?v=4NRXx6U8ABQ )', links: [ 'https://m.youtube.com/watch?v=4NRXx6U8ABQ' ], photos: [], help: [ 'About Blinding Lights', 'What about Heartless?', "What's the weeknd's number?" ], trysay: 'Try saying…', path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastScreenOutput.html', uri: 'tmp/lastScreenOutput.html' }, audio: { path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3', uri: 'tmp/lastResponse.mp3' }, transcription: { transcription: 'play blinding lights', done: true }, continue: false, volume: null, lastQuery: { type: 'WAVEFILE', profile: { profileFile: 'default.json', lang: 'en-US' }, key: 'modules/MMM-Hotword/temp/afterRecording.wav', lang: null, useScreenOutput: true, useAudioOutput: true, useHTML5: true, session: 1585595991428, status: 'standby', chime: true, secretMode: false, sayMode: false } } [15:19:56.557] [LOG] [HOTWORD] begins. [15:19:56.563] [LOG] [HOTWORD] Detector starts listening. [15:20:10.201] [LOG] [HOTWORD] Detected: SMARTMIRROR [15:20:11.415] [LOG] [HOTWORD] stops. [15:20:11.421] [LOG] [HOTWORD] After Recording is too short [15:20:11.423] [LOG] [HOTWORD] Final Result: { detected: true, hotword: 'SMARTMIRROR', file: null } [15:20:12.090] [LOG] [AMK2] QUERY: { type: 'MIC', profile: { profileFile: 'default.json', lang: 'en-US' }, key: null, lang: null, useScreenOutput: true, useAudioOutput: true, useHTML5: true, session: 1585596011480, status: 'standby', chime: true, secretMode: false, sayMode: false } [15:20:12.128] [LOG] [AMK2:BM] MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3 [15:20:12.182] [LOG] [AMK2:AS] MIC:RECORDING START. [15:20:12.310] [LOG] [AMK2:16] START LISTENING 1 channels with sample rate 16000 [15:20:14.235] [LOG] [AMK2:AS] CONVERSATION:RESPONSE [15:20:18.022] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'stop', done: false } [15:20:18.401] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'stop', done: false } [15:20:19.896] [LOG] [AMK2:AS] CONVERSATION:END_OF_UTTERANCE [15:20:19.898] [LOG] [AMK2:AS] MIC:RECORDING_END [15:20:19.903] [LOG] [AMK2:16] STOP LISTENING [15:20:19.917] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'stop', done: true } [15:20:19.962] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:19.970] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:19.975] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:19.991] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:19.995] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:19.997] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1408 [15:20:20.002] [LOG] [AMK2:AS] CONVERSATION:RESPONSE [15:20:20.007] [LOG] [AMK2:AS] CONVERSATION_ALL_RESPONSES_RECEIVED [15:20:20.009] [LOG] [AMK2:AS] CONVERSATION_END:COMPLETED [15:20:20.010] [LOG] [AMK2:AS] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED [15:20:20.033] [LOG] [AMK2:BM] MP3 FILE CREATED [15:20:20.035] [LOG] [AMK2] ASSISTANT_RESULT { session: 1585596011480, error: null, action: null, text: null, screen: null, audio: { path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3', uri: 'tmp/lastResponse.mp3' }, transcription: { transcription: 'stop', done: true }, continue: false, volume: null, lastQuery: { type: 'MIC', profile: { profileFile: 'default.json', lang: 'en-US' }, key: null, lang: null, useScreenOutput: true, useAudioOutput: true, useHTML5: true, session: 1585596011480, status: 'standby', chime: true, secretMode: false, sayMode: false } } [15:20:23.167] [LOG] [HOTWORD] begins. [15:20:23.180] [LOG] [HOTWORD] Detector starts listening. [15:20:35.496] [LOG] [HOTWORD] Detected: SMARTMIRROR [15:20:35.724] [LOG] [HOTWORD] After Recording: 4000 [15:20:35.969] [LOG] [HOTWORD] After Recording: 4000 [15:20:35.980] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.221] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.233] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.469] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.480] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.738] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.756] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.971] [LOG] [HOTWORD] After Recording: 4000 [15:20:36.985] [LOG] [HOTWORD] After Recording: 4000 [15:20:37.235] [LOG] [HOTWORD] After Recording: 8000 [15:20:37.476] [LOG] [HOTWORD] After Recording: 8000 [15:20:37.720] [LOG] [HOTWORD] After Recording: 4000 [15:20:37.733] [LOG] [HOTWORD] After Recording: 4000 [15:20:38.954] [LOG] [HOTWORD] stops. [15:20:38.958] [LOG] [HOTWORD] After Recording finised. size: 68050 [15:20:38.963] [LOG] [HOTWORD:B2W] WAV_FILE_CREATED: /home/pi/MagicMirror/modules/MMM-Hotword/temp/afterRecording.wav 68050 [15:20:38.964] [LOG] [HOTWORD] Final Result: { detected: true, hotword: 'SMARTMIRROR', file: 'temp/afterRecording.wav' } [15:20:39.509] [LOG] [AMK2] QUERY: { type: 'WAVEFILE', profile: { profileFile: 'default.json', lang: 'en-US' }, key: 'modules/MMM-Hotword/temp/afterRecording.wav', lang: null, useScreenOutput: true, useAudioOutput: true, useHTML5: true, session: 1585596038982, status: 'standby', chime: true, secretMode: false, sayMode: false } [15:20:39.541] [LOG] [AMK2:BM] MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3 [15:20:40.528] [LOG] [AMK2:AS] CONVERSATION:RESPONSE [15:20:40.882] [LOG] [AMK2:AS] CONVERSATION:END_OF_UTTERANCE [15:20:40.886] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'turn', done: false } [15:20:40.943] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play', done: false } [15:20:41.012] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play by', done: false } [15:20:41.032] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play boy', done: false } [15:20:41.037] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blah', done: false } [15:20:41.048] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play Bon', done: false } [15:20:41.054] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play Blind', done: false } [15:20:41.062] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding', done: false } [15:20:41.083] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding by', done: false } [15:20:41.092] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding light', done: false } [15:20:41.099] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding light', done: false } [15:20:41.106] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights', done: false } [15:20:41.354] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights', done: true } [15:20:42.987] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:42.994] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:42.997] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:43.001] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600 [15:20:43.003] [LOG] [AMK2:AS] CONVERSATION:AUDIO 128 [15:20:43.148] [LOG] [AMK2:AS] CONVERSATION:SCREEN object [15:20:43.153] [LOG] [AMK2:AS] CONVERSATION:ACTION { requestId: '5e7d111a-0000-2443-ba9a-30fd381514c0' } [15:20:43.158] [LOG] [AMK2:AS] CONVERSATION:RESPONSE [15:20:43.161] [LOG] [AMK2:AS] CONVERSATION_ALL_RESPONSES_RECEIVED [15:20:43.162] [LOG] [AMK2:AS] CONVERSATION_END:COMPLETED [15:20:43.163] [LOG] [AMK2:AS] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED [15:20:43.164] [LOG] [AMK2:BM] MP3 FILE CREATED [15:20:43.186] [LOG] [AMK2:SP] HELP:WORD About Blinding Lights [15:20:43.187] [LOG] [AMK2:SP] HELP:WORD What about Heartless? [15:20:43.188] [LOG] [AMK2:SP] HELP:WORD What's the weeknd's number? [15:20:43.191] [LOG] [AMK2:SP] TRYSAY:TRANSLATE Try saying… [15:20:43.349] [LOG] [AMK2:SP] CONVERSATION:SCREENOUTPUT_CREATED [15:20:43.350] [LOG] [AMK2] ASSISTANT_RESULT { session: 1585596038982, error: null, action: { requestId: '5e7d111a-0000-2443-ba9a-30fd381514c0' }, text: null, screen: { text: '"The Weeknd - Blinding Lights - YouTube" ( ' + 'm.youtube.com - ' + 'https://m.youtube.com/watch?v=4NRXx6U8ABQ )', links: [ 'https://m.youtube.com/watch?v=4NRXx6U8ABQ' ], photos: [], help: [ 'About Blinding Lights', 'What about Heartless?', "What's the weeknd's number?" ], trysay: 'Try saying…', path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastScreenOutput.html', uri: 'tmp/lastScreenOutput.html' }, audio: { path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3', uri: 'tmp/lastResponse.mp3' }, transcription: { transcription: 'play blinding lights', done: true }, continue: false, volume: null, lastQuery: { type: 'WAVEFILE', profile: { profileFile: 'default.json', lang: 'en-US' }, key: 'modules/MMM-Hotword/temp/afterRecording.wav', lang: null, useScreenOutput: true, useAudioOutput: true, useHTML5: true, session: 1585596038982, status: 'standby', chime: true, secretMode: false, sayMode: false } } [15:20:43.450] [LOG] [HOTWORD] begins. [15:20:43.454] [LOG] [HOTWORD] Detector starts listening. [15:40:20.041] [LOG] [SPOTIFY_AUTH] Token refreshing... [15:40:20.518] [LOG] [SPOTIFY_AUTH] Token is written. Shutting down server... [16:22:36.291] [LOG] Stopping module helper: updatenotification [16:22:36.293] [LOG]
This is from the first time I asked to play a video (which displayed the video) to the second time I asked (where it didn't show the video only the audio)
[HOTWORD] Command is excuting
MMM-Hotword.js:215 [HOTWORD] notificationExec: ASSISTANT_ACTIVATE {profile: "default", type: "WAVEFILE", key: "modules/MMM-Hotword/temp/afterRecording.wav"}
module.js:154 clock received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
module.js:154 calendar received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
module.js:198 alert is suspended.
module.js:198 MMM-Remote-Control is suspended.
MMM-AssistantMk2.js:560 [AMK2] Command CMD_HOTWORD_PAUSE is executed (notificationExec).
module.js:154 clock received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
newsfeed.js:370 newsfeed - received notification: HOTWORD_PAUSE
newsfeed.js:429 newsfeed - unknown notification, ignoring: HOTWORD_PAUSE
MMM-AssistantMk2.js:560 [AMK2] Command MUTE_YOUTUBE is executed (notificationExec).
module.js:154 clock received a module notification: YOUTUBE_CONTROL from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: YOUTUBE_CONTROL from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: YOUTUBE_CONTROL from sender: MMM-AssistantMk2
MMM-YouTube.js:200 [YOUTUBE] Control: mute null
newsfeed.js:370 newsfeed - received notification: YOUTUBE_CONTROL
newsfeed.js:429 newsfeed - unknown notification, ignoring: YOUTUBE_CONTROL
module.js:154 MMM-COVID19 received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
newsfeed.js:370 newsfeed - received notification: ASSISTANT_ACTIVATE
newsfeed.js:429 newsfeed - unknown notification, ignoring: ASSISTANT_ACTIVATE
module.js:154 clock received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 calendar received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 MMM-COVID19 received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
newsfeed.js:370 newsfeed - received notification: HOTWORD_SLEEPING
newsfeed.js:429 newsfeed - unknown notification, ignoring: HOTWORD_SLEEPING
module.js:198 clock is suspended.
module.js:198 calendar is suspended.
module.js:198 compliments is suspended.
module.js:198 currentweather is suspended.
module.js:198 weatherforecast is suspended.
module.js:198 MMM-Hotword is suspended.
module.js:198 MMM-COVID19 is suspended.
module.js:198 MMM-Spotify is suspended.
MMM-YouTube.js:200 [YOUTUBE] Control: getPlayerState null
module.js:198 newsfeed is suspended.
module.js:154 clock received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 calendar received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 MMM-COVID19 received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
newsfeed.js:370 newsfeed - received notification: HOTWORD_SLEEPING
newsfeed.js:429 newsfeed - unknown notification, ignoring: HOTWORD_SLEEPING
response.class.js:77 [AMK2] Status from standby to think
module.js:154 clock received a module notification: ASSISTANT_THINK from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: ASSISTANT_THINK from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: ASSISTANT_THINK from sender: MMM-AssistantMk2
newsfeed.js:370 newsfeed - received notification: ASSISTANT_THINK
newsfeed.js:429 newsfeed - unknown notification, ignoring: ASSISTANT_THINK
module.js:154 calendar received a module notification: CLOCK_SECOND from sender: clock
module.js:154 MMM-COVID19 received a module notification: CLOCK_SECOND from sender: clock
newsfeed.js:370 newsfeed - received notification: CLOCK_SECOND
newsfeed.js:429 newsfeed - unknown notification, ignoring: CLOCK_SECOND
module.js:154 calendar received a module notification: CLOCK_SECOND from sender: clock
module.js:154 MMM-COVID19 received a module notification: CLOCK_SECOND from sender: clock
newsfeed.js:370 newsfeed - received notification: CLOCK_SECOND
newsfeed.js:429 newsfeed - unknown notification, ignoring: CLOCK_SECOND
response.class.js:77 [AMK2] Status from think to confirmation
module.js:154 clock received a module notification: ASSISTANT_CONFIRMATION from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: ASSISTANT_CONFIRMATION from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: ASSISTANT_CONFIRMATION from sender: MMM-AssistantMk2
newsfeed.js:370 newsfeed - received notification: ASSISTANT_CONFIRMATION
newsfeed.js:429 newsfeed - unknown notification, ignoring: ASSISTANT_CONFIRMATION
module.js:154 calendar received a module notification: CLOCK_SECOND from sender: clock
module.js:154 MMM-COVID19 received a module notification: CLOCK_SECOND from sender: clock
newsfeed.js:370 newsfeed - received notification: CLOCK_SECOND
newsfeed.js:429 newsfeed - unknown notification, ignoring: CLOCK_SECOND
module.js:154 calendar received a module notification: CLOCK_SECOND from sender: clock
module.js:154 MMM-COVID19 received a module notification: CLOCK_SECOND from sender: clock
newsfeed.js:370 newsfeed - received notification: CLOCK_SECOND
newsfeed.js:429 newsfeed - unknown notification, ignoring: CLOCK_SECOND
MMM-AssistantMk2.js:486 [AMK2] ResponseHook matched: PLAY_YOUTUBE
response.class.js:77 [AMK2] Status from confirmation to hook
module.js:154 clock received a module notification: ASSISTANT_HOOK from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: ASSISTANT_HOOK from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: ASSISTANT_HOOK from sender: MMM-AssistantMk2
newsfeed.js:370 newsfeed - received notification: ASSISTANT_HOOK
newsfeed.js:429 newsfeed - unknown notification, ignoring: ASSISTANT_HOOK
MMM-AssistantMk2.js:583 [AMK2] Command PLAY_YOUTUBE is executed (moduleExec) for : MMM-AssistantMk2
module.js:154 clock received a module notification: YOUTUBE_LOAD from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: YOUTUBE_LOAD from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: YOUTUBE_LOAD from sender: MMM-AssistantMk2
MMM-YouTube.js:200 [YOUTUBE] Control: cueVideoById {videoId: "4NRXx6U8ABQ", suggestedQuality: "default"}
newsfeed.js:370 newsfeed - received notification: YOUTUBE_LOAD
newsfeed.js:429 newsfeed - unknown notification, ignoring: YOUTUBE_LOAD
response.class.js:146 [AMK2] Conversation ends.
MMM-AssistantMk2.js:560 [AMK2] Command CMD_HOTWORD_RESUME is executed (notificationExec).
module.js:154 clock received a module notification: HOTWORD_RESUME from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: HOTWORD_RESUME from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: HOTWORD_RESUME from sender: MMM-AssistantMk2
newsfeed.js:370 newsfeed - received notification: HOTWORD_RESUME
newsfeed.js:429 newsfeed - unknown notification, ignoring: HOTWORD_RESUME
MMM-AssistantMk2.js:560 [AMK2] Command UNMUTE_YOUTUBE is executed (notificationExec).
module.js:154 clock received a module notification: YOUTUBE_CONTROL from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: YOUTUBE_CONTROL from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: YOUTUBE_CONTROL from sender: MMM-AssistantMk2
MMM-YouTube.js:200 [YOUTUBE] Control: unMute null
newsfeed.js:370 newsfeed - received notification: YOUTUBE_CONTROL
newsfeed.js:429 newsfeed - unknown notification, ignoring: YOUTUBE_CONTROL
response.class.js:77 [AMK2] Status from hook to standby
module.js:154 clock received a module notification: ASSISTANT_STANDBY from sender: MMM-AssistantMk2
module.js:154 calendar received a module notification: ASSISTANT_STANDBY from sender: MMM-AssistantMk2
module.js:154 MMM-COVID19 received a module notification: ASSISTANT_STANDBY from sender: MMM-AssistantMk2
newsfeed.js:370 newsfeed - received notification: ASSISTANT_STANDBY
newsfeed.js:429 newsfeed - unknown notification, ignoring: ASSISTANT_STANDBY
module.js:154 clock received a module notification: HOTWORD_LISTENING from sender: MMM-Hotword
module.js:154 calendar received a module notification: HOTWORD_LISTENING from sender: MMM-Hotword
module.js:154 MMM-COVID19 received a module notification: HOTWORD_LISTENING from sender: MMM-Hotword
newsfeed.js:370 newsfeed - received notification: HOTWORD_LISTENING
newsfeed.js:429 newsfeed - unknown notification, ignoring: HOTWORD_LISTENING
module.js:154 calendar received a module notification: CLOCK_SECOND from sender: clock
module.js:154 MMM-COVID19 received a module notification: CLOCK_SECOND from sender: clock
newsfeed.js:370 newsfeed - received notification: CLOCK_SECOND
newsfeed.js:429 newsfeed - unknown notification, ignoring: CLOCK_SECOND
MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1
module.js:154 clock received a module notification: UNSTARTED from sender: MMM-YouTube
module.js:154 calendar received a module notification: UNSTARTED from sender: MMM-YouTube
module.js:154 MMM-COVID19 received a module notification: UNSTARTED from sender: MMM-YouTube
newsfeed.js:370 newsfeed - received notification: UNSTARTED
newsfeed.js:429 newsfeed - unknown notification, ignoring: UNSTARTED
MMM-YouTube.js:230 [YOUTUBE] Status Changed: 5
module.js:154 clock received a module notification: VIDEO CUED from sender: MMM-YouTube
module.js:154 calendar received a module notification: VIDEO CUED from sender: MMM-YouTube
module.js:154 MMM-COVID19 received a module notification: VIDEO CUED from sender: MMM-YouTube
newsfeed.js:370 newsfeed - received notification: VIDEO CUED
newsfeed.js:429 newsfeed - unknown notification, ignoring: VIDEO CUED
MMM-YouTube.js:200 [YOUTUBE] Control: setLoop false
MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null
12[Violation] Added non-passive event listener to a scroll-blocking
If possible, disable all other modules except your target modules,(HOTWORD, YOUTUBE, AMK2) to make things simple. I think @bugsoutne will know better than me about YouTube Recipes. I ask him to inspect this.
hi, it's not related to youtube recipe this bug is only with RPI platform and related to MMM-YouTube core
@eouia : see Telegram for more informations @yurMoThEr : please wait, we will correct it ;)
Initializing MagicMirror. translator.js:202 Loading core translation file: translations/en.json translator.js:225 Loading core translation fallback file: translations/en.json loader.js:179 Load script: modules/MMM-Hotword//MMM-Hotword.js module.js:476 Module registered: MMM-Hotword loader.js:150 Bootstrapping module: MMM-Hotword loader.js:179 Load script: https://code.iconify.design/1/1.0.2/iconify.min.js loader.js:155 Scripts loaded for: MMM-Hotword loader.js:194 Load stylesheet: modules/MMM-Hotword/MMM-Hotword.css loader.js:157 Styles loaded for: MMM-Hotword loader.js:159 Translations loaded for: MMM-Hotword loader.js:179 Load script: modules/MMM-AssistantMk2//MMM-AssistantMk2.js module.js:476 Module registered: MMM-AssistantMk2 loader.js:150 Bootstrapping module: MMM-AssistantMk2 loader.js:179 Load script: /modules/MMM-AssistantMk2/library/response.class.js loader.js:179 Load script: /modules/MMM-AssistantMk2/ui/Fullscreen/Fullscreen.js loader.js:155 Scripts loaded for: MMM-AssistantMk2 loader.js:194 Load stylesheet: /modules/MMM-AssistantMk2/ui/Fullscreen/Fullscreen.css loader.js:157 Styles loaded for: MMM-AssistantMk2 translator.js:175 MMM-AssistantMk2 - Load translation fallback: translations/en.json /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure protocols.This exposes users of this app to unnecessary security risks. Consider loading the following resources over HTTPS or FTPS.
For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged. warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks.
For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged. (anonymous) @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 loader.js:159 Translations loaded for: MMM-AssistantMk2 loader.js:179 Load script: modules/MMM-YouTube//MMM-YouTube.js module.js:476 Module registered: MMM-YouTube loader.js:150 Bootstrapping module: MMM-YouTube loader.js:155 Scripts loaded for: MMM-YouTube loader.js:194 Load stylesheet: modules/MMM-YouTube/MMM-YouTube.css loader.js:157 Styles loaded for: MMM-YouTube loader.js:159 Translations loaded for: MMM-YouTube loader.js:194 Load stylesheet: css/custom.css (index):1 Refused to apply style from 'http://0.0.0.0:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. loader.js:203 Error on loading stylesheet: css/custom.css stylesheet.onerror @ loader.js:203 main.js:473 All modules started! true:1 Failed to load resource: the server responded with a status of 404 (Not Found) MMM-YouTube.js:216 [YOUTUBE] API is ready. www-widgetapi.js:235 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://0.0.0.0:8080'). g.G @ www-widgetapi.js:235 MMM-AssistantMk2.js:329 [AMK2] Initialized. response.class.js:77 [AMK2] Status from standby to standby (index):1 Refused to apply style from 'http://0.0.0.0:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. MMM-YouTube.js:222 [YOUTUBE] Player is ready. MMM-YouTube.js:200 [YOUTUBE] Control: setVolume 100 [YOUTUBE] Control: setVolume 50 VM243:1 Uncaught SyntaxError: Unexpected identifier MMM-Hotword.js:205 [HOTWORD] Command is excuting MMM-Hotword.js:215 [HOTWORD] notificationExec: ASSISTANT_ACTIVATE {profile: "default", type: "WAVEFILE", key: "modules/MMM-Hotword/temp/afterRecording.wav"} MMM-AssistantMk2.js:560 [AMK2] Command CMD_HOTWORD_PAUSE is executed (notificationExec). MMM-AssistantMk2.js:560 [AMK2] Command MUTE_YOUTUBE is executed (notificationExec). MMM-YouTube.js:200 [YOUTUBE] Control: mute null module.js:198 MMM-Hotword is suspended. MMM-YouTube.js:200 [YOUTUBE] Control: getPlayerState null response.class.js:77 [AMK2] Status from standby to think response.class.js:77 [AMK2] Status from think to confirmation MMM-AssistantMk2.js:486 [AMK2] ResponseHook matched: PLAY_YOUTUBE response.class.js:77 [AMK2] Status from confirmation to hook MMM-AssistantMk2.js:583 [AMK2] Command PLAY_YOUTUBE is executed (moduleExec) for : MMM-AssistantMk2 MMM-YouTube.js:200 [YOUTUBE] Control: cueVideoById {videoId: "fHI8X4OXluQ", suggestedQuality: "default"} response.class.js:146 [AMK2] Conversation ends. MMM-AssistantMk2.js:560 [AMK2] Command CMD_HOTWORD_RESUME is executed (notificationExec). MMM-AssistantMk2.js:560 [AMK2] Command UNMUTE_YOUTUBE is executed (notificationExec). MMM-YouTube.js:200 [YOUTUBE] Control: unMute null response.class.js:77 [AMK2] Status from hook to standby MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 5 MMM-YouTube.js:200 [YOUTUBE] Control: setLoop false MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:288 [YOUTUBE] Player Error: (150) Not Allowed By Owner MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 module.js:205 MMM-Hotword is resumed. MMM-YouTube.js:200 [YOUTUBE] Control: getPlayerState null MMM-Hotword.js:205 [HOTWORD] Command is excuting MMM-Hotword.js:215 [HOTWORD] notificationExec: ASSISTANT_ACTIVATE {profile: "default", type: "WAVEFILE", key: "modules/MMM-Hotword/temp/afterRecording.wav"} MMM-AssistantMk2.js:560 [AMK2] Command CMD_HOTWORD_PAUSE is executed (notificationExec). MMM-AssistantMk2.js:560 [AMK2] Command MUTE_YOUTUBE is executed (notificationExec). MMM-YouTube.js:200 [YOUTUBE] Control: mute null module.js:198 MMM-Hotword is suspended. MMM-YouTube.js:200 [YOUTUBE] Control: getPlayerState null response.class.js:77 [AMK2] Status from standby to think response.class.js:77 [AMK2] Status from think to confirmation MMM-AssistantMk2.js:486 [AMK2] ResponseHook matched: PLAY_YOUTUBE response.class.js:77 [AMK2] Status from confirmation to hook MMM-AssistantMk2.js:583 [AMK2] Command PLAY_YOUTUBE is executed (moduleExec) for : MMM-AssistantMk2 MMM-YouTube.js:200 [YOUTUBE] Control: cueVideoById {videoId: "Npv6epWQ3Ss", suggestedQuality: "default"} response.class.js:146 [AMK2] Conversation ends. MMM-AssistantMk2.js:560 [AMK2] Command CMD_HOTWORD_RESUME is executed (notificationExec). MMM-AssistantMk2.js:560 [AMK2] Command UNMUTE_YOUTUBE is executed (notificationExec). MMM-YouTube.js:200 [YOUTUBE] Control: unMute null response.class.js:77 [AMK2] Status from hook to standby MMM-YouTube.js:230 [YOUTUBE] Status Changed: 5 MMM-YouTube.js:200 [YOUTUBE] Control: setLoop false MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 1 module.js:205 MMM-Hotword is resumed. MMM-YouTube.js:200 [YOUTUBE] Control: getPlayerState null MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null
pi@raspberrypi:~/MagicMirror $ npm start dev
magicmirror@2.10.1 start /home/pi/MagicMirror ./run-start.sh "dev"
[13:26:06.997] [LOG] Starting MagicMirror: v2.10.1
[13:26:07.011] [LOG] Loading config ...
[13:26:07.030] [LOG] Loading module helpers ...
[13:26:07.546] [LOG] Initializing new module helper ...
[13:26:07.547] [LOG] Module helper loaded: MMM-Hotword
[13:26:10.596] [LOG] Initializing new module helper ...
[13:26:10.598] [LOG] Module helper loaded: MMM-AssistantMk2
[13:26:10.607] [LOG] No helper found for module: MMM-YouTube.
[13:26:10.608] [LOG] All module helpers loaded.
[13:26:10.610] [LOG] Starting server on port 8080 ...
[13:26:10.620] [INFO] You're using a full whitelist configuration to allow for all IPs
[13:26:10.631] [LOG] Server started ...
[13:26:10.633] [LOG] Connecting socket for: MMM-Hotword
[13:26:10.634] [LOG] [HOTWORD] MMM-Hotword starts
[13:26:10.635] [LOG] Connecting socket for: MMM-AssistantMk2
[13:26:10.636] [LOG] Sockets connected & modules started ...
[13:26:10.904] [LOG] Launching application.
[13:26:13.665] [LOG] [HOTWORD] Recipe is loaded: with-AMk2v3_smart-mirror.js
[13:26:13.683] [LOG] [AMK2] MMM-AssistantMk2 Version: 3.1.2
[13:26:13.689] [LOG] [AMK2] RECIPE_LOADED: with-MMM-Hotword.js
[13:26:13.698] [LOG] [AMK2] RECIPE_LOADED: with-MMM-Youtube.js
[13:26:13.699] [LOG] [AMK2] NO_ACTION_TO_MANAGE
[13:26:13.765] [LOG] [AMK2] Response delay is set to 0.45 second
[13:26:13.767] [LOG] [AMK2] Use HTML5 for audio response
[13:26:13.782] [LOG] [AMK2:WEB] ASSISTANT_WEB Started
[13:26:13.784] [LOG] [AMK2] AssistantMk2 is initialized.
[13:26:13.886] [LOG] [HOTWORD] begins.
[13:26:13.889] [LOG] [HOTWORD] Detector starts listening.
[13:26:13.985] [LOG] [AMK2] tmp directory is now cleaned.
[13:27:44.421] [LOG] [HOTWORD] Detected: SMARTMIRROR
[13:27:44.935] [LOG] [HOTWORD] After Recording: 4000
[13:27:44.958] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.161] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.172] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.411] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.422] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.661] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.673] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.930] [LOG] [HOTWORD] After Recording: 4000
[13:27:45.949] [LOG] [HOTWORD] After Recording: 4000
[13:27:46.161] [LOG] [HOTWORD] After Recording: 4000
[13:27:46.173] [LOG] [HOTWORD] After Recording: 4000
[13:27:46.412] [LOG] [HOTWORD] After Recording: 4000
[13:27:46.424] [LOG] [HOTWORD] After Recording: 4000
[13:27:46.662] [LOG] [HOTWORD] After Recording: 4000
[13:27:47.898] [LOG] [HOTWORD] stops.
[13:27:47.907] [LOG] [HOTWORD] After Recording finised. size: 60050
[13:27:47.917] [LOG] [HOTWORD:B2W] WAV_FILE_CREATED: /home/pi/MagicMirror/modules/MMM-Hotword/temp/afterRecording.wav 60050
[13:27:47.920] [LOG] [HOTWORD] Final Result: {
detected: true,
hotword: 'SMARTMIRROR',
file: 'temp/afterRecording.wav'
}
[13:27:48.485] [LOG] [AMK2] QUERY: {
type: 'WAVEFILE',
profile: { profileFile: 'default.json', lang: 'en-US' },
key: 'modules/MMM-Hotword/temp/afterRecording.wav',
lang: null,
useScreenOutput: true,
useAudioOutput: true,
useHTML5: true,
session: 1585675667969,
status: 'standby',
chime: true,
secretMode: false,
sayMode: false
}
[13:27:48.638] [LOG] [AMK2:BM] MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3
[13:27:49.444] [LOG] [AMK2:AS] CONVERSATION:RESPONSE
[13:27:49.920] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play', done: false }
[13:27:50.044] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play why', done: false }
[13:27:50.133] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'rewind', done: false }
[13:27:50.306] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding light', done: false }
[13:27:50.315] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights', done: false }
[13:27:50.329] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on', done: false }
[13:27:50.351] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on you', done: false }
[13:27:50.356] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on YouTube', done: false }
[13:27:50.365] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on YouTube', done: false }
[13:27:50.375] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on YouTube', done: false }
[13:27:50.402] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on YouTube', done: false }
[13:27:50.442] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on YouTube', done: false }
[13:27:50.592] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play blinding lights on YouTube', done: true }
[13:27:52.083] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600
[13:27:52.091] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600
[13:27:52.094] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600
[13:27:52.100] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1056
[13:27:52.128] [LOG] [AMK2:AS] CONVERSATION:SCREEN object
[13:27:52.137] [LOG] [AMK2:AS] CONVERSATION:ACTION { requestId: '5e80e3a1-0000-2404-9390-3c286d3836d2' }
[13:27:52.140] [LOG] [AMK2:AS] CONVERSATION:RESPONSE
[13:27:52.147] [LOG] [AMK2:AS] CONVERSATION_ALL_RESPONSES_RECEIVED
[13:27:52.149] [LOG] [AMK2:AS] CONVERSATION_END:COMPLETED
[13:27:52.151] [LOG] [AMK2:AS] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED
[13:27:52.155] [LOG] [AMK2:BM] MP3 FILE CREATED
[13:27:52.210] [LOG] [AMK2:SP] HELP:WORD About Blinding Lights
[13:27:52.212] [LOG] [AMK2:SP] HELP:WORD What about Heartless?
[13:27:52.214] [LOG] [AMK2:SP] HELP:WORD What's the weeknd's number?
[13:27:52.218] [LOG] [AMK2:SP] TRYSAY:TRANSLATE Try saying…
[13:27:52.448] [LOG] [AMK2:SP] CONVERSATION:SCREENOUTPUT_CREATED
[13:27:52.451] [LOG] [AMK2] ASSISTANT_RESULT {
session: 1585675667969,
error: null,
action: { requestId: '5e80e3a1-0000-2404-9390-3c286d3836d2' },
text: null,
screen: {
text: '"The Weeknd - Blinding Lights (Official Audio) - YouTube" ( ' +
'm.youtube.com - https://m.youtube.com/watch?v=fHI8X4OXluQ )',
links: [ 'https://m.youtube.com/watch?v=fHI8X4OXluQ' ],
photos: [],
help: [
'About Blinding Lights',
'What about Heartless?',
"What's the weeknd's number?"
],
trysay: 'Try saying…',
path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastScreenOutput.html',
uri: 'tmp/lastScreenOutput.html'
},
audio: {
path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3',
uri: 'tmp/lastResponse.mp3'
},
transcription: { transcription: 'play blinding lights on YouTube', done: true },
continue: false,
volume: null,
lastQuery: {
type: 'WAVEFILE',
profile: { profileFile: 'default.json', lang: 'en-US' },
key: 'modules/MMM-Hotword/temp/afterRecording.wav',
lang: null,
useScreenOutput: true,
useAudioOutput: true,
useHTML5: true,
session: 1585675667969,
status: 'standby',
chime: true,
secretMode: false,
sayMode: false
}
}
[13:27:52.543] [LOG] [HOTWORD] begins.
[13:27:52.545] [LOG] [HOTWORD] Detector starts listening.
[13:28:01.595] [LOG] [HOTWORD] Detected: SMARTMIRROR
[13:28:02.628] [LOG] [HOTWORD] After Recording: 8000
[13:28:02.843] [LOG] [HOTWORD] After Recording: 8000
[13:28:03.094] [LOG] [HOTWORD] After Recording: 8000
[13:28:03.344] [LOG] [HOTWORD] After Recording: 8000
[13:28:03.614] [LOG] [HOTWORD] After Recording: 8000
[13:28:03.844] [LOG] [HOTWORD] After Recording: 8000
[13:28:04.093] [LOG] [HOTWORD] After Recording: 8000
[13:28:04.343] [LOG] [HOTWORD] After Recording: 8000
[13:28:04.610] [LOG] [HOTWORD] After Recording: 8000
[13:28:05.635] [LOG] [HOTWORD] After Recording: 8000
[13:28:05.844] [LOG] [HOTWORD] After Recording: 8000
[13:28:06.094] [LOG] [HOTWORD] After Recording: 8000
[13:28:07.332] [LOG] [HOTWORD] stops.
[13:28:07.337] [LOG] [HOTWORD] After Recording finised. size: 96050
[13:28:07.344] [LOG] [HOTWORD:B2W] WAV_FILE_CREATED: /home/pi/MagicMirror/modules/MMM-Hotword/temp/afterRecording.wav 96050
[13:28:07.345] [LOG] [HOTWORD] Final Result: {
detected: true,
hotword: 'SMARTMIRROR',
file: 'temp/afterRecording.wav'
}
[13:28:07.853] [LOG] [AMK2] QUERY: {
type: 'WAVEFILE',
profile: { profileFile: 'default.json', lang: 'en-US' },
key: 'modules/MMM-Hotword/temp/afterRecording.wav',
lang: null,
useScreenOutput: true,
useAudioOutput: true,
useHTML5: true,
session: 1585675687367,
status: 'standby',
chime: true,
secretMode: false,
sayMode: false
}
[13:28:07.870] [LOG] [AMK2:BM] MP3 FILE CREATING: /home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3
[13:28:08.451] [LOG] [AMK2:AS] CONVERSATION:RESPONSE
[13:28:08.985] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text', done: false }
[13:28:09.055] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text to', done: false }
[13:28:09.154] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text him', done: false }
[13:28:09.179] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text to me', done: false }
[13:28:09.243] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme', done: false }
[13:28:09.277] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme', done: false }
[13:28:09.312] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme what', done: false }
[13:28:09.323] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme one', done: false }
[13:28:09.345] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme when', done: false }
[13:28:09.365] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme when I', done: false }
[13:28:09.374] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme one notch', done: false }
[13:28:09.380] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme 19', done: false }
[13:28:09.397] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme 190', done: false }
[13:28:09.408] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme 195', done: false }
[13:28:09.538] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme 195', done: false }
[13:28:09.875] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme 195 YouTube', done: false }
[13:28:10.457] [LOG] [AMK2:AS] CONVERSATION:TRANSCRIPTION { transcription: 'play text2meme 195 YouTube', done: true }
[13:28:11.324] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600
[13:28:11.329] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600
[13:28:11.332] [LOG] [AMK2:AS] CONVERSATION:AUDIO 1600
[13:28:11.335] [LOG] [AMK2:AS] CONVERSATION:AUDIO 960
[13:28:11.360] [LOG] [AMK2:AS] CONVERSATION:SCREEN object
[13:28:11.362] [LOG] [AMK2:AS] CONVERSATION:ACTION { requestId: '5e7cfc10-0000-246a-81e0-3c286d37f2a6' }
[13:28:11.366] [LOG] [AMK2:AS] CONVERSATION:RESPONSE
[13:28:11.368] [LOG] [AMK2:AS] CONVERSATION_ALL_RESPONSES_RECEIVED
[13:28:11.371] [LOG] [AMK2:AS] CONVERSATION_END:COMPLETED
[13:28:11.372] [LOG] [AMK2:AS] CONVERSATION_PP:RESPONSE_AUDIO_PROCESSED
[13:28:11.373] [LOG] [AMK2:BM] MP3 FILE CREATED
[13:28:11.390] [LOG] [AMK2:SP] HELP:WORD What can you do?
[13:28:11.393] [LOG] [AMK2:SP] TRYSAY:TRANSLATE Try saying…
[13:28:11.559] [LOG] [AMK2:SP] CONVERSATION:SCREENOUTPUT_CREATED
[13:28:11.560] [LOG] [AMK2] ASSISTANT_RESULT {
session: 1585675687367,
error: null,
action: { requestId: '5e7cfc10-0000-246a-81e0-3c286d37f2a6' },
text: null,
screen: {
text: '"TEXT2MEMES 195 - YouTube" ( m.youtube.com - ' +
'https://m.youtube.com/watch?v=Npv6epWQ3Ss )',
links: [ 'https://m.youtube.com/watch?v=Npv6epWQ3Ss' ],
photos: [],
help: [ 'What can you do?' ],
trysay: 'Try saying…',
path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastScreenOutput.html',
uri: 'tmp/lastScreenOutput.html'
},
audio: {
path: '/home/pi/MagicMirror/modules/MMM-AssistantMk2/tmp/lastResponse.mp3',
uri: 'tmp/lastResponse.mp3'
},
transcription: { transcription: 'play text2meme 195 YouTube', done: true },
continue: false,
volume: null,
lastQuery: {
type: 'WAVEFILE',
profile: { profileFile: 'default.json', lang: 'en-US' },
key: 'modules/MMM-Hotword/temp/afterRecording.wav',
lang: null,
useScreenOutput: true,
useAudioOutput: true,
useHTML5: true,
session: 1585675687367,
status: 'standby',
chime: true,
secretMode: false,
sayMode: false
}
}
[13:28:11.647] [LOG] [HOTWORD] begins.
[13:28:11.650] [LOG] [HOTWORD] Detector starts listening.
^C
[13:30:01.967] [LOG] Shutting down server...
[13:30:01.969] [LOG] Stopping module helper: MMM-Hotword
[13:30:01.971] [LOG]
Stopping module helper: MMM-AssistantMk2
pi@raspberrypi:~/MagicMirror $ [13:30:02.115] [LOG] [HOTWORD] Final Result: { detected: false } ^C pi@raspberrypi:~/MagicMirror $
I just noticed something in the dev tools console that might help figure this out:
When I ask to play a video for the first time (aka when both the audio and the video play) the console outputs this: [YOUTUBE] Status Changed: 5 MMM-YouTube.js:200 [YOUTUBE] Control: setLoop false MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 1
When I ask to play a video for the second time (aka when only the audio plays) the console outputs this: [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 5 MMM-YouTube.js:200 [YOUTUBE] Control: setLoop false MMM-YouTube.js:200 [YOUTUBE] Control: playVideo null MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: -1 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 3 MMM-YouTube.js:230 [YOUTUBE] Status Changed: 1
This time, the status changed numbers are different. I'm not sure how this can help though, I just thought that this was something that changed from when the video and audio played to when only the audio plays
I'm not really sure what to make of it 'unstarting' the video in the first line of the second repetition
[YOUTUBE] Status Changed: -1
The same thing is outputted after the first repetition
Code means;
-1 (unstarted)
0 (ended)
1 (playing)
2 (paused)
3 (buffering)
5 (video cued).
Usually, the Player would get some sequential status until playing. Usually starts from unstarted
, video will be cue list(video cued
) then load data(buffering
) and playing.(playing
).
Log itself seems no problem at all. I'm representing your symptoms but at this moment, I cannot represent. Anyway, I'm looking inside.
Thanks man
I make a PR for correct it. please wait @eouia review
Hello everybody, Not relevant to this issue. I would like to ask about responseHooks, i am working on it with new Google Assistant v3 from bugsounet. But i didn't know how to setup, config,.. and unclear what is that. It very nice if anyone could provide me an overview, video or something demo about responseHooks feature. Thank you!
MMM-YouTube works normally the first time you ask MMM-AssistantMk2 to play something but if you ask it to play something else only the audio works, while there is no sign of the new video