profile/ivi/rygel.git
13 years agodoc: Get rygel.1 manpage up-to-date
Jens Georg [Sat, 5 Feb 2011 22:39:04 +0000 (23:39 +0100)]
doc: Get rygel.1 manpage up-to-date

13 years agodoc: Some clean-up
Jens Georg [Sat, 5 Feb 2011 21:56:36 +0000 (22:56 +0100)]
doc: Some clean-up

Do some rewording, additional notes and consistency.

13 years agodoc: Add section about MPRIS plugin to manpage
Jens Georg [Sat, 5 Feb 2011 20:52:18 +0000 (21:52 +0100)]
doc: Add section about MPRIS plugin to manpage

13 years agocore,data,doc: Rename upnp_enabled → upnp-enabled
Jens Georg [Sat, 5 Feb 2011 20:35:55 +0000 (21:35 +0100)]
core,data,doc: Rename upnp_enabled → upnp-enabled

Provide consistency with all the other configuration options. Also add
documentation for the option to the rygel.conf manpage.

13 years agoUpdated Gujarati Translations & Added gu in LINGUAS
Sweta Kothari [Tue, 8 Feb 2011 10:44:17 +0000 (16:14 +0530)]
Updated Gujarati Translations & Added gu in LINGUAS

13 years agocore: Entertain priority in HTTPGstResponse
Zeeshan Ali (Khattak) [Fri, 21 Jan 2011 17:04:27 +0000 (19:04 +0200)]
core: Entertain priority in HTTPGstResponse

13 years agocore: HTTPSeekableResponse.priority -> HTTPResponse
Zeeshan Ali (Khattak) [Fri, 21 Jan 2011 16:51:18 +0000 (18:51 +0200)]
core: HTTPSeekableResponse.priority -> HTTPResponse

Move determination of message/stream priority from HTTPSeekableResponse to
parent HTTPResponse class. Also 'priority' is now a GObject property.

13 years agocore: Connection stalling supported for ALL streams
Zeeshan Ali (Khattak) [Fri, 21 Jan 2011 14:58:00 +0000 (16:58 +0200)]
core: Connection stalling supported for ALL streams

13 years agotests: Correct value of Seek.stop
Zeeshan Ali (Khattak) [Thu, 20 Jan 2011 17:20:13 +0000 (19:20 +0200)]
tests: Correct value of Seek.stop

13 years agocore: Consistent naming of seek-related identifiers
Zeeshan Ali (Khattak) [Thu, 20 Jan 2011 17:17:47 +0000 (19:17 +0200)]
core: Consistent naming of seek-related identifiers

Keep the naming of seek-related identifiers consistent over both HTTPSeek
implementors to ease the planed merge later.

13 years agobuild: Clear the ChangeLog file
Luis de Bethencourt [Wed, 2 Feb 2011 12:14:40 +0000 (13:14 +0100)]
build: Clear the ChangeLog file

The ChangeLog was obsolete and since it's use has been replaced
by git log. A empty ChangeLog file is kept to satisfy autools.

13 years agomaemo6: Remove maemo-specific configuration
Zeeshan Ali (Khattak) [Tue, 1 Feb 2011 16:24:37 +0000 (18:24 +0200)]
maemo6: Remove maemo-specific configuration

No need for special configure flag to enable maemo configuration as it
should be the default in maemo-specific branch.

13 years agoRelease 0.9.8 RYGEL_0_9_8
Zeeshan Ali (Khattak) [Mon, 31 Jan 2011 17:56:52 +0000 (19:56 +0200)]
Release 0.9.8

13 years agobuild: Don't check for inexistant stamp file
Zeeshan Ali (Khattak) [Mon, 31 Jan 2011 17:21:01 +0000 (19:21 +0200)]
build: Don't check for inexistant stamp file

13 years agoRelease 0.9.7 RYGEL_0_9_7
Zeeshan Ali (Khattak) [Mon, 31 Jan 2011 16:32:41 +0000 (18:32 +0200)]
Release 0.9.7

13 years agocore: Don't use now deprecated functions
Zeeshan Ali (Khattak) [Mon, 31 Jan 2011 15:21:19 +0000 (17:21 +0200)]
core: Don't use now deprecated functions

13 years agocore: Ability to bind to specific networks
Zeeshan Ali (Khattak) [Wed, 26 Jan 2011 18:51:09 +0000 (20:51 +0200)]
core: Ability to bind to specific networks

13 years agobuild: Require gupnp-vala >= 0.7.5
Zeeshan Ali (Khattak) [Wed, 26 Jan 2011 18:50:59 +0000 (20:50 +0200)]
build: Require gupnp-vala >= 0.7.5

13 years agomediathek: Fix whitespace errors
Jens Georg [Thu, 27 Jan 2011 18:05:12 +0000 (19:05 +0100)]
mediathek: Fix whitespace errors

13 years agomediathek: Add option to chose between H.264 and WMV videos
Jens Georg [Thu, 27 Jan 2011 18:04:45 +0000 (19:04 +0100)]
mediathek: Add option to chose between H.264 and WMV videos

13 years agomediathek: Make update-interval configurable
Jens Georg [Sun, 23 Jan 2011 15:29:20 +0000 (16:29 +0100)]
mediathek: Make update-interval configurable

13 years agomediathek: Don't use SoupUtils, see bgo#639702
Jens Georg [Thu, 27 Jan 2011 18:09:12 +0000 (19:09 +0100)]
mediathek: Don't use SoupUtils, see bgo#639702

13 years agomediathek: Plug libXml memory leaks
Jens Georg [Sun, 16 Jan 2011 14:01:08 +0000 (15:01 +0100)]
mediathek: Plug libXml memory leaks

See bgo#639700.

13 years agomediathek: Public on top
Jens Georg [Sun, 16 Jan 2011 14:05:53 +0000 (15:05 +0100)]
mediathek: Public on top

13 years agomediathek: Make item creation async; fixes bgo#638269
Jens Georg [Sat, 15 Jan 2011 18:41:16 +0000 (19:41 +0100)]
mediathek: Make item creation async; fixes bgo#638269

13 years agoQA of Galician translations
Fran Diéguez [Wed, 26 Jan 2011 23:54:17 +0000 (00:54 +0100)]
QA of Galician translations

13 years agocore: Don't pass extra arg to GLib.LogFunc
Zeeshan Ali (Khattak) [Mon, 24 Jan 2011 16:12:38 +0000 (18:12 +0200)]
core: Don't pass extra arg to GLib.LogFunc

13 years agodbus: Add method to unregister from DBus
Jens Georg [Sun, 23 Jan 2011 14:32:24 +0000 (15:32 +0100)]
dbus: Add method to unregister from DBus

Register_object adds a reference to the DBusService, preventing
full cleanup on shutdown.

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sun, 23 Jan 2011 06:28:35 +0000 (14:28 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

13 years agotracker: Fix regression introduced by b0c0aa0
Zeeshan Ali (Khattak) [Fri, 21 Jan 2011 14:45:12 +0000 (16:45 +0200)]
tracker: Fix regression introduced by b0c0aa0

13 years agocore,plugins: Don't create disabled plugin
Zeeshan Ali (Khattak) [Tue, 18 Jan 2011 22:56:39 +0000 (00:56 +0200)]
core,plugins: Don't create disabled plugin

Now its the responsibility of module to make sure if the plugin its about
to create/add is disabled by the user.

13 years agoUpdated Greek translation
Marios Zindilis [Wed, 19 Jan 2011 10:53:35 +0000 (12:53 +0200)]
Updated Greek translation

13 years agoplugins: Use constants for plugin names
Zeeshan Ali (Khattak) [Tue, 18 Jan 2011 22:54:10 +0000 (00:54 +0200)]
plugins: Use constants for plugin names

13 years agocore: Prevent possible crash on Ctrl-C
Jens Georg [Tue, 18 Jan 2011 19:33:07 +0000 (20:33 +0100)]
core: Prevent possible crash on Ctrl-C

13 years agoRemove encoding info from .desktop file
radykal [Fri, 14 Jan 2011 16:40:56 +0000 (17:40 +0100)]
Remove encoding info from .desktop file

It's currently deprecated. Fixes #639534

13 years agocore: Fix build against vala 0.11.4
Zeeshan Ali (Khattak) [Mon, 17 Jan 2011 13:15:02 +0000 (15:15 +0200)]
core: Fix build against vala 0.11.4

13 years agocore,tests,i18n: Prefix SeekableResponse with 'HTTP'
Zeeshan Ali (Khattak) [Fri, 14 Jan 2011 21:31:20 +0000 (23:31 +0200)]
core,tests,i18n: Prefix SeekableResponse with 'HTTP'

13 years agocore,test,i18n: Rename LiveResponse to HTTPGstResponse
Zeeshan Ali (Khattak) [Fri, 14 Jan 2011 21:07:00 +0000 (23:07 +0200)]
core,test,i18n: Rename LiveResponse to HTTPGstResponse

13 years agocore: Remove a redundant 'using' statement
Zeeshan Ali (Khattak) [Fri, 14 Jan 2011 19:16:51 +0000 (21:16 +0200)]
core: Remove a redundant 'using' statement

13 years agoUpdated Bulgarian translation
Alexander Shopov [Thu, 13 Jan 2011 21:01:37 +0000 (23:01 +0200)]
Updated Bulgarian translation

13 years agoRelease 0.9.6 RYGEL_0_9_6
Zeeshan Ali (Khattak) [Wed, 12 Jan 2011 15:26:50 +0000 (17:26 +0200)]
Release 0.9.6

13 years agocore: Boolean env variable doesn't need a value
Zeeshan Ali (Khattak) [Wed, 12 Jan 2011 14:46:53 +0000 (16:46 +0200)]
core: Boolean env variable doesn't need a value

The convention for boolean environment variables is to allow them to be
set to anything to specify 'true'.

13 years agocore: All configs allow disabling of UPnP
Zeeshan Ali (Khattak) [Wed, 12 Jan 2011 14:37:09 +0000 (16:37 +0200)]
core: All configs allow disabling of UPnP

Add option to disable UPnP to all configuration sources.

13 years agocore,data: Correct name of 'upnp_enabled' in user config
Zeeshan Ali (Khattak) [Fri, 17 Dec 2010 15:52:12 +0000 (17:52 +0200)]
core,data: Correct name of 'upnp_enabled' in user config

13 years agocore,data: Correct meaning for 'upnp_enabled' config
Zeeshan Ali (Khattak) [Fri, 17 Dec 2010 15:25:49 +0000 (17:25 +0200)]
core,data: Correct meaning for 'upnp_enabled' config

'upnp_enabled' in the configuration now really means what it says:
Enable/Disable the UPnP devices. So its now set to 'true' by default and
if you set this to 'false', you can still stream media (currently only over
HTTP) from it. Of course, that means you need to know the URI of the item.

13 years agocore: Correct handling of an N/A config
Zeeshan Ali (Khattak) [Fri, 17 Dec 2010 15:23:16 +0000 (17:23 +0200)]
core: Correct handling of an N/A config

If a configuration key is not available from a configuration source, we should
be throwing the appropriate error.

13 years agoui,core,i18n: Move config writing to UI
Zeeshan Ali (Khattak) [Tue, 11 Jan 2011 17:08:08 +0000 (19:08 +0200)]
ui,core,i18n: Move config writing to UI

Core and plugins didn't do any user configuration writing, so better
separate out all writing part to a subclass in UI code.

13 years agocore,plugins: MS plugin constructor takes root container
Zeeshan Ali (Khattak) [Tue, 11 Jan 2011 15:11:36 +0000 (17:11 +0200)]
core,plugins: MS plugin constructor takes root container

Instead of expecting inheriting classes of MediaServerPlugin to implement
get_root_container method, require the root container to be passed to the
construction method.

This also fixes the issue of external plugin accessing uninitialized
fields.

13 years agoAdd Jens to maintainer's list
Zeeshan Ali (Khattak) [Tue, 11 Jan 2011 14:13:28 +0000 (16:13 +0200)]
Add Jens to maintainer's list

13 years agoexternal: Remove ExternalPlugin.service_name field
Zeeshan Ali (Khattak) [Tue, 11 Jan 2011 13:56:58 +0000 (15:56 +0200)]
external: Remove ExternalPlugin.service_name field

This field was redundant since Plugin.name field was set to the same
value. This also fixes a crash since service_name was being accessed
from Plugin class before it was set.

13 years agoNew partial translation for Afrikaans (af)
Friedel Wolff [Mon, 10 Jan 2011 20:26:01 +0000 (22:26 +0200)]
New partial translation for Afrikaans (af)

13 years agoRelease 0.9.5 RYGEL_0_9_5
Zeeshan Ali (Khattak) [Mon, 10 Jan 2011 15:34:02 +0000 (17:34 +0200)]
Release 0.9.5

13 years agoUpdated Swedish translation
Daniel Nylander [Sun, 9 Jan 2011 20:26:41 +0000 (21:26 +0100)]
Updated Swedish translation

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 9 Jan 2011 16:19:48 +0000 (17:19 +0100)]
Updated Galician translations

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sat, 8 Jan 2011 12:01:25 +0000 (14:01 +0200)]
[l10n] Updated Estonian translation

13 years agobuild: Require gupnp-vala >= 0.7.2
Zeeshan Ali (Khattak) [Fri, 7 Jan 2011 22:56:22 +0000 (00:56 +0200)]
build: Require gupnp-vala >= 0.7.2

13 years agobuild,media-export: Require & adapt to gupnp-dlna 0.5
Arun Raghavan [Thu, 18 Nov 2010 15:15:48 +0000 (20:45 +0530)]
build,media-export: Require & adapt to gupnp-dlna 0.5

13 years agomedia-export: Speed-up get_children and search
Jens Georg [Mon, 3 Jan 2011 19:53:02 +0000 (20:53 +0100)]
media-export: Speed-up get_children and search

13 years agoRevert "media-export: Try to prevent full table scan"
Jens Georg [Mon, 3 Jan 2011 19:32:04 +0000 (20:32 +0100)]
Revert "media-export: Try to prevent full table scan"

This reverts commit a409ed3b95c89193a0266b29e3600bd9d5943ff1.

13 years agomedia-export: Fix coding style
Jens Georg [Wed, 29 Dec 2010 20:30:10 +0000 (21:30 +0100)]
media-export: Fix coding style

13 years agomedia-export: Simplify fallback extraction
Jens Georg [Wed, 29 Dec 2010 00:19:43 +0000 (01:19 +0100)]
media-export: Simplify fallback extraction

13 years agoupdate for Punjabi Translaiton
A S Alam [Sun, 2 Jan 2011 03:00:17 +0000 (08:30 +0530)]
update for Punjabi Translaiton

13 years agoUpdate Czech translation by Marek Cernocky
Petr Kovar [Wed, 29 Dec 2010 22:42:46 +0000 (23:42 +0100)]
Update Czech translation by Marek Cernocky

Reviewed by Petr Kovar.

13 years agoUpdated Swedish translation
Daniel Nylander [Wed, 29 Dec 2010 16:37:19 +0000 (17:37 +0100)]
Updated Swedish translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 28 Dec 2010 22:32:28 +0000 (23:32 +0100)]
Updated Slovenian translation

13 years agoAdded Vietnamese translation
Nguyễn Thái Ngọc Duy [Tue, 28 Dec 2010 02:26:40 +0000 (09:26 +0700)]
Added Vietnamese translation

13 years agotest: Update AlbumArt test build rules
Zeeshan Ali (Khattak) [Fri, 24 Dec 2010 02:28:44 +0000 (04:28 +0200)]
test: Update AlbumArt test build rules

13 years agocore: Keep empty MediaServer plugins, inactivate
Zeeshan Ali (Khattak) [Fri, 24 Dec 2010 02:22:29 +0000 (04:22 +0200)]
core: Keep empty MediaServer plugins, inactivate

If the root container of a MediaServer plugin is empty, deactivate the plugin
until the situation changes.

13 years agocore,plugins: Rename Plugin.available to active
Zeeshan Ali (Khattak) [Fri, 24 Dec 2010 01:50:47 +0000 (03:50 +0200)]
core,plugins: Rename Plugin.available to active

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 18:35:22 +0000 (19:35 +0100)]
Added UG translation

13 years agocore,plugins: Don't pass GUPnP.Context to MediaServer plugins
Zeeshan Ali (Khattak) [Thu, 23 Dec 2010 15:22:06 +0000 (17:22 +0200)]
core,plugins: Don't pass GUPnP.Context to MediaServer plugins

13 years agoexternal: No need to pass 'host_ip' around everywhere
Zeeshan Ali (Khattak) [Thu, 23 Dec 2010 15:14:10 +0000 (17:14 +0200)]
external: No need to pass 'host_ip' around everywhere

13 years agocore,external: Move '@ADDRESS@' substitution to core
Zeeshan Ali (Khattak) [Thu, 23 Dec 2010 15:08:51 +0000 (17:08 +0200)]
core,external: Move '@ADDRESS@' substitution to core

13 years agocore: Micro indentation fix
Zeeshan Ali (Khattak) [Thu, 23 Dec 2010 14:59:32 +0000 (16:59 +0200)]
core: Micro indentation fix

13 years agocore,external: No need for special album art class
Zeeshan Ali (Khattak) [Thu, 23 Dec 2010 14:57:42 +0000 (16:57 +0200)]
core,external: No need for special album art class

Thumbnail class is enough, no need for a special subclass for album art.

13 years agocore,plugins: MediaServerPlugin now an abstract class
Zeeshan Ali (Khattak) [Wed, 22 Dec 2010 15:08:27 +0000 (17:08 +0200)]
core,plugins: MediaServerPlugin now an abstract class

Instances of this class aren't of any use since default implementation of
its virtual method 'get_root_container' simply returns a null. So since
plugins have to create subclasses of this anyways, marking it and method
'get_root_container' as abstract.

13 years agocore,tracker: MetadataValues.is_child_id_unique -> SimpleContainer
Zeeshan Ali (Khattak) [Wed, 22 Dec 2010 12:56:10 +0000 (14:56 +0200)]
core,tracker: MetadataValues.is_child_id_unique -> SimpleContainer

Move is_child_id_unique() method of MetadataValues to parent
SimpleContainer and make it 'public' as its useful for all users.

This method was broken for (intially) empty containers after the
introduction of SimpleContainer.add_child_container. This patch also fixes
that issue by comparing the ID string in question with that of emtpy child
containers as well.

13 years agocore,plugins: SimpleContainer.add_child() -> add_child_item()
Zeeshan Ali (Khattak) [Wed, 22 Dec 2010 13:00:29 +0000 (15:00 +0200)]
core,plugins: SimpleContainer.add_child() -> add_child_item()

Replace add_child() method of SimpleContainer by a more specific method,
add_child_item() and hence making it compulsory to use the specific
addition methods. This also implies that SimpleContainer now always delays
addition of empty child containers until they remain empty.

13 years agotracker: Utilize add_child_container() in RootContainer
Zeeshan Ali (Khattak) [Tue, 21 Dec 2010 21:18:17 +0000 (23:18 +0200)]
tracker: Utilize add_child_container() in RootContainer

13 years agocore: Some debug log from SimpleContainer.add_child_container()
Zeeshan Ali (Khattak) [Tue, 21 Dec 2010 21:16:19 +0000 (23:16 +0200)]
core: Some debug log from SimpleContainer.add_child_container()

13 years agocore: Document SimpleContainer.add_child_container()
Zeeshan Ali (Khattak) [Tue, 21 Dec 2010 21:15:42 +0000 (23:15 +0200)]
core: Document SimpleContainer.add_child_container()

13 years agocore,tracker: CategoryContainer.add_child_container -> SimpleContainer
Zeeshan Ali (Khattak) [Tue, 21 Dec 2010 20:47:27 +0000 (22:47 +0200)]
core,tracker: CategoryContainer.add_child_container -> SimpleContainer

Move add_child_container method of Tracker.CategoryContainer to parent
SimpleContainer in core so that all plugins can make use of it.

13 years agotracker: Remove wrong 'async' declaration of a method
Zeeshan Ali (Khattak) [Tue, 21 Dec 2010 16:27:59 +0000 (18:27 +0200)]
tracker: Remove wrong 'async' declaration of a method

13 years agotracker: Avoid exposing empty containers
Zeeshan Ali (Khattak) [Tue, 21 Dec 2010 16:15:14 +0000 (18:15 +0200)]
tracker: Avoid exposing empty containers

Very often it happens that we don't have enough metadata available from tracker
to populate our hierarchies and we end-up exposing empty containers. Not only
empty containers are contrary to user's expectations but apparently DLNA CTT
isn't able to digest them.

This patch makes category containers delay addition of child containers to
actual (exposed) hierarchy until they produce some offspring.

13 years agocore: Support search by child count
Zeeshan Ali (Khattak) [Sat, 18 Dec 2010 22:25:27 +0000 (00:25 +0200)]
core: Support search by child count

Add support for search of media containers by their child count.

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Mon, 20 Dec 2010 12:27:26 +0000 (14:27 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 18 Dec 2010 22:54:55 +0000 (00:54 +0200)]
Updated Hebrew translation.

13 years agoUpdated Spanish translation
Jorge González [Sat, 18 Dec 2010 13:38:28 +0000 (14:38 +0100)]
Updated Spanish translation

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Fri, 17 Dec 2010 13:41:09 +0000 (14:41 +0100)]
Updated Norwegian bokmål translation

13 years agocore: Fix service & item path conflict
Zeeshan Ali (Khattak) [Fri, 17 Dec 2010 12:57:20 +0000 (14:57 +0200)]
core: Fix service & item path conflict

Since our HTTP server uses the same SoupServer for streaming items as
GUPnP does for serving description files, we need to change the (external)
paths of services to not conflict with that of our items.

13 years agocore,tests: Shorter HTTP URLs
Zeeshan Ali (Khattak) [Thu, 16 Dec 2010 17:33:59 +0000 (19:33 +0200)]
core,tests: Shorter HTTP URLs

- Remove redundant 'RygelHTTPServer' prefix (plugin names are unique).
- Abbreviate parameter names in URL.

13 years agoi18n: Update translated/ignored files list
Zeeshan Ali (Khattak) [Thu, 16 Dec 2010 17:32:59 +0000 (19:32 +0200)]
i18n: Update translated/ignored files list

13 years agocore: Empty SortCriteria means no SortCriteria
Zeeshan Ali (Khattak) [Wed, 15 Dec 2010 18:00:02 +0000 (20:00 +0200)]
core: Empty SortCriteria means no SortCriteria

13 years agocore: Sort in ascending order by default
Zeeshan Ali (Khattak) [Wed, 15 Dec 2010 17:54:02 +0000 (19:54 +0200)]
core: Sort in ascending order by default

I had gotten the idea of ascending and descending reversed in my head so
ended-up sorting by title in wrong (descending) order.

13 years agocore: Stop the waiting loop on timeout
Zeeshan Ali (Khattak) [Mon, 13 Dec 2010 17:28:22 +0000 (19:28 +0200)]
core: Stop the waiting loop on timeout

If wait for container update times-out, stop spinning the wait loop.

13 years agocore: Add timeouts to container update waiting code
Zeeshan Ali (Khattak) [Mon, 13 Dec 2010 17:03:23 +0000 (19:03 +0200)]
core: Add timeouts to container update waiting code

13 years agocore: Don't wait for item when there is no need to
Zeeshan Ali (Khattak) [Mon, 13 Dec 2010 16:59:41 +0000 (18:59 +0200)]
core: Don't wait for item when there is no need to

The 'updated' signal from the container could be emitted 'before' we start
to wait for it so better first check if item is already there and then
wait if its not.

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 11 Dec 2010 19:58:11 +0000 (20:58 +0100)]
Updated Slovenian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 11 Dec 2010 19:56:33 +0000 (20:56 +0100)]
Updated Slovenian translation

13 years agocore: Don't trust player to set URI immediately
Zeeshan Ali (Khattak) [Thu, 9 Dec 2010 21:13:40 +0000 (23:13 +0200)]
core: Don't trust player to set URI immediately

This is problematic in case of playbin plugin where the underlying
playbin2 element doesn't set URI immediately so when we read the 'uri'
property immediately after writing to it, we get an empty string.