Jens Georg [Fri, 1 Jul 2011 12:35:50 +0000 (14:35 +0200)]
core,doc,tracker: Add option for upload folders
Jens Georg [Fri, 1 Jul 2011 11:03:53 +0000 (13:03 +0200)]
tracker: Delete stale place-holder items
Jens Georg [Sun, 29 May 2011 19:50:45 +0000 (21:50 +0200)]
core,doc: Add option to override user config file
Jens Georg [Fri, 1 Jul 2011 08:22:28 +0000 (10:22 +0200)]
todo: Add task about refactoring device hacks
Jens Georg [Wed, 29 Jun 2011 09:02:04 +0000 (11:02 +0200)]
tracker: Add base classes to WriteableContainers
Jens Georg [Thu, 23 Jun 2011 10:04:37 +0000 (12:04 +0200)]
data: Remove schema annotations from SCDP files
The files were taken from the UPnP forum website, but those files are
for use with the UPnP Certification test tool and carry additional
annotations.
Jens Georg [Wed, 22 Jun 2011 22:35:21 +0000 (00:35 +0200)]
Revert 3d45475..7679c0
Those commits had subtile issues that didn't show during my tests.
Matej Urbančič [Wed, 22 Jun 2011 19:14:53 +0000 (21:14 +0200)]
Updated Slovenian translation
Jens Georg [Wed, 22 Jun 2011 12:39:21 +0000 (14:39 +0200)]
tracker: Adapt tracker search patches to
49a4e1fb0
Jens Georg [Sat, 11 Jun 2011 10:41:52 +0000 (12:41 +0200)]
tracker: Adapt to changed KeyChainMap
Jens Georg [Thu, 28 Apr 2011 18:03:39 +0000 (21:03 +0300)]
tracker: Adapt to new Vala version
Sunil Mohan Adapa [Wed, 8 Dec 2010 20:08:44 +0000 (01:38 +0530)]
tracker: Use new query classes in CategoryAllContainer
Sunil Mohan Adapa [Thu, 9 Dec 2010 23:56:22 +0000 (05:26 +0530)]
tracker: Helper for generating search queries
Generating queries involves converting properties to key chains, adding
extra filter conditions required for a container and for mapping search
expressions. Once the results are retrieved, they need to be converted to
media objects. These tasks are performed by the new helper class.
It also provides a much more complete translation of Rygel's search
expression to SPARQL query. An intended side-affect of that is that the
searchable containers using this classes will not have to revert to the
default (potentially very very) slow search for most cases.
Sunil Mohan Adapa [Wed, 8 Dec 2010 19:43:32 +0000 (01:13 +0530)]
tracker: New class for SPARQL search query
This class helps in generating a SPARQL query meant for searching. It is
mostly similar to selection query with only minor modifications. It will
eventually replace the selection query.
Sunil Mohan Adapa [Wed, 8 Dec 2010 19:40:25 +0000 (01:10 +0530)]
tracker: New classes to handle SPARQL query filters
These new set of classes represent the filter tree that can specified in a
SPARQL query. They serialize to produce filter part of a SPARQL query.
Jens Georg [Tue, 21 Jun 2011 12:51:35 +0000 (14:51 +0200)]
tracker: Don't append error message
Jens Georg [Tue, 21 Jun 2011 12:50:54 +0000 (14:50 +0200)]
tracker: Method is called Get, not GetStatistics
Jens Georg [Tue, 21 Jun 2011 09:47:00 +0000 (11:47 +0200)]
Release 0.11.1
Jens Georg [Tue, 21 Jun 2011 10:12:22 +0000 (12:12 +0200)]
i18n: Update POTFILES.skip
Jens Georg [Tue, 21 Jun 2011 09:33:20 +0000 (11:33 +0200)]
data: Add ape to supported MediaExport formats
http://www.monkeysaudio.com
Mario Blättermann [Sun, 19 Jun 2011 15:32:07 +0000 (17:32 +0200)]
[l10n] Updated German translation
Jens Georg [Fri, 10 Jun 2011 09:39:51 +0000 (11:39 +0200)]
core: Add storageUsed property to containers
Jens Georg [Fri, 10 Jun 2011 09:06:08 +0000 (11:06 +0200)]
core: Return 402 on extra argument
Partially fixes UPnP CTT test UDA-3.1.3
Topi Santakivi [Wed, 1 Jun 2011 13:39:21 +0000 (16:39 +0300)]
core: Respond with 712 for DIDL parse failure
In case the DIDL-lite parsing fails, e.g. due to an invalid
@restricted value in the XML, Rygel must respond with error
BAD METADATA (712). Satisfies DLNA guideline 7.3.134.1.
Topi Santakivi [Thu, 26 May 2011 09:27:16 +0000 (12:27 +0300)]
core,tracker,media-export: Advertize search classes
SearchableContainer implementations now report supported search classes.
That information is then relayed to clients.
This satisfies DLNA requirement 7.3.67.4.
Co-author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Zeeshan Ali (Khattak) [Fri, 17 Jun 2011 00:18:16 +0000 (03:18 +0300)]
core,plugins: Catch correct error from DBus calls
Apparently we get a DBusError rather than IOError from DBus calls.
Zeeshan Ali (Khattak) [Thu, 16 Jun 2011 22:47:21 +0000 (01:47 +0300)]
tracker: Declare sync call as such
We were calling a D-Bus method synchronously while it was declared
'async' which resulted in us not able to catch errors from it.
Topi Santakivi [Wed, 15 Jun 2011 12:46:52 +0000 (15:46 +0300)]
build: Bump gssdp, gupnp, -av & -vala requirement
Require latest releases of gssdp, gupnp, gupnp-av & gupnp-vala.
Co-author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Jens Georg [Tue, 14 Jun 2011 13:25:40 +0000 (15:25 +0200)]
core: Verify upnp:class against createClass
Prevent that a CP tried to create an item that doesn't match the
advertised createClass of a container.
Topi Santakivi [Fri, 20 May 2011 09:28:38 +0000 (12:28 +0300)]
core: Remove item if HTTP POST is aborted
Jens Georg [Tue, 14 Jun 2011 13:23:18 +0000 (15:23 +0200)]
core: @restricted MUST be false on CreateObject
Partially fixes UPnP CTT AV-CD:1-6.1
Jens Georg [Fri, 10 Jun 2011 09:01:48 +0000 (11:01 +0200)]
core: Drop RegisterDevice action
Drop RegisterDevice action of 'X_MS_MediaReceiverRegistrar1' service. This
is not needed for XBox support but for UPnP CTT.
Jens Georg [Tue, 24 May 2011 16:07:13 +0000 (18:07 +0200)]
core: Make MediaReceiverRegistrar send events
It neither help nor harm the XBox but fixes UPnP CTT UDA-4.2.2.
Jens Georg [Mon, 23 May 2011 16:46:44 +0000 (18:46 +0200)]
core: Work-around standard issues for XBox
The MediaReceiverRegistrar uses an illegal character in the domain
name which makes UPnP tests fail. The XBox doesn't work without the
".", so we put the dash to make the UPnP test happy and replace it
with a dot when the XBox requests our service description.
Fixes (partially) UPnP CTT tests UDA-1.1.1, UDA-1.1.2, UDA-1.1.3
and UDA-1.1.4.
Andrej Žnidaršič [Fri, 10 Jun 2011 18:10:41 +0000 (20:10 +0200)]
Updated Slovenian translation
Jens Georg [Wed, 8 Jun 2011 20:53:03 +0000 (22:53 +0200)]
Prepare release 0.11.0
Jens Georg [Wed, 8 Jun 2011 20:38:40 +0000 (22:38 +0200)]
Revert "core: Don't use storageFolder for common containers"
This reverts commit
df1d44c21e1d95b3088a444836d8c8ead8fb919c.
Jens Georg [Tue, 31 May 2011 18:12:01 +0000 (20:12 +0200)]
Prepare 0.10.2
Jens Georg [Fri, 3 Jun 2011 11:23:16 +0000 (13:23 +0200)]
core: Validate passed sort criteria string
This fixes UPnP CTT AV-CD:1-4.2
Jens Georg [Fri, 27 May 2011 15:11:18 +0000 (17:11 +0200)]
core: Don't use storageFolder for common containers
storageFolder is supposed to represent something with a size and has
to have the mandatory upnp:storageUsed property.
Partially fixes UPnP CTT AV-CD:1-4.1
Marek Černocký [Tue, 7 Jun 2011 16:36:58 +0000 (18:36 +0200)]
Updated Czech translation
Jens Georg [Thu, 5 May 2011 22:35:41 +0000 (00:35 +0200)]
media-export: Wait for filesystem events to settle
Don't start harvesting right away. Some file changes are not really
"DONE", e.g. bittorrent downloads might trigger false extractions.
Fixes
bgo#651965 - Rygel Uses 100% CPU while working on an incomplete MKV
file
Jens Georg [Sun, 17 Apr 2011 11:31:58 +0000 (14:31 +0300)]
media-export: Split up code for file notifys
Jens Georg [Sun, 17 Apr 2011 09:03:15 +0000 (12:03 +0300)]
media-export: Add option to disable file monitors
Jens Georg [Fri, 27 May 2011 07:52:10 +0000 (09:52 +0200)]
core: Prevent a crash in ImportResource
If a plugin has several items sharing the same URI in multiple
containers, deleting the item from one container can lead to the
fact that the item is still present in a non-writable container.
Jens Georg [Fri, 27 May 2011 07:58:38 +0000 (09:58 +0200)]
core: Return 718 if destination_uri is missing
Partially fixes UPnP CTT testcase AV-CD:1-9.1
Daniel Mustieles [Sat, 4 Jun 2011 08:39:19 +0000 (10:39 +0200)]
Updated Spanish translation
Jens Georg [Wed, 1 Jun 2011 14:07:51 +0000 (16:07 +0200)]
core: Correct status if ImportResource was stopped
Partially fixes UPnP CTT AV-CD:1-11.1
Jens Georg [Tue, 31 May 2011 09:59:56 +0000 (11:59 +0200)]
core: Signal transfer completed immediately
The end of the transfer operation must be signalled immediately. Also
the TransferID of a finished transfer must not be in the TransferID
properties anymore, but it still needs to be queriable for at least 30
seconds after the transfer.
Partially fixes UPnP CTT AV-CD:1-12.1.
Jens Georg [Wed, 1 Jun 2011 11:19:30 +0000 (13:19 +0200)]
core: Check received data size
If the server closes the connection gracefully during transfer, Soup
doesn't give us an error. So we compare the expeted to the received
number of bytes and set the state accordingly.
Partially fixes UPnP CTT AV-CD:1-12.1
Jens Georg [Wed, 1 Jun 2011 11:09:17 +0000 (13:09 +0200)]
core: Delay response on ImportResource
Delay it until we get the headers from the actual import. UPnP tests
require that if the server has an error, the action needs to return with
error 715.
Partially fixes UPnP CTT AV-CD:1-9.1.
Co-author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Jens Georg [Tue, 31 May 2011 07:37:42 +0000 (09:37 +0200)]
core: Use libsoup in ImportResource
Using GIO has two problems: it needs the external http gvfs module
which might not be available everywhere and even if it's available,
the copy operation does a HEAD request first which makes the
certification test fail.
Partially fixes UPnP CTT testcases AV-CD:1-9.1, AV-CD:1-11.1 and
AV-CD:1-12.1
Jens Georg [Tue, 24 May 2011 16:21:04 +0000 (18:21 +0200)]
core: Return error on ivalid browse args
If StartingIndex < 0 or RequestCount < 0 we should return 402.
This fixes UPnP CTT AV-CD:1.4.3
Zeeshan Ali (Khattak) [Fri, 3 Jun 2011 13:38:39 +0000 (16:38 +0300)]
build: Bump libsoup min and max version required
Require libsoup >= 2.34.0 < 2.36.9999.
Jens Georg [Mon, 30 May 2011 16:48:07 +0000 (18:48 +0200)]
core: Return proper error for missing ConnectionId
This fixes AV-CM:1-5.1
Jens Georg [Fri, 27 May 2011 08:05:38 +0000 (10:05 +0200)]
core: Properly sort on dates without time
The implementation in glib was returning an empty timeval if there was
no time attached to the date
Jorge González [Sun, 29 May 2011 10:06:11 +0000 (12:06 +0200)]
Updated Spanish translation
Jens Georg [Tue, 24 May 2011 07:43:02 +0000 (09:43 +0200)]
media-export: Add missing "." in front of m4a
Jens Georg [Mon, 25 Apr 2011 08:12:10 +0000 (11:12 +0300)]
core: Use replace_literal in MediaArtStore
The regex doesn't use back references so we can use the slightly more
efficient version
Jens Georg [Sun, 17 Apr 2011 08:18:54 +0000 (11:18 +0300)]
media-export: Use UPnP classes from items
Jens Georg [Fri, 22 Apr 2011 08:09:11 +0000 (11:09 +0300)]
media-export: No need to look-up album art here
Topi Santakivi [Mon, 23 May 2011 09:23:00 +0000 (12:23 +0300)]
core: Set 'Connection' header on HTTP GET response
This satisfies DLNA requirement 7.4.31.2.
Andrej Žnidaršič [Sun, 22 May 2011 10:49:30 +0000 (12:49 +0200)]
Updated Slovenian translation
Jens Georg [Fri, 20 May 2011 17:12:57 +0000 (19:12 +0200)]
core: Make sure file is closed after HTTP POST
Preparation for https://bugzilla.gnome.org/show_bug.cgi?id=635765
which is already applied on some systems. This causes the back-ends
not to get CHANGES_DONE hint until the file is really closed.
Jens Georg [Fri, 20 May 2011 07:58:24 +0000 (09:58 +0200)]
tests: Update mocked MediaItem
Slipped through make distcheck
Jens Georg [Thu, 19 May 2011 16:52:52 +0000 (18:52 +0200)]
core: Missing newlines
Topi Santakivi [Thu, 19 May 2011 12:32:34 +0000 (15:32 +0300)]
tests: Updated http-time-seek-test
Topi Santakivi [Thu, 19 May 2011 09:49:03 +0000 (12:49 +0300)]
core: More formats to TimeSeekRange parsing
So far the TimeSeekRange.dlna.org parsing has been supported
for time ranges in the format '0.00-417.33' and
'00:00:01.0-10:19:25.7'. In DLNA (guideline 7.4.40.3) the
time range can also be in the format '0.00-00:01:21.3',
or '00:01:21.3'. This commit adds support for those.
Topi Santakivi [Tue, 17 May 2011 13:57:05 +0000 (16:57 +0300)]
core: Fix transfer mode for thumbnails
Commit 487816a made Rygel compliant with DLNA guideline 7.4.49.4 but
broke the thumbnails. This commit loosens the restrictions to make
thumbnails work again.
Jens Georg [Thu, 19 May 2011 16:14:15 +0000 (18:14 +0200)]
tracker: Support existing non-indexed files
Jens Georg [Thu, 19 May 2011 15:26:33 +0000 (17:26 +0200)]
tracker: Don't fail on existing resources
If we try to add a resource with a URI that already exists in tracker,
don't error out but return the resource URI of the existing resource.
Jens Georg [Thu, 19 May 2011 14:22:42 +0000 (16:22 +0200)]
core: Non-native files are not writable
Jens Georg [Thu, 19 May 2011 13:58:20 +0000 (15:58 +0200)]
core: Don't serve place_holder items
Jens Georg [Thu, 19 May 2011 13:57:33 +0000 (15:57 +0200)]
core: Don't crash on invalid input in CreateObject
Jens Georg [Wed, 11 May 2011 08:35:34 +0000 (10:35 +0200)]
tracker: Print the used upload directories
Jens Georg [Wed, 11 May 2011 07:31:35 +0000 (09:31 +0200)]
tracker: Non-native files are nfo:RemoteDataObject
This also reflects in the place_holder state. Placeholder items are now
those that are nie:DataObjects but not nfo:FileDataObjects or
nfo:RemoteDataObjects.
Jens Georg [Fri, 6 May 2011 09:46:11 +0000 (11:46 +0200)]
core: Always wait for update first
Try to avoid a race where the HTTP post gets signalled by the wrong change.
Jens Georg [Fri, 6 May 2011 09:44:08 +0000 (11:44 +0200)]
tracker: Set item size in the tracker-miner graph
Otherwise the miner doesn't correct it after extracting.
This fixed DLNA requirement 7.3.128.7
Jens Georg [Wed, 4 May 2011 11:56:30 +0000 (13:56 +0200)]
core: Consider non-native URIs place_holder items
If there was no <res> in the DIDL, we consider them as place_holder
as well.
Jens Georg [Wed, 4 May 2011 17:35:29 +0000 (19:35 +0200)]
core: Always cancel timeout after POST
This prevents some misleading "timed out while waiting for" messages.
Jens Georg [Wed, 4 May 2011 11:55:03 +0000 (13:55 +0200)]
tracker: Deduct place_holder status from rdf:type
We create place-holder items as nie:DataObjects now and query for their
promotion to nfo:FileDataObject through the miner as an indicator that
a real file exists now.
Jens Georg [Wed, 4 May 2011 11:53:57 +0000 (13:53 +0200)]
core: Make place-holder a public property
Jens Georg [Wed, 18 May 2011 09:31:55 +0000 (11:31 +0200)]
i18n: More files to ignore
Topi Santakivi [Mon, 16 May 2011 14:05:56 +0000 (17:05 +0300)]
tests: Updated http-time-seek-test.vala
Topi Santakivi [Fri, 13 May 2011 13:01:32 +0000 (16:01 +0300)]
core: Complete TimeSeekRange parsing
Topi Santakivi [Fri, 13 May 2011 13:00:02 +0000 (16:00 +0300)]
core: Correct HTTP code for TimeSeek
This commit makes Rygel return HTTP 206 (Partial Content)
only in the case when the Range header is present. See [1]
for details.
[1] http://tools.ietf.org/html/rfc2616#section-14.35.2
Marek Černocký [Sun, 15 May 2011 20:29:02 +0000 (22:29 +0200)]
Updated Czech translation
Santakivi Topi [Wed, 11 May 2011 13:16:22 +0000 (15:16 +0200)]
core: Return HTTP 400 for invalid range
Luis de Bethencourt [Wed, 11 May 2011 13:03:55 +0000 (15:03 +0200)]
core: Catch specific range error
Santakivi Topi [Wed, 11 May 2011 10:44:58 +0000 (12:44 +0200)]
core: HTTP response 416 on seek out-of-bounds
Luis de Bethencourt [Fri, 6 May 2011 17:12:17 +0000 (19:12 +0200)]
core: Fix out of bounds seek response
Fixes CTT test cases: 7.4.38.6 & 7.4.40.8
Jens Georg [Sat, 7 May 2011 19:26:11 +0000 (21:26 +0200)]
tests: Mock XBoxHacks for unit-tests
Jens Georg [Sat, 7 May 2011 17:06:22 +0000 (19:06 +0200)]
core: Serve video thumbnails to XBox 360
Jens Georg [Sat, 7 May 2011 16:59:09 +0000 (18:59 +0200)]
core: Fake Windows Media Player 11 for XBox 360
This also enables us to drop the ugly postfix on the friendly name.
Jens Georg [Sat, 7 May 2011 15:57:17 +0000 (17:57 +0200)]
core: Set DLNA profile and mime type for Thumbnail
Jens Georg [Fri, 6 May 2011 16:16:05 +0000 (18:16 +0200)]
core: Slightly correct previous commit 487816
- ImageItem implies !streamable
- MusicItem / VideoItem imply streamable
Didn't see that during review.
Gabriel F. Vilar [Fri, 6 May 2011 12:52:43 +0000 (09:52 -0300)]
Updated Brazilian Portuguese translation
Topi Santakivi [Tue, 3 May 2011 11:06:58 +0000 (14:06 +0300)]
core: Add restrictions to correct transfer modes
This patch makes the transfer mode check conform
with DLNA guideline 7.4.49.4.
Jens Georg [Sat, 23 Apr 2011 11:16:01 +0000 (14:16 +0300)]
core: Fix album art
Add album art as upnp:albumArtURI, not thumbnail. Was somehow lost.
Jens Georg [Wed, 4 May 2011 17:32:23 +0000 (19:32 +0200)]
tracker: Use D-Bus filtering for GraphUpdated
Don't let tracker wake us for each and everything that happens in the
store and use server-side filtering for the IRIs we are really
interested in.