MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-Cocktails

    Entertainment
    8
    24
    7042
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • johnnyboy
      johnnyboy @Mykle1 last edited by

      This post is deleted!
      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @johnnyboy last edited by

        @johnnyboy said in MMM-Cocktails:

        but I would have liked one that randomises every so often > to see whats on offer.

        I actually went and checked the API source again (just for you Amigo) and the database is NOT a single source which would be simple enough to implement what you are asking for. There are at least 26 sources (A-Z) for alcohol and 26 more for non-alcohol and a slew of others (name, ID #, vodka, gin, whiskey, and on and on etc etc). I’ve looked for another API but this one seems to be it.

        Create a working config
        How to add modules

        johnnyboy 1 Reply Last reply Reply Quote 0
        • johnnyboy
          johnnyboy @Mykle1 last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • Mykle1
            Mykle1 Project Sponsor Module Developer last edited by

            Description:

            How to make all kinds of mixed drinks - Instructions, ingredients and images.
            See ReadMe for installation and config options. Includes css file.

            Update

            New drink every 10 minutes

            Download:

            Version 1.0.1

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • Mykle1
              Mykle1 Project Sponsor Module Developer last edited by Mykle1

              The new look! Courtesy of our friend @Cowboysdude.

              Thanks bro!

              0_1516408884324_Capture.PNG

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 1
              • D
                doubleT Module Developer last edited by

                I didn’t look at the code, yet, but I think I see a possible issue (just from the image):
                Either they forgot the grenadine juice in the ingredient list – or you’re cutting off the ingredient list too short (after 5 elements).

                From a Web Design standpoint I’d also suggest using “left-aligned”, or maybe “justified” for the receipt.

                Mykle1 1 Reply Last reply Reply Quote 0
                • Mykle1
                  Mykle1 Project Sponsor Module Developer @doubleT last edited by

                  @doubleT

                  Well, I imagine there are more than a few mistakes in this module. It was my very first, 9 months ago. Three months before that I didn’t know what a Raspberry Pi was. I have absolutely no background in code. I’m a retired police officer that finds this stuff very interesting, fun and fascinating. I’ve learned quite a bit in 1 year. Not bad for an old guy and grandfather of 2, if I do say so myself. I’m still amazed that I can make any of this work. 🙂

                  Feel free to make any corrections you think are necessary. Then, load the module, mix a drink, throw it back, and chill. 🙂

                  Peace!

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • Mykle1
                    Mykle1 Project Sponsor Module Developer last edited by

                    Corrected an error that was being thrown after the last modification. It didn’t stop the module from running but who wants to see those ugly red errors in the console? Not me. Hell no! 🙂

                    Peace

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • Alex2020
                      Alex2020 last edited by

                      Salve una domanda quale comando bisogna scrivere per far si che quando passa da un ‘coktail’ ad un altro la tabella mi rimanga sempre della stessa larghezza e altezza?Grazie.

                      cowboysdude Mykle1 2 Replies Last reply Reply Quote 0
                      • cowboysdude
                        cowboysdude Module Developer @Alex2020 last edited by

                        @Alex2020 Perhaps someone can translate for you… I have no idea what you’re saying. I really wish I could help here…

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy