[mythtv-commits] mythtv commit: r7468 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Oct 13 17:59:56 UTC 2005


      Author: danielk
        Date: 2005-10-13 17:59:55 +0000 (Thu, 13 Oct 2005)
New Revision: 7468
   Changeset: http://cvs.mythtv.org/trac/changeset/7468

Modified:

   trunk/mythtv/libs/libmythtv/scanwizard.cpp
   trunk/mythtv/libs/libmythtv/scanwizard.h
   trunk/mythtv/libs/libmythtv/scanwizardhelpers.h
   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/videosource.cpp
   trunk/mythtv/libs/libmythtv/videosource.h
   trunk/mythtv/programs/mythfilldatabase/filldata.cpp

Log:

Makes MythTV a little smarter with respect to channel separator.

This adds a static function:
   SourceUtil::GetChannelSeparator(uint sourceid)

It returns the channel separator already being used
by the greatest number of existing channels in on that
source. So it you can default to using when scanning,
and use it when inserting channels from datadirect.

So if you choose to use "-" or "" or "0" as the channel
separator when you do a scan, datadirect will use that
character instead of always using "_" when inserting
channels.

This also adds "." as a valid channel separator for the 
smart keys channel entry in tv_play.cpp






More information about the mythtv-commits mailing list