profile/ivi/rygel.git
13 years agocore,plugins: Load D-Bus properties only when needed
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:59:20 +0000 (15:59 +0200)]
core,plugins: Load D-Bus properties only when needed

Don't load properties on D-Bus proxy creation if not needed.

13 years agocore: Remove work-around for bug#631044
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:35:16 +0000 (15:35 +0200)]
core: Remove work-around for bug#631044

13 years agoRequire vala 0.11.2
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:27:19 +0000 (15:27 +0200)]
Require vala 0.11.2

13 years agocore: Only set dlnaManaged flags if non-zero
Zeeshan Ali (Khattak) [Tue, 16 Nov 2010 14:42:24 +0000 (16:42 +0200)]
core: Only set dlnaManaged flags if non-zero

Only set dlnaManaged flags if any of the contained flag is set. This is
needed to comply with DLNA requirements 7.3.118.2-3.

13 years agocore: Correct resolution for MPEG_TS_SD_EU_ISO
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 20:09:45 +0000 (22:09 +0200)]
core: Correct resolution for MPEG_TS_SD_EU_ISO

13 years agotracker: Keep only one hierarchy
Zeeshan Ali (Khattak) [Mon, 15 Nov 2010 13:17:27 +0000 (15:17 +0200)]
tracker: Keep only one hierarchy

13 years agoUpdated Thai Translation.
Akom Chotiphantawanon [Mon, 15 Nov 2010 12:50:32 +0000 (19:50 +0700)]
Updated Thai Translation.

13 years agoUpdated Romanian translation
Daniel Șerbănescu [Sun, 14 Nov 2010 11:15:12 +0000 (13:15 +0200)]
Updated Romanian translation

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Sun, 14 Nov 2010 11:11:57 +0000 (13:11 +0200)]
Updated Romanian translation

13 years agoAdded UG translation
Gheyret T.Kenji [Sat, 13 Nov 2010 23:08:10 +0000 (00:08 +0100)]
Added UG translation

13 years agoAdded UG translation
Gheyret T.Kenji [Sat, 13 Nov 2010 21:55:38 +0000 (22:55 +0100)]
Added UG translation

13 years agoUpdated Galician translations
Fran Diéguez [Sat, 13 Nov 2010 00:58:55 +0000 (01:58 +0100)]
Updated Galician translations

13 years agotracker: Handle updates in CategoryAllContainer
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 15:51:53 +0000 (17:51 +0200)]
tracker: Handle updates in CategoryAllContainer

Handle graph updates in CategoryAllContainer instead of MetadataValues. In
CategoryAllContainer we can easily know if the update affect the container or
not, which is not true for MetadataValues and we end-up launching a lot of
redundant Tracker queries and network traffic.

13 years agotracker: SearchContainer.get_children_count now protected
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 15:51:05 +0000 (17:51 +0200)]
tracker: SearchContainer.get_children_count now protected

13 years agotracker: Adapt to new Tracker update API
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 13:38:22 +0000 (15:38 +0200)]
tracker: Adapt to new Tracker update API

13 years agotracker: Micro code-readability improvement
Zeeshan Ali (Khattak) [Fri, 12 Nov 2010 13:37:05 +0000 (15:37 +0200)]
tracker: Micro code-readability improvement

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Thu, 11 Nov 2010 07:14:32 +0000 (09:14 +0200)]
[l10n] Updated Estonian translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 11 Nov 2010 05:35:42 +0000 (07:35 +0200)]
Updated Hebrew translation.

13 years agoAnnounement for release 0.9.3
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 14:21:08 +0000 (16:21 +0200)]
Announement for release 0.9.3

13 years agoui,data: Port UI to gtk-3
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 14:11:38 +0000 (16:11 +0200)]
ui,data: Port UI to gtk-3

13 years agobuild: Build against gtk-3 only
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 13:19:40 +0000 (15:19 +0200)]
build: Build against gtk-3 only

At this point in unstable cycle, we can simply forget about gtk-2.

13 years agodata: Default config for upload and deletion
Zeeshan Ali (Khattak) [Wed, 10 Nov 2010 13:03:42 +0000 (15:03 +0200)]
data: Default config for upload and deletion

13 years agocore: Configuration for (dis)allowing deletion
Zeeshan Ali (Khattak) [Tue, 9 Nov 2010 17:49:41 +0000 (19:49 +0200)]
core: Configuration for (dis)allowing deletion

Enable user to choose if she wants to (dis)allowing media object deletion.

13 years agocore: Configuration for (dis)allowing upload
Zeeshan Ali (Khattak) [Wed, 3 Nov 2010 11:45:45 +0000 (13:45 +0200)]
core: Configuration for (dis)allowing upload

Enable user to choose if she wants to (dis)allowing media object upload.

13 years agoUpdated Spanish translation
Jorge González [Tue, 9 Nov 2010 09:27:06 +0000 (10:27 +0100)]
Updated Spanish translation

13 years agoAnnouncement for release 0.9.2 RYGEL_0_9_2
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 13:58:36 +0000 (15:58 +0200)]
Announcement for release 0.9.2

13 years agocore: Make use of new gupnp-av 'createClass' API
Zeeshan Ali (Khattak) [Sun, 7 Nov 2010 22:42:11 +0000 (00:42 +0200)]
core: Make use of new gupnp-av 'createClass' API

13 years agocore: MediaObject handles 'restricted' prop on its own
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 18:02:19 +0000 (20:02 +0200)]
core: MediaObject handles 'restricted' prop on its own

There is no need for inheriting classes to provides it's value as MediaObject
can do that based on the value of abstract property 'ocm_flags' provided by
inheriting classes.

13 years agodata: Advertize support for creation of destroyable objects
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 18:00:09 +0000 (20:00 +0200)]
data: Advertize support for creation of destroyable objects

13 years agocore: Set dlnaManaged attribute on DIDL-Lite objects
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 15:45:18 +0000 (17:45 +0200)]
core: Set dlnaManaged attribute on DIDL-Lite objects

This helps us pass the following DLNA CTT testcases:

* 7.3.118.2,3
* 7.3.121.1
* 7.3.139.1

This change should also satisfy 7.3.118.4 but that seems to have some "known
issue": performs some invalid checks and ends up failing.

13 years agocore: Make use of new OCM flags API in gupnp-av
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 15:43:45 +0000 (17:43 +0200)]
core: Make use of new OCM flags API in gupnp-av

Make use of new DLNA OCM flags API in gupnp-av for access-writes.

13 years agobuild: Require git master of gupnp-av & gupnp-vala
Zeeshan Ali (Khattak) [Thu, 4 Nov 2010 15:16:33 +0000 (17:16 +0200)]
build: Require git master of gupnp-av & gupnp-vala

13 years agocore: Add access-writes to MediaObject
Zeeshan Ali (Khattak) [Wed, 3 Nov 2010 11:46:27 +0000 (13:46 +0200)]
core: Add access-writes to MediaObject

MediaItem and MediaContainer now provides boolean properties specifying
different access writes.

13 years agocore: Port to vala 0.11.2
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:59:26 +0000 (22:59 +0200)]
core: Port to vala 0.11.2

Do so without breaking the build against 0.11.2.

13 years agotests: Update test cases as per latest changes
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:55:01 +0000 (22:55 +0200)]
tests: Update test cases as per latest changes

13 years agotests: Correct visibility of a constant
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:52:23 +0000 (22:52 +0200)]
tests: Correct visibility of a constant

13 years agotests: Port to vala 0.11.1
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:48:16 +0000 (22:48 +0200)]
tests: Port to vala 0.11.1

13 years agocore: Remove redundant arg from a method
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:44:24 +0000 (22:44 +0200)]
core: Remove redundant arg from a method

Remove now redundant 'length' argument of SeekableResponse.push_data().

13 years agocore: Only push read bytes, not the whole buffer
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:39:03 +0000 (22:39 +0200)]
core: Only push read bytes, not the whole buffer

This corrects a serious regression in seekable HTTP GET handling
introduced by commit c398c26.

13 years agoi18n: Update ignored & translated files list
Zeeshan Ali (Khattak) [Mon, 8 Nov 2010 20:23:38 +0000 (22:23 +0200)]
i18n: Update ignored & translated files list

13 years agocore: Sort by title by default
Zeeshan Ali (Khattak) [Sun, 7 Nov 2010 22:57:51 +0000 (00:57 +0200)]
core: Sort by title by default

Sort Search and Browse results alphabetically (in descending order) by title
when no sort criteria is specified by the client.

13 years agoAdded Thai translation.
Akom C [Fri, 5 Nov 2010 13:01:50 +0000 (20:01 +0700)]
Added Thai translation.

13 years agocore: Remove redundant call to Gst.init()
Zeeshan Ali (Khattak) [Wed, 3 Nov 2010 12:32:51 +0000 (14:32 +0200)]
core: Remove redundant call to Gst.init()

13 years agocore: Unique short arg for disabling WMV transcoding
Zeeshan Ali (Khattak) [Tue, 2 Nov 2010 18:14:13 +0000 (20:14 +0200)]
core: Unique short arg for disabling WMV transcoding

13 years agocore: Implement DLNA's 'auto-destroy'
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 21:50:07 +0000 (00:50 +0300)]
core: Implement DLNA's 'auto-destroy'

If an item has been created using DLNA's AnyContainer feature, we are required
to destroy it:

* If no content are pushed to it after 35 seconds of it's creation.
* If content transfer to newly created item fails.

13 years agocore: Only allow importing to our own items
Zeeshan Ali (Khattak) [Tue, 2 Nov 2010 14:40:17 +0000 (16:40 +0200)]
core: Only allow importing to our own items

Only allow importing contents to URIs belonging to our own items.

13 years agocore: No need for modifying value of 'ContainerID'
Zeeshan Ali (Khattak) [Tue, 2 Nov 2010 13:20:49 +0000 (15:20 +0200)]
core: No need for modifying value of 'ContainerID'

Keep the original values of all 'in' arguments.

13 years agocore: Fix visibility of ItemDestroyer.remove_object
Zeeshan Ali (Khattak) [Fri, 29 Oct 2010 14:23:37 +0000 (17:23 +0300)]
core: Fix visibility of ItemDestroyer.remove_object

13 years agoRevert "core: Use Signal.connect* for connecting dynamic signals"
Zeeshan Ali (Khattak) [Mon, 18 Oct 2010 12:55:20 +0000 (15:55 +0300)]
Revert "core: Use Signal.connect* for connecting dynamic signals"

This reverts commit 565c72bba0bb5f6ff60fa587a78a02cfed4e5ca9.

Conflicts:

src/rygel/rygel-live-response.vala
src/rygel/rygel-mp2ts-transcoder-bin.vala
src/rygel/rygel-wmv-transcoder-bin.vala

13 years agocore: Correct visibility of a few fields
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 22:41:29 +0000 (01:41 +0300)]
core: Correct visibility of a few fields

13 years agocore: No need to pass dummy args to Gst.init()
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 22:37:47 +0000 (01:37 +0300)]
core: No need to pass dummy args to Gst.init()

I'm not exactly sure why I was doing that.

13 years agocore,plugins: Port to vala 0.11.1
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 22:36:14 +0000 (01:36 +0300)]
core,plugins: Port to vala 0.11.1

13 years agobuild: Require vala 0.11.1
Zeeshan Ali (Khattak) [Sat, 30 Oct 2010 21:59:01 +0000 (00:59 +0300)]
build: Require vala 0.11.1

13 years agoAdded Catalan (Valencian) translation
Carles Ferrando [Fri, 29 Oct 2010 20:57:53 +0000 (21:57 +0100)]
Added Catalan (Valencian) translation

13 years agocore: Document WritableContainer some more
Zeeshan Ali (Khattak) [Fri, 29 Oct 2010 12:33:39 +0000 (15:33 +0300)]
core: Document WritableContainer some more

Provide more information on what exactly is expected and not expected from
WritableContainer implementations.

13 years agocore,data: Implement ContentDirecotory's DestroyObject
Zeeshan Ali (Khattak) [Thu, 28 Oct 2010 11:59:16 +0000 (14:59 +0300)]
core,data: Implement ContentDirecotory's DestroyObject

13 years agocore: Add MediaObject.get_writables()
Zeeshan Ali (Khattak) [Thu, 28 Oct 2010 14:43:05 +0000 (17:43 +0300)]
core: Add MediaObject.get_writables()

Add a method that fetches File objects for all its writable URIs.

13 years agocore,plugins: Add WritableContainer.remove_item()
Zeeshan Ali (Khattak) [Wed, 27 Oct 2010 17:55:23 +0000 (20:55 +0300)]
core,plugins: Add WritableContainer.remove_item()

Writable containers now support removal of (direct) child item, given its
ID.

13 years agotracker: SearchContainer.get_item_info() now protected
Zeeshan Ali (Khattak) [Wed, 27 Oct 2010 17:58:03 +0000 (20:58 +0300)]
tracker: SearchContainer.get_item_info() now protected

13 years agocore: Don't allow uploading to non-place-holder items
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 23:39:49 +0000 (02:39 +0300)]
core: Don't allow uploading to non-place-holder items

ImportResource and HTTP POST now error out on requests for
non-place-holder items.

13 years agocore: MediaItem.place_holder is now a property
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 23:36:17 +0000 (02:36 +0300)]
core: MediaItem.place_holder is now a property

This is to make it visible to all (core) classes, while not allowing them
to write to it.

13 years agocore: Only provide 'importUri' for place-holder items
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 17:19:05 +0000 (20:19 +0300)]
core: Only provide 'importUri' for place-holder items

13 years agocore: Remove redundant string conversions
Zeeshan Ali (Khattak) [Mon, 25 Oct 2010 17:08:17 +0000 (20:08 +0300)]
core: Remove redundant string conversions

13 years agocore,plugins: Special interface for writable containers
Zeeshan Ali (Khattak) [Wed, 20 Oct 2010 14:40:45 +0000 (17:40 +0300)]
core,plugins: Special interface for writable containers

Containers that allow creation, editing and/or removal of new items under them
are now supposed to implement this new interface.

13 years agomedia-export,tracker: Minor clean-ups
Zeeshan Ali (Khattak) [Wed, 20 Oct 2010 14:38:11 +0000 (17:38 +0300)]
media-export,tracker: Minor clean-ups

13 years agotracker: Update container upon adding item
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 17:01:38 +0000 (20:01 +0300)]
tracker: Update container upon adding item

13 years agotracker: Save title when adding item to store
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 16:37:13 +0000 (19:37 +0300)]
tracker: Save title when adding item to store

13 years agocore,plugins: Don't create files for new items
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 14:54:22 +0000 (17:54 +0300)]
core,plugins: Don't create files for new items

There is no need to actually create the file for new items. The file will
automatically be created when/if contents are copied to the new empy item. This
change also turns MediaContainer.add_item() into an abstract method.

13 years agocore,media-export: Micro coding-style fixes
Zeeshan Ali (Khattak) [Tue, 19 Oct 2010 14:57:51 +0000 (17:57 +0300)]
core,media-export: Micro coding-style fixes

13 years agotracker: No need for special item creation class
Zeeshan Ali (Khattak) [Sat, 16 Oct 2010 17:46:53 +0000 (20:46 +0300)]
tracker: No need for special item creation class

13 years agocore: Remove redundant item size initialization
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 17:18:32 +0000 (20:18 +0300)]
core: Remove redundant item size initialization

13 years agocore,tracker: CreateObject should use URI when provided
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 16:56:43 +0000 (19:56 +0300)]
core,tracker: CreateObject should use URI when provided

13 years agotracker: Put size in store only if its > 0
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 14:22:38 +0000 (17:22 +0300)]
tracker: Put size in store only if its > 0

Tracker keeps the size set by us originally even after the size changes. A
simple work-around is to just not set the size if its an empty file.

13 years agoUpdate Simplified Chinese translation
Aron Xu [Mon, 25 Oct 2010 09:21:12 +0000 (17:21 +0800)]
Update Simplified Chinese translation

13 years agompris: Fix wrong service destination
Jens Georg [Sat, 23 Oct 2010 22:04:43 +0000 (00:04 +0200)]
mpris: Fix wrong service destination

Left-over from dbus-glib to GDBus conversion

13 years agoUpdated British English translation
Bruce Cowan [Sat, 23 Oct 2010 15:12:02 +0000 (16:12 +0100)]
Updated British English translation

13 years agomedia-export: Print enum name for debug
Jens Georg [Fri, 22 Oct 2010 21:32:20 +0000 (23:32 +0200)]
media-export: Print enum name for debug

13 years agomedia-export: Fix indent
Jens Georg [Tue, 19 Oct 2010 11:30:57 +0000 (13:30 +0200)]
media-export: Fix indent

13 years agomedia-export: Use simple mode fallback
Jens Georg [Tue, 19 Oct 2010 11:27:54 +0000 (13:27 +0200)]
media-export: Use simple mode fallback

If files are not discoverable, use simple mode for that file

13 years agocore: Fix broken NEWS entry for last release
Zeeshan Ali (Khattak) [Mon, 18 Oct 2010 16:33:45 +0000 (19:33 +0300)]
core: Fix broken NEWS entry for last release

The release tarball is already out so its unfortunately too late to get the fix
in there.

13 years agoRelease announcement for 0.9.1 RYGEL_0_9_1
Zeeshan Ali (Khattak) [Mon, 18 Oct 2010 14:07:17 +0000 (17:07 +0300)]
Release announcement for 0.9.1

13 years agocore: Don't assume user config dir to be present everywhere
Zeeshan Ali (Khattak) [Mon, 18 Oct 2010 13:56:35 +0000 (16:56 +0300)]
core: Don't assume user config dir to be present everywhere

This assumption is only true for modern (free)desktops.

13 years agobuild: Properly require automake-1.11
Jens Georg [Sat, 16 Oct 2010 22:51:44 +0000 (00:51 +0200)]
build: Properly require automake-1.11

13 years agobuild: Custom rule to remove .stamp files
Zeeshan Ali (Khattak) [Fri, 15 Oct 2010 13:19:21 +0000 (16:19 +0300)]
build: Custom rule to remove .stamp files

13 years agotracker: Assume UPnP-created items to be shared
Zeeshan Ali (Khattak) [Wed, 13 Oct 2010 17:26:18 +0000 (20:26 +0300)]
tracker: Assume UPnP-created items to be shared

We create items on demand from UPnP clients so its logical to assume that the
client would want it to be available on the UPnP network after creation.

13 years agotracker: Honor 'nmm:uPnPShared' property
Zeeshan Ali (Khattak) [Wed, 13 Oct 2010 17:15:13 +0000 (20:15 +0300)]
tracker: Honor 'nmm:uPnPShared' property

Make sure we only expose items that are either explicity marked to be shared
over UPnP network or not marked at all.

13 years agotracker: Centralize constant for item variable
Zeeshan Ali (Khattak) [Wed, 13 Oct 2010 17:08:37 +0000 (20:08 +0300)]
tracker: Centralize constant for item variable

Lets define the constant string for item variable in SelectionQuery only. This
way we can always be certain that its usage is the same everywhere and can add
filters at any point of query building stream from any where in the code,
including SelectionQuery itself.

13 years agotracker: CategoryContainer should be abstract
Zeeshan Ali (Khattak) [Wed, 13 Oct 2010 17:07:16 +0000 (20:07 +0300)]
tracker: CategoryContainer should be abstract

13 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 12 Oct 2010 18:10:33 +0000 (20:10 +0200)]
Updated Slovenian translation

13 years agoUpdated Korean translation
Changwoo Ryu [Fri, 8 Oct 2010 22:57:41 +0000 (07:57 +0900)]
Updated Korean translation

13 years agotracker: URI escape metadata titles for IDs
Zeeshan Ali (Khattak) [Fri, 8 Oct 2010 12:44:52 +0000 (15:44 +0300)]
tracker: URI escape metadata titles for IDs

The titles might have charachters like ',' and ':' that we use for
separating differents parts of the ID so we better escape the strings
from Tracker before using it in the IDs.

13 years agoUpdated Spanish translation
Jorge González [Thu, 7 Oct 2010 12:34:14 +0000 (14:34 +0200)]
Updated Spanish translation

13 years agocore: Destroy the device list before quiting main loop
Zeeshan Ali (Khattak) [Tue, 5 Oct 2010 16:44:17 +0000 (19:44 +0300)]
core: Destroy the device list before quiting main loop

For some reason, the SSDP 'BYE' message doesn't get sent out for all devices
before rygel exits. This change makes sending of these packet a lot more
(could actually be 100%) reliable.

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Tue, 5 Oct 2010 08:58:28 +0000 (11:58 +0300)]
[l10n] Updated Estonian translation

13 years agoRelease 0.9.0 RYGEL_0_9_0
Zeeshan Ali (Khattak) [Mon, 4 Oct 2010 20:34:42 +0000 (23:34 +0300)]
Release 0.9.0

13 years agomedia-export: Entertain base Audio and Image classes
Zeeshan Ali (Khattak) [Thu, 30 Sep 2010 13:52:06 +0000 (16:52 +0300)]
media-export: Entertain base Audio and Image classes

13 years agobuild: Always set VAPIDIR to ${datadir}/vala/vapi
Jens Georg [Sun, 3 Oct 2010 08:56:44 +0000 (10:56 +0200)]
build: Always set VAPIDIR to ${datadir}/vala/vapi

13 years agomedia-export: Handle uint64 in SQLite statements
Jens Georg [Wed, 29 Sep 2010 07:18:42 +0000 (09:18 +0200)]
media-export: Handle uint64 in SQLite statements

13 years agomedia-export: Proper default values for item metdata
Jens Georg [Tue, 28 Sep 2010 18:50:41 +0000 (20:50 +0200)]
media-export: Proper default values for item metdata

This fixes the misterious "0" Album and Artist on XBox

13 years agocore: Explicitly start service by name
Zeeshan Ali (Khattak) [Mon, 4 Oct 2010 10:24:18 +0000 (13:24 +0300)]
core: Explicitly start service by name

Instead of creating a proxy to Rygel's D-Bus object to start the service,
use standard D-Bus interface directly to explicitly start service by name.