After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756823 - Unable to play videos
Unable to play videos
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: IOP
0.28.x
Other Linux
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
: 759891 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-10-19 19:25 UTC by dteskera
Modified: 2015-12-30 19:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
server: Fix error if requested start is beyond length (1.55 KB, patch)
2015-10-24 16:21 UTC, Jens Georg
none Details | Review
server: Properly calculate end byte (1.06 KB, patch)
2015-11-21 10:01 UTC, Jens Georg
committed Details | Review

Description dteskera 2015-10-19 19:25:44 UTC
OS: Debian testing v0.28.0
TV: Samsung LE32D550
plugin in use: MediaExport

lets say i have
~/Videos/some-folder/some-file.mp4
trying to play it on the tv
tv says: unsupported video data

rygel log:
RygelServer-WARNING **: rygel-http-get.vala:214: Caught HTTPSeekRequestError: Range start value 278303808 is larger than content size 278303808: 'bytes=278303808-'

if i copy paste the same file in Videos folder
~/Videos/some-file.mp4
then everything works as expected


btw. its working in Debian Jessie v0.24.x


Davor
Comment 1 dteskera 2015-10-20 22:25:06 UTC
today it doesn't work with files directly in ~/Videos/ - so i guess this bug doesn't have anything to do with folder structure. Changed title accordingly. 
rygel log shows the same WARNING.


Davor
Comment 2 Jens Georg 2015-10-24 16:04:35 UTC
code-wise the behaviour looks identical. That's odd.
Comment 3 Jens Georg 2015-10-24 16:21:12 UTC
Created attachment 314025 [details] [review]
server: Fix error if requested start is beyond length

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 4 Jens Georg 2015-10-24 16:28:31 UTC
Looking at the DLNA guidelines, this is wrong, though.
Comment 5 Jens Georg 2015-11-21 08:39:51 UTC
Kodi shows the same error, btw. But only once. Then it works.
Comment 6 Jens Georg 2015-11-21 09:11:16 UTC
We also send out wrong Content-Range headers:

rygel-http-get.vala:345:     Content-Range : bytes 0-332243668/332243668
rygel-http-get.vala:345:     Accept-Ranges : bytes
rygel-http-get.vala:345:     Content-Length : 332243669
Comment 7 Jens Georg 2015-11-21 10:01:15 UTC
Created attachment 316016 [details] [review]
server: Properly calculate end byte

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 8 Jens Georg 2015-11-21 10:02:50 UTC
Attachment 316016 [details] pushed as 2e14b73 - server: Properly calculate end byte
Comment 9 Debarshi Ray 2015-12-10 00:37:50 UTC
Looks like this is the reason why my Samsung UE40H6270 can play stuff from Rygel. Can we have this in rygel-0-28 too?
Comment 10 Debarshi Ray 2015-12-10 00:38:17 UTC
(In reply to Debarshi Ray from comment #9)
> Looks like this is the reason why my Samsung UE40H6270 can play stuff from
> Rygel. Can we have this in rygel-0-28 too?

*can't play
Comment 11 Jens Georg 2015-12-30 19:31:38 UTC
*** Bug 759891 has been marked as a duplicate of this bug. ***