Latest Posts
Forum: Windows 8: Media Center & OS
Last Reply: saxnix (May 22 2013 05:17 PM)
Forum: Windows Media Center Plugins & Addons
Last Reply: makryger (May 22 2013 03:58 PM)
Forum: Pay TV Configuration - Foxtel : Optus : Austar
Last Reply: philzgr8 (May 22 2013 03:49 PM)
Forum: Media Center & Technology News
Last Reply: logifuse (May 21 2013 11:22 PM)
Recent Topics
-
My Channel Logos XL!makryger - May 22 2013 03:58 PM
-
Credit Card Fraudlogifuse - May 22 2013 01:06 AM
-
Live TV on the Xbox Oneipguy - May 21 2013 10:33 PM
-
Xbox One and TVipguy - May 21 2013 03:17 PM
-
Dynamic DNS serviceDuffy - May 21 2013 05:55 AM
Shepherd Installation Guide?
#1
Posted 16 June 2012 - 05:44 AM
Just in the process of fine tuning a frontend and backend setup, and it has come time to EPG installation.
I will probably use shepherd as it seems to be what people are using.
Has anyone created an up to date guide on how to get it working? I have found bits and pieces on this site but may have missed something.
I am running Mythbuntu 12.04 32bit on both machines if that makes a difference.
Cheers
Peter
#2
Posted 16 June 2012 - 09:05 AM
Look over the whole page before starting and make sure you install the perl dependancies as well
And in particular
</h3>
<h3 id="UbuntuLucid10.04andlater">Ubuntu Lucid 10.04 and later
In Lucid, Ubuntu removed the Perl module JavaScript. To enable JavaScript in Ubuntu Lucid 10.04 and later, you must manually install two packages: libmozjs0d and libjavascript-perl.
- Visit http://launchpad.net...kage/libmozjs0d
- Under "Published Versions" click the link that matches your architecture (amd64, i386, etc).
- Under "Downloadable files" click the link for the .deb package
- Download the .deb file, run it, and click "Install Package." Exit when finished.
- Visit http://launchpad.net...ipt-perl/1.14-1
- Under "Builds" click the link that matches your architecture (am64, i386, etc).
- Under "Built Files" click the link for the .deb package
- Download the .deb file, run it, and click "Install Package." Exit when finished. (Ubuntu 11.10 and later: This step may fail due to a missing dependency on 'perlapi-5.10.1'. If so, open a command line, navigate to the directory where you downloaded the libjavascript file, and enter "sudo dpkg -i --force depends <filename>", where <filename> will be something like libjavascript-perl_1.14-1_amd64.deb. This will, however, leave your system unable to 'apt-get upgrade' without Ubuntu complaining about unmet dependencies. I don't know a good solution for this.)
- (optional) To confirm you have JavaScript support, run tv_grab_au --update. The grabbers rex and news should install with no errors. You may also wish to tv_grab_au --check.
Edited by rileyp, 16 June 2012 - 09:10 AM.
#3
Posted 16 June 2012 - 05:51 PM
I don't think the java stuff is 100% critical anymore. Read it some where.
Install the dependencies for Ubuntu, maybe just one line at a time. The ones that might not install will most likely be to do with java. Run the same line again without the missing package. All should go ok.
When complete, go to top of page and install shepherd. It will list what passes and fails during setup.
Select guided setup and pretty much yes to everything else except payTV. You can redo it later.
You will more than likely need to edit the cron job to fix an error in the way shepherd imports into mythtv.
Here
Lester
Edited by Lester_Burnham, 16 June 2012 - 05:52 PM.
#4
Posted 17 June 2012 - 01:57 AM
Is this what you guys do, or do you just use the same user as what myth is configured with..?
Edited by cojaxx8, 17 June 2012 - 01:57 AM.
#5
Posted 17 June 2012 - 02:07 AM
Hi,Thanks Riley and Lester, I am just running through this now but running into a few troubles mainly because I have created a dedicated user for shepherd.
Is this what you guys do, or do you just use the same user as what myth is configured with..?
I just run everything as my normal user.
My normal user gets added to Mythtv group anyway.
Lester
Edited by Lester_Burnham, 17 June 2012 - 02:09 AM.
#6
Posted 17 June 2012 - 02:09 AM
Hi,
I just run everything as my normal user.
Lester
Hmm ok, I might do the same.. You don't see any real security risk?
#7
Posted 17 June 2012 - 02:14 AM
Not really. Never had a problem yet.
I just change SSH port from standard and password protect mythweb.
Other than that, it depends what ports you have open on router anyway.
What issue were you thinking of?
Lester
#8
Posted 17 June 2012 - 02:26 AM
Hi,
Not really. Never had a problem yet.
I just change SSH port from standard and password protect mythweb.
Other than that, it depends what ports you have open on router anyway.
What issue were you thinking of?
Lester
I dunno to be honest. I don't really have a great understanding of linux so someone could be in my system right now and I wouldn't even know where to look/what to look out for.
My thinking was that, since it will be downloading guide data from the internet something malicious may sneak through. Once its on there it may open up a entry point for some attacker.
But I don't know if thats a real possibility or not. I'll persist with trying to get it running under a seperate user and failing that will just use the 1 user account or just the standard TV Guide.
#9
Posted 17 June 2012 - 03:07 AM
I think you could just do the shepherd install minus the dependencies again as your user, then login and comment out the cron tab for the other user. Login as other user and crontab -e.
It still should run as the other user, via the crontab, as long as you edit it as explained in the post above.
Much simpler as your own user though.
Shepherd will run as soon as you finish the install. To see it is doing it's job, I normally reboot and run it manually from command line and import manually to start with.
tv_grab_auand watch it go for a couple of hours.
Then
mythfilldatabase --file --sourceid 1 --xmlfile ~/.shepherd/output.xmltv
Lester
Edited by Lester_Burnham, 17 June 2012 - 03:12 AM.
#10
Posted 17 June 2012 - 03:21 AM
mythfilldatabase --file --sourceid 1 --xmlfile ~/.shepherd/output.xmltv,
but I re ran the ~/.shepherd/shepherd --configure command and think I my have it working now. I'm just running tv_grab_au and will see what happens
2012-06-17 16:58:56.523569 N Unknown xmltv channel identifier: 7mate.free.au - Skipping channel.
2012-06-17 16:58:56.523823 N Unknown xmltv channel identifier: 7two.free.au - Skipping channel.
2012-06-17 16:58:56.524074 N Unknown xmltv channel identifier: abc1.free.au - Skipping channel.
2012-06-17 16:58:56.524321 N Unknown xmltv channel identifier: abc2.free.au - Skipping channel.
2012-06-17 16:58:56.524580 N Unknown xmltv channel identifier: abc3.free.au - Skipping channel.
2012-06-17 16:58:56.524853 N Unknown xmltv channel identifier: abcnews24.free.au - Skipping channel.
2012-06-17 16:58:56.525098 N Unknown xmltv channel identifier: centralgts.free.au - Skipping channel.
2012-06-17 16:58:56.525352 N Unknown xmltv channel identifier: eleven.free.au - Skipping channel.
2012-06-17 16:58:56.525589 N Unknown xmltv channel identifier: gem.free.au - Skipping channel.
2012-06-17 16:58:56.525827 N Unknown xmltv channel identifier: go!.free.au - Skipping channel.
2012-06-17 16:58:56.526062 N Unknown xmltv channel identifier: one.free.au - Skipping channel.
2012-06-17 16:58:56.526310 N Unknown xmltv channel identifier: sbshd.free.au - Skipping channel.
2012-06-17 16:58:56.526545 N Unknown xmltv channel identifier: sbsone.free.au - Skipping channel.
2012-06-17 16:58:56.526798 N Unknown xmltv channel identifier: sbstwo.free.au - Skipping channel.
2012-06-17 16:58:56.527044 N Unknown xmltv channel identifier: sc10.free.au - Skipping channel.
2012-06-17 16:58:56.527271 N Unknown xmltv channel identifier: win.free.au - Skipping channel.
#11
Posted 21 June 2012 - 05:20 PM
I have successfully got it working under a different user account. The main thing to remember is that the user accounts needs access rights to the Mythtv database. If using Mythbuntu add the user to the 'mythtv' group on the server.
Then schedule a cron job under that user account with the following command (This is the same one that has been described by lester here) http://www.pcmediace...post__p__328625
~/.shepherd/shepherd --daily --quiet && mythfilldatabase --file --sourceid 1 --xmlfile ~/.shepherd/output.xmltv --quiet >/dev/null 2>&1
I am yet to try this but if someone wanted to isolate the shepherd user from the mythtv database as well, then two cron jobs could be scheduled.
1st - Under the Shepherd user account - which will grab the new data and update the xml file.
~/.shepherd/shepherd --daily --quiet
2nd - Under a user account that has access to the mythtv database (generally the user that installed mythtv)
mythfilldatabase --file --sourceid 1 --xmlfile /home/shepherd/.shepherd/output.xmltv --quiet >/dev/null 2>&1
Once again thanks to lester and riley for helping out with this
Edited by cojaxx8, 21 June 2012 - 05:22 PM.














