Skip to content

Instantly share code, notes, and snippets.

@pstadler
Last active October 11, 2015 11:08
Show Gist options
  • Save pstadler/3849183 to your computer and use it in GitHub Desktop.
Save pstadler/3849183 to your computer and use it in GitHub Desktop.
Geektool: Plex Media Server - show 10 recently added movies
#!/bin/bash
curl --ipv4 --silent "http://localhost:32400/library/sections/1/recentlyAdded?X-Plex-Container-Start=0&X-Plex-Container-Size=10" | grep -o 'title="\([^"]*\)"' | sed -e 's/title="//' -e 's/"//' | perl -MHTML::Entities -ne 'print decode_entities($_)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment