renderer: Use NextAVTransport* values in GetMediaInfo()

AVTransport should return NextAVtransportURI and
NextAVtransportURIMetadata variables in GetMediaInfo() and
GetMEdiaInfo_Ext() now that they are available.

https://bugzilla.gnome.org/show_bug.cgi?id=727424
build: Remove -Wl,-z,defs

Was added by accident and seems to cause problems on some platforms

Signed-off-by: Jens Georg <mail@jensge.org>

https://bugzilla.gnome.org/show_bug.cgi?id=727479
renderer-gst: Fix duration/position

Signed-off-by: Jens Georg <mail@jensge.org>
renderer-gst: Update video duration

On READY->PAUSED state change, check for duration availability and signalize
it.

Signed-off-by: Jens Georg <mail@jensge.org>

https://bugzilla.gnome.org/show_bug.cgi?id=721824
core: Work-around bgo#725194

Signed-off-by: Jens Georg <mail@jensge.org>
renderer-gst: Use duration from meta-data

Until we get the proper duration from the pipeline, use the one supplied in
the meta-data if available.

Signed-off-by: Jens Georg <mail@jensge.org>
librygel-renderer: avoid using the http_proxy environment variable

https://bugzilla.gnome.org/show_bug.cgi?id=726982
server: Fix order of fetching/adding

Signed-off-by: Jens Georg <mail@jensge.org>

https://bugzilla.gnome.org/show_bug.cgi?id=723374
server: Set HTTP version as late as possible

So that requests might change headers depending on HTTP request version.

https://bugzilla.gnome.org/show_bug.cgi?id=702555
engine-gst: Prevent critical after streaming

Signed-off-by: Jens Georg <mail@jensge.org>
server: Prevent critical on upload

Signed-off-by: Jens Georg <mail@jensge.org>

Conflicts:
	src/librygel-server/rygel-media-art-store.vala
media-export: Prevent warning on upload

Signed-off-by: Jens Georg <mail@jensge.org>
media-export: Fix album art for m4a files

The tag is PREVIEW_IMAGE in that case, not IMAGE

Signed-off-by: Jens Georg <mail@jensge.org>

Conflicts:
	src/plugins/media-export/rygel-media-export-item-factory.vala
renderer: Clear timeout after removing it

Signed-off-by: Jens Georg <mail@jensge.org>
server: Prevent potential null dereference

Ported from patch in 720223

Signed-off-by: Jens Georg <mail@jensge.org>
renderer: Work-around failing HEAD requests once more

Signed-off-by: Jens Georg <mail@jensge.org>
renderer: Check instance id of prev/next

Signed-off-by: Jens Georg <mail@jensge.org>
renderer-gst: Stop() and Pause() never transition

Cf. Figure 1, AVTransport:2 DCP

Signed-off-by: Jens Georg <mail@jensge.org>
renderer-gst: Only try to parse non-empty meta-data

Signed-off-by: Jens Georg <mail@jensge.org>
renderer: Send byte position instead of int.MAX

Signed-off-by: Jens Georg <mail@jensge.org>