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.
Jens Georg [Mon, 2 May 2011 10:11:49 +0000 (12:11 +0200)]
core: Prevent critical if there's no User-Agent
Jens Georg [Mon, 2 May 2011 10:05:51 +0000 (12:05 +0200)]
core: Return proper error if dc:title is missing
dc:title is mandatory as per ContentDirectoryV2 specification, 2.5.8
Jens Georg [Sat, 23 Apr 2011 10:57:54 +0000 (13:57 +0300)]
media-export: Ignore unknown file from discoverer
Sometimes and for some files the discoverer seems to send multiple
events.
Jens Georg [Sat, 30 Apr 2011 16:04:50 +0000 (19:04 +0300)]
core: Do not use entity-quoting in UTF-8 XML
Fixes bgo#648486 - Rygel doesn't show up in Samsung PS50C77 TV
Muhammet Kara [Fri, 29 Apr 2011 00:09:44 +0000 (03:09 +0300)]
Updated Turkish translation
Muhammet Kara [Fri, 29 Apr 2011 00:03:38 +0000 (03:03 +0300)]
Added Turkish translation
Santakivi Topi [Thu, 28 Apr 2011 11:47:46 +0000 (14:47 +0300)]
core: Only error out on forbidden flags
Previously ItemCreator was throwing a bad metadata error if any bit of
dlnaManaged was set in the DIDL item. Now we only do so if forbidden
bits were set.
This satisfies DLNA requirement 7.3.118.4.
Jens Georg [Fri, 22 Apr 2011 18:08:28 +0000 (21:08 +0300)]
core: Call correct callback in handle_real
Was working by chance only
Jens Georg [Sun, 17 Apr 2011 09:12:53 +0000 (12:12 +0300)]
data: Add more exotic media to MediaExport
.mpc/.mpc: MusePack
.wv: WavPack
.aac: Stand-alone AAC (raw/ADTS)
.mp2: MPEG 1, Audio Profile 2
.webm: WebM video files
.mka: Audio in a Matoska files
Jens Georg [Fri, 22 Apr 2011 05:20:54 +0000 (08:20 +0300)]
build: Use "missing" wrapper to generate ChangeLog
Lê Trường An [Wed, 20 Apr 2011 12:52:27 +0000 (19:52 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Wed, 20 Apr 2011 12:50:00 +0000 (19:50 +0700)]
po/vi.po: import from Damned Lies
Zeeshan Ali (Khattak) [Tue, 19 Apr 2011 15:59:43 +0000 (18:59 +0300)]
core: Print help string on bad arguments to options
Zeeshan Ali (Khattak) [Tue, 19 Apr 2011 15:59:12 +0000 (18:59 +0300)]
core: Minor coding-style fix
Zeeshan Ali (Khattak) [Tue, 19 Apr 2011 14:58:50 +0000 (17:58 +0300)]
core: Ignore unknown commandline options
Zeeshan Ali (Khattak) [Sat, 16 Apr 2011 18:51:39 +0000 (21:51 +0300)]
todo: Add task for merging sunil's work
Jens Georg [Sat, 16 Apr 2011 15:00:32 +0000 (18:00 +0300)]
Release 0.10.1
Jens Georg [Sat, 16 Apr 2011 14:59:09 +0000 (17:59 +0300)]
build: Generate ChangeLog from git on make dist
Jens Georg [Sat, 16 Apr 2011 12:50:42 +0000 (15:50 +0300)]
media-export: Cache exists information
Exists information is cached for the first run of rygel. This speeds up
initial start-up (and lowers stress on SQLite)
Jens Georg [Sat, 16 Apr 2011 11:11:11 +0000 (14:11 +0300)]
media-export: Delay rebuild of virtual containers
Delay the rebuild on file-system changes after the inital crawl. The
solution introduced with
3305afc1cecc7ef26d5b7fdd588a3825cfe4b369 causes
a massive stress on the SQLite database causing CPU load of 100% and
causing a massive slow-down in the initial crawl.
Jens Georg [Fri, 15 Apr 2011 20:27:00 +0000 (23:27 +0300)]
media-export: Don't crash on file without streams
Zeeshan Ali (Khattak) [Sat, 16 Apr 2011 14:43:38 +0000 (17:43 +0300)]
vcs: Add our TODO list to VCS
Zeeshan Ali (Khattak) [Tue, 12 Apr 2011 10:38:28 +0000 (13:38 +0300)]
Release 0.10.0
Zeeshan Ali (Khattak) [Thu, 14 Apr 2011 23:12:01 +0000 (02:12 +0300)]
tests: Update time seek test for commit 4b96c34
Zeeshan Ali (Khattak) [Thu, 14 Apr 2011 23:10:55 +0000 (02:10 +0300)]
tests: Update time seek test for commit aed9247
Jens Georg [Wed, 13 Apr 2011 14:50:39 +0000 (17:50 +0300)]
core: Don't error out if file does not exist
It might be that it hadn't been uploaded yet; so depending on the
back-end there might be a stale object in the database
Zeeshan Ali (Khattak) [Thu, 14 Apr 2011 12:59:34 +0000 (15:59 +0300)]
core: Introducing HTTPSeek.step property
Abstract HTTPSeek class now uses (and requires) a 'step' property.
Currently its only used for calculating 'length' from given 'stop' and
'start' values.
This also fixes the wrong length calculation for HTTPTimeSeek in case of
serving the whole duration of the stream.
Zeeshan Ali (Khattak) [Thu, 14 Apr 2011 12:57:20 +0000 (15:57 +0300)]
core: Report slightly more accurate time seek range
Jens Georg [Wed, 13 Apr 2011 18:00:45 +0000 (21:00 +0300)]
media-export: Properly cancel the file monitor
Jens Georg [Wed, 13 Apr 2011 16:49:32 +0000 (19:49 +0300)]
media-export: Fix crash on file removal
Zeeshan Ali (Khattak) [Wed, 13 Apr 2011 15:05:28 +0000 (18:05 +0300)]
core: 'dlnaManaged' must not be set by client
'dlnaManaged' attribute must not be set by client on newly created item.
This satisfies DLNA CTT testcase 7.3.133.6.
Jens Georg [Wed, 13 Apr 2011 11:55:18 +0000 (14:55 +0300)]
core: Prevent crash in ImportResource
Throw error when required input arguments are missing.
Jens Georg [Wed, 13 Apr 2011 11:54:49 +0000 (14:54 +0300)]
tracker: Mark resources we created as ours