Marcin Kazmierczak [Fri, 23 Dec 2011 11:36:52 +0000 (12:36 +0100)]
tests: Extend rygel-http-get-test.vala
Jens Georg [Sun, 25 Dec 2011 13:06:49 +0000 (14:06 +0100)]
core: Fix error handling in item creator
Method was needlessly declared async, so the throwing of the exception
was not propagated properly in an case of error.
Krzesimir Nowak [Wed, 26 Oct 2011 14:16:56 +0000 (16:16 +0200)]
core: Do not treat 'npt=0-' as seek request
'TimeSeekRange.dlna.org: npt=0-' means that whole item is requested,
so actually no seek is needed here.
https://bugzilla.gnome.org/show_bug.cgi?id=659432
Jens Georg [Fri, 18 Nov 2011 08:55:40 +0000 (09:55 +0100)]
core: Always disconnect handler
Prevents reference leaks on the container searched in.
Jens Georg [Mon, 19 Dec 2011 07:14:55 +0000 (08:14 +0100)]
core: Remove reference cycle in HTTP request
Marcin Kazmierczak [Thu, 22 Dec 2011 09:52:34 +0000 (10:52 +0100)]
tests: Extend rygel-http-item-uri-test.vala
New test case with incorrect url.
Marcin Kazmierczak [Thu, 22 Dec 2011 09:22:05 +0000 (10:22 +0100)]
tests: Fix bug in HTTPItemUri test
test_construction_with_subtitle: Add default -1 Thumbnail index in
HTTPItemUri constructor call.
Previously test create HTTPItemURI object with Thumbnail index instead of
subtitle index.
Jens Georg [Fri, 16 Dec 2011 21:13:03 +0000 (22:13 +0100)]
core: Simplify RTP depayloader guessing
https://bugzilla.gnome.org/show_bug.cgi?id=663497
Jens Georg [Fri, 16 Dec 2011 20:43:42 +0000 (21:43 +0100)]
build: Bump vala requirement to 0.14.1
Needed for GStreamer VAPI fixes
Jens Georg [Thu, 15 Dec 2011 20:02:54 +0000 (21:02 +0100)]
core: Prevent critical when device is not a DMS
Jens Georg [Thu, 8 Dec 2011 18:22:34 +0000 (19:22 +0100)]
core: Reuse description file saving
Jens Georg [Sun, 27 Nov 2011 11:57:37 +0000 (12:57 +0100)]
core: Refactor description document manipulation
Move basic document manipulation inside a new class and use it in V1
and XBox hacks to eliminate the code duplication introduced when
splitting these two classes.
Jens Georg [Thu, 8 Dec 2011 18:37:18 +0000 (19:37 +0100)]
core: Hide XBox album art handling
Simply check the request in the hack constructor and rewrite the URL
to our thumbnail request format.
Jens Georg [Thu, 8 Dec 2011 18:30:58 +0000 (19:30 +0100)]
core: Refactor client hacks
Unify both constructors to operate on SoupMessage.
Jens Georg [Thu, 24 Nov 2011 12:54:48 +0000 (13:54 +0100)]
core: Add configuration option for V1 downgrade
Jens Georg [Thu, 24 Nov 2011 12:07:22 +0000 (13:07 +0100)]
core: Separate V1 hacks from XBox 360 hacks
Jens Georg [Wed, 14 Dec 2011 12:53:01 +0000 (13:53 +0100)]
TODO: Add some comments
Jens Georg [Tue, 13 Dec 2011 09:24:32 +0000 (10:24 +0100)]
doc: Update URLs and tools for DBus interfaces
Jens Georg [Sun, 27 Nov 2011 18:10:01 +0000 (19:10 +0100)]
core: Filter unsupported sort criterias from XBox
This fixes the "Slideshow" option when selected from top-level picture
browsing dialog.
Jens Georg [Thu, 24 Nov 2011 09:14:42 +0000 (10:14 +0100)]
core: Add hacks for XBMC
XBMC fails to recognize DLNA mime-types as AAC for AAC files.
Jens Georg [Sun, 11 Dec 2011 16:56:54 +0000 (17:56 +0100)]
doc: Update Mediathek docs and include in tarball
https://bugzilla.gnome.org/show_bug.cgi?id=665946
Jens Georg [Fri, 9 Dec 2011 11:47:50 +0000 (12:47 +0100)]
core: Override resource resolution for AVC
Lukasz Pawlik [Tue, 8 Nov 2011 14:42:17 +0000 (15:42 +0100)]
tracker: Refactor query triplets
Use add method from base class.
Piotr Drąg [Sun, 11 Dec 2011 16:24:48 +0000 (17:24 +0100)]
Updated Polish translation
Jens Georg [Tue, 6 Dec 2011 12:26:58 +0000 (13:26 +0100)]
core: Change wording for profiles debugging
Jens Georg [Tue, 6 Dec 2011 17:55:31 +0000 (18:55 +0100)]
core: Video framerate is a restriction, not format
Jens Georg [Mon, 5 Dec 2011 22:00:41 +0000 (23:00 +0100)]
tests: Fix build
Jens Georg [Sun, 4 Dec 2011 11:01:31 +0000 (12:01 +0100)]
core: Dump encodebin profile in transcoder
Jens Georg [Sun, 4 Dec 2011 11:00:07 +0000 (12:00 +0100)]
core: Fix typo in MPEG2 TS container profile
Alexandre Franke [Thu, 24 Nov 2011 09:55:22 +0000 (10:55 +0100)]
Update French translation
Jens Georg [Thu, 24 Nov 2011 07:38:45 +0000 (08:38 +0100)]
media-export: Fix regression in file monitor
Changeset
05024f6e4e688a40629573eb0401f83421d32209 accidently removed
the support for _CREATED events.
Jens Georg [Sat, 22 Oct 2011 06:31:06 +0000 (08:31 +0200)]
Prepare 0.13.0
Jens Georg [Wed, 23 Nov 2011 08:51:56 +0000 (09:51 +0100)]
tests: Fix HTTPGet and HTTPResponse tests
Jens Georg [Tue, 22 Nov 2011 21:21:39 +0000 (22:21 +0100)]
core: Set all headers in RygelHTTPGet
Don't set Content-Length header in HEAD request for transcoded
resources. This was previously caused by the message encoding being
set to CONTENT_LENGTH by default. Moving the code sets the encoding
to EOF causing libsoup to not set the Content-Length header.
Also adds a proper Range header for byte-seek HEAD requests.
This fixes the random fails of test-case 7.4.28.2,3,4,6
Grzegorz Grabowski [Thu, 27 Oct 2011 12:56:00 +0000 (14:56 +0200)]
core: Error handling of upload file writing
If stream.write_all method threw an exception Rygel crashed.
It happened because on_got_body and on_got_chunk signals came after
HTTPPost object transitioned to finished state.
The fix disconnects from these signals after file writing errors occurs
since there is no recovery from such situation which in real
happens only when there is no disk space or max file size is limited.
Jorge González [Sun, 20 Nov 2011 09:39:20 +0000 (10:39 +0100)]
Updated Spanish translation
Jens Georg [Sun, 16 Oct 2011 13:20:06 +0000 (15:20 +0200)]
core: Batch uris for thumbnail requests
Previously it was only creating one thumbnail per browse request
https://bugzilla.gnome.org/show_bug.cgi?id=661334
Jens Georg [Tue, 15 Nov 2011 14:06:16 +0000 (15:06 +0100)]
build: Bump libsoup max version
Jens Georg [Mon, 14 Nov 2011 21:08:31 +0000 (22:08 +0100)]
core: Prevent dead-lock in signal handler
Jens Georg [Mon, 14 Nov 2011 08:45:22 +0000 (09:45 +0100)]
tracker: Minor style fix
Jens Georg [Thu, 10 Nov 2011 10:31:29 +0000 (11:31 +0100)]
tracker: Cache ContainerUpdateID
Fixes DLNA Testcase 7.3.56.1
Jens Georg [Tue, 8 Nov 2011 09:02:46 +0000 (10:02 +0100)]
core: Fix forgotten argument in previous commit
Jens Georg [Tue, 8 Nov 2011 08:40:26 +0000 (09:40 +0100)]
build: Bump vala requirements
Jens Georg [Tue, 8 Nov 2011 07:41:07 +0000 (08:41 +0100)]
core: Fix endless loop if item disappears
Jens Georg [Mon, 7 Nov 2011 07:56:27 +0000 (08:56 +0100)]
core: Only assume dynamic linking on missing src
Jens Georg [Sun, 6 Nov 2011 18:50:48 +0000 (19:50 +0100)]
core: Don't needlessly copy caps
Jens Georg [Sun, 6 Nov 2011 18:50:10 +0000 (19:50 +0100)]
core: Search RTP depayloaders more flexible
Kristjan SCHMIDT [Sun, 6 Nov 2011 17:48:21 +0000 (18:48 +0100)]
Add Esperanto translation
Jens Georg [Sun, 6 Nov 2011 09:46:53 +0000 (10:46 +0100)]
media-export: Support videos without audio
Marek Černocký [Wed, 2 Nov 2011 18:19:00 +0000 (19:19 +0100)]
Updated Czech translation
Jens Georg [Mon, 31 Oct 2011 08:30:44 +0000 (09:30 +0100)]
core: Remove unused "using"
Jens Georg [Fri, 22 Jul 2011 12:12:18 +0000 (14:12 +0200)]
core: Refactor video transcoders
https://bugzilla.gnome.org/show_bug.cgi?id=661891
Jens Georg [Fri, 22 Jul 2011 10:42:46 +0000 (12:42 +0200)]
core: Refactor audio transcoders
Share a common base class and simplify transcoder code.
https://bugzilla.gnome.org/show_bug.cgi?id=661891
Jens Georg [Sun, 30 Oct 2011 13:22:15 +0000 (14:22 +0100)]
core: Width and height swapped
Width and height in MPEG-TS transcoder were swapped.
Jens Georg [Sat, 29 Oct 2011 09:01:59 +0000 (11:01 +0200)]
mediathek: Fix mp4 video format
Jens Georg [Wed, 26 Oct 2011 16:41:05 +0000 (18:41 +0200)]
tracker: Set empty DLNA profile when creating item
This fixes DLNA item 7.3.134.4,8 when rygel runs with strict sharing
enabled.
Jens Georg [Wed, 26 Oct 2011 12:57:06 +0000 (14:57 +0200)]
core: Unbreak compilation with valac-0.12
Jens Georg [Tue, 25 Oct 2011 08:09:03 +0000 (10:09 +0200)]
core: Stop pipeline on link error
If decodebin and encodebin fail to link, post an error to the pipeline.
Otherwise the pipeline is stuck in PAUSED for some corrupt source
files. This is a work-around for
https://bugzilla.gnome.org/show_bug.cgi?id=661747
Jens Georg [Tue, 25 Oct 2011 08:06:53 +0000 (10:06 +0200)]
tracker: Let the miner decide the RDF type
We only set the generic RDF type nfo:Media to prevent situations where
a client uploads e.g. an image with DIDL meta-data for an MP3.
Previously the item would then be a nmm:Music (from CreateItem) and
nmm:Photo (from the miner).
Jens Georg [Thu, 20 Oct 2011 12:30:34 +0000 (14:30 +0200)]
core: Properly signalize that a timeout happened
Jens Georg [Thu, 20 Oct 2011 09:50:28 +0000 (11:50 +0200)]
tracker: Allow miner to overide properties
Especially nmm:dlnaProfile and nie:mimeType
Jens Georg [Thu, 20 Oct 2011 09:49:55 +0000 (11:49 +0200)]
tracker: Fix query builder for graphed statements
Jens Georg [Mon, 24 Oct 2011 14:38:48 +0000 (16:38 +0200)]
tracker: Really use nfo:fileLastModified
Matej Urbančič [Sun, 23 Oct 2011 17:16:48 +0000 (19:16 +0200)]
Updated Slovenian translation
Jens Georg [Sat, 22 Oct 2011 07:02:22 +0000 (09:02 +0200)]
i18n: Re-generate POTFILES.skip
Jens Georg [Sat, 22 Oct 2011 07:01:59 +0000 (09:01 +0200)]
i18n: Add script to generate POTFILES.skip
Jens Georg [Sat, 22 Oct 2011 06:43:49 +0000 (08:43 +0200)]
build: Only pass -g when debugging is enabled
Jens Georg [Fri, 21 Oct 2011 17:55:57 +0000 (19:55 +0200)]
media-export: Fix music browsing on XBox
Jens Georg [Fri, 21 Oct 2011 18:24:25 +0000 (20:24 +0200)]
media-export: Remove debug output
Mario Blättermann [Thu, 20 Oct 2011 20:23:06 +0000 (22:23 +0200)]
[l10n] Updated German translation
Mario Blättermann [Thu, 20 Oct 2011 20:20:27 +0000 (22:20 +0200)]
[l10n] Updated German translation
Jens Georg [Mon, 17 Oct 2011 19:27:13 +0000 (21:27 +0200)]
media-export: Deactivate on slow Tracker start-up
If the startup of the Tracker plug-in is delayed (e.g. due to DBus
activation) the old method of disabling MediaExport did not work since
the Tracker plug-in was not active when MediaExport was loaded. The
plug-in now listens to notify::active of the Tracker plug-in and
deactivates itself once that changes to "true".
https://bugzilla.gnome.org/show_bug.cgi?id=662031
Jens Georg [Thu, 20 Oct 2011 16:44:34 +0000 (18:44 +0200)]
core: Seek interval is right-open
https://bugzilla.gnome.org/show_bug.cgi?id=662125
Jens Georg [Thu, 20 Oct 2011 16:28:30 +0000 (18:28 +0200)]
core: Set correct stop-type for byte-seek as well
https://bugzilla.gnome.org/show_bug.cgi?id=662125
Jens Georg [Thu, 20 Oct 2011 09:13:17 +0000 (11:13 +0200)]
core: Use proper error for wrong browse method
Jens Georg [Wed, 19 Oct 2011 08:10:05 +0000 (10:10 +0200)]
test: Mark mocked item as non-placeholder
Jens Georg [Wed, 19 Oct 2011 08:00:16 +0000 (10:00 +0200)]
test: Remove temporary file on start-up
Jens Georg [Wed, 19 Oct 2011 07:53:12 +0000 (09:53 +0200)]
test: Update for new ClientHacks
Lukasz Pawlik [Tue, 18 Oct 2011 11:47:56 +0000 (13:47 +0200)]
tracker: send only utf8 string over DBus
Previously it was possible to crash rygel by sending certain malformed url.
This patch fix this by ensuring that every selection query send to tracker
service over DBus will be UTF8 encoded. If UTF8 will not be enforced
GLib.Variant will crash.
Zeeshan Ali (Khattak) [Tue, 18 Oct 2011 18:19:17 +0000 (21:19 +0300)]
core: Use 'const' rather than 'static' for constants
https://bugzilla.gnome.org/show_bug.cgi?id=661336
Zeeshan Ali (Khattak) [Sun, 16 Oct 2011 22:47:03 +0000 (01:47 +0300)]
core: Add hacks for Panasonic TV
Currently its just about lieing to the device that png's thumbnails are
jpegs.
https://bugzilla.gnome.org/show_bug.cgi?id=661336
Zeeshan Ali (Khattak) [Sun, 16 Oct 2011 22:12:49 +0000 (01:12 +0300)]
core: Add base class for client hacks
A new abstract base class for client-side hacks from which XBoxHacks
derives.
https://bugzilla.gnome.org/show_bug.cgi?id=661336
Mario Blättermann [Tue, 18 Oct 2011 18:37:19 +0000 (20:37 +0200)]
[l10n] Updated German translation
Jens Georg [Tue, 18 Oct 2011 14:46:10 +0000 (16:46 +0200)]
core: Correct problem in 229b7d
Lesson learned: Never name two variables that do two different things
similar and always wait for the duration of the timeout before shutting
rygel down.
Jens Georg [Tue, 18 Oct 2011 11:50:15 +0000 (13:50 +0200)]
core: Check item status after container update
Don't just assume the next container update was caused by the last HTTP
POST and actually check the place_holder state of the item in question.
Jens Georg [Mon, 26 Sep 2011 06:51:34 +0000 (08:51 +0200)]
playbin: Add support for image/jpeg and image/png
Use the typefind element of Playbin2 to determine if we're rendering an
image since UPnP allows the meta-data to be empty and it may not be
possible to guess the type from the URI.
https://bugzilla.gnome.org/show_bug.cgi?id=633011
Jens Georg [Sat, 15 Oct 2011 20:43:03 +0000 (22:43 +0200)]
core: Mark thumbnail resources as transcoded
This unbreaks streaming to the WD TV live which used the thumbnail
resource as a movie resource.
Jens Georg [Thu, 13 Oct 2011 09:17:56 +0000 (11:17 +0200)]
core: Use uuid instead of timestamp for uniqe file
With a timestamp it could happen that an uploader which was fast enough to
create two items in the same second create two files with the same name.
Jens Georg [Thu, 13 Oct 2011 08:56:06 +0000 (10:56 +0200)]
core: Shorten title first, then mangle chars
Jens Georg [Thu, 13 Oct 2011 08:52:54 +0000 (10:52 +0200)]
core: Prevent critical if URI exists
If the where clause does not match, there is no hash-table returned,
not an empty one.
Jens Georg [Tue, 11 Oct 2011 12:11:44 +0000 (14:11 +0200)]
core: Restart find_object on container update
Before asynchronously descending in the hierarchy, we connect to the
updated signal of this container. If the container is updated, it might
be that this.children changed while we're iterating over it. If that
happens, we restart the foreach loop, but only 10 times. If we still
are interrupted, we give up.
Jens Georg [Wed, 12 Oct 2011 11:18:03 +0000 (13:18 +0200)]
data: Drop comments from XML files
Improves IOP as some devices choke on comments.
Krzesimir Nowak [Wed, 12 Oct 2011 09:39:18 +0000 (11:39 +0200)]
build: Look for xml files in srcdir
Jens Georg [Tue, 11 Oct 2011 17:54:31 +0000 (19:54 +0200)]
tracker: Fall back to nfo:fileLastAccessed
If nie:contentCreated is not available (for e.g. MP3 files without a
date tag), fall back to nfo:fileLastAccessed as the item's time.
Jens Georg [Tue, 11 Oct 2011 17:44:49 +0000 (19:44 +0200)]
core: Do not serialize empty date
Jens Georg [Tue, 11 Oct 2011 10:23:44 +0000 (12:23 +0200)]
core: Send byebye if killed with SIGTERM
Jens Georg [Sat, 8 Oct 2011 19:37:46 +0000 (21:37 +0200)]
mediathek: Set DLNA profile for WMV streams
Jens Georg [Sat, 8 Oct 2011 18:19:15 +0000 (20:19 +0200)]
build: Bump to proper GUPnP version
Jens Georg [Sat, 8 Oct 2011 18:01:29 +0000 (20:01 +0200)]
core: Catch DBus errors
Jens Georg [Sat, 8 Oct 2011 17:19:05 +0000 (19:19 +0200)]
Revert "core: Check availability of DBus interface"
This reverts commit
87ec0afffc96cc4d10d5407a896d28deebd26f00.