profile/ivi/rygel.git
12 years agogst-launch,test: Use new API
Jens Georg [Sun, 29 Jan 2012 14:28:23 +0000 (15:28 +0100)]
gst-launch,test: Use new API

vala-0.14 didn't complain about this so it wasn't caught.

12 years agotests: Add test for simple_search
Jens Georg [Sat, 28 Jan 2012 23:55:06 +0000 (00:55 +0100)]
tests: Add test for simple_search

https://bugzilla.gnome.org/show_bug.cgi?id=653120

12 years agocore: Fix simple search for offset > 0
Jens Georg [Sat, 28 Jan 2012 14:19:06 +0000 (15:19 +0100)]
core: Fix simple search for offset > 0

On a search request where offset was > 0 and limit was 0 due to
limiting the result set to offset the result was always a set of one.

Also total_matches was set to 0 in this case although we know the
number of total matches since using a start offset doesn't limit the
results.

https://bugzilla.gnome.org/show_bug.cgi?id=653120

12 years agocore: Properly replace @ADDRESS@ template
Jens Georg [Sat, 28 Jan 2012 13:41:54 +0000 (14:41 +0100)]
core: Properly replace @ADDRESS@ template

Replacing of the template was forgotten for proxy urls and transcoded
resources while moving the functionality from external plugin to core.

https://bugzilla.gnome.org/show_bug.cgi?id=663826

12 years agomedia-export: Delay virtual folder creation
Jens Georg [Sun, 16 Oct 2011 12:08:27 +0000 (14:08 +0200)]
media-export: Delay virtual folder creation

12 years agomedia-export: Fix endless loop
Jens Georg [Fri, 20 Jan 2012 21:16:45 +0000 (22:16 +0100)]
media-export: Fix endless loop

If a file is added in a directory tree that didn't contain anything
sharable before, the code would loop endlessly marching up the
filesystem hierarchy.

https://bugzilla.gnome.org/show_bug.cgi?id=668335

12 years agocore: Add missing }
Jens Georg [Fri, 20 Jan 2012 10:46:17 +0000 (11:46 +0100)]
core: Add missing }

12 years agocore: Don't append extension on error
Jens Georg [Thu, 19 Jan 2012 18:46:19 +0000 (19:46 +0100)]
core: Don't append extension on error

https://bugzilla.gnome.org/show_bug.cgi?id=644538

12 years agocore: Fix suffix for PNG thumbnails
Jens Georg [Thu, 19 Jan 2012 18:32:35 +0000 (19:32 +0100)]
core: Fix suffix for PNG thumbnails

12 years agocore: Append extensions to served files
Krzesimir Nowak [Mon, 12 Dec 2011 15:02:01 +0000 (16:02 +0100)]
core: Append extensions to served files

12 years agodoc: Clarify uris option of MediaExport
Jens Georg [Thu, 19 Jan 2012 17:56:26 +0000 (18:56 +0100)]
doc: Clarify uris option of MediaExport

https://bugzilla.gnome.org/show_bug.cgi?id=666363

12 years agocore: Prevent crash on back-end misbehaviour
Jens Georg [Mon, 9 Jan 2012 18:11:12 +0000 (19:11 +0100)]
core: Prevent crash on back-end misbehaviour

If the backend declares the OCMFlag.UPLOAD in a non-writable container,
bail out instead of crashing.

12 years agocore: Use correct error in CreateObject
Jens Georg [Mon, 9 Jan 2012 18:05:38 +0000 (19:05 +0100)]
core: Use correct error in CreateObject

If CreateObject is called with an id that describes an item instead of
a container ContentDirectory:2 spec says that the error should be 701
(No such object) instead of 713 (Restricted parent)

12 years agoexternal: Don't crash on hierarchical update
Jens Georg [Wed, 18 Jan 2012 16:37:47 +0000 (17:37 +0100)]
external: Don't crash on hierarchical update

If a MediaServer2 provider sends an update for /foo/bar/baz and
/foo/bar chances are that the update for /foo/bar invalidates the
parent pointer in /foo/bar/baz causing a crash of various sorts.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=759206

12 years agoUpdated Japanese translation
Jiro Matsuzawa [Sun, 8 Jan 2012 04:14:20 +0000 (13:14 +0900)]
Updated Japanese translation

12 years agobuild: Add option to generate coverage report
Jens Georg [Tue, 3 Jan 2012 20:10:04 +0000 (21:10 +0100)]
build: Add option to generate coverage report

12 years agotests: Extend rygel-http-get-test.vala
Marcin Kazmierczak [Fri, 23 Dec 2011 11:36:52 +0000 (12:36 +0100)]
tests: Extend rygel-http-get-test.vala

12 years agocore: Fix error handling in item creator
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.

12 years agocore: Do not treat 'npt=0-' as seek request
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

12 years agocore: Always disconnect handler
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.

12 years agocore: Remove reference cycle in HTTP request
Jens Georg [Mon, 19 Dec 2011 07:14:55 +0000 (08:14 +0100)]
core: Remove reference cycle in HTTP request

12 years agotests: Extend rygel-http-item-uri-test.vala
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.

12 years agotests: Fix bug in HTTPItemUri test
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.

12 years agocore: Simplify RTP depayloader guessing
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

12 years agobuild: Bump vala requirement to 0.14.1
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

12 years agocore: Prevent critical when device is not a DMS
Jens Georg [Thu, 15 Dec 2011 20:02:54 +0000 (21:02 +0100)]
core: Prevent critical when device is not a DMS

12 years agocore: Reuse description file saving
Jens Georg [Thu, 8 Dec 2011 18:22:34 +0000 (19:22 +0100)]
core: Reuse description file saving

12 years agocore: Refactor description document manipulation
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.

12 years agocore: Hide XBox album art handling
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.

12 years agocore: Refactor client hacks
Jens Georg [Thu, 8 Dec 2011 18:30:58 +0000 (19:30 +0100)]
core: Refactor client hacks

Unify both constructors to operate on SoupMessage.

12 years agocore: Add configuration option for V1 downgrade
Jens Georg [Thu, 24 Nov 2011 12:54:48 +0000 (13:54 +0100)]
core: Add configuration option for V1 downgrade

12 years agocore: Separate V1 hacks from XBox 360 hacks
Jens Georg [Thu, 24 Nov 2011 12:07:22 +0000 (13:07 +0100)]
core: Separate V1 hacks from XBox 360 hacks

12 years agoTODO: Add some comments
Jens Georg [Wed, 14 Dec 2011 12:53:01 +0000 (13:53 +0100)]
TODO: Add some comments

12 years agodoc: Update URLs and tools for DBus interfaces
Jens Georg [Tue, 13 Dec 2011 09:24:32 +0000 (10:24 +0100)]
doc: Update URLs and tools for DBus interfaces

12 years agocore: Filter unsupported sort criterias from XBox
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.

12 years agocore: Add hacks for XBMC
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.

12 years agodoc: Update Mediathek docs and include in tarball
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

12 years agocore: Override resource resolution for AVC
Jens Georg [Fri, 9 Dec 2011 11:47:50 +0000 (12:47 +0100)]
core: Override resource resolution for AVC

12 years agotracker: Refactor query triplets
Lukasz Pawlik [Tue, 8 Nov 2011 14:42:17 +0000 (15:42 +0100)]
tracker: Refactor query triplets

Use add method from base class.

12 years agoUpdated Polish translation
Piotr Drąg [Sun, 11 Dec 2011 16:24:48 +0000 (17:24 +0100)]
Updated Polish translation

12 years agocore: Change wording for profiles debugging
Jens Georg [Tue, 6 Dec 2011 12:26:58 +0000 (13:26 +0100)]
core: Change wording for profiles debugging

12 years agocore: Video framerate is a restriction, not format
Jens Georg [Tue, 6 Dec 2011 17:55:31 +0000 (18:55 +0100)]
core: Video framerate is a restriction, not format

12 years agotests: Fix build
Jens Georg [Mon, 5 Dec 2011 22:00:41 +0000 (23:00 +0100)]
tests: Fix build

12 years agocore: Dump encodebin profile in transcoder
Jens Georg [Sun, 4 Dec 2011 11:01:31 +0000 (12:01 +0100)]
core: Dump encodebin profile in transcoder

12 years agocore: Fix typo in MPEG2 TS container profile
Jens Georg [Sun, 4 Dec 2011 11:00:07 +0000 (12:00 +0100)]
core: Fix typo in MPEG2 TS container profile

12 years agoUpdate French translation
Alexandre Franke [Thu, 24 Nov 2011 09:55:22 +0000 (10:55 +0100)]
Update French translation

12 years agomedia-export: Fix regression in file monitor
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.

12 years agoPrepare 0.13.0 RYGEL_0_13_0
Jens Georg [Sat, 22 Oct 2011 06:31:06 +0000 (08:31 +0200)]
Prepare 0.13.0

12 years agotests: Fix HTTPGet and HTTPResponse tests
Jens Georg [Wed, 23 Nov 2011 08:51:56 +0000 (09:51 +0100)]
tests: Fix HTTPGet and HTTPResponse tests

12 years agocore: Set all headers in RygelHTTPGet
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

12 years agocore: Error handling of upload file writing
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.

12 years agoUpdated Spanish translation
Jorge González [Sun, 20 Nov 2011 09:39:20 +0000 (10:39 +0100)]
Updated Spanish translation

12 years agocore: Batch uris for thumbnail requests
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

12 years agobuild: Bump libsoup max version
Jens Georg [Tue, 15 Nov 2011 14:06:16 +0000 (15:06 +0100)]
build: Bump libsoup max version

12 years agocore: Prevent dead-lock in signal handler
Jens Georg [Mon, 14 Nov 2011 21:08:31 +0000 (22:08 +0100)]
core: Prevent dead-lock in signal handler

12 years agotracker: Minor style fix
Jens Georg [Mon, 14 Nov 2011 08:45:22 +0000 (09:45 +0100)]
tracker: Minor style fix

12 years agotracker: Cache ContainerUpdateID
Jens Georg [Thu, 10 Nov 2011 10:31:29 +0000 (11:31 +0100)]
tracker: Cache ContainerUpdateID

Fixes DLNA Testcase 7.3.56.1

12 years agocore: Fix forgotten argument in previous commit
Jens Georg [Tue, 8 Nov 2011 09:02:46 +0000 (10:02 +0100)]
core: Fix forgotten argument in previous commit

12 years agobuild: Bump vala requirements
Jens Georg [Tue, 8 Nov 2011 08:40:26 +0000 (09:40 +0100)]
build: Bump vala requirements

12 years agocore: Fix endless loop if item disappears
Jens Georg [Tue, 8 Nov 2011 07:41:07 +0000 (08:41 +0100)]
core: Fix endless loop if item disappears

12 years agocore: Only assume dynamic linking on missing src
Jens Georg [Mon, 7 Nov 2011 07:56:27 +0000 (08:56 +0100)]
core: Only assume dynamic linking on missing src

12 years agocore: Don't needlessly copy caps
Jens Georg [Sun, 6 Nov 2011 18:50:48 +0000 (19:50 +0100)]
core: Don't needlessly copy caps

12 years agocore: Search RTP depayloaders more flexible
Jens Georg [Sun, 6 Nov 2011 18:50:10 +0000 (19:50 +0100)]
core: Search RTP depayloaders more flexible

12 years agoAdd Esperanto translation
Kristjan SCHMIDT [Sun, 6 Nov 2011 17:48:21 +0000 (18:48 +0100)]
Add Esperanto translation

12 years agomedia-export: Support videos without audio
Jens Georg [Sun, 6 Nov 2011 09:46:53 +0000 (10:46 +0100)]
media-export: Support videos without audio

12 years agoUpdated Czech translation
Marek Černocký [Wed, 2 Nov 2011 18:19:00 +0000 (19:19 +0100)]
Updated Czech translation

12 years agocore: Remove unused "using"
Jens Georg [Mon, 31 Oct 2011 08:30:44 +0000 (09:30 +0100)]
core: Remove unused "using"

12 years agocore: Refactor video transcoders
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

12 years agocore: Refactor audio transcoders
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

12 years agocore: Width and height swapped
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.

12 years agomediathek: Fix mp4 video format
Jens Georg [Sat, 29 Oct 2011 09:01:59 +0000 (11:01 +0200)]
mediathek: Fix mp4 video format

12 years agotracker: Set empty DLNA profile when creating item
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.

12 years agocore: Unbreak compilation with valac-0.12
Jens Georg [Wed, 26 Oct 2011 12:57:06 +0000 (14:57 +0200)]
core: Unbreak compilation with valac-0.12

12 years agocore: Stop pipeline on link error
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

12 years agotracker: Let the miner decide the RDF type
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).

12 years agocore: Properly signalize that a timeout happened
Jens Georg [Thu, 20 Oct 2011 12:30:34 +0000 (14:30 +0200)]
core: Properly signalize that a timeout happened

12 years agotracker: Allow miner to overide properties
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

12 years agotracker: Fix query builder for graphed statements
Jens Georg [Thu, 20 Oct 2011 09:49:55 +0000 (11:49 +0200)]
tracker: Fix query builder for graphed statements

12 years agotracker: Really use nfo:fileLastModified
Jens Georg [Mon, 24 Oct 2011 14:38:48 +0000 (16:38 +0200)]
tracker: Really use nfo:fileLastModified

12 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 23 Oct 2011 17:16:48 +0000 (19:16 +0200)]
Updated Slovenian translation

12 years agoi18n: Re-generate POTFILES.skip
Jens Georg [Sat, 22 Oct 2011 07:02:22 +0000 (09:02 +0200)]
i18n: Re-generate POTFILES.skip

12 years agoi18n: Add script to generate POTFILES.skip
Jens Georg [Sat, 22 Oct 2011 07:01:59 +0000 (09:01 +0200)]
i18n: Add script to generate POTFILES.skip

12 years agobuild: Only pass -g when debugging is enabled
Jens Georg [Sat, 22 Oct 2011 06:43:49 +0000 (08:43 +0200)]
build: Only pass -g when debugging is enabled

12 years agomedia-export: Fix music browsing on XBox
Jens Georg [Fri, 21 Oct 2011 17:55:57 +0000 (19:55 +0200)]
media-export: Fix music browsing on XBox

12 years agomedia-export: Remove debug output
Jens Georg [Fri, 21 Oct 2011 18:24:25 +0000 (20:24 +0200)]
media-export: Remove debug output

12 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 20 Oct 2011 20:23:06 +0000 (22:23 +0200)]
[l10n] Updated German translation

12 years ago[l10n] Updated German translation
Mario Blättermann [Thu, 20 Oct 2011 20:20:27 +0000 (22:20 +0200)]
[l10n] Updated German translation

12 years agomedia-export: Deactivate on slow Tracker start-up
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

12 years agocore: Seek interval is right-open
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

12 years agocore: Set correct stop-type for byte-seek as well
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

12 years agocore: Use proper error for wrong browse method
Jens Georg [Thu, 20 Oct 2011 09:13:17 +0000 (11:13 +0200)]
core: Use proper error for wrong browse method

12 years agotest: Mark mocked item as non-placeholder
Jens Georg [Wed, 19 Oct 2011 08:10:05 +0000 (10:10 +0200)]
test: Mark mocked item as non-placeholder

12 years agotest: Remove temporary file on start-up
Jens Georg [Wed, 19 Oct 2011 08:00:16 +0000 (10:00 +0200)]
test: Remove temporary file on start-up

12 years agotest: Update for new ClientHacks
Jens Georg [Wed, 19 Oct 2011 07:53:12 +0000 (09:53 +0200)]
test: Update for new ClientHacks

12 years agotracker: send only utf8 string over DBus
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.

12 years agocore: Use 'const' rather than 'static' for constants
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

12 years agocore: Add hacks for Panasonic TV
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

12 years agocore: Add base class for client hacks
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

12 years ago[l10n] Updated German translation
Mario Blättermann [Tue, 18 Oct 2011 18:37:19 +0000 (20:37 +0200)]
[l10n] Updated German translation

12 years agocore: Correct problem in 229b7d
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.