""" Cable providers and stores. This module holds Cable providers and associated stores. """ from datetime import date from flows.cable_calculation import splits # Final List from Product PROVIDERS = { 1: 'Comcast', 47: 'Insight', 49: 'Cablevision', 50: 'Charter', 52: 'Bresnan', 56: 'Mediacom', 58: 'Blue Ridge', 60: 'Verizon', 61: 'Armstrong', 62: 'Suddenlink', 64: 'Midcontinent', 68: 'Atlantic Broadband', 84: 'Service Electric Cablevision', 85: 'Wide Open West', 108: 'Bend Broadband', 109: 'Buckeye Cable', 110: 'Metrocast', 111: 'EnTouch', 112: 'Horry', 113: 'Massillon', 114: 'Time Warner', 115: 'Bright House', 116: 'GVTC', 117: 'RCN', 118: 'Rogers', 119: 'Hargray', 120: 'Cox', 131: 'GCI', 132: 'Wave Broadband', 133: 'DirecTV', 135: 'ATMC', 139: 'Service Electric Cable TV', 141: 'Eatel', 143: 'Knology', 144: 'AT&T U-verse', 150: 'Click!', 157: 'Frontier Communications', 160: 'Grande Communications', 162: 'Cincinnati Bell', 165: 'Frankfort Cable', 167: 'CenturyLink', 168: 'OpenBand', 171: 'Comporium', 173: 'Google Fiber', 176: 'Summit Broadband', 182: 'Opelika Power', 196: 'Piksel', 198: 'C Spire' } # List of Stores Stores = [ splits.Store( 611, 'InDemand (Movies)', [1, 114, 61, 52, 115, 120, 47, 143, 64, 117, 118, 84, 139]), splits.Store( 554, 'Vubiquity (Cable VOD)', [60, 68, 108, 58, 109, 167, 50, 162, 150, 171, 141, 165, 111, 157, 131, 160, 119, 112, 113, 56, 110, 182, 62, 176, 132]), splits.Store(614, 'Direct TV', [133]), # splits.Store(555, 'InDemand Events', []), # Deprecated splits.Store(652, 'AT&T', [144]), # splits.Store(638, 'Dish', []), # ON HOLD cannot link to any providers # splits.Store(641, 'Bell', []), # ON HOLD cannot link to any providers ] # List of Rules Rules = [ splits.SplitRule( 'in_demand_dbo_dates v1.0', 611, date(2014, 1, 1), splits.SplitRuleDboDates(splits.in_demand_dbo_dates)), splits.SplitRule( 'in_vubiquity_dbo_only v1.0', 554, date(2014, 1, 1), splits.SplitRuleDbo(splits.in_vubiquity_dbo_only)), splits.SplitRule( 'in_direct_tv_dbo_only v1.0', 614, date(2014, 1, 1), splits.SplitRuleDbo(splits.in_direct_tv_dbo_only)), # AT&T uses the same rules as direct tv. splits.SplitRule( 'atnt_u_verse v1.0', 652, date(2014, 1, 1), splits.SplitRuleDbo(splits.in_direct_tv_dbo_only)) ]