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

13 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

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

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

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

13 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

13 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

13 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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

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

13 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.

13 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

13 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

13 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

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

13 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.

13 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.

13 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

13 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.

13 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.

13 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

13 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.

13 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.

13 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.

13 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

13 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.

13 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

13 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

13 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

13 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

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

13 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.

13 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

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

13 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

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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

13 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.

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

13 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

13 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.

13 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.

13 years agoUpdated French translation
Claude Paroz [Wed, 21 Sep 2011 17:29:46 +0000 (19:29 +0200)]
Updated French translation

13 years agoUpdated Swedish translation
Daniel Nylander [Wed, 21 Sep 2011 17:08:45 +0000 (19:08 +0200)]
Updated Swedish translation

13 years agoFixed some strings in Brazilian Portuguese translation
Henrique P Machado [Wed, 21 Sep 2011 12:44:50 +0000 (09:44 -0300)]
Fixed some strings in Brazilian Portuguese translation

13 years agoUpdated Slovenian translation
Andrej Žnidaršič [Tue, 20 Sep 2011 11:08:52 +0000 (13:08 +0200)]
Updated Slovenian translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 20 Sep 2011 09:42:01 +0000 (11:42 +0200)]
Updated Spanish translation

13 years agotests: Fix rygel-http-post-test
Jens Georg [Tue, 20 Sep 2011 07:36:19 +0000 (09:36 +0200)]
tests: Fix rygel-http-post-test

Could segfault depending on the timing.

13 years agotodo: Remove note about MainLoop
Jens Georg [Mon, 19 Sep 2011 14:49:51 +0000 (16:49 +0200)]
todo: Remove note about MainLoop

13 years agoUpdated Portuguese translation
Duarte Loreto [Mon, 19 Sep 2011 22:29:38 +0000 (23:29 +0100)]
Updated Portuguese translation

13 years agoUpdated Latvian translation.
Rudolfs Mazurs [Mon, 19 Sep 2011 18:28:06 +0000 (21:28 +0300)]
Updated Latvian translation.

13 years agotests: Fix HTTP Post test
Jens Georg [Mon, 19 Sep 2011 11:11:42 +0000 (13:11 +0200)]
tests: Fix HTTP Post test

13 years agocore: Fix minor rebase/merge issue
Jens Georg [Mon, 19 Sep 2011 10:16:24 +0000 (12:16 +0200)]
core: Fix minor rebase/merge issue

13 years agocore: Cancel HTTPResponse SoupServer goes away
Jens Georg [Mon, 19 Sep 2011 10:11:46 +0000 (12:11 +0200)]
core: Cancel HTTPResponse SoupServer goes away

Adding a week reference to cancel the HTTPGstSink in case the
SoupServer is gone. Otherwise the sink is stuck on the wait
condition forever, leaking the HTTPResponse.

13 years agocore: Don't keep SoupServer alive
Jens Georg [Mon, 19 Sep 2011 10:11:00 +0000 (12:11 +0200)]
core: Don't keep SoupServer alive

If the context goes down while a transmission is ongoing, the
SoupServer is kept alive by the response causing a crash if the context
comes up again on the same interface. To prevent this we only use
unowned SoupServers here.

13 years agocore: Don't keep strong reference on HTTP server
Jens Georg [Mon, 19 Sep 2011 10:09:20 +0000 (12:09 +0200)]
core: Don't keep strong reference on HTTP server

The http item uri doesn't need a strong reference on the HTTP server,
the part of its lifetime where it needs access to that is considerably
smaller than the lifetime of the HTTP server and it blocks disposing
the HTTP server when the GUPnPContext becomes unavailable.

13 years agocore: Save posted data to a temporary file
Jens Georg [Mon, 19 Sep 2011 09:59:34 +0000 (11:59 +0200)]
core: Save posted data to a temporary file

Ensure that no spurious file-system events will cause premature
updating of the meta-data

13 years agocore: Get rid of nested main-loop in HTTP Post
Jens Georg [Mon, 19 Sep 2011 07:09:54 +0000 (09:09 +0200)]
core: Get rid of nested main-loop in HTTP Post

13 years agomedia-export: Fix contains search
Jens Georg [Mon, 19 Sep 2011 07:08:46 +0000 (09:08 +0200)]
media-export: Fix contains search

Haystack and needle were switched.

13 years agoUpdated Thai translation.
Akom Chotiphantawanon [Fri, 16 Sep 2011 16:09:20 +0000 (23:09 +0700)]
Updated Thai translation.

13 years agodata: Enable m2ts for MediaExport
Jens Georg [Fri, 16 Sep 2011 14:52:50 +0000 (16:52 +0200)]
data: Enable m2ts for MediaExport

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

13 years agobuild: Generate XZ tarball on make dist
Jens Georg [Tue, 13 Sep 2011 19:28:15 +0000 (21:28 +0200)]
build: Generate XZ tarball on make dist

13 years agocore: Use new GUPnP API
Jens Georg [Tue, 13 Sep 2011 19:15:09 +0000 (21:15 +0200)]
core: Use new GUPnP API

13 years agotracker: Only consider objects with uris
Jens Georg [Tue, 13 Sep 2011 05:48:41 +0000 (07:48 +0200)]
tracker: Only consider objects with uris

13 years agoexternal: Add TrackNumber property
Jonathan Matthew [Mon, 12 Sep 2011 12:13:37 +0000 (22:13 +1000)]
external: Add TrackNumber property

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

13 years agodoc: Specify dependency on shared-mime-info
Zeeshan Ali (Khattak) [Tue, 21 Jun 2011 14:21:35 +0000 (17:21 +0300)]
doc: Specify dependency on shared-mime-info

13 years agoplaybin: Add video/x-mkv as supported mime type
Jens Georg [Thu, 8 Sep 2011 22:45:43 +0000 (00:45 +0200)]
playbin: Add video/x-mkv as supported mime type

13 years agoplaybin: Stop pipeline while changing playbin URI
Jens Georg [Thu, 8 Sep 2011 21:15:59 +0000 (23:15 +0200)]
playbin: Stop pipeline while changing playbin URI

Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638006

13 years agomedia-export: Add indices for virtual containers
Jens Georg [Thu, 8 Sep 2011 19:17:47 +0000 (21:17 +0200)]
media-export: Add indices for virtual containers

13 years agomedia-export: Use specific UPnP classes
Jens Georg [Sat, 28 May 2011 20:13:17 +0000 (22:13 +0200)]
media-export: Use specific UPnP classes

Use proper UPnP classes for the query containers representing albums
etc.

13 years agomedia-export: Refactor QueryContainer
Jens Georg [Mon, 25 Apr 2011 09:41:26 +0000 (12:41 +0300)]
media-export: Refactor QueryContainer

Split in three classes, a factory, a node container and a leaf
container. Node containers are based on meta-data and only contain containers
(either node or leaf) while leaf containers contain real items.

13 years agodata: Fix AVTransport2 description
Jens Georg [Thu, 8 Sep 2011 14:20:52 +0000 (16:20 +0200)]
data: Fix AVTransport2 description

13 years agodata: Fix RenderingControl2 service description
Jens Georg [Thu, 8 Sep 2011 14:18:43 +0000 (16:18 +0200)]
data: Fix RenderingControl2 service description

13 years agotodo: Update
Jens Georg [Thu, 8 Sep 2011 08:03:52 +0000 (10:03 +0200)]
todo: Update

13 years agoUpdated Polish translation
Piotr Drąg [Thu, 8 Sep 2011 20:09:14 +0000 (22:09 +0200)]
Updated Polish translation

13 years agocore: Handle host not reachable in ImportResource
Jens Georg [Wed, 7 Sep 2011 13:33:08 +0000 (15:33 +0200)]
core: Handle host not reachable in ImportResource

13 years agocore: Check upnp:class on CreateItem
Jens Georg [Wed, 7 Sep 2011 12:41:42 +0000 (14:41 +0200)]
core: Check upnp:class on CreateItem

13 years agobuild: Do not AC_REQUIRE AM_PROG_VALAC
Jens Georg [Tue, 6 Sep 2011 15:18:47 +0000 (17:18 +0200)]
build: Do not AC_REQUIRE AM_PROG_VALAC

This ran the macro independently whether --enable-vala was supplied or
not.

13 years agobuild: Bump GStreamer requirements
Jens Georg [Tue, 6 Sep 2011 03:30:11 +0000 (05:30 +0200)]
build: Bump GStreamer requirements

Necessary for proper encodebin fixes and thus proper transcoding.

13 years agoUpdated Serbian translation
Мирослав Николић [Wed, 31 Aug 2011 13:19:06 +0000 (15:19 +0200)]
Updated Serbian translation

13 years agocore: Request thumbnails via DBus
Lukasz Pawlik [Tue, 30 Aug 2011 10:33:07 +0000 (12:33 +0200)]
core: Request thumbnails via DBus

This patch add functionality to generate thumbnails for visual media
items. Service tumblerd will be used to create thumbnail. Communication
with tumblerd is done via D-Bus.

Previously thumbnails were only read from ~/.thumbnails directory. If
thumbnail was not present int that directory rygel could not provide it.
This patch adds functionality to send request to create thumbnail for
visualitem. Patch was added to satisfy 7.3.60.3 DLNA requirement.

Slightly modified by Jens Georg <mail@jensge.org>

13 years agoplugins: Adapt to new GStreamer VAPIs
Jens Georg [Tue, 30 Aug 2011 09:08:58 +0000 (11:08 +0200)]
plugins: Adapt to new GStreamer VAPIs

13 years agoPrepare 0.11.3 RYGEL_0_11_3
Jens Georg [Thu, 4 Aug 2011 20:23:28 +0000 (22:23 +0200)]
Prepare 0.11.3

13 years agocore: Add proper restrictions to AVC transcoder
Jens Georg [Thu, 4 Aug 2011 19:56:14 +0000 (21:56 +0200)]
core: Add proper restrictions to AVC transcoder

13 years agodata: Disable avc and aac transcoder
Jens Georg [Thu, 21 Jul 2011 13:13:19 +0000 (15:13 +0200)]
data: Disable avc and aac transcoder

Rygel code is good, but GStreamer seems to have some issues still:

 - AAC transcoder doesn't preroll due to 3GPP container apparently.
 - AVC transcoder creates invalid mp4 container.