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.
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 19:18:22 +0000 (22:18 +0300)]
core,data: Version D-Bus interface, path and service
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 19:09:15 +0000 (22:09 +0300)]
core: Correctly handle unset port in configs
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 13:32:37 +0000 (16:32 +0300)]
core: Only advertise internal URIs on lo
Only advertise internal URIs on loopback interface.
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 13:32:06 +0000 (16:32 +0300)]
core: HTTPServer.context is now public property
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 12:29:53 +0000 (15:29 +0300)]
core: Early protocol detection
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 11:04:01 +0000 (14:04 +0300)]
core: Hide internal API
Zeeshan Ali (Khattak) [Wed, 2 Sep 2009 10:16:47 +0000 (13:16 +0300)]
core: Error on wrong "getcontentFeatures.dlna.org"
Return error code 400 if getcontentFeatures.dlna.org is other than "1".
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 22:28:49 +0000 (01:28 +0300)]
core,plugins: Remove redundant statement
Remove redundant 'using Rygel;' statement from all vala files.
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 22:14:07 +0000 (01:14 +0300)]
core: Add disclaimer for some ugly-looking code
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 22:06:45 +0000 (01:06 +0300)]
core: Merge two methods of HTTPRequestHandler
Merge add_content_features_headers and add_response_headers of
HTTPRequestHandler class.
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 21:56:40 +0000 (00:56 +0300)]
core: Turn HTTPRequestHandler into abstract class
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 21:38:45 +0000 (00:38 +0300)]
core: Provide contentFeatures.dlna.org header
Provide the "contentFeatures.dlna.org" header in HTTP responses.
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 19:56:51 +0000 (22:56 +0300)]
core: MediaItem.get_protocol_info is now private
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 19:55:12 +0000 (22:55 +0300)]
core: Param uri of MediaItem.add_resource is now nullable
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 19:53:19 +0000 (22:53 +0300)]
core: HTTPRequest.http_server is now public prop
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 13:52:09 +0000 (16:52 +0300)]
core: Move seek errors to HTTPSeekError
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 13:41:53 +0000 (16:41 +0300)]
core: Rename Seek to HTTPSeek
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 13:19:37 +0000 (16:19 +0300)]
core: Random asthetic fixes
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 13:12:56 +0000 (16:12 +0300)]
core: IdentityRequestHandler -> HTTPIdentityHandler
Rename IdentityRequestHandler to HTTPIdentityHandler.
Zeeshan Ali (Khattak) [Tue, 1 Sep 2009 13:04:51 +0000 (16:04 +0300)]
core: Add HTTPTranscodeHandler
Move HTTPRequestHandler implementation from Transcoder to a new class,
HTTPTranscodeHandler. This is to keep the HTTP protocol implementation
as separate as possible so that later we can easily add more protocol
handlers (e.g RTSP).
Zeeshan Ali (Khattak) [Wed, 26 Aug 2009 20:16:43 +0000 (23:16 +0300)]
core: Add MediaItem.get_protocol_info()
Zeeshan Ali (Khattak) [Wed, 26 Aug 2009 20:10:56 +0000 (23:10 +0300)]
core: Minor refactoring of MediaItem class
Zeeshan Ali (Khattak) [Wed, 26 Aug 2009 20:01:07 +0000 (23:01 +0300)]
core: Minor non-functional fixes
Minor fixes related mostly to coding-style
James Henstridge [Mon, 3 Aug 2009 13:06:51 +0000 (21:06 +0800)]
core: Refactor: request handling into separate interface
Factor out the request handling code into an HTTPRequestHandler interface.
The interface is implemented by Rygel.Transcoder and an "identity request
handler" used to serve items as is.
James Henstridge [Mon, 3 Aug 2009 10:16:31 +0000 (18:16 +0800)]
core: Push creation of gst source to MediaItem
Previously MediaItem.create_stream_source was only called for items that
did not provide any URIs. If a URI was available, then HTTPRequest
would create an element directly from it. Now HTTPRequest always calls
create_stream_source and the default implementation knows how to create
an element from a URI.
Zeeshan Ali (Khattak) [Tue, 25 Aug 2009 15:14:54 +0000 (18:14 +0300)]
core: List the resources according to compatiblity
Transcoding formats that are further from the format of the item in
question, should be listed at the end and viceversa. Not making sense?
Read the code, Luke!
Zeeshan Ali (Khattak) [Tue, 25 Aug 2009 15:13:43 +0000 (18:13 +0300)]
core: Better distance calculation for transcoders
Zeeshan Ali (Khattak) [Tue, 25 Aug 2009 15:11:52 +0000 (18:11 +0300)]
core: A small indentation fix
Zeeshan Ali (Khattak) [Mon, 6 Jul 2009 15:07:59 +0000 (18:07 +0300)]
core: Add Transcoder.get_distance()
Add a method to Transcoder classes that returns a the numeric value that
gives an estimate of how hard would it be to trancode @item to target
profile of this transcoder.
Zeeshan Ali (Khattak) [Sun, 5 Jul 2009 15:15:02 +0000 (18:15 +0300)]
core: Use the correct pixel-aspect-ratio
Use the correct pixel-aspect-ratio for transcoded videos.
Zeeshan Ali (Khattak) [Sun, 5 Jul 2009 14:56:21 +0000 (17:56 +0300)]
core: Add pixel-aspect-ratio props to MediaItem
Zeeshan Ali (Khattak) [Sun, 5 Jul 2009 13:25:54 +0000 (16:25 +0300)]
core: Pass the items all the way to TranscoderBins