Opened 13 years ago

Closed 12 years ago

#2500 closed patch (fixed)

UPnP fast-forward/rewind fails for specific hardware client

Reported by: troycauble@… Owned by: dblain
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: low Keywords:
Cc: Ticket locked: no

Description

UPnP fast-forward/rewind fails for the AVeL LinkPlayer2 and probably other hardware players using Syabas firmware. Trial and error led to the discovery that the client fails when the Content-Range header is included.

A patch is attached.

Attachments (1)

httprequest.cpp.diff2 (1.1 KB) - added by troycauble@… 13 years ago.
patch

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by troycauble@…

Attachment: httprequest.cpp.diff2 added

patch

comment:1 Changed 13 years ago by dblain

Owner: changed from Isaac Richards to dblain

comment:2 Changed 13 years ago by dblain

Resolution: fixed
Status: newclosed

(In [12394]) Merges the following patches:

Closes #2395 - Updated SQL for music Closes #2500 - Blocked Range requests from Syabas agents

New Features Added:

  • uPnP Eventing now supported
  • Connection manager Service implemented (very basic)
  • XBMC( Orig XBox ) support... (must add database setting upnpSSDPBroadcast=1 to turn on)

Enhancements/Fixes?:

  • Sends notifications to remove mythtv on startup (cleans up any old references).
  • Notification process more uPnP compliant.

comment:3 Changed 12 years ago by brad@…

Resolution: fixed
Status: closedreopened

In trunk, the

if ( sUserAgent.contains( "Syabas", false ) == 0 ) 
{

Totally disables any sort of skip-ahead or ff/rw ability (making the situation much worse, as the percentage skip-ahead used to work). The problem with ff/rw was the fact that the content-range header didn't have the 'bytes' word in front of the range. That was fixed in changeset 12427: http://svn.mythtv.org/trac/changeset/12427/trunk/mythtv/libs/libmythupnp/httprequest.cpp

Please remove the UserAgent? check for Syabas as it was an invalid suggestion.

comment:4 Changed 12 years ago by robsbox@…

I removed the UserAgent? Syabas check in my patch submitted with ticket 3580, so this ticket can be reclosed.

comment:5 Changed 12 years ago by dblain

Resolution: fixed
Status: reopenedclosed

(In [14250]) * Changed Device Name to start with hostname.

  • Had to disable MSRR Service except for XBox 360 & Windows Media Player (userAgent="Mozilla/4.0" so actually applies to more apps.)
  • Added temporary fix for ps3 seeking/unknown media msg. ( Fixes #3776 )
  • Fixed Music CDS - Albums would always be empty.
  • Had to disable "Recently Added" category from Music CDS until fix can be made.
  • Fast Forwarding works correctly in DSM-520... not sure when this was fixed. ( Fixes #3344, #2500 )
Note: See TracTickets for help on using tickets.