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
Zeeshan Ali (Khattak) [Sun, 5 Jul 2009 13:06:49 +0000 (16:06 +0300)]
core: Pass MediaItem to Transcoder.create_source()
Zeeshan Ali (Khattak) [Sun, 5 Jul 2009 10:11:44 +0000 (13:11 +0300)]
core: Set bitrate on MP2TS transcoding res
Zeeshan Ali (Khattak) [Tue, 25 Aug 2009 11:30:11 +0000 (14:30 +0300)]
core: Don't create iconList element if it exists
Zeeshan Ali (Khattak) [Mon, 24 Aug 2009 22:37:37 +0000 (01:37 +0300)]
core: Require latest gupnp-av (0.5)
Zeeshan Ali (Khattak) [Mon, 24 Aug 2009 13:20:58 +0000 (16:20 +0300)]
core: Adapt to new gupnp and gupnp-av APIs
Zeeshan Ali (Khattak) [Thu, 30 Jul 2009 14:37:32 +0000 (17:37 +0300)]
core: Copy the factory list before creating devices
We iterate over the copy of the list rather than list itself because
there is high chances of the original list being modified during the
iteration, which is not allowed by libgee.
Zeeshan Ali (Khattak) [Thu, 30 Jul 2009 00:53:50 +0000 (03:53 +0300)]
core: Add factory before creating devices from it
Zeeshan Ali (Khattak) [Thu, 30 Jul 2009 00:27:54 +0000 (03:27 +0300)]
core: Copy the plugin list before creating devices
Copy the plugin list before creting devices for each plugin. Otherwise the
mainloop gets run during the device creation and that mostly results in the
modification of the Hashmap holding the plugin list.
Zeeshan Ali (Khattak) [Thu, 30 Jul 2009 00:26:15 +0000 (03:26 +0300)]
core: Use destroyer instead of keeping a weak_ref
Keep a pointer to description document and delete it on destruction of
the associated RootDevice instead of using weak_ref.
Zeeshan Ali (Khattak) [Wed, 29 Jul 2009 22:09:02 +0000 (01:09 +0300)]
core: Require next gupnp-vala release
Zeeshan Ali (Khattak) [Wed, 29 Jul 2009 21:58:11 +0000 (00:58 +0300)]
core: Use the new GSSDP/GUPnP APIs
Zeeshan Ali (Khattak) [Tue, 28 Jul 2009 22:05:59 +0000 (01:05 +0300)]
core: TranscodeManager shouldn't know about protocol
TranscodeManager doesn't need to know about transport protocol being
used by it's implementation class(es).
Zeeshan Ali (Khattak) [Tue, 28 Jul 2009 21:51:12 +0000 (00:51 +0300)]
core: ProtocolInfo provided by TranscodeManager
ProtocolInfo is now completely provided by TranscodeManager and it's
deriving classes.
Zeeshan Ali (Khattak) [Tue, 28 Jul 2009 21:26:24 +0000 (00:26 +0300)]
core: Indentation/coding style fixes for last commit
James Henstridge [Tue, 28 Jul 2009 11:02:39 +0000 (19:02 +0800)]
core: Expose transcode formats in the ProtocolInfo
Some media players (e.g. certain Sony Bravia models) won't talk to media
servers that don't advertise a DLNA profile they understand, so this is
necessary to talk to such devices.
James Henstridge [Tue, 28 Jul 2009 12:34:51 +0000 (15:34 +0300)]
core: bitrate should be in bytes/second
Set the bitrate for transcoded resources in bytes/second.
James Henstridge [Tue, 28 Jul 2009 04:44:04 +0000 (12:44 +0800)]
core: Add new ignore rules
James Henstridge [Tue, 28 Jul 2009 04:44:34 +0000 (12:44 +0800)]
core: Fix a typo.
Fix a typo that prevented dc:creator from being included in DIDL output.
Jens Georg [Sat, 25 Jul 2009 20:48:04 +0000 (22:48 +0200)]
build: add GEN prefix for rygel.conf
Zeeshan Ali (Khattak) [Sat, 25 Jul 2009 23:46:34 +0000 (02:46 +0300)]
Shave the output
Use new automake feature/macro to shave the build output by default.
Zeeshan Ali (Khattak) [Sat, 25 Jul 2009 23:31:49 +0000 (02:31 +0300)]
build: Remove forgotten redundant rule
Zeeshan Ali (Khattak) [Sat, 25 Jul 2009 23:29:11 +0000 (02:29 +0300)]
build: Indentation fixes
Zeeshan Ali (Khattak) [Sat, 25 Jul 2009 22:41:51 +0000 (01:41 +0300)]
build: unify and hence simplify core build
No need to build vapi separately from rest of rygel
Jens Georg [Sat, 25 Jul 2009 16:16:15 +0000 (18:16 +0200)]
build: Use automake-1.11's vala support
Jens Georg [Sat, 25 Jul 2009 13:37:57 +0000 (15:37 +0200)]
build: Fix out-of-tree builds
Jens Georg [Sat, 25 Jul 2009 10:59:18 +0000 (12:59 +0200)]
build: Fix build with automake-1.11
Zeeshan Ali (Khattak) [Fri, 24 Jul 2009 22:28:45 +0000 (01:28 +0300)]
core: And still the removal of gconf usage
Zeeshan Ali (Khattak) [Fri, 24 Jul 2009 22:24:00 +0000 (01:24 +0300)]
core: Get rid of remainder of gconf usage
Zeeshan Ali (Khattak) [Fri, 24 Jul 2009 14:44:41 +0000 (17:44 +0300)]
Asynchronously wait for state change
Asynchronously wait for state change rather than making a synchronous call
to make sure state is changed before seeking.
James Henstridge [Mon, 20 Jul 2009 11:11:07 +0000 (19:11 +0800)]
Add support for time-based seeking in transcoded streams.
* Transcoded resources now set the DLNA operation to TIMESEEK.
* The Rygel.Seek class has been moved out into its own file, and now
includes code to represent time based ranges.
* The Rygel.Seek class includes routines for parsing both byte ranges
(from the standard Range HTTP header), and time ranges (from the
non-standard TimeSeekRange.dlna.org header).
* For transcoded streams, a TimeSeekRange.dlna.org response header is
generated if the request included one.
* LiveResponse seeks the pipeline to the appropriate starting point
before playback.
Zeeshan Ali (Khattak) [Tue, 14 Jul 2009 12:25:34 +0000 (15:25 +0300)]
core: No need to mark the device unavailable
No need to mark the device unavailable before destorying it.
Zeeshan Ali (Khattak) [Mon, 13 Jul 2009 16:19:35 +0000 (19:19 +0300)]
core: (Un)pause the SoupMessage at the right time
- Pause the msg in run() method.
- Unpause the msg on error or HEAD message.
Zeeshan Ali (Khattak) [Mon, 13 Jul 2009 15:35:48 +0000 (18:35 +0300)]
core: No need to keep path of config file around
Just keep the 'read_only' flag and write to user's config if this
flag is not set in save method.
Zeeshan Ali (Khattak) [Thu, 9 Jul 2009 09:40:41 +0000 (12:40 +0300)]
ui: Show paths instead of URIs whenever possible
Zeeshan Ali (Khattak) [Thu, 9 Jul 2009 09:28:27 +0000 (12:28 +0300)]
ui: Saner defaults for FileChooserDialog
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 15:13:27 +0000 (18:13 +0300)]
core: Move context.host_path call to RootDeviceFactory
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 14:57:08 +0000 (17:57 +0300)]
core: Make the device unavailable before removing
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 14:54:22 +0000 (17:54 +0300)]
core: Can't remove from ArrayList during iteration
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 14:14:49 +0000 (17:14 +0300)]
core: Useful debug messages on context (un)availability
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 13:16:32 +0000 (16:16 +0300)]
core: Bump-up gupnp-vala requirment to 0.5.5
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 12:29:39 +0000 (15:29 +0300)]
core: Minor indentation fix
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 12:15:02 +0000 (15:15 +0300)]
core: Multiple/dynamic network handling
Use the new GUPnP.ContextManager to create root devices for plugins as
new contexts become available and viceversa.
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 12:11:04 +0000 (15:11 +0300)]
core: RootDeviceFactory doesn't create context
The context is passed to it as constructor argument.
Zeeshan Ali (Khattak) [Wed, 8 Jul 2009 12:10:05 +0000 (15:10 +0300)]
core: RootDeviceFactory.context is now public
Zeeshan Ali (Khattak) [Tue, 7 Jul 2009 13:11:34 +0000 (16:11 +0300)]
Require gupnp 0.13
Zeeshan Ali (Khattak) [Sun, 5 Jul 2009 09:39:14 +0000 (12:39 +0300)]
external: Utilize optional MediaItem properties
Now we utilize all MediaItem properties except for:
* Genre
* Thumbnail
* AlbumArt
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 12:54:17 +0000 (15:54 +0300)]
core: Use the correct config file
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 12:47:02 +0000 (15:47 +0300)]
core: Remove gconf stuff from configure.ac
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 12:45:07 +0000 (15:45 +0300)]
core: Remove gconf schema files
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 08:12:05 +0000 (11:12 +0300)]
core: Templates for config file
Config file is now generated from one of the templates. This the
equivalent of gconf schemas.
Zeeshan Ali (Khattak) [Fri, 3 Jul 2009 22:30:16 +0000 (01:30 +0300)]
core: Install config file in system config dir
Zeeshan Ali (Khattak) [Fri, 3 Jul 2009 21:56:19 +0000 (00:56 +0300)]
core: Correct condition for system config loading
System config file should be used if configuration is read-only and not
the other way around.
Zeeshan Ali (Khattak) [Fri, 3 Jul 2009 21:50:19 +0000 (00:50 +0300)]
core: Minor indentation fix
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 21:20:47 +0000 (00:20 +0300)]
core,ui: Diff between read-only and writable config
read-only: Reads config from system-installed config file as well and
doesn't support saving of changes.
writable: Reads config only from user's config file and supports saving
of changes.
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 20:48:58 +0000 (23:48 +0300)]
ui: Don't use the default singleton
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 15:47:40 +0000 (18:47 +0300)]
core: Don't lose translations/comments in config
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 15:39:25 +0000 (18:39 +0300)]
ui: keep and save the configuration in the end
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 15:38:52 +0000 (18:38 +0300)]
core: Provide configuration saving API
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 14:43:51 +0000 (17:43 +0300)]
ui: Put failable calls in separate try/catch blocks
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 14:19:29 +0000 (17:19 +0300)]
ui: "port" key is now also optional
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 14:15:12 +0000 (17:15 +0300)]
ui: Explicitly link to dbus-glib
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 13:49:07 +0000 (16:49 +0300)]
core,plugins,ui: Move from GConf to .ini file usage
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 13:47:50 +0000 (16:47 +0300)]
core: Expose sysconfdir to vala world
Zeeshan Ali (Khattak) [Fri, 26 Jun 2009 11:16:15 +0000 (14:16 +0300)]
core: Bump-up vala requirement to 0.7.4
Jens Georg [Thu, 25 Jun 2009 12:33:17 +0000 (14:33 +0200)]
core,media-export: Rename DatabaseBackedMediaContainer
Jens Georg [Thu, 25 Jun 2009 12:25:32 +0000 (14:25 +0200)]
core: rename database strings
Jens Georg [Wed, 24 Jun 2009 23:03:56 +0000 (01:03 +0200)]
media-export: skip files/folders starting with '.'
Jens Georg [Wed, 24 Jun 2009 23:00:28 +0000 (01:00 +0200)]
media-export: notify about updates
notify about updated containers after harvesting
all files in this container
Jens Georg [Wed, 24 Jun 2009 22:52:40 +0000 (00:52 +0200)]
core: update child count if container is updated
Jens Georg [Wed, 24 Jun 2009 22:51:29 +0000 (00:51 +0200)]
media-export: cleanup root container descendency
Jens Georg [Wed, 24 Jun 2009 22:29:48 +0000 (00:29 +0200)]
media-export: get rid of third queue
Jens Georg [Wed, 24 Jun 2009 22:19:15 +0000 (00:19 +0200)]
core: add basic sorting
Jens Georg [Wed, 24 Jun 2009 22:12:19 +0000 (00:12 +0200)]
media-export: fix child count reporting
Jens Georg [Wed, 24 Jun 2009 21:27:23 +0000 (23:27 +0200)]
media-export: fix id calculation
Jens Georg [Wed, 24 Jun 2009 21:20:48 +0000 (23:20 +0200)]
media-export: remove debug output
Jens Georg [Wed, 24 Jun 2009 21:17:18 +0000 (23:17 +0200)]
media-export: remove unused classes
Jens Georg [Wed, 24 Jun 2009 21:13:20 +0000 (23:13 +0200)]
core: add existence check for object to db
Jens Georg [Wed, 24 Jun 2009 20:43:40 +0000 (22:43 +0200)]
media-export: Add media harvester class
Jens Georg [Wed, 24 Jun 2009 19:59:46 +0000 (21:59 +0200)]
core: Revert "core: Allow parentless Media item"
This reverts commit
f7bf5909f5b1e1413ad0472a3a7f2fbf9e31edb3.
Jens Georg [Wed, 24 Jun 2009 19:58:05 +0000 (21:58 +0200)]
core: get rid of parentless media item
Jens Georg [Mon, 22 Jun 2009 22:08:03 +0000 (00:08 +0200)]
core: Create directory of database if not already existing