{"id":497,"date":"2019-08-24T14:24:25","date_gmt":"2019-08-24T06:24:25","guid":{"rendered":"http:\/\/www.lanchbury.id.au\/?p=497"},"modified":"2019-08-26T11:37:38","modified_gmt":"2019-08-26T03:37:38","slug":"add-shepherd-xmltv-grabber-to-ubuntu-plex-server","status":"publish","type":"post","link":"https:\/\/www.lanchbury.au\/?p=497","title":{"rendered":"Add shepherd XMLTV Grabber To Ubuntu Plex Server"},"content":{"rendered":"<p>Now that Plex has dropped guide data support for the Live TV \/ DVR component of their Plex Pass feature set, it&#8217;s necessary to configured your Plex server to download XMLTV guide data by other means.\u00a0 Below is my take to configure a Ubuntu Plex Media Server with the guide data script Shepherd.<\/p>\n<p>&lt;code&gt;sudo su<br \/>apt-get install libcrypt-ssleay-perl <em>(maybe not required)<\/em><br \/>apt-get install liblwp-protocol-https-perl\u00a0libxmltv-perl<br \/>apt-get install libalgorithm-diff-perl\u00a0liblist-compare-perl<br \/>sudo plex<br \/>mkdir source<br \/>cd source<br \/>wget &#8216;https:\/\/raw.githubusercontent.com\/ShephedProject\/shepherd\/release\/applications\/shepherd&#8217;<br \/>perl shepherd<br \/>cd ~<br \/>.\/shepherd&lt;\/code&gt;<br \/>Go through the prompts to configure the script, answer no to any MythTV specific questions.\u00a0 Also don&#8217;t enter an admin password to create the symbolic link(s)<br \/>&lt;code&gt;.\/shepherd &#8211;component-set augment_timezone:timeoffset=+0800&lt;\/code&gt;<br \/>MythTV&#8217;s guide data has always been in local time, but I&#8217;ve identified Plex wants it in GMT time with a timezone argument, the above command sets this within the output.xml.\u00a0 <em>Warning this method gets a little tricky with daylight savings, which Perth doesn&#8217;t have to deal with, so I have no insight here with how to resolve this issue.<br \/><\/em>Now lets download your first data set, this will take hours, not because it takes this long but because the script is very low impact with the data providers in an attempt to not be blocked.\u00a0 So please be patient here, and don&#8217;t look at the methods to speed it up, for the good of all.<em><br \/><\/em>&lt;code&gt;.\/shepherd\u00a0&#8211;noautorefresh&lt;\/code&gt;<br \/>Once this is complete we can setup automatic downloading<br \/>&lt;code&gt;vim \/etc\/crontab<br \/>add the line &#8220;11 *\/12 * * * plex \/var\/lib\/plexmediaserver\/.shepherd\/shepherd &#8211;noautorefresh&#8221;<br \/>ls \/var\/lib\/plexmediaserver\/.shepherd\/&lt;\/code&gt;<br \/>With the above you should see a output.xml copy this path and file name and drop it into making you DVR settings path to xml box.<\/p>\n<p>At this stage Plex doesn&#8217;t seem to have the ability to assign the channel labels correctly to their channels, or the channel icons, I&#8217;ll see if I can correct this soon, update to come.<\/p>\n<p>Back note: I am certainly aren&#8217;t holding Plex, being a MythTV user since 2005 I know how screwed up media content and end user rights are.\u00a0 I have been struggling this TV guide data for many many years, and I was so surprised Plex was able to throw it in.\u00a0 But as always eventually the network carriers win and the system breaks.<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that Plex has dropped guide data support for the Live TV \/ DVR component of their Plex Pass feature set, it&#8217;s necessary to configured your Plex server to download XMLTV guide data by other means.\u00a0 Below is my take to configure a Ubuntu Plex Media Server with the guide data script Shepherd. &lt;code&gt;sudo suapt-get &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.lanchbury.au\/?p=497\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,4],"tags":[],"class_list":["post-497","post","type-post","status-publish","format-standard","hentry","category-how-to","category-technical","item-wrap"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7tC7P-81","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=497"}],"version-history":[{"count":7,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/497\/revisions"}],"predecessor-version":[{"id":505,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/497\/revisions\/505"}],"wp:attachment":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}