notagoodomen Posted August 31, 2015 Share Posted August 31, 2015 (edited) 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: tv displays short list (based on http://pogdesign.com/cat) of today's showsYou can also use it to display yesterday's or tomorrow's shows: `tv yesterday` / `tv tomorrow` tvl displays long list (based on http://thetvdb.com/rss/newtoday.php) 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 workChangelog v0.9.2 (2015-09-01) fixed displaying shows from previous/next month Screenshots Edited September 1, 2015 by notagoodomen Link to comment
deanishe Posted August 31, 2015 Share Posted August 31, 2015 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. Link to comment
notagoodomen Posted September 1, 2015 Author Share Posted September 1, 2015 (edited) 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 September 1, 2015 by notagoodomen Link to comment
JAnderton Posted October 3, 2015 Share Posted October 3, 2015 I'm a huge fan of PogDesign's TV Calendar so this service is great! A few feature requests.. 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. 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now