This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Requirements

This uses both tmdb.org and rotten tomatoes to get information about movies and generate a webpage. The following libraries are needed:

sudo pip install rottentomatoes requests tmdb3

API Licenses

You will also have to sign-up for free API keys at both locations in order to access their info. Either create a file.json with the following format or set your environment.

{
        "ROTTENTOMATOES": "1234567890",
        "TMDB": "1234567890"
}

or

::
export ROTTENTOMATOES=1234567890 export TMDB=1234567890

Page Generator

Getting help:

media -h

usage: A simple media html5 generator [-h] [-p PATH] [-m MOVIES] [-k KEYS]

optional arguments:
-h, --help show this help message and exit
-p PATH, --path PATH
 path to install webpages
-m MOVIES, --movies MOVIES
 absolute path to the movies
-k KEYS, --keys KEYS
 location of API keys

The webpage generator only needs to be run when new movies are added to a folder.

media --movies /path/to/movies --path /path/to/put/webpages

This creates a main page with a tile mosaic of movie posters. Clicking on any of the posters will open a modal window with a larger view of the poster and some information about the movie such as run time, rating, rotten tomato scores. There is also an icon next to the run time, which, if clicked will take you to a trailer for the movie. Clicking on the movie poster itself will play the movie.

HTTP Server

Media only creates static webpages. It needs to be combined with a webserver, such as node.js http-server, to make it truely useful. The companion project to this is movie server but really anything can be used.

To install on OSX:

brew install node

Then get the http server

npm install http-server -g

Then start it running

http-server ./ -p 8080

Usage

Now navigate to computer:8080/<webpage_name> to access your movies. Mine is tardis.local:8080/movies.html.

Release History

Release History

1.0.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
media-1.0.3.tar.gz (2.1 MB) Copy SHA256 Checksum SHA256 Source Sep 29, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting