profile/ivi/rygel.git
14 years agotracker: Populate MetadataContainer children
Zeeshan Ali (Khattak) [Sat, 19 Sep 2009 01:21:29 +0000 (04:21 +0300)]
tracker: Populate MetadataContainer children

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

14 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

14 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

14 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

14 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

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

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

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

14 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

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

14 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

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

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

14 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

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

14 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

14 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

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

14 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

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

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

14 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

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

14 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

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

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

14 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

14 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

14 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

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

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

14 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

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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_*"

14 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"

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

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

14 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

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

14 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

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

14 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

14 years agomediathek: Remove trailing whitespace
Zeeshan Ali (Khattak) [Fri, 11 Sep 2009 17:02:11 +0000 (20:02 +0300)]
mediathek: Remove trailing whitespace

14 years agomedia-export: Add simple dbus service
Jens Georg [Thu, 2 Jul 2009 21:16:54 +0000 (23:16 +0200)]
media-export: Add simple dbus service

14 years agomediathek: fix crash if not config is available
Jens Georg [Wed, 24 Jun 2009 14:09:08 +0000 (16:09 +0200)]
mediathek: fix crash if not config is available

14 years agocore: Add database upgrade code
Jens Georg [Sun, 16 Aug 2009 13:00:03 +0000 (15:00 +0200)]
core: Add database upgrade code

14 years agomedia-export: Catch additional database errors
Jens Georg [Fri, 14 Aug 2009 19:35:17 +0000 (21:35 +0200)]
media-export: Catch additional database errors

14 years agocore: Handle more database error cases
Jens Georg [Fri, 14 Aug 2009 19:29:32 +0000 (21:29 +0200)]
core: Handle more database error cases

14 years agomedia-export: Use null container for Harvesting
Jens Georg [Fri, 14 Aug 2009 18:58:29 +0000 (20:58 +0200)]
media-export: Use null container for Harvesting

14 years agomedia-export: Update documentation
Jens Georg [Wed, 12 Aug 2009 11:19:10 +0000 (13:19 +0200)]
media-export: Update documentation

14 years agocore, media-export: Handle invalid database files
Jens Georg [Wed, 12 Aug 2009 11:11:30 +0000 (13:11 +0200)]
core, media-export: Handle invalid database files

This dummy container is used if the database file
cannot be opened.

14 years agomedia-export: avoid crash if unknown file is found
Jens Georg [Tue, 11 Aug 2009 15:54:29 +0000 (17:54 +0200)]
media-export: avoid crash if unknown file is found

Reported on IRC by "fatal" (Andreas Henriksson)

14 years agomedia-export,mediathek: Root-Container-Singleton
Jens Georg [Mon, 27 Jul 2009 20:49:48 +0000 (22:49 +0200)]
media-export,mediathek: Root-Container-Singleton

Use the same root-container on every interface device

14 years agocore: fix #588034
Jens Georg [Wed, 8 Jul 2009 10:25:30 +0000 (12:25 +0200)]
core: fix #588034

14 years agocore: don't delete root container when in db
Jens Georg [Sun, 5 Jul 2009 14:06:19 +0000 (16:06 +0200)]
core: don't delete root container when in db

14 years agomedia-export: remove harvester if done harvesting
Jens Georg [Sun, 5 Jul 2009 12:42:02 +0000 (14:42 +0200)]
media-export: remove harvester if done harvesting

14 years agomedia-export: do file type query async
Jens Georg [Sun, 5 Jul 2009 12:36:21 +0000 (14:36 +0200)]
media-export: do file type query async

14 years agomedia-export: update changed files, not re-add
Jens Georg [Sun, 5 Jul 2009 12:22:06 +0000 (14:22 +0200)]
media-export: update changed files, not re-add

14 years agomedia-export: Notify parent container on removal
Jens Georg [Sun, 5 Jul 2009 11:39:55 +0000 (13:39 +0200)]
media-export: Notify parent container on removal

14 years agomedia-export: Add root container to database
Jens Georg [Sun, 5 Jul 2009 11:33:21 +0000 (13:33 +0200)]
media-export: Add root container to database

This is necessary to allow MediaItems directly below the root container

14 years agocore: Add check if no parent exists
Jens Georg [Sun, 5 Jul 2009 11:13:26 +0000 (13:13 +0200)]
core: Add check if no parent exists

14 years agomedia-export: delete gone directories on new start
Jens Georg [Mon, 29 Jun 2009 20:26:09 +0000 (22:26 +0200)]
media-export: delete gone directories on new start

14 years agocore: Add function to get list of child ids
Jens Georg [Sun, 28 Jun 2009 19:02:41 +0000 (21:02 +0200)]
core: Add function to get list of child ids

14 years agocore: Add timestamp to exists function
Jens Georg [Sun, 28 Jun 2009 19:01:58 +0000 (21:01 +0200)]
core: Add timestamp to exists function

14 years agomedia-export: Add mtime of object into database
Jens Georg [Sun, 28 Jun 2009 01:46:43 +0000 (03:46 +0200)]
media-export: Add mtime of object into database

14 years agocore: add timestamp to MediaObject
Jens Georg [Sun, 28 Jun 2009 01:46:17 +0000 (03:46 +0200)]
core: add timestamp to MediaObject

14 years agocore: add update methods
Jens Georg [Sun, 28 Jun 2009 01:21:48 +0000 (03:21 +0200)]
core: add update methods

14 years agocore: change table key relationships
Jens Georg [Sun, 28 Jun 2009 01:00:57 +0000 (03:00 +0200)]
core: change table key relationships

14 years agomedia-export: react on deletion of files
Jens Georg [Sun, 28 Jun 2009 00:09:09 +0000 (02:09 +0200)]
media-export: react on deletion of files

14 years agocore: add deletion of items to media-db
Jens Georg [Sun, 28 Jun 2009 00:06:35 +0000 (02:06 +0200)]
core: add deletion of items to media-db

14 years agomedia-export: Add uri to container objects
Jens Georg [Sat, 27 Jun 2009 23:22:00 +0000 (01:22 +0200)]
media-export: Add uri to container objects

14 years agomedia-export: harvest newly added files
Jens Georg [Sat, 27 Jun 2009 01:24:13 +0000 (03:24 +0200)]
media-export: harvest newly added files

14 years agomedia-export: hook up file monitor
Jens Georg [Sat, 27 Jun 2009 01:04:01 +0000 (03:04 +0200)]
media-export: hook up file monitor

14 years agomedia-export: Add recursive file monitor
Jens Georg [Sat, 27 Jun 2009 00:47:52 +0000 (02:47 +0200)]
media-export: Add recursive file monitor

14 years agocore: add some documentation
Jens Georg [Fri, 26 Jun 2009 22:23:13 +0000 (00:23 +0200)]
core: add some documentation

14 years agocore,media-export: MediaDB name is just a name
Jens Georg [Fri, 26 Jun 2009 22:13:29 +0000 (00:13 +0200)]
core,media-export: MediaDB name is just a name

MediaDB will decide about the file name itself, normally

user_cache_dir/prgname/name.db

14 years agocore: refine sorting of elements
Jens Georg [Fri, 26 Jun 2009 22:04:34 +0000 (00:04 +0200)]
core: refine sorting of elements

14 years agocore: Expect 'jpeg' extension for thumbnail files
Zeeshan Ali (Khattak) [Wed, 9 Sep 2009 13:24:31 +0000 (16:24 +0300)]
core: Expect 'jpeg' extension for thumbnail files

14 years agocore,plugins: Simpler way to provide thumbnails
Zeeshan Ali (Khattak) [Tue, 8 Sep 2009 16:11:42 +0000 (19:11 +0300)]
core,plugins: Simpler way to provide thumbnails

Provide a method to add URIs to MediaItem, using which the plugin
can also provide a thumbnail. If no thumbnail is provided, Rygel
tries to get it using the Thumbnailer.

14 years agocore: Minor refactor
Zeeshan Ali (Khattak) [Tue, 8 Sep 2009 13:49:42 +0000 (16:49 +0300)]
core: Minor refactor

Public methods should be listed first and then internal.

14 years agocore: Thumbnailer should be singleton
Zeeshan Ali (Khattak) [Tue, 8 Sep 2009 13:47:18 +0000 (16:47 +0300)]
core: Thumbnailer should be singleton

14 years agocore: Add Thumbnailer
Zeeshan Ali (Khattak) [Tue, 8 Sep 2009 13:07:51 +0000 (16:07 +0300)]
core: Add Thumbnailer

At the moment, it doesn't generate any thumbnails but serves existing
thumbnails provided by either GNOME apps or hildon-thumbnailer. While
former is good for desktop-integration the later is not only good for
maemo-integration but is also DLNA-compliant since DLNA requires
thumbnails to be provided at least in JPEG format.

14 years agocore,tracker: Derive Thumbnail from IconInfo
Zeeshan Ali (Khattak) [Mon, 7 Sep 2009 13:01:02 +0000 (16:01 +0300)]
core,tracker: Derive Thumbnail from IconInfo

14 years agocore: Very minor refactoring
Zeeshan Ali (Khattak) [Sat, 5 Sep 2009 23:51:31 +0000 (02:51 +0300)]
core: Very minor refactoring

14 years agocore: Allow plugins to provide thumbnails
Zeeshan Ali (Khattak) [Sat, 5 Sep 2009 23:44:11 +0000 (02:44 +0300)]
core: Allow plugins to provide thumbnails

Plugins can now provide thumnails using a new easy-to-use API.

14 years agogstlaunch: use the default rygel configuration file
Thijs Vermeir [Wed, 19 Aug 2009 00:04:18 +0000 (02:04 +0200)]
gstlaunch: use the default rygel configuration file

14 years agogstlaunch: add new plugin that shares gstreamer launch lines
Thijs Vermeir [Sun, 16 Aug 2009 19:01:27 +0000 (21:01 +0200)]
gstlaunch: add new plugin that shares gstreamer launch lines

This plugin is reading from a configuration KeyFile and creates a item
for every group in this file.

14 years agotest: create the pipeline in a more simple way
Thijs Vermeir [Tue, 18 Aug 2009 03:04:30 +0000 (05:04 +0200)]
test: create the pipeline in a more simple way

14 years agodata,ui: Glade-3 mood swings
Zeeshan Ali (Khattak) [Thu, 3 Sep 2009 14:51:40 +0000 (17:51 +0300)]
data,ui: Glade-3 mood swings

14 years agocore,ui,data: Replace 'ip' config with 'interface'
Zeeshan Ali (Khattak) [Thu, 3 Sep 2009 14:49:52 +0000 (17:49 +0300)]
core,ui,data: Replace 'ip' config with 'interface'

Replace 'host-ip' configuration key with 'interface'. Also provide an
ease-to-use UI component to set this key in the user config.