Project

General

Profile

ATSC EPG - Possible Implementation Strategy?

Added by J.J. Smith almost 12 years ago

TVHeadend has made a lot of exciting progress recently, but developers have (pragmatically) focused on their local broadcast standards. For TVHeadend to become more useful for North Americans, it really needs an OTA ATSC EPG parser, even if it's only for Now/Next data. I don't know how to code, but I'd like to help as much as I can to move things along.

There are a few open source programs already developed that may serve as a plug-in or jumping off point:
1) DVBStreamer...............................(http://wiki.gentoo.org/wiki/TV_Tuner#EPG_Guide_Data - Method 1)
2) ATSC_EPG...................................(http://wiki.gentoo.org/wiki/TV_Tuner#EPG_Guide_Data - Method 2)
3) VDR ATSC_EPG............................(http://www.fepg.org/atscepg/download/ - maybe equivalent to program #2?)

The relevant ATSC EPG standards are:
1) EPG Transmission Protocol.........(http://www.atsc.org/cms/standards/a_65-2009.pdf)
2) EPG XML Schema........................(http://www.atsc.org/cms/standards/a_76b.pdf)

I realize most of the developers are European, already have their plates full and don't have access to ATSC broadcasts, but using us as proxies may work. Would it help to ssh into a North American user's back-end...if it could safely be done?

Any feedback on the feasibility of all this would be appreciated. :)


Replies (78)

RE: ATSC EPG - Possible Implementation Strategy? - Added by Mark Clarkstone almost 9 years ago

Quick & Easy guide to building Tvheadend on a RPi2 (This also works on any other deb system!).

sudo apt-get install git build-essential debhelper pkg-config fakeroot
git clone https://github.com/tvheadend/tvheadend.git build/tvheadend/master
cd build/tvheadend/master
./Autobuild.sh
What each lines does.
  • 1 Installs a few dependencies (you'll need to install some more later on).
  • 2 Clones the Tvheadend master branch from github & places it in build/tvheadend/master.
  • 3 Changes directory to the above path.
  • 4 Runs the Autobuild script that will build a debian package so that you can install it in a nice and neat way.

AUTOBUILD_CONFIGURE_EXTRA=--enable-libffmpeg_static ./Autobuild.sh if you want transcoding

Other info.
The Autobuild.sh script will complain about other missing dependencies you need to install those (using sudo apt-get install) and then run the script again.
Once the build has completed you'll find the built debian package (E.g tvheadend_4.1-368~geeda7d7_armhf.deb) in build/tvheadend.

You can then install it (and the debug package) using.

cd build/tvheadend
sudo dpkg -i tvheadend*.deb

RE: ATSC EPG - Possible Implementation Strategy? - Added by Jim DiCarlo almost 9 years ago

Well, I installed version 4.2 on my RP2 with OSMC as the os and I have some feedback. First of all, I would not have tried this if I had installed the hdhomerun driver on my original install but since I am getting one on Tuesday, I figured that I would rebuild with the latest version. What I noticed right away was that they created a wizard to configure it when you launch it with the firstrun option. But the wizard did not actually do anything, do not know if I was doing something wrong, but none of those options went into effect. Next problem I had was (by mistake) I edited the default user name (which was different on the version I installed 7 months ago) when username and password was on the same line now password was located on a different line, so now I was locked out of my new install. I proceeded to make uninstall an make clean but FYI that does not work correctly either and you need to manually remove the .hts folder and then reinstall it or the corrupt database is still there and you cannot login to the server. Well, it is working fine now and looking forward to adding an hdhomerun device on Tuesday to see how that works (that will be new to me since I never had one before) and do not know how that will get along with my other 2 USB tuners.

Jim

RE: ATSC EPG - Possible Implementation Strategy? - Added by Mark Clarkstone almost 9 years ago

Jim DiCarlo wrote:

Well, I installed version 4.2 on my RP2 with OSMC as the os and I have some feedback. First of all, I would not have tried this if I had installed the hdhomerun driver on my original install but since I am getting one on Tuesday, I figured that I would rebuild with the latest version. What I noticed right away was that they created a wizard to configure it when you launch it with the firstrun option. But the wizard did not actually do anything, do not know if I was doing something wrong, but none of those options went into effect. Next problem I had was (by mistake) I edited the default user name (which was different on the version I installed 7 months ago) when username and password was on the same line now password was located on a different line, so now I was locked out of my new install. I proceeded to make uninstall an make clean but FYI that does not work correctly either and you need to manually remove the .hts folder and then reinstall it or the corrupt database is still there and you cannot login to the server. Well, it is working fine now and looking forward to adding an hdhomerun device on Tuesday to see how that works (that will be new to me since I never had one before) and do not know how that will get along with my other 2 USB tuners.

Jim

There is no version 4.2 yet only 4.1.x development code. The wizard is a WIP and does not do much.

You can bypass any failed logins by using a superuser file (use dpkg-reconfigure to create this) or if that fails run tvheadend with the --noacl option.

(76-78/78)