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.
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 23:09:29 +0000 (02:09 +0300)]
tracker: Remove now redundant classes
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 23:04:00 +0000 (02:04 +0300)]
tracker: SearchContainer is not abstract anymore
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 22:55:56 +0000 (01:55 +0300)]
tracker: MediaItem provides metadata keys
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 15:07:05 +0000 (18:07 +0300)]
tracker: Add SearchContainer.query_condition
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.
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 13:21:39 +0000 (16:21 +0300)]
tracker: Minor refactoring
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.
Zeeshan Ali (Khattak) [Fri, 18 Sep 2009 12:00:09 +0000 (15:00 +0300)]
tracker: Items should know their service
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:51:53 +0000 (18:51 +0300)]
tracker: TrackerCategory -> TrackerSearchContainer
Rename TrackerCategory to TrackerSearchContainer.
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 15:37:02 +0000 (18:37 +0300)]
tracker: Rename TrackerCategory.category to service
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.
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.
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 14:34:06 +0000 (17:34 +0300)]
tracker: Better titles for top-level folders
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.
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 14:01:08 +0000 (17:01 +0300)]
core: Move MediaObjectSearch into separate module
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 13:53:06 +0000 (16:53 +0300)]
core: Rename ObjectSearch to MediaObjectSearch
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 13:48:57 +0000 (16:48 +0300)]
core: Micro indentation fix
Zeeshan Ali (Khattak) [Thu, 17 Sep 2009 13:48:20 +0000 (16:48 +0300)]
core: More generic ObjectSearch class
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.
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 23:45:23 +0000 (02:45 +0300)]
core: Micro indentation fix
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 23:42:52 +0000 (02:42 +0300)]
tracker: Derive TrackerRootContainer from SimpleContainer
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.
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 17:23:18 +0000 (20:23 +0300)]
core: A simple MediaContainer implementation
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.
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.
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 11:47:25 +0000 (14:47 +0300)]
build: Bump-up libgee requirement to 0.3.0
Zeeshan Ali (Khattak) [Wed, 16 Sep 2009 11:45:46 +0000 (14:45 +0300)]
build: Bump-up vala requirement to 0.7.6
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 14:50:37 +0000 (17:50 +0300)]
media-export: Remove redundant try/catch
Jens Georg [Sat, 12 Sep 2009 11:50:36 +0000 (13:50 +0200)]
media-export: cleanup
Jens Georg [Sat, 12 Sep 2009 11:42:35 +0000 (13:42 +0200)]
media-export: Fix warnings
Jens Georg [Fri, 11 Sep 2009 23:26:19 +0000 (01:26 +0200)]
media-export: rename harvest to harvester
Jens Georg [Fri, 11 Sep 2009 23:20:08 +0000 (01:20 +0200)]
media-export: add assertion instead of comment
Jens Georg [Fri, 11 Sep 2009 23:08:06 +0000 (01:08 +0200)]
media-export: Fix critical warnings
Jens Georg [Fri, 11 Sep 2009 21:37:06 +0000 (23:37 +0200)]
media-export: bitrate is byte/s
Jens Georg [Fri, 11 Sep 2009 23:32:20 +0000 (01:32 +0200)]
core: use fixed string for cache dir
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 12:05:37 +0000 (15:05 +0300)]
core: MediaDB.save_item/container are now public
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 12:04:16 +0000 (15:04 +0300)]
core: Add signals for container operations
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 12:02:43 +0000 (15:02 +0300)]
core: Declare signals on the top in one place
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 11:59:16 +0000 (14:59 +0300)]
core: Set db to null on failure
Zeeshan Ali (Khattak) [Tue, 15 Sep 2009 11:58:03 +0000 (14:58 +0300)]
core: Minor coding-style fix
Jens Georg [Fri, 11 Sep 2009 18:54:42 +0000 (20:54 +0200)]
core: use MediaDBError more consistently
Jens Georg [Fri, 11 Sep 2009 18:48:30 +0000 (20:48 +0200)]
core: s/object_id/child_id/ for "get_child_*"
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"
Jens Georg [Fri, 11 Sep 2009 11:28:48 +0000 (13:28 +0200)]
core: handle database error gracefully
Zeeshan Ali (Khattak) [Mon, 14 Sep 2009 20:57:32 +0000 (23:57 +0300)]
external: Fix some typos
Zeeshan Ali (Khattak) [Mon, 14 Sep 2009 15:34:29 +0000 (18:34 +0300)]
external: Fetch items on demand
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.
Zeeshan Ali (Khattak) [Sun, 13 Sep 2009 18:00:11 +0000 (21:00 +0300)]
tracker: Only set size of image item, once
Jens Georg [Fri, 11 Sep 2009 11:28:48 +0000 (13:28 +0200)]
core: handle database error gracefully
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
Zeeshan Ali (Khattak) [Fri, 11 Sep 2009 17:02:11 +0000 (20:02 +0300)]
mediathek: Remove trailing whitespace
Jens Georg [Thu, 2 Jul 2009 21:16:54 +0000 (23:16 +0200)]
media-export: Add simple dbus service
Jens Georg [Wed, 24 Jun 2009 14:09:08 +0000 (16:09 +0200)]
mediathek: fix crash if not config is available
Jens Georg [Sun, 16 Aug 2009 13:00:03 +0000 (15:00 +0200)]
core: Add database upgrade code
Jens Georg [Fri, 14 Aug 2009 19:35:17 +0000 (21:35 +0200)]
media-export: Catch additional database errors
Jens Georg [Fri, 14 Aug 2009 19:29:32 +0000 (21:29 +0200)]
core: Handle more database error cases
Jens Georg [Fri, 14 Aug 2009 18:58:29 +0000 (20:58 +0200)]
media-export: Use null container for Harvesting
Jens Georg [Wed, 12 Aug 2009 11:19:10 +0000 (13:19 +0200)]
media-export: Update documentation
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.
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)
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
Jens Georg [Wed, 8 Jul 2009 10:25:30 +0000 (12:25 +0200)]
core: fix #588034
Jens Georg [Sun, 5 Jul 2009 14:06:19 +0000 (16:06 +0200)]
core: don't delete root container when in db
Jens Georg [Sun, 5 Jul 2009 12:42:02 +0000 (14:42 +0200)]
media-export: remove harvester if done harvesting
Jens Georg [Sun, 5 Jul 2009 12:36:21 +0000 (14:36 +0200)]
media-export: do file type query async
Jens Georg [Sun, 5 Jul 2009 12:22:06 +0000 (14:22 +0200)]
media-export: update changed files, not re-add
Jens Georg [Sun, 5 Jul 2009 11:39:55 +0000 (13:39 +0200)]
media-export: Notify parent container on removal
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
Jens Georg [Sun, 5 Jul 2009 11:13:26 +0000 (13:13 +0200)]
core: Add check if no parent exists
Jens Georg [Mon, 29 Jun 2009 20:26:09 +0000 (22:26 +0200)]
media-export: delete gone directories on new start
Jens Georg [Sun, 28 Jun 2009 19:02:41 +0000 (21:02 +0200)]
core: Add function to get list of child ids
Jens Georg [Sun, 28 Jun 2009 19:01:58 +0000 (21:01 +0200)]
core: Add timestamp to exists function
Jens Georg [Sun, 28 Jun 2009 01:46:43 +0000 (03:46 +0200)]
media-export: Add mtime of object into database
Jens Georg [Sun, 28 Jun 2009 01:46:17 +0000 (03:46 +0200)]
core: add timestamp to MediaObject
Jens Georg [Sun, 28 Jun 2009 01:21:48 +0000 (03:21 +0200)]
core: add update methods
Jens Georg [Sun, 28 Jun 2009 01:00:57 +0000 (03:00 +0200)]
core: change table key relationships
Jens Georg [Sun, 28 Jun 2009 00:09:09 +0000 (02:09 +0200)]
media-export: react on deletion of files
Jens Georg [Sun, 28 Jun 2009 00:06:35 +0000 (02:06 +0200)]
core: add deletion of items to media-db
Jens Georg [Sat, 27 Jun 2009 23:22:00 +0000 (01:22 +0200)]
media-export: Add uri to container objects
Jens Georg [Sat, 27 Jun 2009 01:24:13 +0000 (03:24 +0200)]
media-export: harvest newly added files
Jens Georg [Sat, 27 Jun 2009 01:04:01 +0000 (03:04 +0200)]
media-export: hook up file monitor
Jens Georg [Sat, 27 Jun 2009 00:47:52 +0000 (02:47 +0200)]
media-export: Add recursive file monitor
Jens Georg [Fri, 26 Jun 2009 22:23:13 +0000 (00:23 +0200)]
core: add some documentation
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
Jens Georg [Fri, 26 Jun 2009 22:04:34 +0000 (00:04 +0200)]
core: refine sorting of elements
Zeeshan Ali (Khattak) [Wed, 9 Sep 2009 13:24:31 +0000 (16:24 +0300)]
core: Expect 'jpeg' extension for thumbnail files
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.
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.
Zeeshan Ali (Khattak) [Tue, 8 Sep 2009 13:47:18 +0000 (16:47 +0300)]
core: Thumbnailer should be singleton
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.
Zeeshan Ali (Khattak) [Mon, 7 Sep 2009 13:01:02 +0000 (16:01 +0300)]
core,tracker: Derive Thumbnail from IconInfo
Zeeshan Ali (Khattak) [Sat, 5 Sep 2009 23:51:31 +0000 (02:51 +0300)]
core: Very minor refactoring
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.
Thijs Vermeir [Wed, 19 Aug 2009 00:04:18 +0000 (02:04 +0200)]
gstlaunch: use the default rygel configuration file
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.
Thijs Vermeir [Tue, 18 Aug 2009 03:04:30 +0000 (05:04 +0200)]
test: create the pipeline in a more simple way
Zeeshan Ali (Khattak) [Thu, 3 Sep 2009 14:51:40 +0000 (17:51 +0300)]
data,ui: Glade-3 mood swings
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.
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 23:17:26 +0000 (02:17 +0300)]
core: Set DLNA transferMode header on responses
Warning: We only copy the value from the request and all we do to
entertain this header is to set the priority of IO operations.