Name | Size | ||
---|---|---|---|
" + String(foundfile.name()) + " | " + humanReadableSize(foundfile.size()/1024) + " | "; + returnText += ""; + returnText += " |
Main page
+Firmware: %FIRMWARE%
+Free Storage: %FREESPIFFS% | Used Storage: %USEDSPIFFS% | Total Storage: %TOTALSPIFFS%
++ + + + +
+ + + + + + +)rawliteral"; + +const char logout_html[] PROGMEM = R"rawliteral( + + + + + + + + + + +)rawliteral"; + +// reboot.html base upon https://gist.github.com/Joel-James/62d98e8cb3a1b6b05102 +const char reboot_html[] PROGMEM = R"rawliteral( + + + + + + +Name | Size | ||
---|---|---|---|
" + String(file1.name()) + " | " + humanReadableSize(file1.size()/1024) + " | "; + to_send += ""; + to_send += " |
|
\n";
+
+ Chunks++;
+ to_send.getBytes(buffer, maxLen); //??
+ return to_send.length();
+ }
+ else if(Chunks==1)
+ { if(ShowSong<99) // 98 & 99 is the last card
+ {
+
+
+//
+//
+
+
+
+
+ // 1 card holds 2 songs
+ // jukebox strips have only a middle bar for the artist
+ // Old the 45rpm records had A/B side belonging to the same artist
+ // but now we can have 2 different artists so the middle bar has to be used for two artist names
+ // unless you create a playlist with pairs of songs from the same artist
+ // the field for the artist will combine names if different
+
+ to_send += "
+//
+// Let It Be
+// Beatles
+// Yellow Submarine
+// H1
+// H2
+//
+//Bad
+// Michael Jackson
+// Liberian Girl
+// J7
+// J8 \n";
+
+ if(strcmp(CardLayout, "Rockola")==0)Columns = 5;
+ else Columns = 2;
+
+ for(col=0;col \n";
+
+ if(Columns>(col+1)) // spacer if need be
+ { to_send += "";
+ strcpy(songtitle, JukeBoxSongs[ShowSong].title);
+ fitoncard(songtitle);
+ to_send += songtitle;
+ to_send += " \n";
+ to_send += "";
+ combineartists(ArtistName, ShowSong);
+ to_send += String(ArtistName);
+ to_send += " \n";
+ to_send += "";
+ strcpy(songtitle, JukeBoxSongs[ShowSong+1].title);
+ fitoncard(songtitle);
+ to_send += songtitle;
+ to_send += " \n";
+ to_send += "";
+ makedesignator2(Designator, ShowSong);
+ to_send += Designator;
+ to_send += " \n";
+ to_send += "";
+ makedesignator2(Designator, ShowSong+1);
+ to_send += Designator;
+ to_send += " \n";
+ to_send += "";
+ to_send += " \n";
+ }
+ ShowSong+=2;
+ }
+
+ to_send += "\n"; // end of cardwarapper div
+
+ RowCount++;
+ if((RowCount % 10)==0)
+ { to_send += ""; + to_send += " "; + } + to_send.getBytes(buffer, maxLen); //?? + return to_send.length(); + } + else + { ShowSong=0; // for the next round + RowCount=0; // for the next round + Chunks++; + to_send += " | \n
E#zK>8?E>mJ=u-NH)<*>
z<9ckbAO#EfyK*_sUv5|7IN6;|KbKI?W0J+EuJICJ8AJDF#ZiIL2IE<-ZI($zeaJA2
z%xy#@aX*qW+Vo&3g#)sZ{|uTeRFn%6-@e7
ze#!bgxxsqxwfRM}q~x!fxl0xwBe$cu-}x^^kB!`aQ8-)LUhPn88D47clM=7>@S16y
z<0&l;Vx0$*v}NWt${ls~wbyQJo_qUbRV9Dqop8RVq=HovDpkBJBd=%S+$UNcUcPX?
z%SA7*wtv(zRD!;e#k0t|9(Y?~HemX_1{v+zyrQ0UVgCqc+^SfG=RW;fC@j242ySG}
znZJOvyknNIawpaz%AR6s>+s9DLX(lgXYY!H=mvjWN7hh07n2%2dC5G-aN6!kBR#_4
z`^6t+jW!CQOT*hGMHQY0fsi&2XWorU(u9{Casn*8@ulja$@#RE-H(l41lSD74CbQzJkzx2)%EzS$HN7r
zNq4Et1w>ZR$R#BEyYNLF%Wazg;2uxZU&%LJBmQyk%6ik=i6hrE{a4Ko8D>!9R=k|o
zk`Tj`XuL@A2Y#82opnI7D!=
z$rm~~8zC)9not~;JSRAiy@1`TQ5cx;NLZH7KEBcCnkDqKIpVij4a9JuF#h<82?