SpaceK33z / plex2netflix

See how much of your media from Plex is available on Netflix.
273 stars 23 forks source link

Add JSON feed of Netflix items #10

Open yesbutwhy opened 8 years ago

yesbutwhy commented 8 years ago

Please provide a JSON feed of all Netflix items. Original intent: get a list of items that Netflix has that the user doesn't. Expiration dates would be helpful too!

https://www.reddit.com/r/PleX/comments/3ytwdj/i_made_a_tool_to_quickly_see_how_much_of_your/cygpgr7

SpaceK33z commented 8 years ago

I think this is also a perfectly valid excuse to cleanup the code somewhat. Right now it loops through the media found on Plex, immediately searches the Netflix Roulette API and logs the output. It would be a lot cleaner to let ./index.js return an JSON array with the processed media, and let ./cli.js simply loop through the resulting JSON and log it to the console.