@MichMich I tried the jshint and jslint but, was not successful because of my lack of knowledge in this language. I fixed it but basically scrapping the whole file and doing one section at a time. I learnt a whole lot in two hours though haha
I tried to use the HTML tag to call a normal BitMap, but it just returns on the screen as a square with the normal icon that an image cannot be loaded or found…
I have the BitMap within the same directory as the index.html file and still this does not work, I think thought I would test the idea of loading a random image from google image using the exact link…
This worked straight away for me, but I cannot seem to get it to load regardless of the directory I use where the image is placed within the MagicMirror directory
If anyone cold help, put me straight that would be awesome!
Fairly new to MagicMirror2, everything is installed, current version, works a treat, looks awesome too!
Anyway I added this code as an tag within a tag, now this is the strange part if I open the index.html file using firefox itself runs as it should and plays the complete playlist, auto plays, repeats… Everything is fine.
But once it is opened as it should be on my Raspberry Pi 2 B, it will cue to autoplay the first song/video but then just show a revolving icon meaning it is loading and nothing more. However if I use tab on my keyb and hit the pause button and then hit the enter button again it is quite happy to play the next song/video for me until the end of that said track.
Here is the exact HTML
You can insert that within a tag if you wish and see if that will play the next track after the first automatically yourself if you wish…
Just the mind is boggling here and I’m not sure how or why this is happening…
Anyhelp of an example would be awesome
pi@raspberrypi ~ $ date
Sat May 14 09:32:09 EDT 2016
pi@raspberrypi ~ $
and here is the screenshot. if i wake up every day at 9am, i would not notice the 8hrs delay.
but since i wake up at 6am, thats when i noticed the delay as seen in previous screenshots
Taking this topic back to the storage question above, I did a fresh install on another rPi-3 and captured some info. One a stock Raspbian Jessie, running on an 8G card, with all apps updated, nothing removed, once you have MM up and running, you’re looking at the following for storage:
Now, since you’re likely to only use this for MM and nothing else, there’s no sense in leaving all of the other apps on it that are pre-installed. So, I removed some of the big ones:
And after running autoremove as well, which cleared even more space removing other unneeded apps, you’re down to this:
That’s 1.3G worth of storage that I just cleared up. So unless you need a larger SD card for other stuff, an 8G works just fine. Potentially even a 4G. You’ll still have plenty of room left after you clean up the installation.
Another option is to start with Raspbian Jessie-lite on a 4G card, but then you have to install the X server, desktop environment, and a login manager yourself. Assuming you get it all done correctly, you’ll end up with a very light weight installation of the OS, taking up only 53% of storage (remember, 4G card), with MM running lean and clean on top of that. I did try that as well but ran into issues with electron.js and for the time involved, knowing I wasn’t going to run it on there, it wasn’t worth continuing. I will leave that as an exercise to the brave.
I can also verify this as I just setup a brand new rPi yesterday. Downloaded a fresh copy of jessie, booted up the rPi, did the setup for it, made sure all apps were up to date (with 'sudo apt-get update ; sudo apt-get upgrade' then installed MM as per the wiki’s instructions. Done.
Regarding the ‘keyboard and mouse’ part in your post … I use a wireless set. So the rPi is mounted behind the monitor and only has 2 wires on it: power and HDMI. There’s a USB dongle plugged in that’s for the keyboard and mouse which I rarely use. Specially since I log in remotely. The only time I need the mouse or keyboard is if something bad happened and the rPi won’t boot up normally. But other than that, not needed.