profile/ivi/rygel.git
15 years agoui: Initialize sensitivity of trancoding checkboxes
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 17:28:28 +0000 (20:28 +0300)]
ui: Initialize sensitivity of trancoding checkboxes

Initialize sensitivity of trancoding checkboxes to the same value
as that of "Transcoding Support" checkbox.

15 years agocore,data: Forgotten update to Rygel D-Bus paths
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 17:07:18 +0000 (20:07 +0300)]
core,data: Forgotten update to Rygel D-Bus paths

Oops, had forgotten to update the D-Bus paths everywhere after the
versioning change.

15 years agodata: No need for DVB config
Zeeshan Ali (Khattak) [Thu, 24 Sep 2009 14:26:10 +0000 (17:26 +0300)]
data: No need for DVB config

15 years agocore: More corrections to release log RYGEL_0_4
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 19:33:31 +0000 (22:33 +0300)]
core: More corrections to release log

15 years agocore: update news file
Jens Georg [Wed, 23 Sep 2009 16:22:43 +0000 (18:22 +0200)]
core: update news file

15 years agocore: be more robust while scanning metadata
Jens Georg [Wed, 23 Sep 2009 13:35:43 +0000 (15:35 +0200)]
core: be more robust while scanning metadata

 - Add a timeout to check for stuck/aborted scannings
 - Don't reuse playbin, this seems to be problematic

15 years agocore: Prepare NEW file for release 0.4
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 15:58:41 +0000 (18:58 +0300)]
core: Prepare NEW file for release 0.4

15 years agocore: Update the project description
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 12:14:07 +0000 (15:14 +0300)]
core: Update the project description

Update the project description according to changes since last release.

15 years agomedia-export: Some code cleanup
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 11:14:41 +0000 (14:14 +0300)]
media-export: Some code cleanup

15 years agomedia-export: Keep const in the associated class
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 10:49:30 +0000 (13:49 +0300)]
media-export: Keep const in the associated class

Keep constant in the associated class.

15 years agomedia-export: Title starts with capital letter
Zeeshan Ali (Khattak) [Wed, 23 Sep 2009 10:47:05 +0000 (13:47 +0300)]
media-export: Title starts with capital letter

Title for dynamic container should start with a capital letter.

15 years agomedia-export: Minor indentation fixes
Zeeshan Ali (Khattak) [Tue, 22 Sep 2009 15:53:19 +0000 (18:53 +0300)]
media-export: Minor indentation fixes

15 years agobuild: Supress all CC warnings by default
Zeeshan Ali (Khattak) [Tue, 22 Sep 2009 14:01:34 +0000 (17:01 +0300)]
build: Supress all CC warnings by default

Supress all warnings from C compiler unless told to be strict.

15 years agodata: Use hostname on maemo
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 15:17:49 +0000 (18:17 +0300)]
data: Use hostname on maemo

Use hostname by default on maemo instead of user's realname.

15 years agomedia-export: No need for a separate D-Bus service
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 14:47:37 +0000 (17:47 +0300)]
media-export: No need for a separate D-Bus service

Re-use the D-Bus service run by Rygel

15 years agomedia-export: Add GetUris DBus command
Jens Georg [Mon, 21 Sep 2009 13:12:30 +0000 (15:12 +0200)]
media-export: Add GetUris DBus command

15 years agomedia-export: Use a custom container for DBus
Jens Georg [Mon, 21 Sep 2009 12:28:17 +0000 (14:28 +0200)]
media-export: Use a custom container for DBus

All uris added via DBus are now persisted by making them children of this
container.

15 years agocore: make arguments signed
Jens Georg [Mon, 21 Sep 2009 12:07:39 +0000 (14:07 +0200)]
core: make arguments signed

This is to allow to get all children (-1, -1)

15 years agocore,plugins: Add add_child & remove_child to SimpleContainer
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 13:18:14 +0000 (16:18 +0300)]
core,plugins: Add add_child & remove_child to SimpleContainer

Add add_child and remove_child to SimpleContainer. They automatically
increment and decrement child_count respectively.

15 years agogstlaunch: Refactor and beautify!
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 13:01:57 +0000 (16:01 +0300)]
gstlaunch: Refactor and beautify!

15 years agoplugins: Make use of SimpleContainer
Zeeshan Ali (Khattak) [Mon, 21 Sep 2009 12:40:30 +0000 (15:40 +0300)]
plugins: Make use of SimpleContainer

Derive as many containers from SimpleContainer as possible.

15 years agomedia-export: Adapt to delete_ to remove_ rename
Jens Georg [Mon, 21 Sep 2009 11:05:17 +0000 (13:05 +0200)]
media-export: Adapt to delete_ to remove_ rename

15 years agomedia-export: persist the uris added via DBus
Jens Georg [Thu, 17 Sep 2009 10:35:45 +0000 (12:35 +0200)]
media-export: persist the uris added via DBus

The uris are added to the root container which is persisted in the MediaDB

15 years agocore: use playbin2 for meta-data if available
Jens Georg [Fri, 18 Sep 2009 13:48:11 +0000 (15:48 +0200)]
core: use playbin2 for meta-data if available

15 years agocore: Remove warning on unusable input
Jens Georg [Thu, 17 Sep 2009 18:33:55 +0000 (20:33 +0200)]
core: Remove warning on unusable input

15 years agomedia-export: Do not try to re-add container to db
Jens Georg [Thu, 17 Sep 2009 10:44:59 +0000 (12:44 +0200)]
media-export: Do not try to re-add container to db

15 years agomedia-export: Clarify which queue we want
Jens Georg [Thu, 17 Sep 2009 08:47:04 +0000 (10:47 +0200)]
media-export: Clarify which queue we want

Seems libgee now features a queue as well; this fixes compilation error due
to name clash

15 years agocore: Fix wrongly bound SQL for containers
Jens Georg [Mon, 21 Sep 2009 10:06:18 +0000 (12:06 +0200)]
core: Fix wrongly bound SQL for containers

15 years agocore: Rethrow database errors
Jens Georg [Mon, 21 Sep 2009 10:01:19 +0000 (12:01 +0200)]
core: Rethrow database errors

15 years agocore: fix signal emission on added container
Jens Georg [Mon, 21 Sep 2009 09:21:42 +0000 (11:21 +0200)]
core: fix signal emission on added container

15 years agocore: Use INVALID_TYPE error instead of GENERAL_ERROR
Jens Georg [Thu, 17 Sep 2009 07:45:16 +0000 (09:45 +0200)]
core: Use INVALID_TYPE error instead of GENERAL_ERROR

15 years agocore: create_with_factory always used default factory
Jens Georg [Thu, 17 Sep 2009 07:43:46 +0000 (09:43 +0200)]
core: create_with_factory always used default factory

15 years agocore: Complete API of media-db
Jens Georg [Thu, 17 Sep 2009 07:34:13 +0000 (09:34 +0200)]
core: Complete API of media-db

15 years agocore: Add general signals for objects
Jens Georg [Wed, 16 Sep 2009 21:12:28 +0000 (23:12 +0200)]
core: Add general signals for objects

15 years agotracker: Don't list items in descending order
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 22:55:34 +0000 (01:55 +0300)]
tracker: Don't list items in descending order

15 years agotracker: Make use of default value magic in Vala
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 22:49:48 +0000 (01:49 +0300)]
tracker: Make use of default value magic in Vala

Use default value for query_condition param of SearchContainer
construction method.

15 years agotracker: Add TrackerKeywords
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 21:39:48 +0000 (00:39 +0300)]
tracker: Add TrackerKeywords

A new container that lists all the available tags in the Tracker DB. For
each tag, it creates a container that lists all items with that tag.

15 years agotracker: SearchContainer takes keywords
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 22:24:37 +0000 (01:24 +0300)]
tracker: SearchContainer takes keywords

SearchContainer allows users to limit the search by keywords.

15 years agotracker: Ignore empty metadata values
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 20:45:01 +0000 (23:45 +0300)]
tracker: Ignore empty metadata values

15 years agotracker: Use 'equals' as op in RDF query
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 20:08:04 +0000 (23:08 +0300)]
tracker: Use 'equals' as op in RDF query

Use 'equals' as the operator in the RDF query instead of 'contains'.

15 years agotracker: Rename a constant
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 19:50:55 +0000 (22:50 +0300)]
tracker: Rename a constant

Rename TrackerMetadataValues.CATEGORY to SERVICE.

15 years agotracker: Be more specific about error thrown
Zeeshan Ali (Khattak) [Sun, 20 Sep 2009 18:51:26 +0000 (21:51 +0300)]
tracker: Be more specific about error thrown

15 years agotracker: Add missing return statement
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 23:48:00 +0000 (02:48 +0300)]
tracker: Add missing return statement

15 years agotracker: Correct a typo
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 22:20:39 +0000 (01:20 +0300)]
tracker: Correct a typo

15 years agocore: Check if ArrayList is empty
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 22:10:19 +0000 (01:10 +0300)]
core: Check if ArrayList is empty

Check if ArrayList is empty before trying to fetch it's elements.

15 years agotracker,external: Don't errors out object not found
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 20:33:13 +0000 (23:33 +0300)]
tracker,external: Don't errors out object not found

15 years agocore: AsyncReadyCallback.source_object is nullable
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 16:43:58 +0000 (19:43 +0300)]
core: AsyncReadyCallback.source_object is nullable

source_object param of AsyncReadyCallback is now nullable.

15 years agobuild: Require vala trunk
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 16:43:18 +0000 (19:43 +0300)]
build: Require vala trunk

15 years agotracker: Populate MetadataContainer children
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 01:21:29 +0000 (04:21 +0300)]
tracker: Populate MetadataContainer children

15 years agotracker: SearchContainer() takes query as argument
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 01:17:50 +0000 (04:17 +0300)]
tracker: SearchContainer() takes query as argument

SearchContainer construction method now takes RDF query as argument.

15 years agotracker: Remove now redundant classes
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 23:09:29 +0000 (02:09 +0300)]
tracker: Remove now redundant classes

15 years agotracker: SearchContainer is not abstract anymore
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 23:04:00 +0000 (02:04 +0300)]
tracker: SearchContainer is not abstract anymore

15 years agotracker: MediaItem provides metadata keys
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 22:55:56 +0000 (01:55 +0300)]
tracker: MediaItem provides metadata keys

15 years agotracker: Add SearchContainer.query_condition
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 15:07:05 +0000 (18:07 +0300)]
tracker: Add SearchContainer.query_condition

15 years agotracker: item's ID keeps the service
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 14:56:39 +0000 (17:56 +0300)]
tracker: item's ID keeps the service

Keep the service an item belongs to in it's ID so we can ask that
service for metadata when needed rather than SearchContainer.service,
as that could be the generic "Files" service for some SearchContainer
implementations.

15 years agotracker: Minor refactoring
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 13:21:39 +0000 (16:21 +0300)]
tracker: Minor refactoring

15 years agotracker: create_item implemented by SearchContainer
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 12:21:43 +0000 (15:21 +0300)]
tracker: create_item implemented by SearchContainer

create_item should be implemented by SearchContainer.

15 years agotracker: Items should know their service
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 12:00:09 +0000 (15:00 +0300)]
tracker: Items should know their service

15 years agotracker: TrackerCategory -> TrackerSearchContainer
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:51:53 +0000 (18:51 +0300)]
tracker: TrackerCategory -> TrackerSearchContainer

Rename TrackerCategory to TrackerSearchContainer.

15 years agotracker: Rename TrackerCategory.category to service
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:37:02 +0000 (18:37 +0300)]
tracker: Rename TrackerCategory.category to service

15 years agotracker: Remove TrackerCategory.child_class
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:29:53 +0000 (18:29 +0300)]
tracker: Remove TrackerCategory.child_class

TrackerCategory doesn't need to know it's children's UPnP class.

15 years agotracker: Introduce "Albums" and "Artists" containers
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:01:53 +0000 (18:01 +0300)]
tracker: Introduce "Albums" and "Artists" containers

Right now these containers just provide an empty container for each
album or artist. Next step is to populate these containers.

15 years agotracker: Better titles for top-level folders
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 14:34:06 +0000 (17:34 +0300)]
tracker: Better titles for top-level folders

15 years agocore: MediaObjectSearch provides error
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 14:28:05 +0000 (17:28 +0300)]
core: MediaObjectSearch provides error

MediaObjectSearch provides an error through a field to it's users rather
than printing it as a warning.

15 years agocore: Move MediaObjectSearch into separate module
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 14:01:08 +0000 (17:01 +0300)]
core: Move MediaObjectSearch into separate module

15 years agocore: Rename ObjectSearch to MediaObjectSearch
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 13:53:06 +0000 (16:53 +0300)]
core: Rename ObjectSearch to MediaObjectSearch

15 years agocore: Micro indentation fix
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 13:48:57 +0000 (16:48 +0300)]
core: Micro indentation fix

15 years agocore: More generic ObjectSearch class
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 13:48:20 +0000 (16:48 +0300)]
core: More generic ObjectSearch class

15 years agocore: cancellable is now a prop of StateMachine
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 12:49:38 +0000 (15:49 +0300)]
core: cancellable is now a prop of StateMachine

Earlier a cancellable was passed to StateMachine.run() although this
cancellable was supposed to be instance property. So now have it as the
property of StateMachine interface.

15 years agocore: Micro indentation fix
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 23:45:23 +0000 (02:45 +0300)]
core: Micro indentation fix

15 years agotracker: Derive TrackerRootContainer from SimpleContainer
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 23:42:52 +0000 (02:42 +0300)]
tracker: Derive TrackerRootContainer from SimpleContainer

15 years agocore: Provide SimpleContainer.root
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 23:40:23 +0000 (02:40 +0300)]
core: Provide SimpleContainer.root

Provide a SimpleContainer construction method more suitable for root
containers.

15 years agocore: A simple MediaContainer implementation
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 17:23:18 +0000 (20:23 +0300)]
core: A simple MediaContainer implementation

15 years agomedia-export: AsyncReadyCallback.source_object is nullable
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 16:48:14 +0000 (19:48 +0300)]
media-export: AsyncReadyCallback.source_object is nullable

source_object param of AsyncReadyCallback is now nullable.

15 years agocore: AsyncReadyCallback.source_object is nullable
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 15:33:00 +0000 (18:33 +0300)]
core: AsyncReadyCallback.source_object is nullable

source_object param of AsyncReadyCallback is now nullable.

15 years agobuild: Bump-up libgee requirement to 0.3.0
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 11:47:25 +0000 (14:47 +0300)]
build: Bump-up libgee requirement to 0.3.0

15 years agobuild: Bump-up vala requirement to 0.7.6
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 11:45:46 +0000 (14:45 +0300)]
build: Bump-up vala requirement to 0.7.6

15 years agomedia-export: Remove redundant try/catch
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 14:50:37 +0000 (17:50 +0300)]
media-export: Remove redundant try/catch

15 years agomedia-export: cleanup
Jens Georg [Sat, 12 Sep 2009 11:50:36 +0000 (13:50 +0200)]
media-export: cleanup

15 years agomedia-export: Fix warnings
Jens Georg [Sat, 12 Sep 2009 11:42:35 +0000 (13:42 +0200)]
media-export: Fix warnings

15 years agomedia-export: rename harvest to harvester
Jens Georg [Fri, 11 Sep 2009 23:26:19 +0000 (01:26 +0200)]
media-export: rename harvest to harvester

15 years agomedia-export: add assertion instead of comment
Jens Georg [Fri, 11 Sep 2009 23:20:08 +0000 (01:20 +0200)]
media-export: add assertion instead of comment

15 years agomedia-export: Fix critical warnings
Jens Georg [Fri, 11 Sep 2009 23:08:06 +0000 (01:08 +0200)]
media-export: Fix critical warnings

15 years agomedia-export: bitrate is byte/s
Jens Georg [Fri, 11 Sep 2009 21:37:06 +0000 (23:37 +0200)]
media-export: bitrate is byte/s

15 years agocore: use fixed string for cache dir
Jens Georg [Fri, 11 Sep 2009 23:32:20 +0000 (01:32 +0200)]
core: use fixed string for cache dir

15 years agocore: MediaDB.save_item/container are now public
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 12:05:37 +0000 (15:05 +0300)]
core: MediaDB.save_item/container are now public

15 years agocore: Add signals for container operations
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 12:04:16 +0000 (15:04 +0300)]
core: Add signals for container operations

15 years agocore: Declare signals on the top in one place
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 12:02:43 +0000 (15:02 +0300)]
core: Declare signals on the top in one place

15 years agocore: Set db to null on failure
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 11:59:16 +0000 (14:59 +0300)]
core: Set db to null on failure

15 years agocore: Minor coding-style fix
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 11:58:03 +0000 (14:58 +0300)]
core: Minor coding-style fix

15 years agocore: use MediaDBError more consistently
Jens Georg [Fri, 11 Sep 2009 18:54:42 +0000 (20:54 +0200)]
core: use MediaDBError more consistently

15 years agocore: s/object_id/child_id/ for "get_child_*"
Jens Georg [Fri, 11 Sep 2009 18:48:30 +0000 (20:48 +0200)]
core: s/object_id/child_id/ for "get_child_*"

15 years agocore,media-export: Rename MediaObject.timestamp
Jens Georg [Fri, 11 Sep 2009 18:44:50 +0000 (20:44 +0200)]
core,media-export: Rename MediaObject.timestamp

MediaObject.timestamp is now called "modified"

15 years agocore: handle database error gracefully
Jens Georg [Fri, 11 Sep 2009 11:28:48 +0000 (13:28 +0200)]
core: handle database error gracefully

15 years agoexternal: Fix some typos
Zeeshan Ali (Khattak) [Mon, 14 Sep 2009 20:57:32 +0000 (23:57 +0300)]
external: Fix some typos

15 years agoexternal: Fetch items on demand
Zeeshan Ali (Khattak) [Mon, 14 Sep 2009 15:34:29 +0000 (18:34 +0300)]
external: Fetch items on demand

15 years agoexternal: Prefix IDs with type of object
Zeeshan Ali (Khattak) [Fri, 11 Sep 2009 21:43:51 +0000 (00:43 +0300)]
external: Prefix IDs with type of object

Prefix IDs of non-root media object with their type: container or item.

15 years agotracker: Only set size of image item, once
Zeeshan Ali (Khattak) [Sun, 13 Sep 2009 18:00:11 +0000 (21:00 +0300)]
tracker: Only set size of image item, once

15 years agocore: handle database error gracefully
Jens Georg [Fri, 11 Sep 2009 11:28:48 +0000 (13:28 +0200)]
core: handle database error gracefully

15 years agocore: Use MediaItem.add_uri
Jens Georg [Fri, 11 Sep 2009 11:26:51 +0000 (13:26 +0200)]
core: Use MediaItem.add_uri

Modify MediaDB code such that for MediaItems the uri list will
not be modified directly