Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="1">
<Activity uuid="bfc2e9f3-70dd-40ce-b651-e89930bc9adf" type="grabber.grab" cancellable="1" userID="1" title="Recording" subtitle="Tennis - Third Round" progress="30">
<Context deviceID="1" itemKey="/tv.plex.providers.epg.onconnect:4/metadata/com%2Egracenote%2Eonconnect%3A%2F%2Fepisode%2FEP029126510003" itemMediaIndex="0" subscriptionID="6" />
</Activity>
</MediaContainer>
Code: Select all
Watching ${execi 2 curl -sH "X-Plex-Token:yourtokenhere" http://127.0.0.1:32400/status/sessions | grep "size" | cut -f2 -d'"'}
Code: Select all
Recording ${execi 2 curl -sH "X-Plex-Token:yourtokenhere" http://127.0.0.1:32400/activities | grep "size" | cut -f2 -d'"'}
Code: Select all
${execi 2 curl -sH "X-Plex-Token:yourtokenhere" http://127.0.0.1:32400/activities | sed -n '3p'|cut -c 130- }
Code: Select all
Tennis - Third Round" progress="39">
here is a screenshot of what is showing so far.