Ticket #1758: mythtv-setup-programs-move-2.diff
File mythtv-setup-programs-move-2.diff, 12.4 KB (added by , 18 years ago) |
---|
-
docs/mythtv-HOWTO.sgml
1148 1148 <p><bf>NOTE</bf>: This section will be considered abandoned as of v0.20. 1149 1149 <p>Red Hat Linux 9 use a default locale with UTF-8 encoding. 1150 1150 Date::Manip, a perl module used by XMLTV, is not UTF-8 safe. As a result, 1151 whenever you run setup or mythfilldatabase you will get a lot of UTF-8 1152 warnings. There is an <url url="http://membled.com/work/patches/DateManip/" 1151 whenever you run mythtv-setup or mythfilldatabase you will get a lot of 1152 UTF-8 warnings. There is an 1153 <url url="http://membled.com/work/patches/DateManip/" 1153 1154 name="http://membled.com/work/patches/DateManip/"> updated version of 1154 1155 Date::Manip at the XMLTV site fixing this and other XMLTV related 1155 1156 bugs. … … 1345 1346 Fill in the survey, then proceed to the lineup choices and configure your 1346 1347 account for your particular location and the channels that you have. This 1347 1348 configuration will be imported into MythTV when you first run the 1348 <bf> setup</bf> program.1349 <bf>mythtv-setup</bf> program. 1349 1350 1350 1351 See the section called <ref id="MigratingtoDD" name="Migrating from XMLTV 1351 1352 to DataDirect"> for instructions on moving to DataDirect if you are … … 1503 1504 <list> 1504 1505 <item>You do NOT need the MySQL server installed on your remote frontend 1505 1506 <item>You do NOT need XMLTV installed on your remote frontend 1506 <item>You do NOT need to run the MythTVsetup program on1507 <item>You do NOT need to run the mythtv-setup program on 1507 1508 your frontend machine 1508 1509 </list> 1509 1510 … … 1515 1516 Once MythTV is compiled and installed: 1516 1517 <list> 1517 1518 <item> 1518 Run the MythTVsetup program on your Master backend. Under the "General"1519 Run the mythtv-setup program on your Master backend. Under the "General" 1519 1520 menu, change the IP address of the current machine (by default, "127.0.0.1") 1520 1521 to the real external IP address - 127.0.0.1 is the loopback address and no 1521 1522 external machine can access it. Change the Master Server IP setting to the … … 2182 2183 <bf>irw</bf> and configure the channel changing script. 2183 2184 2184 2185 The path to the channel changing script will need to be entered on the 2185 myth backendsetup screen for Input Connections.2186 mythtv-setup screen for Input Connections. 2186 2187 2187 2188 This csh script will be called each time MythTV needs to change the channel. 2188 2189 Below is a copy of the script followed by the corresponding perl script. … … 2241 2242 partition for MythTV. 2242 2243 2243 2244 If you create a <tt>/var/video</tt> subdirectory, change 2244 <tt>/mnt/store/</tt> to <tt>/var/video/</tt> in the setup screens.2245 <tt>/mnt/store/</tt> to <tt>/var/video/</tt> in the mythtv-setup screens. 2245 2246 <tscreen><verb> 2246 2247 $ su 2247 2248 # mkdir /var/video … … 2257 2258 have only one backend, then it will be its own master. 2258 2259 2259 2260 The Master backend will always choose the first available tuner in the same 2260 order as you add cards through " setup". In other words, the second card you2261 add will only be used when there are two overlapping recordings, the third 2262 when there are three, and so on. Therefore, you will want to have the2263 greatest amount of disk space on the Master backend because its tuner will 2264 always be the first choice. You will then want to add your <ref2261 order as you add cards through "mythtv-setup". In other words, the second 2262 card you add will only be used when there are two overlapping recordings, 2263 the third when there are three, and so on. Therefore, you will want to have 2264 the greatest amount of disk space on the Master backend because its tuner 2265 will always be the first choice. You will then want to add your <ref 2265 2266 id="nonmaster_backend" name="other backends"> in the order of your 2266 2267 preference for recording. 2267 2268 … … 2328 2329 2329 2330 <sect2>General 2330 2331 <p>The first screen of the General configuration deals with IP addresses of the 2331 system that you're running setup on and any master backend you may have. If2332 you've only got one machine, then the default values are fine and you can2332 system that you're running mythtv-setup on and any master backend you may have. 2333 If you've only got one machine, then the default values are fine and you can 2333 2334 move to the next page by pressing the space bar. If you need to move around 2334 2335 the screen, use the arrow keys to move focus between settings, not the 2335 2336 mouse. … … 2393 2394 <bf>NOTE</bf>: You need <bf>wget</bf> version 1.9.1 or higher to use 2394 2395 DataDirect. 2395 2396 2396 The setup program will contact the Zap2It servers and get your account2397 The mythtv-setup program will contact the Zap2It servers and get your account 2397 2398 information. Once you're done, you may click the Finish button and skip the 2398 2399 next few paragraphs in this document since they only apply to users that are 2399 2400 using the external XMLTV script to get their guide data. … … 2469 2470 <p>The channel editor is used to globally alter channel information, 2470 2471 including items like hue, contrast, fine tuning and others. Users in North 2471 2472 America shouldn't run the channel editor until after completing initial 2472 setup and running <bf>mythfilldatabase</bf> at least once to populate the2473 database.2473 mythtv-setup and running <bf>mythfilldatabase</bf> at least once to populate 2474 the database. 2474 2475 2475 2476 <sect1>Post-configuration 2476 2477 <p>Run the <tt>mythfilldatabase</tt> program as directed. The master … … 2544 2545 backends as discussed in the section titled <ref id="modify_perm_mysql" 2545 2546 name="Modifying access to the MySQL database for multiple systems"> and that 2546 2547 you have the correct IP address for the database server in the "Database 2547 Configuration" screen of the setup application on this slave backend.2548 Configuration" screen of the mythtv-setup application on this slave backend. 2548 2549 2549 2550 <figure loc="here"> 2550 2551 <eps file="stop.eps" height="1cm"> … … 2944 2945 but it generates larger files than MPEG-4 for a given recording. 2945 2946 2946 2947 For DVB and HDTV cards, no further configuration is required after 2947 setting up the card using the ' setup' program.2948 setting up the card using the 'mythtv-setup' program. 2948 2949 For all other cards, configuration is done through MythFrontend. 2949 2950 Selecting 'Recording Profiles' from the 'TV Settings' screen will list 2950 2951 the profiles currently available for the cards in your system. … … 3578 3579 <sect2>Wakeup the MySQL server using WOL 3579 3580 <p>If your MySQL server and your Master backend are not on the same machine, 3580 3581 you can have the Master backend wake your MySQL server using WOL. You will 3581 find the settings for this in the second page of the setup program,3582 find the settings for this in the second page of the mythtv-setup program, 3582 3583 or at the end of <tt>mysql.txt</tt>. The meanings are the same as 3583 3584 discussed in "The WakeOnLan settings" above. 3584 3585 … … 3747 3748 can be useful if you believe that you prefer any of the shows on certain 3748 3749 channels. This would give all shows on a channel an advantage by default. 3749 3750 3750 Input priority -- in the MythTV "setup" program, the "Input Connections"3751 Input priority -- in the "mythtv-setup" program, the "Input Connections" 3751 3752 section allows you to add additional priority in the "Input priority". 3752 3753 This is simply another priority factor but has an interesting effect. If a 3753 3754 card input has a higher value than the other cards, the scheduler will see … … 5353 5354 intents and purposes your computer will have crashed. 5354 5355 5355 5356 <sect1>Installing 5356 <sect2>When trying to run setup, you get an error like this: "./setup: error while loading shared libraries:" 5357 <sect2>When trying to run mythtv-setup, you get an error like this: 5358 "mythtv-setup: error while loading shared libraries:" 5357 5359 <p>You didn't add <tt>/usr/local/lib</tt> to <tt>/etc/ld.so.conf</tt>. See the 5358 5360 section on modifying <ref id="modifying_ld.so.conf" name="/etc/ld.so.conf">. 5359 5361 … … 5976 5978 <img src="stop.png"> 5977 5979 <caption><bf>NOTE</bf>: Performing this step will remove the entire database. 5978 5980 You will lose all of your settings and will need to re-run the mc.sql script 5979 to setup the database structure before running the setup program.5981 to setup the database structure before running the mythtv-setup program. 5980 5982 </caption> 5981 5983 </figure> 5982 5984 <tscreen><verb> … … 6309 6311 database. 6310 6312 6311 6313 One example of an advanced configuration is the round-robin scheme. Rather 6312 than defining all of the cards on the master, you could first go into setup6313 on the master to define globals such as the general configuration and the 6314 channel lineup but not the host-specific configuration item like the capture6315 ca rd. In this example, we will use a 4 tuner configuration, where two6314 than defining all of the cards on the master, you could first go into 6315 mythtv-setup on the master to define globals such as the general configuration 6316 and the channel lineup but not the host-specific configuration item like the 6317 capture card. In this example, we will use a 4 tuner configuration, where two 6316 6318 slaves have one card each and the master has two. 6317 6319 <enum> 6318 6320 <item>Add the first capture card on one of the slaves. Complete the 6319 6321 configuration, connecting the input source to the card. This will get 6320 cardid #1 in the database. Exit setup.6322 cardid #1 in the database. Exit mythtv-setup. 6321 6323 <item>Configure the first capture card on the master backend. This will get 6322 cardid #2 in the database. Exit setup.6324 cardid #2 in the database. Exit mythtv-setup. 6323 6325 <item>Configure the first capture card on the second slave. This will be 6324 cardid #3 in the database. Exit setup.6326 cardid #3 in the database. Exit mythtv-setup. 6325 6327 <item>Configure the second capture card on the master backend. This will 6326 get cardid #4 in the database. Exit setup.6328 get cardid #4 in the database. Exit mythtv-setup. 6327 6329 </enum> 6328 6330 6329 6331 Using this scheme, the master backend will not use both capture cards until … … 7019 7021 $ 7020 7022 </verb></tscreen> 7021 7023 7022 Run the MythTVsetup program. When the setup program prompts "Would you7024 Run the mythtv-setup program. When the setup program prompts "Would you 7023 7025 like to clear all program/channel settings before starting configuration 7024 7026 [no]" type "yes". 7025 7027 … … 7034 7036 You <em>must</em> associate your DataDirect information with the inputs on 7035 7037 your capture device. If you created "Cable-DD", then don't forget to bind 7036 7038 <tt>/dev/video0</tt> to Cable-DD in the <ref id="VideoSources" name="Video 7037 Sources"> portion of setup.7039 Sources"> portion of mythtv-setup. 7038 7040 </caption> 7039 7041 </figure> 7040 7042 7041 Once you're done running setup, run <bf>mythfilldatabase</bf> to populate7042 the database with new data.7043 Once you're done running mythtv-setup, run <bf>mythfilldatabase</bf> to 7044 populate the database with new data. 7043 7045 7044 7046 To restore the channel icons, you will need to perform one of two steps. 7045 7047 Both are dependant on the channel_copy table you created above. … … 7176 7178 7177 7179 On the slower machine: 7178 7180 7179 Start the backendsetup program. Advance through the pages until you get to7181 Start the mythtv-setup program. Advance through the pages until you get to 7180 7182 the Job Queue page. Turn off the setting that says "Allow Commercial 7181 7183 Detection jobs", thereby preventing any commercial flagging jobs from 7182 7184 running on this machine. … … 7188 7190 7189 7191 On the faster machine: 7190 7192 7191 Start the backendsetup program. Advance through the pages until you get to7193 Start the mythtv-setup program. Advance through the pages until you get to 7192 7194 the Job Queue page. Ensure that "Allow Commercial Detection jobs" is turned 7193 7195 ON for this machine. 7194 7196 … … 7628 7630 cables, etc. 7629 7631 7630 7632 Once you have confirmed that your card is able to lock onto a HDTV signal it 7631 is time to configure MythTV. Start the setup program, and in the Capture7632 Ca rds section change the card type to "Digital Video Broadcast".7633 is time to configure MythTV. Start the mythtv-setup program, and in the 7634 Capture Cards section change the card type to "Digital Video Broadcast". 7633 7635 7634 7636 For HDTV you do not need to use the Advanced configuration. 7635 7637 <sect1>Diskless Ubuntu -
programs/programs.pro
11 11 } 12 12 13 13 using_backend { 14 SUBDIRS += mythbackend mythfilldatabase 14 SUBDIRS += mythbackend mythfilldatabase mythtv-setup 15 15 } 16 16 17 17 using_frontend:using_backend { -
mythtv.pro
14 14 # Directories 15 15 SUBDIRS += libs filters programs themes i18n 16 16 17 using_backend {18 SUBDIRS += setup19 }20 21 17 # clean up config on distclean, this must be the last sub-directory 22 18 SUBDIRS += config