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

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

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

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

12 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

12 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

12 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

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

12 years agocore: Fix how pads are linked in transcoder
Luis de Bethencourt [Wed, 27 Jul 2011 13:38:12 +0000 (15:38 +0200)]
core: Fix how pads are linked in transcoder

The pads of decodebin2 and encodebin need to be linked when
decodebin has added the src pads after resolving the media
format/type. This patch fixes this linking, which used to
fail for cases get_compatible_pad () couldn't figure out.

12 years agocore,doc: Make AVC_MP4 transcoder configurable
Luis de Bethencourt [Tue, 19 Jul 2011 10:04:57 +0000 (12:04 +0200)]
core,doc: Make AVC_MP4 transcoder configurable

12 years agocore,doc: Make AAC_ISO_320 transcoder configurable
Luis de Bethencourt [Tue, 12 Jul 2011 10:36:05 +0000 (12:36 +0200)]
core,doc: Make AAC_ISO_320 transcoder configurable

12 years agocore: Add transcoder for AVC_MP4_BL_CIF15_AAC_520
Luis de Bethencourt [Mon, 11 Jul 2011 16:54:54 +0000 (18:54 +0200)]
core: Add transcoder for AVC_MP4_BL_CIF15_AAC_520

12 years agocore: Add transcoder for AAC_ISO_320 format
Luis de Bethencourt [Mon, 11 Jul 2011 16:43:08 +0000 (18:43 +0200)]
core: Add transcoder for AAC_ISO_320 format

12 years agocore: Wait a bit longer after HTTP post
Jens Georg [Wed, 3 Aug 2011 08:26:20 +0000 (10:26 +0200)]
core: Wait a bit longer after HTTP post

On a loaded device we might run into a timeout unnecessarily.

Improves situation with CTT requirement 7.3.136.1 and 7.3.136.4.

12 years agotodo: Update for @refID
Jens Georg [Mon, 25 Jul 2011 16:03:17 +0000 (18:03 +0200)]
todo: Update for @refID

12 years agocore,tracker: Set @refID
Jens Georg [Mon, 25 Jul 2011 11:57:18 +0000 (13:57 +0200)]
core,tracker: Set @refID

12 years agoUpdated Russian translation
Yuri Myasoedov [Mon, 1 Aug 2011 20:25:31 +0000 (00:25 +0400)]
Updated Russian translation

12 years agocore: Generalize UPnP class on upload
Jens Georg [Mon, 1 Aug 2011 19:11:19 +0000 (21:11 +0200)]
core: Generalize UPnP class on upload

DLNA allows to generalize a more specific UPnP class if the container
the item created in is DLNA_ORG.AnyContainer. E.g.:

object.item.videoItem.movie → object.item.videoItem

Implements DLNA Guideline 7.3.120.4.
Fixes NB#273707

12 years agoUpdated Slovenian translation
Andrej Žnidaršič [Sat, 30 Jul 2011 17:18:31 +0000 (19:18 +0200)]
Updated Slovenian translation

12 years agotracker: Skip empty artist, album and genre
Jens Georg [Thu, 28 Jul 2011 16:06:55 +0000 (18:06 +0200)]
tracker: Skip empty artist, album and genre

While predicate functions seem to generate a nice (null), DBus seems
to translate it to an empty string. This needs to be revisited when
finally doing the libtracker-sparql port.

Fixes DLNA requirement 7.3.66.2.

12 years agotracker: Add line lost while rebasing
Jens Georg [Wed, 27 Jul 2011 15:41:16 +0000 (18:41 +0300)]
tracker: Add line lost while rebasing

12 years agotracker,data: Add strict/relaxed sharing
Jens Georg [Fri, 8 Jul 2011 21:11:16 +0000 (23:11 +0200)]
tracker,data: Add strict/relaxed sharing

Relaxed sharing: Share any file that has nmm:uPnPShared true.
Strict sharing: Share any file that has nmm:uPnPShared true and a valid
                nmm:dlnaProfile.

12 years agocore: Apply XBox hacks to Samsung Galaxy S.
Jens Georg [Wed, 27 Jul 2011 10:54:29 +0000 (13:54 +0300)]
core: Apply XBox hacks to Samsung Galaxy S.

Fixes bgo#629582

12 years agocore: Shutdown other instance of rygel ourselves
Jens Georg [Wed, 27 Jul 2011 08:32:49 +0000 (11:32 +0300)]
core: Shutdown other instance of rygel ourselves

We need to wait for the other instance to be shut down, so we do it
ourselves instead of using BusNameOwnerFlags.REPLACE.

12 years agodata: There's no version 2 UDA spec.
Jens Georg [Tue, 26 Jul 2011 20:18:52 +0000 (23:18 +0300)]
data: There's no version 2 UDA spec.