home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Electronic Program Guide
Shepherd- how to set up as guide source for Australian TV
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="etheesdad" data-source="post: 469677" data-attributes="member: 84335"><p>After I switched from Mythtv to MP, the only thing I missed was the excellent TV Guide, <a href="http://svn.whuffy.com/index.cgi" target="_blank">Shepherd</a>. One of its more notable features (apart from verbose tv data) is its ability to scrape IMDB for Movies on TV, and thetvdb for episode data. The result is very good indeed.</p><p></p><p><strong>Features:</strong></p><p></p><p></p><p>I was browsing xpmediacentre.com.au and came across a discussion of how to get it working in Windows. I jumped at the chance to set it up, and thought it might be useful to provide the a guide here on how to do it for anyone interested. The information below is pulled from that thread and from some other sources.</p><p></p><p>It requires a Linux box or a virtual machine with Linux running (in this case <a href="http://www.xubuntu.org" target="_blank">xubuntu</a>). I used <a href="http://www.virtualbox.org/" target="_blank">Virtualbox</a> as the VM. Any VM would probably work though. </p><p></p><p>On my machine the VM only uses 38mb of ram and 0% cpu when running minimised. (increases slightly when it grabs), but does not noticeably affect the performance of the machine. </p><p></p><p><strong>1. obtain xubuntu or another suitable distro</strong></p><p></p><p><strong>2. install and configure virtual machine in XP/Vista/W7.</strong></p><p></p><p>(Steps for Virtualbox)</p><p></p><p>new</p><p>OS- Linux</p><p>Type - Ubuntu</p><p>memory - default (384mb)</p><p>Virtual Hard Disk - NEW, dynamically expanding (8gb)</p><p><strong></strong></p><p><strong>3. boot xubuntu / virtual machine and add dependencies for shepherd</strong></p><p></p><p>[CODE]sudo apt-get install xmltv libxml-simple-perl libjavascript-perl libalgorithm-diff-perl \</p><p>libgetopt-mixed-perl libcompress-zlib-perl libdata-dumper-simple-perl \</p><p>libdate-manip-perl liblist-compare-perl libdatetime-format-strptime-perl \</p><p>libhtml-parser-perl libxml-dom-perl libgd-gd2-perl libdigest-sha1-perl \</p><p>libarchive-zip-perl libio-string-perl libdbi-perl libclass-dbi-mysql-perl[/CODE]</p><p></p><p><strong>4. Install <em>Guest Additions</em> in the VM (Virtualbox) - this allows file sharing and a number of other useful features.</strong></p><p></p><p>In the VM window:</p><p></p><p>Devices -Install -Install Guest Additions</p><p>(toggle from full-screen mode so you can see the VM menu bar).</p><p></p><p>[CODE]cd /media/cdrom0</p><p>sudo sh ./VBoxLinuxAdditions-x86.run[/CODE]</p><p></p><p>restart</p><p></p><p><strong>5. Get Shepherd and configure (script is self explanatory)</strong></p><p></p><p>[CODE]w-get http://www.whuffy.com/shepherd/shepherd</p><p>perl ./shepherd[/CODE]</p><p>(remove the '-' from w-get - its there because the forum blocks posts with this command)</p><p></p><p><strong>6. Run shepherd to get guide data</strong></p><p><strong></strong></p><p>[CODE]perl ./shepherd[/CODE]</p><p></p><p>(Takes awhile for the first run)</p><p></p><p>The resulting file is stored at:</p><p></p><p>~/.shepherd/output.xmltv</p><p></p><p><strong>7. make and mount a shared folder</strong></p><p></p><p>In XP, make a folder and share it (ie, C:\shared)</p><p></p><p>Virtualbox:</p><p>devices</p><p>shared folders</p><p>machine folders</p><p>add (path)</p><p>tick "make permanent"</p><p></p><p>then mount the shared XP folder to the Linux share</p><p></p><p>[CODE]sudo mount -t vboxsf (name of xp shared folder without path ie "shared") (name and path of linux shared folder ie "/home/usrname/shared)[/CODE]</p><p></p><p>ie:</p><p>[code]sudo mount -t vboxsf shared /home/jim/shared[/code]</p><p></p><p><strong>8. direct MP to the file in the Host's (XP) shared folder</strong></p><p></p><p>TVserver config - XMLTV - Import c:\shared\tvguide.xml</p><p>(dont forget to map channels in xmltv)</p><p>- more info on the XMLTV plugin here</p><p></p><p><strong>9. Set up a cron job to make shepherd run automatically once per day</strong></p><p></p><p>Open a terminal window in xubuntu and enter:</p><p>[CODE]</p><p>export EDITOR=gedit</p><p>export VISUAL=gedit</p><p>crontab -e[/CODE]</p><p></p><p>add 2 lines to the file:</p><p></p><p>[code]</p><p># m h dom mon dow command</p><p></p><p>[B]0 12 * * * ~/.shepherd/shepherd --quiet 2>&1 >/dev/null</p><p>0 14 * * * cp /home/(username)/.shepherd/output.xmltv /home/(username)/shared/tvguide.xml 2>&1 >/dev/null[/B]</p><p>[/code]</p><p></p><p>line 1 runs shepherd once per day at midday (12)</p><p>line 2 copies and renames the output file to windows share folder at 2pm (14)</p><p></p><p>--if you dont have gedit, substitute the name for the editor you use ie 'nano'</p><p></p><p><strong>10. Remove from taskbar</strong></p><p></p><p>Lastly, I found it a bit annoying having the VM on my taskbar as I dont really want to know its there, so I found a neat little utility that puts it in the system tray, where its out of the way.</p><p></p><p><a href="http://www.abstractpath.com/powermenu" target="_blank">Powermenu</a></p><p></p><p>The results are great. Much more detail than any tvguide.xml generator Ive run in the past.</p><p></p><p>Thanks to <a href="http://www.xpmediacentre.com.au/community/members/arkay/" target="_blank">Arkay</a> and <a href="http://www.xpmediacentre.com.au/community/members/aanda6/" target="_blank">aanda6</a> for the information and support.</p></blockquote><p></p>
[QUOTE="etheesdad, post: 469677, member: 84335"] After I switched from Mythtv to MP, the only thing I missed was the excellent TV Guide, [URL="http://svn.whuffy.com/index.cgi"]Shepherd[/URL]. One of its more notable features (apart from verbose tv data) is its ability to scrape IMDB for Movies on TV, and thetvdb for episode data. The result is very good indeed. [B]Features:[/B] I was browsing xpmediacentre.com.au and came across a discussion of how to get it working in Windows. I jumped at the chance to set it up, and thought it might be useful to provide the a guide here on how to do it for anyone interested. The information below is pulled from that thread and from some other sources. It requires a Linux box or a virtual machine with Linux running (in this case [URL="http://www.xubuntu.org"]xubuntu[/URL]). I used [URL="http://www.virtualbox.org/"]Virtualbox[/URL] as the VM. Any VM would probably work though. On my machine the VM only uses 38mb of ram and 0% cpu when running minimised. (increases slightly when it grabs), but does not noticeably affect the performance of the machine. [B]1. obtain xubuntu or another suitable distro[/B] [B]2. install and configure virtual machine in XP/Vista/W7.[/B] (Steps for Virtualbox) new OS- Linux Type - Ubuntu memory - default (384mb) Virtual Hard Disk - NEW, dynamically expanding (8gb) [B] 3. boot xubuntu / virtual machine and add dependencies for shepherd[/B] [CODE]sudo apt-get install xmltv libxml-simple-perl libjavascript-perl libalgorithm-diff-perl \ libgetopt-mixed-perl libcompress-zlib-perl libdata-dumper-simple-perl \ libdate-manip-perl liblist-compare-perl libdatetime-format-strptime-perl \ libhtml-parser-perl libxml-dom-perl libgd-gd2-perl libdigest-sha1-perl \ libarchive-zip-perl libio-string-perl libdbi-perl libclass-dbi-mysql-perl[/CODE] [B]4. Install [I]Guest Additions[/I] in the VM (Virtualbox) - this allows file sharing and a number of other useful features.[/B] In the VM window: Devices -Install -Install Guest Additions (toggle from full-screen mode so you can see the VM menu bar). [CODE]cd /media/cdrom0 sudo sh ./VBoxLinuxAdditions-x86.run[/CODE] restart [B]5. Get Shepherd and configure (script is self explanatory)[/B] [CODE]w-get http://www.whuffy.com/shepherd/shepherd perl ./shepherd[/CODE] (remove the '-' from w-get - its there because the forum blocks posts with this command) [B]6. Run shepherd to get guide data [/B] [CODE]perl ./shepherd[/CODE] (Takes awhile for the first run) The resulting file is stored at: ~/.shepherd/output.xmltv [B]7. make and mount a shared folder[/B] In XP, make a folder and share it (ie, C:\shared) Virtualbox: devices shared folders machine folders add (path) tick "make permanent" then mount the shared XP folder to the Linux share [CODE]sudo mount -t vboxsf (name of xp shared folder without path ie "shared") (name and path of linux shared folder ie "/home/usrname/shared)[/CODE] ie: [code]sudo mount -t vboxsf shared /home/jim/shared[/code] [B]8. direct MP to the file in the Host's (XP) shared folder[/B] TVserver config - XMLTV - Import c:\shared\tvguide.xml (dont forget to map channels in xmltv) - more info on the XMLTV plugin here [B]9. Set up a cron job to make shepherd run automatically once per day[/B] Open a terminal window in xubuntu and enter: [CODE] export EDITOR=gedit export VISUAL=gedit crontab -e[/CODE] add 2 lines to the file: [code] # m h dom mon dow command [B]0 12 * * * ~/.shepherd/shepherd --quiet 2>&1 >/dev/null 0 14 * * * cp /home/(username)/.shepherd/output.xmltv /home/(username)/shared/tvguide.xml 2>&1 >/dev/null[/B] [/code] line 1 runs shepherd once per day at midday (12) line 2 copies and renames the output file to windows share folder at 2pm (14) --if you dont have gedit, substitute the name for the editor you use ie 'nano' [B]10. Remove from taskbar[/B] Lastly, I found it a bit annoying having the VM on my taskbar as I dont really want to know its there, so I found a neat little utility that puts it in the system tray, where its out of the way. [URL="http://www.abstractpath.com/powermenu"]Powermenu[/URL] The results are great. Much more detail than any tvguide.xml generator Ive run in the past. Thanks to [URL="http://www.xpmediacentre.com.au/community/members/arkay/"]Arkay[/URL] and [URL="http://www.xpmediacentre.com.au/community/members/aanda6/"]aanda6[/URL] for the information and support. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
Shepherd- how to set up as guide source for Australian TV
Contact us
RSS
Top
Bottom