How do I map channels?
Added by Brian Friesen about 10 years ago
I'm hoping someone can help me, I fear I'm missing something obvious. I cannot figure out how to map services to channels. First some background. I live in the US and I'm interested in over-the-air broadcast TV, so we're looking at ATSC. Here's my setup:
My hardware is a Raspberry Pi B+ with a Hauppauge 950Q TV tuner. I've downloaded the correct firmware file into /lib/firmware. I'm using a 2A power supply and I've enabled the config.txt setting to provide >1A to the USB bus.
My software is Raspbian Wheezy, the September 2014 release. Following the directions from here [https://tvheadend.org/projects/tvheadend/wiki/AptRepository] on this site I added the tvheadend repository and installed tvheadend version 3.4~wheezy.
Next I browse to <ip>:9981. I clicked on Configuration | DVB Inputs | TV Adapters. I select my adapter from the drop down, click "Add DVB network" I select "us_ATSC_center_frequencies." I let tvhendend scan the muxes. When it completes it reports 10 services.
So far so good. But from here, I can't figure out how to map channels. I click on "Map DVB services to channels" but nothing happens. If I click on "Services" then select a channel and click "Map selected" again nothing happens. What am I missing? Or how do I map them manually? I've attached some screen shots. Thanks!
tvheadend1.png (35 KB) tvheadend1.png | Found services | ||
tvheadend2.png (44.5 KB) tvheadend2.png | Multiplexes | ||
tvheadend3.png (41.3 KB) tvheadend3.png | Services | ||
tvheadend4.png (22 KB) tvheadend4.png | Empty channels |
Replies (5)
RE: How do I map channels? - Added by Brian Friesen about 10 years ago
After much experimenting and frustration, I finally figured out how to do this. To manually map services to channels you must first create one or more empty channels to which you will map the services. This is backwards from what I would have expected. I would have expected the act of going from a service to a channel would create the channel.
Anyway, here is what you need to do to manually map services to channels.- Select Configuration | Channel/EPG | Channels.
- Click Add Channel which will create an empty channel entry.
- Under the Number column assign a number. As far as I can tell you can pick any number, this does not matter.
- Under the Name column enter a name that is meaningful to you. This could be "ABC" or "KEYT" or "Fox channel 24" - whatever is meaningful to you.
- Repeat steps 2 - 4 for each channel in your area.
- Very important, click Save Changes else all the work you have done will be lost when you leave the page.
- Select Configuration | DVB Inputs | TV Adapters | select your adapter from the combo box | Services.
- For each service in the list, double-click the Channel name column (where it currently says Unmapped) and a combo box will appear. From the combo select the destination channel you created above.
- Again, click Save Changes else all the work you have done will be lost when you leave the page.
Of course, there is the question of how do I know what channel is what since the only info present is the frequency? Sadly the easiest might be trial and error. Just pick one and then go view the channel. Once you figured out what channel it really is, change the mapping to the correct channel. The other option is to lookup broadcast channels in your area, find the real (not virtual) broadcast channel, then correlate that real broadcast channel to the frequency. That is why I say trial and error might be easier.
One final tidbit that helped me. Once you have mapped channels, an easy way to view them is to use VLC (available for free on all major computer platforms). Run VLC then from the menu at the top select Media | Open Network Stream. In the URL box enter "http://<name>:9981/playlist/channels" (where <name> is the name or IP address of your tvheadend server) and click Play.
I hope this helps someone else having difficulty figuring out how to map channels in tvheadend.
RE: How do I map channels? - Added by Matt R. about 10 years ago
Since I am having similar troubles, I will try this at home tonight. Once I map the channels, will the EPG auto populate? I have tv_grab_na_dd configured and it appears to be pulling content from SchedulesDirect.org.
RE: How do I map channels? - Added by Brian Friesen about 10 years ago
I really do not know, I have not had a chance to try EPG yet. To me, EPG is nice to have but not required - and since I only just got the channels up and working I have not tried to configure that yet. I plan to use tvheadend as an old-school VCR if you will; e.g. tell it to record channel 15 from 08:30 until 09:00. Eventually it would be nice to get EPG up and running, but one step at a time.
RE: How do I map channels? - Added by Rob vh about 10 years ago
What worked for me:
In the Services list, select (any) number of services by clicking on the line (and CTRL-RMB or SHIFT-RMB for multiple lines). Then press the Map selected button (the button is labeled Map all until you've selected your first line).
The mapped services appear in Channels table, with channel number 0 assigned. You simply double click on the channel number to change it. And you can combine multiple services into the same channel (in case your network has the same channel on different muxes).
EPG is collected for the channels you have defined.
RE: How do I map channels? - Added by Rob vh about 10 years ago
Oh, it works best when you take a service with a non-blank name. You can find them by clicking on the rightmost menu button of the Service name header (title). Select filter and put a ^ or a . in the filter selection.
If you want to "unfilter" call up the pull down menu and remove the checkmark for Filter.