[mythtv-commits] Ticket #8774: Store channel type in database

MythTV noreply at mythtv.org
Fri Dec 6 22:11:34 UTC 2019


#8774: Store channel type in database
--------------------------------------+-------------------------------
 Reporter:  Stuart Auchterlonie       |          Owner:  Klaas de Waal
     Type:  Developer Task            |         Status:  closed
 Priority:  minor                     |      Milestone:  31.0
Component:  MythTV - Channel Scanner  |        Version:  Master Head
 Severity:  medium                    |     Resolution:  Fixed
 Keywords:  schemachange              |  Ticket locked:  0
--------------------------------------+-------------------------------
Changes (by Klaas de Waal):

 * status:  assigned => closed
 * resolution:   => Fixed


Comment:

 The possible values of the service_type are enumerated in file
 dvbdescriptors.h in class ServiceDescriptorMapping.

 An example on how to use this class:


 {{{
 #include "dvbdescriptors.h"
 {
     uint32_t service_type =
 ServiceDescriptorMapping::kServiceTypeDigitalTelevision;
     ServiceDescriptorMapping st(service_type);
     LOG(VB_GENERAL, LOG_INFO, QString("service_type:%1 '%2' IsDTV:%3")
         .arg(st.ServiceType()).arg(st.toString()).arg(st.IsDTV()));
 }

 }}}
 which gives the following output:

 {{{
 service_type:1 ' (TV)' IsDTV:1

 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/8774#comment:20>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list