ptrk95 / MMM-MusicOnDemand

A module for the Magic Mirror using a music on demand service.
MIT License
7 stars 4 forks source link

Features to search for an Artist/Title doesn't work #8

Open YannG91 opened 4 years ago

YannG91 commented 4 years ago

Hello, Since few weeks the notifications to listen a specific artist or title don't work anymore. If i check the browser i can see that the steps to "Searches for a Artist" or "Searches for a Title" are ok (the pages are loaded) but it never plays the songs.

Note: the features to play or pause music work fine.

Here is the log i get back when i send the notification to play an artist: 0|MagicMirror | { TimeoutError: waiting for selector "#page_naboo_search > div.container > div.search-suggest.clearfix > div.suggest-column.column-artist > ul > li > div.nano-card-infos > div.heading-4.ellipsis > a" failed: timeout 30000ms exceeded 0|MagicMirror | at new WaitTask (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_modules/puppeteer/lib/DOMWorld.js:549:28) 0|MagicMirror | at DOMWorld._waitForSelectorOrXPath (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_modules/puppeteer/lib/DOMWorld.js:478:22) 0|MagicMirror | at DOMWorld.waitForSelector (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_modules/puppeteer/lib/DOMWorld.js:432:17) 0|MagicMirror | at Frame.waitForSelector (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_modules/puppeteer/lib/FrameManager.js:627:47) 0|MagicMirror | at Frame. (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_modules/puppeteer/lib/helper.js:112:23) 0|MagicMirror | at Page.waitForSelector (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_modules/puppeteer/lib/Page.js:1095:29) 0|MagicMirror | at searchArtist (/home/pi/MagicMirror/modules/MMM-MusicOnDemand/node_helper.js:189:19) name: 'TimeoutError' } "

Thanks in advance for the help :)