Read the statement by Michael Teeuw here.
Assistant2Display : YouTube not viewing the video
-
hi all
I have installed MMM-GoogleAssistance module as well as MMM-Assistant2Display module
Currently, I can give the voice command but the video is not showing up on the screen and it takes me back to the MagicMirror main screen. Please help me to fix this issue as soon as possible.
module: “MMM-GoogleAssistant”,
position: “fullscreen_above”,
config: {
debug: false,
assistantConfig: {
lang: “en-US”,
latitude: 51.508530,
longitude: -0.076132,
},
responseConfig: {
useScreenOutput: true,
screenOutputCSS: “screen_output.css”,
screenOutputTimer: 5000,
screenRotate: false,
activateDelay: 250,
useAudioOutput: true,
useChime: true,
newChime: false,
useNative: true,
playProgram: “mpg321”
},
micConfig: { // put there configuration generated by auto-installer
recorder: “arecord”,
device: “plughw:2”,
},
snowboy: {
useSnowboy: true,
usePMDL: false,
audioGain: 2.0,
Frontend: true,
Model: “jarvis”,
Sensitivity: null
},
A2DServer: {
useA2D: true,
stopCommand: “stop”,
useYouTube: true,
youtubeCommand: “youtube”,
displayResponse: true
},
recipes: [ “with-MMM-TelegramBot.js” ],
NPMCheck: {
useChecker: true,
delay: 10 * 60 * 1000,
useAlert: true
}
}
},
{
module: “MMM-Assistant2Display”,
configDeepMerge: true,
position: “top_left”,
config: {
debug:false,
youtube: {
useYoutube: false,
useVLC: false,
minVolume: 30,
maxVolume: 100
},
links: {
useLinks: false,
displayDelay: 60 * 1000,
scrollStep: 25,
scrollInterval: 1000,
scrollStart: 5000,
scrollActivate: false,
verbose: false
},
photos: {
usePhotos: false,
displayDelay: 10 * 1000
},
volume: {
useVolume: false,
volumePreset: “ALSA”,
myScript: null
},
briefToday: {
useBriefToday: false,
welcome: “brief Today”
},
screen: {
useScreen: false,
delay: 5 * 60 * 1000,
turnOffDisplay: true,
mode: 1,
ecoMode: true,
displayCounter: true,
displayBar: false,
displayStyle: “Text”,
text: “Auto Turn Off Screen:”,
detectorSleeping: false,
governorSleeping: false,
displayLastPresence: true,
LastPresenceText: “Last Presence:”,
delayed: 0
},
touch: {
useTouch: false,
mode: 3
},
pir: {
usePir: false,
gpio: 21,
reverseValue: false
},
governor: {
useGovernor: false,
sleeping: “powersave”,
working: “ondemand”
},
internet: {
useInternet: false,
displayPing: false,
delay: 2* 60 * 1000,
scan: “http://google.fr”,
command: “pm2 restart 0”,
showAlert: true
},
cast: {
useCast: false,
castName: “MagicMirror_A2D”,
port: 8569
},
spotify: {
useSpotify: false,
useBottomBar: false,
useLibrespot: false,
connectTo: null,
playDelay: 3000,
minVolume: 10,
maxVolume: 100,
updateInterval: 1000,
idleInterval: 10000,
username: “”,
password: “”,
CLIENT_ID: “”,
CLIENT_SECRET: “”,
deviceDisplay: “Listening on”,
usePause: true,
typeArtist: “artist”,
typePlaylist: “playlist”,
typeAlbum: “album”,
typeTrack: “track”
},
NPMCheck: {
useChecker: true,
delay: 10 * 60 * 1000,
useAlert: true
}
}
},[09.05.2021 00:40.57.999] [LOG] [GA] Found YouTube Title: Michael Jackson - Thriller (Official Video) - videoId: sOnqjkJTMaA
[09.05.2021 00:44.56.610] [LOG] Shutting down server…
[09.05.2021 00:44.56.617] [LOG] Stopping module helper: updatenotification
[09.05.2021 00:44.56.618] [LOG] Stopping module helper: calendar
[09.05.2021 00:44.56.619] [LOG] Stopping module helper: MMM-bitcoin
[09.05.2021 00:44.56.620] [LOG] Stopping module helper: newsfeed
[09.05.2021 00:44.56.620] [LOG] Stopping module helper: MMM-GoogleAssistant
[09.05.2021 00:44.56.621] [LOG] Stopping module helper: MMM-Assistant2Display -
@sayedqasim I do not know, but on my utube search I get this
"The request cannot be completed because you have exceeded your quota"
the module author doesn’t hang out here much, I would suggest his forum
http://forum.bugsounet.fr/ -
@sayedqasim said in Assistant2Display : YouTube not viewing the video:
useYoutube: false,
useVLC: false,set to true