Quote:
|
Quote:
Also, I was not crazy. Chrome on Win7 here does let me do live DVR using just Flash (and I found a forum post that confirmed it should be that way). So I don't know why I couldn't at home unless it is something like user-agent sniffing. |
Quote:
That said, I haven't had much time or desire to code outside of work so we'll see how much I make good on proposed enhancements. |
Quote:
|
Quote:
I know VLC and mplayer have been working on an HLS implementation but I don't remember why they weren't working yet. Might be worth it to inquire with the ffmpeg team to get mlbhls support integrated into ffmpeg. |
Quote:
04/16 23:03 | 2015-04-16 23:03:25.275758 04/16 23:03 | SUCCESSFUL MEDIA REQUEST: status-code: 1 , event-id = 14-413786-2015-04-16 04/16 23:03 | See /home/lars/.mlb/successful-1.xml for XML response. 04/16 23:03 | DEBUG (SOAPCODES!=1)>> writing unsuccessful soap response event_id = 14-413786-2015-04-16 contend-id = 66128783 And here the xml-file: <user-verified-media-response><user-verified-event><event-id>14-413786-2015-04-16</event-id><user-verified-content><content-id>66128783</content-id><type>video</type><user-verified-media-item><media-item><type>video</type><state>MEDIA_DONE</state><cat-code>mlb_media_mlb_lg</cat-code><login-required>true</login-required><auth-required>true</auth-required><blackout-keywords><blackout-keyword>MLB_HOME_TEAM_BLACKOUT</blackout-keyword><blackout-keyword>MLB_AWAY_TEAM_BLACKOUT</blackout-keyword></blackout-keywords><playback-scenario>FMS_CLOUD</playback-scenario><has-synched-data>false</has-synched-data><preview-url>http://mediadownloads.mlb.com/mlbam/preview/milsln_1200_preview.mp4</preview-url><innings-index>http://mlb.mlb.com/mlb/mmls2015/413786.xml</innings-index><cdns/><sequence>1</sequence><duration xsi:nil="true"/></media-item><url/><auth-status><successStatus/></auth-status><blackout-status><successStatus/></blackout-status></user-verified-media-item><domain-specific-attributes><domain-attribute name="content_guid">46f1a60c-0fd6-4979-8a9b-8eeb338f7058</domain-attribute><domain-attribute name="combined_media_state">MEDIA_ARCHIVE</domain-attribute><domain-attribute name="milestones_plist">http://mlb.mlb.com/mlb/mmls2015/14-413786-2015-04-16.plist</domain-attribute><domain-attribute name="inning_index_location_xml">http://mlb.mlb.com/mlb/mmls2015/413786.xml</domain-attribute><domain-attribute name="coverage_association">138</domain-attribute><domain-attribute name="coverage_type">out-of-market</domain-attribute><domain-attribute name="game_pk">413786</domain-attribute><domain-attribute name="authflow">true</domain-attribute><domain-attribute name="inning_index_location_plist">http://mlb.mlb.com/mlb/mmls2015/413786.plist</domain-attribute><domain-attribute name="source_aspect_ratio">HD</domain-attribute><domain-attribute name="away_team_id">158</domain-attribute><domain-attribute name="default_dam_view_key">MLBTV_MP_4</domain-attribute><domain-attribute name="in_epg">mlb_mp4_epg</domain-attribute><domain-attribute name="subject">LIVE_EVENT_COVERAGE</domain-attribute><domain-attribute name="game_events_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_16/gid_2015_04_16_milmlb_slnmlb_1/game_events.plist</domain-attribute><domain-attribute name="subject">MLBTV</domain-attribute><domain-attribute name="call_letters">FSMW-HD</domain-attribute><domain-attribute name="run_scoring_plays_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_16/gid_2015_04_16_milmlb_slnmlb_1/runScoringPlays.plist</domain-attribute><domain-attribute name="game_id">2015/04/16/milmlb-slnmlb-1</domain-attribute><domain-attribute name="closed_captions_location_ttml">http://mediadownloads.mlb.com/ttml/2015/04/16/66128783.ttml</domain-attribute><domain-attribute name="calendar_event_id">14-413786-2015-04-16</domain-attribute><domain-attribute name="milestones_xml">http://mlb.mlb.com/mlb/mmls2015/14-413786-2015-04-16.xml</domain-attribute><domain-attribute name="home_team_id">138</domain-attribute><domain-attribute name="event_date">2015-04-16T13:45:00-0400</domain-attribute></domain-specific-attributes><view-keys><view-key><key>MLBTV_MP_4</key></view-key></view-keys><features/></user-verified-content><user-verified-content><content-id>66129083</content-id><type>video</type><user-verified-media-item><media-item><type>video</type><state>MEDIA_DONE</state><cat-code>mlb_media_mlb_lg</cat-code><login-required>true</login-required><auth-required>true</auth-required><blackout-keywords><blackout-keyword>MLB_HOME_TEAM_BLACKOUT</blackout-keyword><blackout-keyword>MLB_AWAY_TEAM_BLACKOUT</blackout-keyword></blackout-keywords><playback-scenario>FMS_CLOUD</playback-scenario><has-synched-data>false</has-synched-data><preview-url>http://mediadownloads.mlb.com/mlbam/preview/milsln_1200_preview.mp4</preview-url><innings-index>http://mlb.mlb.com/mlb/mmls2015/413786.xml</innings-index><cdns/><sequence>1</sequence><duration xsi:nil="true"/></media-item><url/><auth-status><successStatus/></auth-status><blackout-status><successStatus/></blackout-status></user-verified-media-item><domain-specific-attributes><domain-attribute name="content_guid">fe57b959-5406-40e3-a8c5-b46a343d5994</domain-attribute><domain-attribute name="combined_media_state">MEDIA_ARCHIVE</domain-attribute><domain-attribute name="call_letters">FSWI-HD</domain-attribute><domain-attribute name="milestones_plist">http://mlb.mlb.com/mlb/mmls2015/14-413786-2015-04-16.plist</domain-attribute><domain-attribute name="inning_index_location_xml">http://mlb.mlb.com/mlb/mmls2015/413786.xml</domain-attribute><domain-attribute name="closed_captions_location_ttml">http://mediadownloads.mlb.com/ttml/2015/04/16/66129083.ttml</domain-attribute><domain-attribute name="coverage_type">out-of-market</domain-attribute><domain-attribute name="game_pk">413786</domain-attribute><domain-attribute name="authflow">true</domain-attribute><domain-attribute name="inning_index_location_plist">http://mlb.mlb.com/mlb/mmls2015/413786.plist</domain-attribute><domain-attribute name="source_aspect_ratio">HD</domain-attribute><domain-attribute name="away_team_id">158</domain-attribute><domain-attribute name="in_epg">mlb_mp4_epg</domain-attribute><domain-attribute name="default_dam_view_key">MLBTV_MP_4</domain-attribute><domain-attribute name="subject">LIVE_EVENT_COVERAGE</domain-attribute><domain-attribute name="game_events_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_16/gid_2015_04_16_milmlb_slnmlb_1/game_events.plist</domain-attribute><domain-attribute name="subject">MLBTV</domain-attribute><domain-attribute name="coverage_association">158</domain-attribute><domain-attribute name="run_scoring_plays_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_16/gid_2015_04_16_milmlb_slnmlb_1/runScoringPlays.plist</domain-attribute><domain-attribute name="game_id">2015/04/16/milmlb-slnmlb-1</domain-attribute><domain-attribute name="calendar_event_id">14-413786-2015-04-16</domain-attribute><domain-attribute name="milestones_xml">http://mlb.mlb.com/mlb/mmls2015/14-413786-2015-04-16.xml</domain-attribute><domain-attribute name="home_team_id">138</domain-attribute><domain-attribute name="event_date">2015-04-16T13:45:00-0400</domain-attribute></domain-specific-attributes><view-keys><view-key><key>MLBTV_MP_4</key></view-key></view-keys><features/></user-verified-content><domain-specific-attributes/></user-verified-event><determined-location><postal-code>1000</postal-code><country-code>at</country-code></determined-location><session-key>d+dtTma77URmCCqQT4GfTkGZk8w=</session-key><session-info/><status-code>1</status-code><status-message>Success Status</status-message></user-verified-media-response> Hope it helps... |
This time it looks like you requested a completed game that was not yet archived. The media state is MEDIA_DONE instead of MEDIA_ARCHIVE. In the listings screen, it will have "(Archived)" next to game title when it's archived and available to stream.
|
Oh yes... this might be the case. The game might have already been over...
But the problem happened with games surely not over at the point I tried to start them, so I will have a next try the next days. We'll see what happens... ;-) |
Quote:
|
I don't have that line in my config-file, but I never had. I looked in an old backed-up file and there isn't such a line either...
I just tried the todays padres-cubs game and it starts! But all other games don't... May there be a connection with the fact that I have changed my config-file with "favorite=chc" at the begin of the season? |
Add the use_wired_web=1 option to your config. There are many more options available in mlbviewer than what I put in the default config. If that still doesn't help, post another log from an unsuccessful request.
Also, when it doesn't work, have you tried switching to the other stream (home vs away)? |
Okay... I changed the config adding that line...
But no change starting the Braves-Blue Jays game. Here's the log: 04/19 20:07 | 2015-04-19 20:07:04.379578 04/19 20:07 | SUCCESSFUL MEDIA REQUEST: status-code: 1 , event-id = 14-413821-2015-04-19 04/19 20:07 | See /home/lars/.mlb/successful-1.xml for XML response. Here the xml: <user-verified-media-response><user-verified-event><event-id>14-413821-2015-04-19</event-id><user-verified-content><content-id>66366983</content-id><type>video</type><user-verified-media-item><media-item><type>video</type><state>MEDIA_ON</state><cat-code>mlb_media_mlb_lg</cat-code><login-required>true</login-required><auth-required>true</auth-required><blackout-keywords><blackout-keyword>MLB_HOME_TEAM_BLACKOUT</blackout-keyword><blackout-keyword>MLB_AWAY_TEAM_BLACKOUT</blackout-keyword></blackout-keywords><playback-scenario>FMS_CLOUD</playback-scenario><has-synched-data>false</has-synched-data><preview-url>http://mediadownloads.mlb.com/mlbam/preview/atltor_1200_preview.mp4</preview-url><innings-index>http://mlb.mlb.com/mlb/mmls2015/413821.xml</innings-index><cdns><cdn-name>PRIMARY_LEVEL3</cdn-name><cdn-name>PRIMARY_AKAMAI</cdn-name></cdns><sequence>1</sequence><duration xsi:nil="true"/></media-item><url/><auth-status><notAuthorizedStatus/></auth-status><blackout-status><successStatus/></blackout-status></user-verified-media-item><domain-specific-attributes><domain-attribute name="content_guid">bc7b9812-aaf6-422b-b845-633a08487062</domain-attribute><domain-attribute name="coverage_association">144</domain-attribute><domain-attribute name="closed_captions_location_ttml">http://mediadownloads.mlb.com/ttml/2015/04/19/66366983.ttml</domain-attribute><domain-attribute name="away_team_id">144</domain-attribute><domain-attribute name="authflow">true</domain-attribute><domain-attribute name="calendar_event_id">14-413821-2015-04-19</domain-attribute><domain-attribute name="coverage_type">out-of-market</domain-attribute><domain-attribute name="event_date">2015-04-19T13:07:00-0400</domain-attribute><domain-attribute name="inning_index_location_plist">http://mlb.mlb.com/mlb/mmls2015/413821.plist</domain-attribute><domain-attribute name="inning_index_location_xml">http://mlb.mlb.com/mlb/mmls2015/413821.xml</domain-attribute><domain-attribute name="source_aspect_ratio">HD</domain-attribute><domain-attribute name="run_scoring_plays_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_19/gid_2015_04_19_atlmlb_tormlb_1/runScoringPlays.plist</domain-attribute><domain-attribute name="combined_media_state">MEDIA_ON</domain-attribute><domain-attribute name="game_id">2015/04/19/atlmlb-tormlb-1</domain-attribute><domain-attribute name="default_dam_view_key">MLBTV_MP_4</domain-attribute><domain-attribute name="in_epg">mlb_mp4_epg</domain-attribute><domain-attribute name="subject">LIVE_EVENT_COVERAGE</domain-attribute><domain-attribute name="subject">MLBTV</domain-attribute><domain-attribute name="call_letters">FSSO-HD</domain-attribute><domain-attribute name="game_events_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_19/gid_2015_04_19_atlmlb_tormlb_1/game_events.plist</domain-attribute><domain-attribute name="home_team_id">141</domain-attribute><domain-attribute name="milestones_plist">http://mlb.mlb.com/mlb/mmls2015/14-413821-2015-04-19.plist</domain-attribute><domain-attribute name="game_pk">413821</domain-attribute><domain-attribute name="milestones_xml">http://mlb.mlb.com/mlb/mmls2015/14-413821-2015-04-19.xml</domain-attribute></domain-specific-attributes><view-keys><view-key><key>MLBTV_MP_4</key></view-key></view-keys><features/></user-verified-content><user-verified-content><content-id>66366883</content-id><type>video</type><user-verified-media-item><media-item><type>video</type><state>MEDIA_ON</state><cat-code>mlb_media_mlb_lg</cat-code><login-required>true</login-required><auth-required>true</auth-required><blackout-keywords><blackout-keyword>MLB_HOME_TEAM_BLACKOUT</blackout-keyword><blackout-keyword>MLB_AWAY_TEAM_BLACKOUT</blackout-keyword></blackout-keywords><playback-scenario>FMS_CLOUD</playback-scenario><has-synched-data>false</has-synched-data><preview-url>http://mediadownloads.mlb.com/mlbam/preview/atltor_1200_preview.mp4</preview-url><innings-index>http://mlb.mlb.com/mlb/mmls2015/413821.xml</innings-index><cdns><cdn-name>PRIMARY_LEVEL3</cdn-name><cdn-name>PRIMARY_AKAMAI</cdn-name></cdns><sequence>1</sequence><duration xsi:nil="true"/></media-item><url/><auth-status><successStatus/></auth-status><blackout-status><successStatus/></blackout-status></user-verified-media-item><domain-specific-attributes><domain-attribute name="content_guid">98becebc-457e-4175-adfe-edafc92ca507</domain-attribute><domain-attribute name="coverage_association">141</domain-attribute><domain-attribute name="away_team_id">144</domain-attribute><domain-attribute name="coverage_type">out-of-market</domain-attribute><domain-attribute name="calendar_event_id">14-413821-2015-04-19</domain-attribute><domain-attribute name="authflow">true</domain-attribute><domain-attribute name="event_date">2015-04-19T13:07:00-0400</domain-attribute><domain-attribute name="inning_index_location_plist">http://mlb.mlb.com/mlb/mmls2015/413821.plist</domain-attribute><domain-attribute name="source_aspect_ratio">HD</domain-attribute><domain-attribute name="inning_index_location_xml">http://mlb.mlb.com/mlb/mmls2015/413821.xml</domain-attribute><domain-attribute name="closed_captions_location_ttml">http://mediadownloads.mlb.com/ttml/2015/04/19/66366883.ttml</domain-attribute><domain-attribute name="run_scoring_plays_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_19/gid_2015_04_19_atlmlb_tormlb_1/runScoringPlays.plist</domain-attribute><domain-attribute name="combined_media_state">MEDIA_ON</domain-attribute><domain-attribute name="game_id">2015/04/19/atlmlb-tormlb-1</domain-attribute><domain-attribute name="in_epg">mlb_mp4_epg</domain-attribute><domain-attribute name="default_dam_view_key">MLBTV_MP_4</domain-attribute><domain-attribute name="subject">LIVE_EVENT_COVERAGE</domain-attribute><domain-attribute name="subject">MLBTV</domain-attribute><domain-attribute name="game_events_location_plist">http://gdx.mlb.com/components/game/mlb/year_2015/month_04/day_19/gid_2015_04_19_atlmlb_tormlb_1/game_events.plist</domain-attribute><domain-attribute name="home_team_id">141</domain-attribute><domain-attribute name="call_letters">SNO-HD</domain-attribute><domain-attribute name="milestones_plist">http://mlb.mlb.com/mlb/mmls2015/14-413821-2015-04-19.plist</domain-attribute><domain-attribute name="game_pk">413821</domain-attribute><domain-attribute name="milestones_xml">http://mlb.mlb.com/mlb/mmls2015/14-413821-2015-04-19.xml</domain-attribute></domain-specific-attributes><view-keys><view-key><key>MLBTV_MP_4</key></view-key></view-keys><features/></user-verified-content><domain-specific-attributes/></user-verified-event><determined-location><postal-code>44137</postal-code><country-code>de</country-code></determined-location><session-key>trCRgcOpKP1RVgYbWFAWjumEti4=</session-key><session-info/><status-code>1</status-code><status-message>Success Status</status-message></user-verified-media-response> The Marlins game starts, the Angels' and the Cubs' game, too. The other games don't... |
Today I tried the Orioles-Red Sox game: "Away" didn't work, but "Home" did... :-)
I will go on trying this... |
Quote:
So the next time you get an error, try the other stream. |
I also don't see a problem with that successful-1.xml file you recently posted. I wonder if the error/log message is referring to the wrong file.
If I remember correctly (haven't looked at this code in awhile)... Request 1 performs a content-id lookup given an event-id. Request 2 performs a media url lookup given a content-id. Successful responses (status code = 1) are written to successful-<request>.xml (e.g. successful-1.xml or successful-2.xml.) Unsuccessful responses (status code != 1) are written to unsucessful-<request>.xml. These files are overwritten every time they are needed for a write. Additionally, there's a tool in test directory called mediaxml.py which will make those xml files easier to read: Quote:
If it's a successful-1.xml, we're looking for a content-id. If it's a successful-2.xml, we're looking for a url. If it's an unsuccessful-1.xml or unsuccessful-2.xml, we're looking in those status fields to see why we didn't get a url or a content-id. |
All times are GMT -5. The time now is 04:46 PM. |