• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[MMM-Showtimes] Local Cinema Showtimes

Scheduled Pinned Locked Moved Entertainment
10 Posts 6 Posters 4.0k Views 6 Watching
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.
  • S Offline
    Seann Module Developer
    last edited by Seann Jan 22, 2019, 2:25 AM Jan 22, 2019, 2:24 AM

    MMM-Showtimes - Local Cinema Showtimes.


    Unfortunately this is UK only for now. If there's enough interest I will source a better API for global use.
    Although I'm sure most of you could easily alter a few lines with an API of your choice to find cinemas close to you.

    Preview

    alt text

    Installation

    Installation is very simple, just clone the git into your modules directory then add the module to your config.

    cd ~/MagicMirror/modules
    git clone https://github.com/aSeann/MMM-Showtimes
    

    Using the module

    To use this module, add the following configuration block to the modules array in the config/config.js file:

    var config = {
        modules: [
            {
    		module: "MMM-Showtimes",
    		position: "top_right",
    		config: {
    			movies: 5,			//	Number of movies to display at each time.
    			cinema: 9521,		//	Get your local cinema ID from http://www.cinelist.co.uk/
    			scrollTime: 3000,	//	Duration in milliseconds to display the next film in the list and remove the first.
    			title: "Cinema Listings"	//	What ever you want the title to be, e.g. "Cinema Listings"
    		}
    	},
        ]
    }
    
    M 1 Reply Last reply Jan 22, 2019, 2:30 AM Reply Quote 3
    • M Offline
      Mykle1 Project Sponsor Module Developer @Seann
      last edited by Jan 22, 2019, 2:30 AM

      @seann

      If I leave now (from NYC) I can make the early show tomorrow. :-)

      Create a working config
      How to add modules

      S 1 Reply Last reply Jan 22, 2019, 2:36 AM Reply Quote 0
      • S Offline
        Seann Module Developer @Mykle1
        last edited by Jan 22, 2019, 2:36 AM

        @mykle1 Awesome. Guess you’re treating me to a movie tomorrow then.
        I actually have a small issue which i just realized, do you think you could help?
        Basically for some reason the css will only display 5 show times, the others seem to overflow, which is then hidden by the default “main.css” i used ul (the movie) display:block, and then ul li (the time) display inline-block and a set width, normally this would just put the next list item on a new line but not on this occasion. Any clue?

        M C L 3 Replies Last reply Jan 22, 2019, 3:04 AM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @Seann
          last edited by Jan 22, 2019, 3:04 AM

          @seann

          css is NOT my strong suit. I usually do a good bit of googling at that point and/or ask right here in the forum. Your question might be lost in here. If you can’t work it out I suggest you create another topic (ex. css help) and I am sure someone will give you the answer pretty quickly.

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • C Offline
            cowboysdude Module Developer @Seann
            last edited by Jan 22, 2019, 3:26 AM

            @seann He should…but he’s kinda cheap LOL

            1 Reply Last reply Reply Quote 0
            • L Offline
              lavolp3 Module Developer @Seann
              last edited by Jan 22, 2019, 10:35 AM

              @seann
              My suggestion: Fire up the mirror UI on your browser, press F12, move the move over your module, right click -> inspect.
              Then look at the styles section and play with switching styles on and off.
              Then you can use whatever you need in your own css overwriting main.css in your module.

              How to troubleshoot modules
              MMM-soccer v2, MMM-AVStock

              S 1 Reply Last reply Jan 22, 2019, 12:40 PM Reply Quote 3
              • S Offline
                Seann Module Developer @lavolp3
                last edited by Jan 22, 2019, 12:40 PM

                @lavolp3 Thanks! It was something stupid I had done. But I found it with your suggestion.

                1 Reply Last reply Reply Quote 0
                • X Offline
                  Xoni
                  last edited by Nov 6, 2020, 3:41 AM

                  any luck sourcing a new api? and where would i go about changing the api if i found one?

                  L 1 Reply Last reply Nov 6, 2020, 10:55 AM Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @Xoni
                    last edited by Nov 6, 2020, 10:55 AM

                    @Xoni Find me an API and I’ll integrate it for you :-D

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      swguk
                      last edited by Apr 9, 2022, 8:45 PM

                      Love this. Just got my board up and running and plan to integrate this asap !

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy