Solved Youtube isn't play in GA
-
GA succeeded in finding the video, but the video does not play as it becomes a black screen
this is my log
magicmirror@2.16.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[25.09.2021 21:38.18.017] [LOG] Starting MagicMirror: v2.16.0
[25.09.2021 21:38.18.026] [LOG] Loading config …
[25.09.2021 21:38.18.047] [LOG] Loading module helpers …
[25.09.2021 21:38.18.053] [LOG] No helper found for module: alert.
[25.09.2021 21:38.18.575] [LOG] Initializing new module helper …
[25.09.2021 21:38.18.577] [LOG] Module helper loaded: updatenotification
[25.09.2021 21:38.18.582] [LOG] No helper found for module: clock.
[25.09.2021 21:38.18.966] [LOG] Initializing new module helper …
[25.09.2021 21:38.18.968] [LOG] Module helper loaded: calendar
[25.09.2021 21:38.18.971] [LOG] No helper found for module: weather.
[25.09.2021 21:38.19.065] [LOG] Initializing new module helper …
[25.09.2021 21:38.19.067] [LOG] Module helper loaded: newsfeed
[25.09.2021 21:38.27.637] [LOG] Initializing new module helper …
[25.09.2021 21:38.27.639] [LOG] Module helper loaded: MMM-GoogleAssistant
[25.09.2021 21:38.27.650] [LOG] Initializing new module helper …
[25.09.2021 21:38.27.652] [LOG] Module helper loaded: MMM-Detector
[25.09.2021 21:38.27.653] [LOG] All module helpers loaded.
[25.09.2021 21:38.27.896] [LOG] Starting server on port 8080 …
[25.09.2021 21:38.27.927] [LOG] Server started …
[25.09.2021 21:38.27.928] [LOG] Connecting socket for: updatenotification
[25.09.2021 21:38.27.930] [LOG] Connecting socket for: calendar
[25.09.2021 21:38.27.932] [LOG] Starting node helper for: calendar
[25.09.2021 21:38.27.933] [LOG] Connecting socket for: newsfeed
[25.09.2021 21:38.27.934] [LOG] Starting node helper for: newsfeed
[25.09.2021 21:38.27.936] [LOG] Connecting socket for: MMM-GoogleAssistant
[25.09.2021 21:38.27.938] [LOG] [GA] Read config.js and check ConfigDeepMerge…
[25.09.2021 21:38.27.940] [LOG] [GA] Perfect ConfigDeepMerge activated!
[25.09.2021 21:38.27.941] [LOG] Connecting socket for: MMM-Detector
[25.09.2021 21:38.27.944] [LOG] [DETECTOR] MMM-Detector Version: 1.0.1 rev: 210615-1
[25.09.2021 21:38.27.946] [LOG] Sockets connected & modules started …
[25.09.2021 21:38.30.382] [LOG] Launching application.
[25.09.2021 21:38.40.146] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/jhs7956jhs%40gmail.com/private-6590108da93b7a3d13ae86a5f2611bbe/basic.ics - Interval: 300000
[25.09.2021 21:38.41.456] [INFO] Calendar-Fetcher: Broadcasting 0 events.
[25.09.2021 21:38.41.544] [LOG] Create new newsfetcher for url: https://news.sbs.co.kr/news/SectionRssFeed.do?sectionId=03&plink=RSSREADER - Interval: 300000
[25.09.2021 21:38.41.615] [LOG] [DETECTOR] Config: {
debug: true,
autoStart: true,
useLogos: true,
micConfig: {
recorder: ‘auto’,
device: ‘default’,
audioGain: 1,
applyFrontend: true
},
newLogos: { default: ‘modules/MMM-Detector/resources/default.png’ },
detectors: [
{
detector: ‘Snowboy’,
Model: ‘smart_mirror’,
Sensitivity: null,
Logo: ‘google’,
autoRestart: true,
onDetected: [Object]
}
],
NPMCheck: { useChecker: false, delay: 600000, useAlert: false }
}
[25.09.2021 21:38.41.715] [INFO] Checking git for module: MMM-GoogleAssistant
[25.09.2021 21:38.41.816] [LOG] [GA] MMM-GoogleAssistant Version: 3.0.6 rev: 210925-1
[25.09.2021 21:38.41.847] [LOG] [GA] YouTube Search Function initilized.
[25.09.2021 21:38.49.354] [LOG] [DETECTOR] [DETECTOR] Loaded: @bugsounet/snowboy
[25.09.2021 21:38.49.360] [LOG] [GA] All needed @bugsounet library loaded !
[25.09.2021 21:38.49.370] [LOG] [GA:EXT] Extented Display Server Started
[25.09.2021 21:38.49.409] [LOG] [INTERNET] Internet.v2 v1.1.1 Initialized…
[25.09.2021 21:38.49.416] [LOG] [CAST] Cast v1.1.2 Initialized…
[25.09.2021 21:38.49.512] [LOG] [EXT] Spotify Error: ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/tokens/tokenSpotify.json’
[25.09.2021 21:38.49.527] [LOG] [SPOTIFY] No player activated.
[25.09.2021 21:38.49.533] [LOG] [DETECTOR] All needed @bugsounet library loaded !
[25.09.2021 21:38.49.549] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[25.09.2021 21:38.49.559] [LOG] [DETECTOR] Snowboy DetectorConfig: [
{
detector: ‘Snowboy’,
Model: ‘smart_mirror’,
Sensitivity: null,
Logo: ‘google’,
autoRestart: true,
onDetected: { notification: ‘GA_ACTIVATE’ }
}
]
[25.09.2021 21:38.49.731] [LOG] [GA:EXT] Extented Display is initialized.
[25.09.2021 21:38.49.735] [LOG] [GA] Google Assistant is initialized.
[25.09.2021 21:38.49.740] [LOG] [SNOWBOY] Checking models
[25.09.2021 21:38.49.744] [LOG] [SNOWBOY] Model selected: smart_mirror
[25.09.2021 21:38.49.748] [LOG] [SNOWBOY] Sensitivity set: 0.5
[25.09.2021 21:38.49.774] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: smart_mirror
[25.09.2021 21:38.49.967] [LOG] [SNOWBOY] Starts listening.
[25.09.2021 21:38.50.130] [LOG] [LPCM16] ~v2.0.1~ Start listening 1 channels, use arecord with sample rate 16000
[25.09.2021 21:38.50.136] [LOG] [DETECTOR] Starts listening. 1 Models
[25.09.2021 21:38.50.291] [INFO] Checking git for module: MMM-Detector
[25.09.2021 21:38.53.455] [INFO] Newsfeed-Fetcher: Broadcasting 49 items.
[25.09.2021 21:38.57.926] [LOG] [SNOWBOY] Detected: smart_mirror
[25.09.2021 21:38.57.929] [LOG] [SNOWBOY] Stops listening.
[25.09.2021 21:38.57.934] [LOG] [DETECTOR] Stops listening.
[25.09.2021 21:38.58.046] [LOG] [LPCM16] Stop listening
[25.09.2021 21:38.59.813] [LOG] [SNOWBOY] Starts listening.
[25.09.2021 21:38.59.981] [LOG] [LPCM16] ~v2.0.1~ Start listening 1 channels, use arecord with sample rate 16000
[25.09.2021 21:38.59.993] [LOG] [DETECTOR] Starts listening. 1 Models
[25.09.2021 21:39.07.391] [LOG] [GA] Found YouTube Title: Michael Jackson - Thriller (Official Video) - videoId: sOnqjkJTMaA
[25.09.2021 21:39.07.481] [LOG] [CVLC] v1.0.5 initialized !
[25.09.2021 21:39.30.770] [LOG] Shutting down server…
[25.09.2021 21:39.30.772] [LOG] Stopping module helper: updatenotification
[25.09.2021 21:39.30.773] [LOG] Stopping module helper: calendar
[25.09.2021 21:39.30.774] [LOG] Stopping module helper: newsfeed
[25.09.2021 21:39.30.775] [LOG] Stopping module helper: MMM-GoogleAssistant
[25.09.2021 21:39.30.776] [LOG] Stopping module helper: MMM-Detector -
Do you need a config file?
-
Do you hear sound?
Post your GA config here please. -
@djb1966
I’m sorry i checked it late
i can hear sound but video is still blackscreen
and i did cvlc test but fullscreen doesn’t workit’s my GA config
{
module: “MMM-GoogleAssistant”,
position: “fullscreen_above”,
configDeepMerge: true,
config: {
debug: true,
assistantConfig: {
lang: “en-US”,
latitude: 51.508530,
longitude: -0.076132,
},responseConfig: {
useFullscreen: true,
useResponseOutput: true,
responseOutputCSS: “response_output.css”,
screenOutputTimer: 5000,
activateDelay: 250,
useAudioOutput: true,
useChime: true,
confirmationChime: true,
useInformations: true,
},micConfig: {
recorder: “arecord”,
device: “default”
},
Extented: {
useEXT: true,
deviceName: “MagicMiror”,
stopCommand: “stop”,
youtube: {
useYoutube: true,
youtubeCommand: “youtube”,
displayResponse: true,
useVLC: true,
minVolume: 30,
maxVolume: 100
},
links: {
useLinks: true,
displayDelay: 60 * 1000,
scrollActivate: false,
scrollStep: 25,
scrollInterval: 1000,
scrollStart: 5000
},
photos: {},
volume: {},
welcome: {},
screen: {},
touch: {},
pir: {},
governor: {},
internet: {
useInternet: “true”,
displayPing: false,
delay: 2 * 60 * 1000,
scan: “google.fr”,
command: “pm2 restart 0”,
showAlert: true,
needRestart: false
},
cast: {
useCast: true,
port: 8569
},
spotify: {
useSpotify: true,
visual: {},
player: {}
},
},
recipes: [],
NPMCheck: {
useChecker: false,
delay: 10 * 60 * 1000,
useAlert: false
},
}
}, -
ok have you update your pi lately
sudo apt update && sudo apt upgrade -y
Also have you updated GA?cd ~/MagicMirror/modules/MMM-GoogleAssistant npm run update
-
i tried that method but there’s still a problem
-
Your not VNC to pi just asking because i get a blank screen when VNC.
-
Open VLC Media Player
Tools/Preferences/Video and check your settings please
-
This post is deleted! -
I can’t attach my picture because it’s over the maximum capacity
-
Are they the same?
-
yes they are same
-
You’re using the HMDI plug next to the Power plug?
-
i’m using HDMI
-
next to the Power plug?
-
the power plug on the left side of the HDMI plug?
idk if we’re saying the same thing -
-
i’m using 3B+
-
-
Sorry
Wiki