@sdetweil Thanks I’ll get right on it!
Sent …
@sdetweil Thanks I’ll get right on it!
Sent …
@sdetweil Thank you Very Much for the reply.
You have always been helpful with issues!
I ended up running git pull && npm install --only=prod --omit=dev
From https://docs.magicmirror.builders/getting-started/upgrade-guide.html
It allows MM to launch. Appears to be reloading / relaunching periodically though.
@BD0G said in Updated and MM2 no longer launches:
‘module-alias/register’
I used this update process https://github.com/sdetweil/MagicMirror_scripts
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” apply
Also updated npm to latest version
Re: Should I update?
I just updated and I get a “Connection Refused message” when I launch MM2 .
Here is the output from when I use npm start.
pi@MagicMirror:~/MagicMirror/config $ npm start
magicmirror@2.21.0 start
./run-start.sh $1
node:internal/modules/cjs/loader:959
throw err;
^
Error: Cannot find module ‘module-alias/register’
Require stack:
@sdetweil Here is how I rotated mine and probably the same method was used.
https://www.youtube.com/watch?v=pCB-CHvc6j0
The video also discusses removing the black border as well.
I added the code to my custom.css file that was entered within one of the first posts and expected it to provide a new layout and look , but nothing changed?
Its as if the entries in the custom.css are not being recognized.
Do I need to add .MMM-Sonos right above the entires?
Update: Tried that and still no effect.
Any way to remove the Source: specifier?
I tried
showSource:False,
within the config.js to no avail.
I finally solved this. Turned out I left out the tilde (~) in front of the /node-sonos-http-api within the sonos.sh file. So in essence the directory was never switched to execute the npm start command. So even though my PM2 status of running processes showed Sonos as a running process it was not providing the output data so that the module could display it
If others load one .pdf file to the google drive and then delete all other files in that directory well then the file extension would still be .pdf (right) ? So then one could script it using *.pdf (file that ends in .pdf)
So whatever actions that were taken were performed upon a file that ended with .pdf
The file name becomes inconsequential. Just grab all .pdf files (as there will only be one) , download them to a specific directory you create on a local system (ftp sounds like it may be a good option for this) and then use the convert action that @ember1205 speaks of within ImageMagick, upload back to Google Drive via ftp and then (damn! Google Drive will then rename it with another file ID and then the URL that is within the config.js that points to the url will be broken and not display -ugggggg) . I think I understand now.
Here is a Google Chrome Add on that allows one to Overwrite the same file without changing the file name. It “may” be helpful?
https://chrome.google.com/webstore/detail/drive-overwrite-file-repl/llanhaaigblafdecdihpppjaeekpddfl?hl=en-US
It really sounds like you may have to delve into Google App Script to accomplish this. https://developers.google.com/apps-script
If you have questions about using this scripting tool then I think there is support over on www.stackoverflow.com
I am not a Google Script Coder so I cannot be of any help there.
MMM-Iframe has been overhauled and become MMM-SmartWebDisplay.
This module allows one to point to a website URL (one or multiple-that are displayed upon a time interval)
What one could do is install that module and then point it to the address of the URL with a static file name.
Then create a simple batch script that changes the name of the latest .pdf file to the .pdf file named in the url that is within the config.js file under the MMM-SmartWebDisplay settings.
This batch file would rename the .pdf file locally on the hard drive of a PC and then automatically FTP the file up to a server. Google Drive allows ftp right?
Want to send me a link to the .pdf file so I can try to display it within MMM-SmartDisplay?
You can PM if that is needed as well.