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

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

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

12 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

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

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

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

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

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

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

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

12 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

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

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

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

12 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

12 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

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

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

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

12 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

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

12 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

12 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

12 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

12 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

12 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

12 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

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

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

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

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

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

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

12 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

12 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

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