Jump to content

Recommended Posts

Hey, I decided to make my first workflow to test if it can be done in NodeJS. Apparently it can and besides the bigger than usual file size it's nice and easy.

 

THIS WORKFLOW REQUIRES NODEJS

 

About

Simple Alfred workflow displaying current (today's or +/-1 day) TV shows.

 
Installation
 
Download the workflow file from and import it to Alfred (usually just double-click it).
 
It's a bigger file than I'd like since it contains all the necessary NodeJS modules.
 
Usage
 
There are two keywords:
 
You can also use it to display yesterday's or tomorrow's shows: `tv yesterday` / `tv tomorrow`
 
You can use an optional argument to filter down the list (e.g. `tvl doctor`)
 
Current version: 0.9.2
 
Known issues:
  • caching doesn't work

Changelog

 

v0.9.2 (2015-09-01)

  • fixed displaying shows from previous/next month
 
Screenshots
screenshot2015-08-31143342.png
screenshot2015-08-31144021.png
Edited by notagoodomen

Share this post


Link to post

That's pretty handy.

 

One observation: the caching doesn't do anything. Because Alfred starts a new workflow process every time, the in-memory cache will be gone. If you cached the feeds to disk, the workflow would run a lot faster and wouldn't hammer the servers so much.

Share this post


Link to post

Thanks for the tip!

 

I knew something is up with restarting the process but forgot about it later :)

 

I'll add some disk caching in the next revision.

 

EDIT: I updated the workflow so it correctly displays shows from previous/next month.

Edited by notagoodomen

Share this post


Link to post

I'm a huge fan of PogDesign's TV Calendar so this service is great! A few feature requests..

  1. Can the tv/tvl commands also have an optional configuration to feature data based on your personal filter? This might require either adding one's credentials in or your cookie details into the source (unless you could do so in the UI as setup. Either would be fine.
  2. Can you add another shortcut ("cat open", "tvcal open" or something else) that would open http://www.pogdesign.co.uk/cat/in your default browser. Of course, I could add a separate workflow for this but I think it's a good feature to have in this workflow.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×