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="MPBuddy" data-source="post: 867051" data-attributes="member: 123163"><p>Thanks<a href="https://forum.team-mediaportal.com/members/etheesdad.84335/" target="_blank"> etheesdad<span style="color: #000000">, below is a variation to your method that I use for paytv program </span></a>information.</p><p>This method launches virtualbox/linux/shepherd once a day at 3am from the windows sheduler.</p><ol> <li data-xf-list-type="ol">Install virtualbox with linux mint 12 and shepherd as you described.</li> <li data-xf-list-type="ol">Add a shared folder so that linux can write files directly to the windows xmltv folder.<br /> In virtualbox menu devices->shared folders add a share called xmltv and select the windows xmltv folder.<br /> Check "make permanent", but not automount. On win7 and MP1.2.3 the xmtv folder was "C:\program data\TeamMediaPortal\MediaPortal TV Server\xmltv"</li> <li data-xf-list-type="ol">From the linux command line make the directory //media/share-xmltv then add the following command to "//etc/init.d/rc.local" so it mounts on boot.<br /> [CODE]mount -t vboxsf xmltv //media/share-xmltv<br /> [/CODE]</li> <li data-xf-list-type="ol">Give the linux user shutdown privilages. Add the following to /<a href="https://forum.team-mediaportal.com/members/etheesdad.84335/" target="_blank">/etc/sudoers</a><br /> [CODE]<username> ALL=NOPASSWD: /sbin/shutdown -h now[/CODE]</li> <li data-xf-list-type="ol">In the linux users home folder add the following script called epg.sh<br /> [CODE]perl shepherd<br /> echo copying epg to windows share<br /> cp ~/.shepherd/output.xmltv //media/share-xmltv/tvguide.xml<br /> echo Ctrl-C now to prevent shutdown.<br /> sleep 60<br /> echo shutting down now!<br /> sudo shutdown -h now<br /> sleep 10[/CODE]</li> <li data-xf-list-type="ol">Create the scipt epg-startup.sh so that shepherd runs in a terminal<br /> [CODE]xterm -e ./epg.sh[/CODE]</li> <li data-xf-list-type="ol">Now you need to run this script on linux boot. In mint12 I did this using the "startup applications preferences" tool found in Applications->Other->Startup Applications. Add an item to run epg-startup.sh</li> <li data-xf-list-type="ol">Now you need to launch virtualdub and linux from the windows command line. I created epg.bat on the windows desktop.<br /> [CODE]echo EPG run on %date% at %time% > epg.log<br /> "c:\program files\oracle\virtualbox\vboxmanage.exe" startvm <virtualmachine name>[/CODE]</li> <li data-xf-list-type="ol">In media portal configuration PowerScheduler++ add VirtualBox to the list of programs to prevent the computer from going to sleep while virtualbox is running.</li> <li data-xf-list-type="ol">Run the epg.bat script from the windows task sheduler, say every morning at 3am. In win7 I found this only worked if used "Run only when the user is logged in". Maybe a permissions issue?</li> <li data-xf-list-type="ol">In media portal configuration select to use xmltv. This plugin periodically checks to see if the tvguide.xml file has been updated.</li> <li data-xf-list-type="ol">Map your channels to the epg data in the xmltv plugin.</li> </ol><p>NB. The first time shepherd is run it can take a few hours.</p><p> </p><p>Good luck.</p></blockquote><p></p>
[QUOTE="MPBuddy, post: 867051, member: 123163"] Thanks[URL='https://forum.team-mediaportal.com/members/etheesdad.84335/'] etheesdad[COLOR=#000000], below is a variation to your method that I use for paytv program [/COLOR][/URL]information. This method launches virtualbox/linux/shepherd once a day at 3am from the windows sheduler. [LIST=1] [*]Install virtualbox with linux mint 12 and shepherd as you described. [*]Add a shared folder so that linux can write files directly to the windows xmltv folder. In virtualbox menu devices->shared folders add a share called xmltv and select the windows xmltv folder. Check "make permanent", but not automount. On win7 and MP1.2.3 the xmtv folder was "C:\program data\TeamMediaPortal\MediaPortal TV Server\xmltv" [*]From the linux command line make the directory //media/share-xmltv then add the following command to "//etc/init.d/rc.local" so it mounts on boot. [CODE]mount -t vboxsf xmltv //media/share-xmltv [/CODE] [*]Give the linux user shutdown privilages. Add the following to /[URL='https://forum.team-mediaportal.com/members/etheesdad.84335/']/etc/sudoers[/URL] [CODE]<username> ALL=NOPASSWD: /sbin/shutdown -h now[/CODE] [*]In the linux users home folder add the following script called epg.sh [CODE]perl shepherd echo copying epg to windows share cp ~/.shepherd/output.xmltv //media/share-xmltv/tvguide.xml echo Ctrl-C now to prevent shutdown. sleep 60 echo shutting down now! sudo shutdown -h now sleep 10[/CODE] [*]Create the scipt epg-startup.sh so that shepherd runs in a terminal [CODE]xterm -e ./epg.sh[/CODE] [*]Now you need to run this script on linux boot. In mint12 I did this using the "startup applications preferences" tool found in Applications->Other->Startup Applications. Add an item to run epg-startup.sh [*]Now you need to launch virtualdub and linux from the windows command line. I created epg.bat on the windows desktop. [CODE]echo EPG run on %date% at %time% > epg.log "c:\program files\oracle\virtualbox\vboxmanage.exe" startvm <virtualmachine name>[/CODE] [*]In media portal configuration PowerScheduler++ add VirtualBox to the list of programs to prevent the computer from going to sleep while virtualbox is running. [*]Run the epg.bat script from the windows task sheduler, say every morning at 3am. In win7 I found this only worked if used "Run only when the user is logged in". Maybe a permissions issue? [*]In media portal configuration select to use xmltv. This plugin periodically checks to see if the tvguide.xml file has been updated. [*]Map your channels to the epg data in the xmltv plugin. [/LIST] NB. The first time shepherd is run it can take a few hours. Good luck. [/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