Ticket #1425: mythtv-no_grabber.patch
File mythtv-no_grabber.patch, 2.1 KB (added by , 18 years ago) |
---|
-
libs/libmythtv/videosource.h
105 105 UseEIT *useeit; 106 106 }; 107 107 108 class NoGrabber_config: public VerticalConfigurationGroup 109 { 110 public: 111 NoGrabber_config(const VideoSource& _parent); 112 113 virtual void save(); 114 virtual void save(QString) { save(); } 115 116 protected: 117 UseEIT *useeit; 118 }; 119 108 120 class XMLTVConfig: public VerticalConfigurationGroup, 109 121 public TriggeredConfigurationGroup { 110 122 public: -
libs/libmythtv/videosource.cpp
342 342 useeit->save(); 343 343 } 344 344 345 NoGrabber_config::NoGrabber_config(const VideoSource& _parent) 346 { 347 setUseLabel(false); 348 setUseFrame(false); 349 350 useeit = new UseEIT(_parent); 351 useeit->setValue(false); 352 useeit->setVisible(false); 353 addChild(useeit); 354 } 355 356 void NoGrabber_config::save() 357 { 358 useeit->setValue(false); 359 useeit->save(); 360 } 361 345 362 XMLTVConfig::XMLTVConfig(const VideoSource& parent) 346 363 { 347 364 setUseLabel(false); … … 414 431 415 432 addTarget("tv_grab_cz", new XMLTV_generic_config(parent, "tv_grab_cz")); 416 433 grabber->addSelection("Czech Republic", "tv_grab_cz"); 434 435 addTarget("none", new NoGrabber_config(parent)); 436 grabber->addSelection("No grabber", "none"); 417 437 } 418 438 419 439 VideoSource::VideoSource() -
programs/mythfilldatabase/filldata.cpp
3136 3136 } 3137 3137 } 3138 3138 } 3139 else if (xmltv_grabber == "none") 3140 { 3141 VERBOSE(VB_IMPORTANT, 3142 "Source configured with no grabber. Nothing to do."); 3143 } 3139 3144 else 3140 3145 { 3141 3146 VERBOSE(VB_IMPORTANT,