How to setup DVB starting from a clean database =============================================== Table of contents 0.-Prerequisites 1.-Install for DVB 2.-Setting up sources/cards 3.-Adding channels to your database ---------------------------------------------- 0.-Prerequisites ================ Before trying this, you must have a DVB card installed with its drivers. You can get the latest drivers by going to http://www.linuxtv.org Plese test them to be sure that they are working correctly with the apps provided by the driver (zap, scan, etc...) or any other app before going i forward with this install. 1.-Install for DVB ================== 1.1.-Checkout mythtv sources and mythchannels. 1.2.-Edit mythtv/settings.pro to enable DVB cwuncommenting the following lines: CONFIG += using_dvb DEFINES += USING_DVB INCLUDEPATH += 1.3.-Compile mythtv by as described in the mythtv docs 1.4.-Install the mythtv database as described in the mythtv docs (mc.sql) 1.5.-Run mythchannels.sql to complete the database schema for dvb 2.-Setting up sources/cards =========================== Note that for DVB you can skip the step "./setup" described in the mythtv documentation, since that step it's currently just for Analog TV. 2.1. Run "mythfrontend" 2.2. Go to Setup->TV Settings->Channels Setup. Since at this point there is no channels defined, you'll get a screen where the only option available there is "Add DVB sources". If you don't get that option that is because there is no /dev/dvb directory on your system (no DVB driver installed). No way to setup DVB sources without the driver installed. 2.3. Select "Add DVB sources". By doing this you'll get a dialog screen where you can choose between the DVB types (terrestrial, satellite, cable) and the card number. Fill that information according to the cards that you have installed in your sistem. Card number is the number assigned by the driver and can be from 0 to 3 depending on the number of DVB cards installed on your system. Accept your configuration by hitting the "Add" Button. Note that if you get into that dialog again, if the dialog finds that the card is already present in your database, instead of "Add" you will have the "Delete" button instead. 2.4.- Go back to the Menus. (The tree is currently not refreshed) 3.-Adding channels to your database =================================== 3.1. Get back to Channels setup. Now the sources have been refreshed so if you nagigate across the tree you will see a new option from the root: Digital DVB->DVB type (Sat/Ter/Cable)->Source & Iputs.... At the DVB type level, you'll have the choices available for each source. Use the one that fits better to your case. There is on screen texts that explain the functionallity provided by each option. Within the distribution, at mythchannels/contrib/ directory you will find: -An example of channels.conf in vdr format with a few channels of Astra (19.2E), with channel lists and channel presets. (DVB-S) -An example channels.conf in tzap fromat with the DVB channels for London (UK) area. (DVB-t) 3.2. After adding a channel(s) using whatever option, you should get out from channels setup and go back again. You'll see now in the tree new roots that allow you to browse all the channels and eventually, edit it's properties. 3.3.- At this point, you already have channels at your database, so you just have get out from mythfrontend and start mythtv as usual (starting mythbackend first). You'll see here that just when starts, tries to tune to the default channel. If it says that is tuned, you are done! If not, be sure that you have followed this instructions and report your problem with as much information you can to the mythtv lists.