Update mythtv to .27




















Ask Question. Asked 10 years, 2 months ago. Active 10 years, 2 months ago. Viewed 6k times. Improve this question. Add a comment. Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. Having two channels with the same callsign may affect how program information is shown in mythfrontend. If two sources have the same callsign and channel number, the program guide and program lists will only show one instance of the channel number and callsign.

If the same callsign is on two different channel numbers, both will be shown and if two sources have different callsigns with the same channel number, both of those will be shown. The fundamental concept to keep in mind is that the MythTV scheduler will choose the lowest numbered input available when showings have the same priority.

If there are factors that cause two showings of the same show to have different priorities then the higher priority showing will be considered before the showings with lower priority. If a value is set, that amount will be added to the "total priority" for showings on that input. This can be used to influence using favored cards or not using less favored cards unless necessary.

Let's say the "The Apprentice" is on at pm with a priority of 3. The scheduler would assign "The Apprentice" to card 1 and "Who Cares" to card 2 at pm. If the input priority for the input on card 2 was changed to -1, "Who Cares" would have a total priority of -2 for showings on card 1 and -3 for showings on card 2. The scheduler would assign "The Apprentice" to card 1 at pm and "Who Cares" to card 1 at pm when the better card is available.

If there was another higher priority show at 11pm, the next best choice for "Who Cares" would be card 2 at 8pm with the priority Card 1 and 2 have input priority "0":. Card 2 with input priority "-1":. Card 2 at "-1" but higher priority shows at both 8 P. Note the two different effects, each of which may be what you desire depending on circumstance. If input priorities are equal, shows will record at the earliest time if any input is available.

If input priorities differ, shows may be postponed to a later time in order to record on the best input. Priority can be added for individual channels remember, frequencies from a video source, not stations. This can be used to tell the system that you generally prefer the content of the station on a channel over the formats of other stations. If the same station is on two different channels, you can use channel priority to have the same effect for these channels as input priority would have for whole inputs.

You may not want to tie up the HD input for news originating in standard definition. The scheduler would then prefer to record CNN shows on any analog channel 20 before considering using only when there are no analog inputs available. For an even finer grain of control, there is a per rule option to specify which input should be preferred for showings that match the rule. For illustration, let's say there will be a Space Shuttle launch on CNN that will be broadcast in high definition. Adding a rule to record the launch with priority "0" should default to channel 20 on input 2.

Channel would have this at -1 due to the channel priority set in the previous example. While this one rule would prefer the HD input with channel , all other rules that match shows on CNN would still prefer channel Note that this will not work properly if the preferred input priority does not out weigh differences in input and channel priorities. In the preceeding fictious example, the Space Shuttle launch is broadcast in high definition and a preferred input is selected to give preference to the HD input.

However, TV listings from zap2it. This value will be added automatically if the listings for the show have the "hdtv" flag set. However, the flag is not set for standard definition channels. This is another example of the listings being different for the same station on a different channel. While Input, Channel, and HDTV Priority can be used for indicating a preference for certain programs and inputs, there may be circumstances that cannot be resolved easily with these standard features.

MythTV includes a feature for "power priority". The Custom Priority editor in mythfrontend's "TV Settings" screen is similar to Custom Record, however, Custom Priority allows you to create specialized power priority factors to influence scheduling decisions. For example, the 'program. This will raise the priority of shows marked with "CC" over those that are not by applying the "Priority Value" whenever the SQL fragment evaluates to true.

If the expression evaluates to false for a showing, the "Priority Value" is not applied. The "first" and "last" flags for an episode will only be set for the same showing when there is only one showing of that episode in the current TV listings.

This rule would raise the priority in these cases so that these shows would have an advantage to record in their only available time slot.

A common issue with two or more analog capture cards is that one of the cards may have more interference on some channels than the same channels on other cards. This example gives a disadvantage to the channels in this list but only for the first input.

Therefore, a show on channel 39 would choose input 2 or 3 if possible but for channels not in this list, input 1 is still the first choice. The Custom Priority editor includes many example fragments and complete examples that can be used or you can create your own to suit your needs. MythTV has a rich set of plugins available.

Once you have downloaded the tarball, untar it and run the configure script:. Note that a single configure script now does configuration for all modules.

By default, it will compile all modules. If you do not wish to compile a module, either because it is of no use to you, or you do not have the prerequisites, the simplest course of action is to go through the various sections below, satisfying the prerequisites, and then compile all modules at once. For example, you would only like to compile and install MythGallery and MythMusic. JPG file to present additional information onscreen.

The command line would look like:. For simplicity, the examples below will disable compilation of all other modules other than the one being discussed. MythWeb allows you to use a web page to control various aspects of your MythTV system. MythWeb is a separate application, but it's dependent on MythTV being installed and operational. The next step depends on whether your distribution has a web server and if you have PHP support.

By default, MythWeb uses an Apache. To create the password file for Apache if your system doesn't already have one , you could do something like this:. MythWeb allows you to configure which keys are bound to which actions within MythTV, but does not check to ensure they will work properly. If you find yourself wedged into a theme that isn't working, open your web browser and go to site:. MythGallery is a photo and slideshow application.

MythGallery is a separate application, but it's dependent on MythTV being installed and operational.

MythGallery is a part of the mythplugins package. See "MythPlugins" for instructions on downloading the tarball. There are a number of transitions available, some requiring OpenGL support. You will also need to install a TIFF library. The configuration for MythGallery is accessed through the main Setup option in mythfrontend. Make sure you set your pictures directory to wherever you're storing your photos. When you first start MythGallery, you will see a thumbnail view of any folders and pictures in the Gallery Directory you specified in setup.

If this is the first time you have accessed this directory, the thumbnails will be generated on the fly. If the Gallery Dir is writable, these thumbnails will be cached thus speeding up future access. On the left is a greyed-out menu of options. The menu options are as follows:.

When the import key is pressed, a new directory the destination directory under the current directory will be created and the import path will be searched. If the item in the import path is a directory the source directory , the contents of that directory will be copied to the destination directory. If you would like the source directory to be that of a removable device, it might be a good idea to use autofs.

If the item in the import path is an executable file, MythGallery will attempt to execute it with the destination directory as its sole argument. Be careful when using executable scripts that the script runs unattended doesn't need user intervention and returns properly, otherwise it could create the appearance of MythGallery hanging e. Also be sure that scripts have executable permissions set. MythGame can be used as a frontend to start any emulator that your host OS runs.

This is an example of how to set up xmame on Linux. NOTE : There may be pre-packaged versions of xmame available for your distribution. Because some ROMs work better with different display toolkits, or possibly even older versions of xmame, it's convenient to keep all of your xmame binaries and to rename them to include the version number.

MythGame allows you to match individual roms to preferred binaries. NOTE : Depending on how you compiled xmame, you may have xmame. X11, xmame. SDL or xmame. Also, you may need to remove and recreate xmamerc after upgrading since some of the default options may have changed. Confirm that xmame works before running it inside MythTV. The following files allow you to add extra functionality. Screenshots are displayed when you are browsing your ROMS in mythgame. MythGame is part of the mythplugins package.

See the instructions in the "Downloading and Compiling" section to obtain mythplugins. Select New Game Player. MythMusic has a number of prerequisites that must be satisfied before it is operational. Depending on your distribution, some of these prerequisites can be satisfied through the various package managers. If your distribution doesn't offer pre-compiled versions of the software below, then follow the generic instructions for manually compiling and installing the software. These instructions are for distributions which don't have pre-compiled versions of the software necessary to run MythTV.

Additional visualizations have been added to MythMusic. If you wish to use these, there are some prerequisites you must install prior to compiling. OpenGL should be installed on practically all distributions. However, you will need the devel module. Configuration of MythMusic occurs in two places. The main mythfrontend Setup is for global MythMusic configuration. The second configuration screen is within the MythMusic program and will allow you rescan your music library, etc.

MythMusic will then use this information to fill in the proper fields when it populates the musicmetadata table rather than searching for an ID3 tag in the mp3 file. MythMusic is fairly simple to use. You should also ensure that your system doesn't try to automount the CD and begin playing it automatically. It may not be in the freedb database.

Have a nice day. If you get this message, you should go to the home directory of whatever user MythMusic is running as and type:. These files aren't automatically deleted because of a conscious design decision by the author that programs that automatically delete things are bad.

The files are used to locally cache CD lookups. If you are re-inserting CDs, your machine will not actually have to go out to the Internet to determine what is on them. However, the URL used to access the freedb database has recently changed, so the stale information in the files from previous runs of MythMusic would cause the error above.

Once the files have been deleted the stale information will be gone and your local database will be rebuilt as you use CDs. MythWeather is a part of the mythplugins package. Left Key Goes back one page, and extends the time spent on the page you are on.

Right Key Goes forward one page, see above. Space Pause, wait on the current page until space is hit again. Enter Key Switch between Celsius and Fahrenheit. Can also be used a way to force a data update. MythWeather also has an "Aggressiveness" setting. This affects how long MythWeather waits for data from the msnbc. If you are on a slow connection, or have a slow DNS, or MythWeather just doesn't seem to be working and you've already tried everything else, then try increasing the aggressiveness level parameter.

This parameter is inverse; a higher number actually means that MythWeather will be less aggressive, and will therefore wait longer before timing out. MythWeather will print debugging information on the terminal. If you wish to see additional debugging information while MythWeather is running, run mythweather from the command line as mythweather --debug.

You may also force mythweather to re-run the configuration by starting it on the command line as mythweather --configure These two options are mutually exclusive. MythNews is a part of the mythplugins package. MythNews is a RSS reader. Some compile errors are worse than others.

If you get an error that doesn't abort the compilation, and says something like:. This needs to be fixed before MythTV will compile. Re-read the section on "Setting up paths". This is most likely to be caused by an overheating processor rather than an actual programming fault within gcc. Without details, the developers will not be able to determine if you have discovered a genuine code-bug, or if the problem is with your system. Note that, on OS X, some data is provided without going through these steps.

Check the config. Now, you need to clear out the old versions of the software to ensure that you're running with the debugging code, then compile and install. At this point, you now have debug-enabled software ready. To make sure that you don't forget to type a command required for debugging, it's best to setup a gdbcommands file. This will be read by gdb when it's started.

Put the following into gdbcommands in your home directory:. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ilinux". All of the output from gdb. NOTE : If you're trimming the gdb.

This ensures that there is some context to the backtrace, and so that it's possible to see what exactly caused the segfault. Using the gdbcommands file in conjunction with a while loop will ensure that gdb creates a trace file and then restarts:. If you're trying to troubleshoot and you can't get back to the gdb window for some reason, it may be easier to use two systems or to start mythfrontend from the text console.

If you're going to troubleshoot from a remote system, connect to the machine that you're going to test using ssh or telnet. Next, type. You can now continue troubleshooting using gdb as detailed in the instructions.

When run as a non-privileged user, MythTV can not crash your system. If you are running as root, which is strongly discouraged, it is possible that your system may crash due to the real-time thread using all available CPU. You will not be able to interrupt the process, so for all intents and purposes your computer will have crashed. This situation occurs most often with a system that acts as a frontend and a slave backend.

MythTV supports system-global and user-specific configuration files, with user-configuration files taking precedence. This information is in the mysql. As you can see, in this example there are two mysql. If they are not identical, then there may be unintended consequences. If you have logging enabled for the backend, and myth runs for weeks at a time, this may creep up and surprise you. Your MySQL installation may have networking turned off.

If it does, remove it. If you have reason to believe that your MySQL database is corrupt, execute the following commands to attempt to repair it. NOTE : Ensure that there are no programs accessing the database while you attempt to repair it. Make sure that all backend and frontend programs have exited. This is due to DPMS, the Display Power Management System, which is used to save power by turning off your monitor when the system decides that it's not being used or due to a screensaver that has defaulted to a blank screen.

Continue reading if you wish to override DPMS and force it off. Since it's likely that watching TV will not generate keyboard or mouse events for a time, you need to turn off DPMS and the screensaver. There are a few ways to do this. You may also need to check your BIOS for power saving modes and disable screen blanking there as well.

The next time you start XFree this change will take effect. Finally, depending on your distribution, you may be able to turn it off from within the control panel.

First, if you are in North America, ensure that your Schedules Direct subscription is still valid, otherwise, check to see what version of XMLTV you're running and that it's the latest version. Audio appears to be one of the bigger issues that users run into on the mailing list. If the audio isn't configured correctly, then MythTV will often appear to hang, when in fact it is trying to manipulate the audio subsystem and failing.

You may or may not receive error messages indicating that the source of the error is the audio subsystem. You can not use xawtv to determine if your audio is working correctly, since xawtv is simply using the analog sound patched through line-in to line-out.

It doesn't need to digitize the sound unless you are using the recording function. You should hear the recorded audio slightly delayed behind the real-time video. You should see messages about "underrun". These can be ignored but they do confirm that the driver is loaded and there is an active device.

To record audio along with video the audio signal must be digitized by a DSP so that the audio data can be stored in a file. This analog signal should then be sent to your speakers. Here is what is needed in alsamixer. If you are using an ALSA version after 1. This should be set to the input source from the tuner card to the sound card.

This source should be muted to prevent patching through the analog sound. The volume of this source will not affect the record level. Capture mixer - this sets the level for the analog to digital recording. PCM mixer - this sets the level for the digital to analog playback.

If the device file isn't available, then MythTV won't work. You may wish to run configure and enable support for these. If you're using multiple sound cards and multiple tuners, use alsamixer -c 1 to work with the second sound card. The first card is 0, the second card is 1, etc.

If it's not, it's most likely that you're going to run into issues when you try to record and play sound at the same time. If your backend is a separate machine than your frontend, then there's no problem, since you're only going to be doing one thing at a time with the card. Likewise, if you're running the frontend and backend on the same machine, but you're using btaudio or a hardware encoder card such as the Hauppauge PVR, DVB cards or HDTV capture cards as your recording source and you're only using the playback function of your sound card, then you also shouldn't have an issue, since the sound card isn't being asked to perform two functions at once.

If you can't get your sound card to go full-duplex and need it to, then check your distribution for updated sound drivers. If your sound card is not capable of full-duplex operation, either because the drivers don't support it, or it has been designed that way, then you're pretty much out of luck and will either need to purchase a new sound card, or will need to get btaudio operational. This can be due to a number of factors. The simplest case is the "ghost" keypresses.

For me, it was due to compact fluorescent lights in the same room as the IR receiver, which the receiver was picking up as keypresses. Once the lights were switched to incandescent bulbs, the ghost went away.

You may have an issue with lirc misinterpreting IR commands from a different remote. I also have an issue where the TiVo "Peanut" remote will eventually cause lircd to stop responding; even though lircd is configured for the Pinnacle Systems remote, the TiVo remote IR patterns are being seen by the IR receiver. If your remote has been properly configured, and irw and irxevent are working correctly, then it's highly likely that your window manager is not giving focus correctly to the various Myth programs as they run.

The following window managers are known to work correctly:. This is actually due to the tuner on the video capture device being mis-detected. This is the intended behavior. The MythTV interface is meant for use with a remote control or a keyboard. Nothing, really. It's just lame the mp3 encoder complaining for some obscure reason. This seems to be fixed in more recent versions of the libmp3lame library. Something's wrong with your program database. Did mythfilldatabase run with no major errors?

Or, MythTV may not have permissions to the appropriate video4linux devices. MythTV prints error and status messages to the shell that was used to start the application.

If nothing seems to be happening when you try to view a program, try switching back to the shell and look for error messages there, or, if you're running from a startup script, check the log file. You need to disable any sort of auto-running media player in your environment, otherwise MythDVD or MythMusic will not be able to work properly.

MythTV comes with a utility called mythtranscode which can decode nuv files into raw format for use with other applications. This command line utility was not designed to be used by the end-user, but instead to be called by other applications or scripts.

However, since mythtranscode can be a useful tool, directions on using it follow. In order to process the output, you must supply this information to the processing utility. There are two modes in which mythtranscode can create raw streams. The first has no synchronization and assumes that the processing utility will read audio and video at a constant rate. This method is useful when a single application will be processing the raw output, such as mencoder or ffmpeg.

The second method assumes that two separate applications will be processing the audio and video streams independently, and there is no rate control between them which means that the two programs don't coordinate their efforts to maintain synchronization. When mythtranscode begins executing, it will create two FIFOs "audout" and "vidout" in the directory specified in this case ". The next step is to start the processing application.

NOTE : You must use mencoder 1. If you wanted to write the raw data to separate audio and video files for later processing, the following would work note the use of --fifosync for rate-control :.

MythTV is not dependent on any particular window manager. First, analog video signals have a defined vertical resolution. In NTSC, the video standard specifies that there are vertical scan lines. Once the "extra" lines are removed they're used to synchronize the video signal, and encode closed captioning data , you have horizontal lines stacked vertically.

In PAL, there are "raw" lines of resolution, with a net of horizontal lines stacked vertically. Isolation for 5 days followed by wearing a well-fitting mask will minimize the risk of spreading the virus to others. Quarantine refers to the time following exposure to the virus or close contact with someone known to have COVID Both updates come as the Omicron variant continues to spread throughout the U.

These recommendations do not supersede state, local, tribal, or territorial laws, rules, and regulations, nor do they apply to healthcare workers for whom CDC has updated guidance. Vaccination is the best way to protect yourself and reduce the impact of COVID on our communities.

Rochelle Walensky:. These updates ensure people can safely continue their daily lives. Prevention is our best option: get vaccinated, get boosted, wear a mask in public indoor settings in areas of substantial and high community transmission, and take a test before you gather.

Skip directly to site content Skip directly to page options Skip directly to A-Z link. CDC Newsroom. This table lists many beta and final versions of KnoppMyth. Of limited use now, but just in case:. Towards the end, a nice graphical setup tool — MythVantage — was produced.

This lives on, in LinHES:. For a while, a team was also producing customised Ubuntu releases that installed a stripped down Linux with MythTV.



0コメント

  • 1000 / 1000