home-assistant-libs / pychromecast

Library for Python 3 to communicate with the Google Chromecast.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No titles/episodes with Netflix

FilipDem opened this issue · comments

commented

Hi,
When playing a netflix series (eg. Better Than Us) there are no titles, season, episode etc... returned... The title only mentions "Netflix".
See the log below coming from the example "simple_listener_example.py"

[ Sat Feb 12 15:10:29 2022  -  ChromecastF&f ] status media change:
<MediaStatus {'metadata_type': 1, 'title': 'Netflix', 'series_title': None, 'season': None, 'episode': None, 'artist': None, 'album_name': None, 'album_artist': None, 'track': None, 'subtitle_tracks': [{'trackId': 0, 'type': 'TEXT', 'language': 'nl', 'isInband': True, 'customData': {'id': 'T:2:0;1;nl;0;0;0;'}}, {'trackId': 1, 'type': 'TEXT', 'language': 'de', 'isInband': True, 'customData': {'id': 'T:2:0;1;de;0;0;0;'}}, {'trackId': 2, 'type': 'TEXT', 'language': 'en', 'isInband': True, 'customData': {'id': 'T:2:0;1;en;0;0;0;'}}, {'trackId': 3, 'type': 'TEXT', 'language': 'fr', 'isInband': True, 'customData': {'id': 'T:2:0;1;fr;0;0;0;'}}, {'trackId': 4, 'type': 'TEXT', 'language': 'en', 'isInband': True, 'customData': {'id': 'T:2:1;1;en;0;0;0;'}}, {'trackId': 5, 'type': 'TEXT', 'language': 'ru', 'isInband': True, 'customData': {'id': 'T:2:1;1;ru;0;0;0;'}}, {'trackId': 6, 'type': 'AUDIO', 'language': 'en', 'isInband': True, 'customData': {'id': 'A:2:1;2;en;0;0;'}}, {'trackId': 7, 'type': 'AUDIO', 'language': 'ru', 'isInband': True, 'customData': {'id': 'A:2:1;2;ru;1;0;'}}, {'trackId': 8, 'type': 'AUDIO', 'language': 'fr', 'isInband': True, 'customData': {'id': 'A:2:1;2;fr;0;0;'}}, {'trackId': 9, 'type': 'AUDIO', 'language': 'de', 'isInband': True, 'customData': {'id': 'A:2:1;2;de;0;0;'}}, {'trackId': 10, 'type': 'AUDIO', 'language': 'ru', 'isInband': True, 'customData': {'id': 'A:2:2;2;ru;0;0;'}}], 'images': [MediaImage(url='https://cast.netflix.com/crkey/images/logo-300-300.png', height=300, width=300)], 'supports_pause': True, 'supports_seek': True, 'supports_stream_volume': True, 'supports_stream_mute': True, 'supports_skip_forward': False, 'supports_skip_backward': False, 'current_time': 210, 'content_id': '1', 'content_type': 'application/x-mpegurl', 'duration': 3004, 'stream_type': 'BUFFERED', 'idle_reason': None, 'media_session_id': 1, 'playback_rate': 1, 'player_state': 'BUFFERING', 'supported_media_commands': 4303, 'volume_level': 1, 'volume_muted': False, 'media_custom_data': {}, 'media_metadata': {'metadataType': 1, 'title': 'Netflix', 'images': [{'url': 'https://cast.netflix.com/crkey/images/logo-300-300.png', 'height': 300, 'width': 300}]}, 'current_subtitle_tracks': [0], 'last_updated': datetime.datetime(2022, 2, 12, 14, 10, 29, 72607)}>

Netflix does that on purpose. They do not implement the media interface.