Git Product home page Git Product logo

berlincinemas's People

Contributors

joshuef avatar mazzi avatar milan-cermak-sociomantic avatar milancermak avatar

Watchers

 avatar  avatar  avatar  avatar

berlincinemas's Issues

Make the app cope with a unknown cinema

It can happen that there's a movie playing in a cinema we don't know yet. In that case, the cinema property of the KOMovie object in nil which causes loads of nastiness like crashes.

Work around this issue by a) not displaying the screenings without a cinema assigned and b) ignoring these in the filtering/sorting operations.

Server side Tasks

  • Clean api code
  • Parse last cinemas (debug)
  • Server for the API
  • nginx with gzip
  • mongodb running
  • public domain
  • Lat and Long for the cinemas
  • Logger for debugging the process

Exception raised when excecuting getshowtimes

Using

Flask (0.10.1)
Flask-Script (0.6.2)

I get the following error...

mazzi@mazzibook:~/Documents/projects/berlincinemas$ python manage.py getshowtimes
 * Preparing environment
Traceback (most recent call last):
  File "manage.py", line 14, in <module>
    manager.run()
  File "/Library/Python/2.7/site-packages/flask_script/__init__.py", line 366, in run
    raise e
AttributeError: 'Acud' object has no attribute 'name'

Could be something with my environment though. @milancermak are you able to reproduce?

parse OV / OMU on the server

And mark a field in the database.

Should only be done for 'new' movies. (assuming the ones we have already have been parsed).

  • These would return a field in the response: 'original: true'.
  • the words and brackets of OmU / OV should be removed from the title field.

Parse Freiluft on the server

If the kino name has 'freiluft' in it, lets give it a freiluft: true field and return this.

would be BAD ASS, if we had a /berlin/cinemas/freiluft endpoint that returned only those movies.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.