Press "Enter" to skip to content

Category: Uncategorized

Indexing my movie collection

#FirstWorldProblems – having so many DVDs that you forget what you already own and end up buying multiple copies of the same movie.  While 126 movies isn’t a massive collection, it’s enough for me to sometimes forget what I have when I’m pillaging the $5 bins at Best Buy and Target. To solve for this, I created a Google Sheets list of my collection so I could check what I have from my phone.  After typing all the titles into the list, I realized it’d be very easy for me to use the code I wrote for my DirecTV project to scrape additional details for the movies and create a nice, simple UI….so I did: What it does Using The Movie DB API, I pull several pieces of information about the film and store it locally: title, image, release date, rating, budget, revenue, runtime, synopsis, genres, cast, etc. Storing it locally reduces repetitive, slow API calls and allows me to cleanly add additional attributes like whether it’s DVD, Blu-Ray, Google Movies, Amazon Video, etc. Adding new titles is easy – I just type in the name and the rest of the details populate immediately.   There are two views: one shown…

Location to HTTP – Send GPS data to remote script

I wanted to capture my phone’s location information and store it remotely (on my server) so I could do with it as I please.  Most of the apps I found were severely limited in that they only mapped within the app, were riddled with ads, crashed frequently, or were untrustworthy (they’re storing my location, after all).  So, I decided to build my own app that did what I wanted. Location to HTTP Location to HTTP is an app I’m working on which allows users to input a remote script URL to capture a device’s location information via POST. How it works Create a remote script to capture the variables $lat and $lon via POST (example below). Download the app and enter the URL of that script. The app will automatically send the location information every 5-10 minutes to the script. Possible Uses Track your phone’s location so you can retrace your steps if you lose it. Store your location history for displaying in custom interfaces. Share your location with friends/family when travelling or hiking. Trigger home automation events based on your location (turn on the heat, turn on the lights, unlock the doors, feed the pets, water the plants, etc.).…