oldlaptop/iheart-mplayer

unknown stream type

SethCalkins opened this issue · 1 comments

Getting the following on this station

DEBUG: station name: 93 WIBC
DEBUG: call letters: WIBC-FM
DEBUG: location: Indianapolis, IN, US
DEBUG: description: Indy's News Center 93 WIBC
DEBUG: broadcast format: Prov_Emmis
INFO: an unknown stream type is present, please run with -v and submit a github issue
INFO: KeyError instance: 'flv_stream'
DEBUG: full dictionary dump:
DEBUG: {'id': 6057, 'score': 0.0, 'name': '93 WIBC', 'responseType': 'LIVE', 'description': "Indy's News Center 93 WIBC", 'band': 'FM', 'callLetters': 'WIBC-FM', 'logo': 'http://i.iheart.com/v3/re/assets/images/6057.png', 'freq': '93.1', 'cume': 196000, 'countries': 'US', 'streams': {'shoutcast_stream': '', 'pls_stream': 'http://playerservices.streamtheworld.com/pls/WIBCFMAAC.pls', 'stw_stream': 'http://playerservices.streamtheworld.com/api/livestream?version=1.4&mount=WIBCFMAAC', 'secure_pls_stream': 'https://playerservices.streamtheworld.com/pls/WIBCFMAAC.pls', 'flv_stream': ''}, 'isActive': True, 'modified': '1504729234941', 'markets': [{'name': 'INDIANAPOLIS-IN', 'marketId': '87', 'sortIndex': 8, 'city': 'Indianapolis', 'stateId': 18, 'stateAbbreviation': 'IN', 'cityId': 87, 'country': 'US', 'countryId': 1, 'origin': True, 'primary': True}], 'genres': [{'id': 9, 'name': 'News & Talk', 'sortIndex': 43, 'primary': True}], 'feeds': {'site_id': '0', 'feed': 'www.iheart.com/live/6057/'}, 'format': 'Prov_Emmis', 'provider': 'Emmis', 'rds': '93 WIBC', 'website': 'www.wibc.com', 'social': {}, 'adswizz': {'publisher_id': '0', 'adswizzHost': 'false', 'enableAdswizzTargeting': 'false'}}```

Sorry about the delay! Thank you very much for your report, 948aab8 fixes this station for me. This station is weird not only in that it has a "new" stream type, but in that it has a couple of blank stream URLs; I hadn't known the iHeart API could return such things. Fixing this station probably fixed others with blank URLs too.