Last active
October 11, 2015 11:08
-
-
Save pstadler/3849183 to your computer and use it in GitHub Desktop.
Geektool: Plex Media Server - show 10 recently added movies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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