profile/ivi/rygel.git
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.

12 years agocore: Check item status after container update
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.

12 years agoplaybin: Add support for image/jpeg and image/png
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

12 years agocore: Mark thumbnail resources as transcoded
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.

12 years agocore: Use uuid instead of timestamp for uniqe file
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.

12 years agocore: Shorten title first, then mangle chars
Jens Georg [Thu, 13 Oct 2011 08:56:06 +0000 (10:56 +0200)]
core: Shorten title first, then mangle chars

12 years agocore: Prevent critical if URI exists
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.

12 years agocore: Restart find_object on container update
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.

12 years agodata: Drop comments from XML files
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.

12 years agobuild: Look for xml files in srcdir
Krzesimir Nowak [Wed, 12 Oct 2011 09:39:18 +0000 (11:39 +0200)]
build: Look for xml files in srcdir

12 years agotracker: Fall back to nfo:fileLastAccessed
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.

12 years agocore: Do not serialize empty date
Jens Georg [Tue, 11 Oct 2011 17:44:49 +0000 (19:44 +0200)]
core: Do not serialize empty date

12 years agocore: Send byebye if killed with SIGTERM
Jens Georg [Tue, 11 Oct 2011 10:23:44 +0000 (12:23 +0200)]
core: Send byebye if killed with SIGTERM

12 years agomediathek: Set DLNA profile for WMV streams
Jens Georg [Sat, 8 Oct 2011 19:37:46 +0000 (21:37 +0200)]
mediathek: Set DLNA profile for WMV streams

12 years agobuild: Bump to proper GUPnP version
Jens Georg [Sat, 8 Oct 2011 18:19:15 +0000 (20:19 +0200)]
build: Bump to proper GUPnP version

12 years agocore: Catch DBus errors
Jens Georg [Sat, 8 Oct 2011 18:01:29 +0000 (20:01 +0200)]
core: Catch DBus errors

12 years agoRevert "core: Check availability of DBus interface"
Jens Georg [Sat, 8 Oct 2011 17:19:05 +0000 (19:19 +0200)]
Revert "core: Check availability of DBus interface"

This reverts commit 87ec0afffc96cc4d10d5407a896d28deebd26f00.

12 years agobuild: Add our version of VALA_CHECK_PACKAGES
Jens Georg [Sat, 8 Oct 2011 08:24:06 +0000 (10:24 +0200)]
build: Add our version of VALA_CHECK_PACKAGES

12 years agobuild: Simplify check for UI
Jens Georg [Sat, 8 Oct 2011 08:16:40 +0000 (10:16 +0200)]
build: Simplify check for UI

12 years agobuild: Add option to always run tests
Jens Georg [Sat, 8 Oct 2011 07:59:39 +0000 (09:59 +0200)]
build: Add option to always run tests

12 years agoUpdated Japanese translation
Kentaro KAZUHAMA [Thu, 6 Oct 2011 17:06:52 +0000 (02:06 +0900)]
Updated Japanese translation

12 years agocore: Do not use theme icons for UPnP
Jens Georg [Tue, 4 Oct 2011 09:37:15 +0000 (11:37 +0200)]
core: Do not use theme icons for UPnP

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

12 years agodata: Split in theme icons and DLNA icons
Jens Georg [Tue, 4 Oct 2011 09:36:52 +0000 (11:36 +0200)]
data: Split in theme icons and DLNA icons

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

12 years agodata: Add 128x128 px version of the icons
Jens Georg [Tue, 4 Oct 2011 09:19:44 +0000 (11:19 +0200)]
data: Add 128x128 px version of the icons

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

12 years agoUpdated Danish translation
Joe Hansen [Fri, 30 Sep 2011 11:10:19 +0000 (13:10 +0200)]
Updated Danish translation

12 years agoUpdated Danish translation
Joe Hansen [Fri, 30 Sep 2011 10:02:23 +0000 (12:02 +0200)]
Updated Danish translation

12 years agocore: Do not crash if ImportResource is cancelled
Jens Georg [Thu, 29 Sep 2011 09:38:54 +0000 (11:38 +0200)]
core: Do not crash if ImportResource is cancelled

12 years agocore: Check and escape URI in CreateObject
Jens Georg [Tue, 27 Sep 2011 14:03:12 +0000 (16:03 +0200)]
core: Check and escape URI in CreateObject

12 years agocore: Limit length of generated filename
Jens Georg [Tue, 27 Sep 2011 12:57:41 +0000 (14:57 +0200)]
core: Limit length of generated filename

12 years agocore: Delay handling of SoupMessage's signals
Jens Georg [Tue, 27 Sep 2011 12:42:37 +0000 (14:42 +0200)]
core: Delay handling of SoupMessage's signals

Only connect to the relevant signals just before unpause_message
happens. Otherwise we might get stray signals when one of the
preconditions checked fails.

12 years agoUpdated Czech translation
Marek Černocký [Sun, 25 Sep 2011 12:18:39 +0000 (14:18 +0200)]
Updated Czech translation

12 years agocore: Also catch DBus errors on Queue call
Jens Georg [Thu, 22 Sep 2011 16:50:09 +0000 (18:50 +0200)]
core: Also catch DBus errors on Queue call

12 years agocore: Check availability of DBus interface
Jens Georg [Thu, 22 Sep 2011 16:51:48 +0000 (18:51 +0200)]
core: Check availability of DBus interface

Only show debug message if thumbnail DBus service is not available
and also not activatable.

12 years agocore: Mangle invalid characters in CreateItem
Jens Georg [Thu, 22 Sep 2011 13:24:30 +0000 (15:24 +0200)]
core: Mangle invalid characters in CreateItem

Do not fail if the upload directory is on a FAT file-system and the
title contains characters that are invalid on FAT.