Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 16:35:20 +0000 (19:35 +0300)]
core: Don't transcode to different item class
Don't offer transcoding from video to audio and viceversa. This makes
sense anyway, reduces network traffic and (last but not the least)
satisfies DLNA (7.3.25.1).
Jens Georg [Fri, 30 Jul 2010 16:35:13 +0000 (18:35 +0200)]
media-export: Minor coding style fix
Jens Georg [Sat, 24 Jul 2010 20:29:38 +0000 (23:29 +0300)]
media-export: Try to prevent crash when removing
When uri is removed while harvesting, it could lead to a crash. now
harvesting is cancelled before removing the uri.
Jens Georg [Sun, 25 Jul 2010 10:39:43 +0000 (13:39 +0300)]
media-export: Remove unused "using"
Jens Georg [Sun, 25 Jul 2010 11:52:04 +0000 (14:52 +0300)]
media-export: Remove WriteableContainer
Functionality has been moved to DBContainer
Jens Georg [Thu, 29 Jul 2010 22:13:11 +0000 (00:13 +0200)]
git: Update .gitignore
Jens Georg [Sat, 24 Jul 2010 20:19:03 +0000 (23:19 +0300)]
media-export: Extract embedded album art
Jens Georg [Sat, 24 Jul 2010 17:36:09 +0000 (20:36 +0300)]
media-export: Only query for non-empty meta-data
Previously a null check was in place in every function using this. Now
the database filters the null columns itself.
Jens Georg [Sat, 24 Jul 2010 17:04:33 +0000 (20:04 +0300)]
media-export: Remove unused arguments
Jens Georg [Sat, 24 Jul 2010 16:31:07 +0000 (19:31 +0300)]
media-export: Remove factory base class
Jens Georg [Sat, 24 Jul 2010 16:01:03 +0000 (19:01 +0300)]
external: Handle AlbumArt property
Jens Georg [Sat, 24 Jul 2010 15:20:10 +0000 (18:20 +0300)]
tracker,external: Handle genre
Jens Georg [Sat, 24 Jul 2010 13:23:36 +0000 (16:23 +0300)]
media-export: Support genre tag
Jens Georg [Sat, 24 Jul 2010 12:23:47 +0000 (15:23 +0300)]
core: Add genre to MediaItem and DIDL
Jens Georg [Wed, 4 Aug 2010 16:45:38 +0000 (19:45 +0300)]
media-export: Handle null SearchExpression
Let the database to the dirty work
Jens Georg [Wed, 4 Aug 2010 16:23:13 +0000 (19:23 +0300)]
media-export: Correctly use null SearchExpression
QueryContainers are based on searches so if a null search expression is
passed the container's own search expression which is constructed from
the folder description needs to be used.
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 14:17:57 +0000 (17:17 +0300)]
core: Refactor default icon addition code
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 14:03:55 +0000 (17:03 +0300)]
core,data: Provide icons in JPEG format as well
Provide icons confirming to JPEG_SM_ICO and JPEG_LRG_ICO DLNA profiles.
This change together with commit ea506c4 enables rygel to pass DLNA CTT
testcase 7.2.28.1,2,3 with a warning.
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 13:43:33 +0000 (16:43 +0300)]
core,data: Provide icons in DLNA standard sizes
Provide icons confirming to PNG_SM_ICO and PNG_LRG_ICO DLNA profiles to
satisfy DLNA requirement 7.2.28. We still distribute the 32x32 sized icons
but we do not expose them to UPnP clients.
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 13:26:55 +0000 (16:26 +0300)]
core,plugins: Don't hardcode icon file extension
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:53:07 +0000 (18:53 +0300)]
data: Distribute correct copy of scallable icons
For some reason we have been distributing some messed-up copy of the
scallable version of our icons.
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:07:09 +0000 (18:07 +0300)]
core,plugins: Correctly handle wildcard in search
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:04:44 +0000 (18:04 +0300)]
core: Add an accidently missing return
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:03:59 +0000 (18:03 +0300)]
core: Micro coding-style fix
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:00:34 +0000 (18:00 +0300)]
core: Put CreateObject arguments in correct order
DLNA (7.2.14.2,3) requires that arguments in action responses be list in
the exact same order as they are listed in the service description.
Kjartan Maraas [Wed, 4 Aug 2010 13:03:32 +0000 (15:03 +0200)]
Updated Norwegian bokmål translation
Andrej Žnidaršič [Wed, 4 Aug 2010 12:30:00 +0000 (14:30 +0200)]
Updated Slovenian translation
Zeeshan Ali (Khattak) [Tue, 3 Aug 2010 13:40:58 +0000 (16:40 +0300)]
core: Internalize many core classes
This hides many classes from plugins that were previously exposed to them.
Most of these are service/device implementations which the plugins do not
need to access to anymore because of recent changes.
Zeeshan Ali (Khattak) [Tue, 3 Aug 2010 13:22:34 +0000 (16:22 +0300)]
tracker: Remove bogus doc comment
Zeeshan Ali (Khattak) [Tue, 3 Aug 2010 13:13:28 +0000 (16:13 +0300)]
core,plugins: Don't pass ContentDir to plugins
Instead of ContentDirectory, pass the associated GUPnP.Context to
MediaServer plugins when requesting their root containers.
Fran Diéguez [Tue, 3 Aug 2010 10:44:35 +0000 (12:44 +0200)]
Updated Galician translations
Yaron Shahrabani [Tue, 3 Aug 2010 07:33:08 +0000 (10:33 +0300)]
Updated Hebrew translation.
Jorge González [Tue, 3 Aug 2010 05:15:49 +0000 (07:15 +0200)]
Updated Spanish translation
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 21:59:14 +0000 (00:59 +0300)]
Release annoucement for 0.7.3
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 20:20:39 +0000 (23:20 +0300)]
media-export: Process 256 children at a time
This should improve performance of harvesting of large directories.
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 16:58:45 +0000 (19:58 +0300)]
core: Better error handling in HTTPRequest & subclasses
Simpler and more robust error handling in HTTPRequest & its subclasses.
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 16:54:38 +0000 (19:54 +0300)]
core: Use name of the plugin rather than ContentDir
We now have only one ContentDirectory implementation so its name is not
unique amongst the plugins so better use the name of the plugin itself.
Zeeshan Ali (Khattak) [Thu, 29 Jul 2010 14:49:44 +0000 (17:49 +0300)]
core: Update value of 'SortCapabilities' state variable
Zeeshan Ali (Khattak) [Thu, 29 Jul 2010 13:59:47 +0000 (16:59 +0300)]
build: Require libgee >= 0.5.2
Zeeshan Ali (Khattak) [Thu, 29 Jul 2010 09:30:42 +0000 (12:30 +0300)]
core,plugins: Custom ArrayList for MediaObjects
This class not only unifies handling of lists of media objects but also
handles the UPnP-specific sorting of them.
Zeeshan Ali (Khattak) [Mon, 26 Jul 2010 18:49:11 +0000 (21:49 +0300)]
core: Support sorting by essential item properties
Zeeshan Ali (Khattak) [Mon, 26 Jul 2010 18:33:01 +0000 (21:33 +0300)]
core: Correctly compare strings
We need to be using string.collatate() rather than GLib.strcmp as the
former does a locale-sensitive comparison of UTF-8 strings.
Zeeshan Ali (Khattak) [Fri, 23 Jul 2010 16:58:10 +0000 (19:58 +0300)]
core: Add support for sorted Browse/Search
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 15:08:10 +0000 (18:08 +0300)]
core: Micro indentation fix
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 15:03:56 +0000 (18:03 +0300)]
core: Fix Seek.length confusion
Since we didn't care to specify whether Seek.length is length of the seek or
total length of the associated resource, we intpreted it in both ways at
different places. Now there is a separate property for both length and
total length.
This also fixes the broken seeking.
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 14:33:38 +0000 (17:33 +0300)]
i18n: Add a C file to ignored list
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 14:25:47 +0000 (17:25 +0300)]
build: Bump gupnp-av dependency to 0.5.8
After commit
625f9982, rygel will crash against gupnp-av < 0.5.8.
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 14:24:24 +0000 (17:24 +0300)]
core: Port to new DIDL-Lite contributor APIs
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 12:14:24 +0000 (15:14 +0300)]
data: Don't claim support for unsupported API
Don't claim support for unsupported optional actions and state variables.
Andrej Žnidaršič [Mon, 2 Aug 2010 12:30:23 +0000 (14:30 +0200)]
Updated Slovenian translation
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 11:58:50 +0000 (14:58 +0300)]
core: Add forgotten RenderingControl file
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 11:57:30 +0000 (14:57 +0300)]
core,gst-renderer,i18n: GstRenderer -> Playbin
Rename GstRenderer plugin to Playbin.
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 09:01:08 +0000 (12:01 +0300)]
gst-renderer: Handle error from playbin
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 08:38:32 +0000 (11:38 +0300)]
core,gst-renderer: Rename Player to MediaPlayer
Zeeshan Ali (Khattak) [Sun, 1 Aug 2010 16:57:08 +0000 (19:57 +0300)]
i18n: Update lists of translated & ignored files
Zeeshan Ali (Khattak) [Sun, 1 Aug 2010 02:22:54 +0000 (05:22 +0300)]
core,gst-renderer: Add SinkConnectionManager to core
This now makes it possible for MediaRenderer plugins to not have to provide
ConnectionManager implementation. Instead Player implementation in plugins
needs to provide list of supported protocols and mime_types.
Zeeshan Ali (Khattak) [Sun, 1 Aug 2010 01:47:24 +0000 (04:47 +0300)]
core,gst-renderer: Simplify MediaRenderer implementations
We no longer require plugins to provide AVTransport and RenderingControl
services but instead they need to always subclass Plugin class and
implement it's 'get_player' method.
Zeeshan Ali (Khattak) [Sun, 1 Aug 2010 01:26:14 +0000 (04:26 +0300)]
core,plugin: Simplify MediaServer implementation
We no longer require plugins to provide a ContentDirectory service but
instead they need to always subclass Plugin class and implement it's
'get_root_container' method.
Zeeshan Ali (Khattak) [Sun, 1 Aug 2010 00:02:07 +0000 (03:02 +0300)]
core,plugins: Separate classes for different plugin types
Provide separate classes for MediaServer and MediaRenderer plugins rather
than special constructors.
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 23:28:55 +0000 (02:28 +0300)]
core,gst-plugins: Special MediaRenderer plugin constructor
Convenient constructor for MediaRenderer plugins.
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 22:50:23 +0000 (01:50 +0300)]
core,gst-renderer: Core provides base RenderingControl
Core should provide base abstract class for RenderingControl
implementations.
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 22:49:33 +0000 (01:49 +0300)]
core,gst-plugins: Move Volume class to core
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 12:54:41 +0000 (15:54 +0300)]
gst-renderer: Remove redundant initializations
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 12:44:45 +0000 (15:44 +0300)]
gst-renderer: Advertize support for RTSP
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 12:44:15 +0000 (15:44 +0300)]
gst-renderer: Refactor ConnectionManager
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 11:34:58 +0000 (14:34 +0300)]
gst-renderer: Remove commented-out code
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 10:15:49 +0000 (13:15 +0300)]
core,gst-renderer: Core provides base AVTransport
Core should provide base abstract class for AVTranport implementations.
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 10:07:19 +0000 (13:07 +0300)]
core,gst-renderer: Introducing Player interface
Zeeshan Ali (Khattak) [Sat, 31 Jul 2010 10:05:55 +0000 (13:05 +0300)]
core,gst-renderer: Move ChangeLog to core
Zeeshan Ali (Khattak) [Fri, 30 Jul 2010 10:12:07 +0000 (13:12 +0300)]
core: Add missing C header info in VAPI
Frédéric Péters [Thu, 29 Jul 2010 09:38:35 +0000 (12:38 +0300)]
build: Use gtk+ 2 if available
Zeeshan Ali (Khattak) [Tue, 27 Jul 2010 16:05:20 +0000 (19:05 +0300)]
core: Don't push data after HTTP response is cancelled
Daniel Nylander [Mon, 26 Jul 2010 22:24:11 +0000 (00:24 +0200)]
Updated Swedish translation
Zeeshan Ali (Khattak) [Mon, 26 Jul 2010 12:21:19 +0000 (15:21 +0300)]
ui: Update icon path variable name
Zeeshan Ali (Khattak) [Sat, 24 Jul 2010 16:41:40 +0000 (19:41 +0300)]
build,core: Build dictates paths of icons dirs
Build system dictates complete path of icons directories. This fixes rygel
icon export over UPnP for uninstalled case.
Jens Georg [Sat, 24 Jul 2010 12:16:57 +0000 (15:16 +0300)]
media-export: Fix empty title on PS3
Jens Georg [Fri, 23 Jul 2010 21:41:16 +0000 (00:41 +0300)]
media-export: Fix url-escaped folder names on PS3
Jens Georg [Fri, 23 Jul 2010 20:25:49 +0000 (23:25 +0300)]
media-export: Remove Dynamic container
Jens Georg [Fri, 23 Jul 2010 20:45:37 +0000 (23:45 +0300)]
media-export: Convenience function for object ids
Jens Georg [Fri, 23 Jul 2010 20:17:03 +0000 (23:17 +0300)]
media-export: Yet another database version
* Add a genre field to metadata
* Add a flag filed to object. Will be used to mark URIS as
DBus-originated
Jens Georg [Fri, 23 Jul 2010 19:50:35 +0000 (22:50 +0300)]
media-export: Gst.ClockTime is an uint64
Seems vala does a comparision like 'duration > (uint64) -1' which of
course will always fail.
Jens Georg [Fri, 23 Jul 2010 19:44:12 +0000 (22:44 +0300)]
media-export: Fix bitrate setting for media items
- Set bitrate for audio items.
- Bitrate is always for audio, even in video files.
Jens Georg [Fri, 23 Jul 2010 19:28:55 +0000 (22:28 +0300)]
media-export: Coding-style fix
Jens Georg [Fri, 23 Jul 2010 06:54:53 +0000 (09:54 +0300)]
media-export: Don't share anything by default
Jens Georg [Thu, 22 Jul 2010 17:21:27 +0000 (20:21 +0300)]
media-export: Fix simple sharing mode
Jens Georg [Thu, 22 Jul 2010 12:09:44 +0000 (15:09 +0300)]
media-export: Add windows formates to filter
Zeeshan Ali (Khattak) [Fri, 23 Jul 2010 17:01:08 +0000 (20:01 +0300)]
media-export: Correct condition for (us)setting duration
Thanks to Arun Raghavan for pointing this out.
Zeeshan Ali (Khattak) [Fri, 23 Jul 2010 16:53:32 +0000 (19:53 +0300)]
core: Clean-up MediaQueryAction and its subclasses
Cleaner way to handle error messages and ObjectID argument name in
MediaQueryAction and its implementations.
Zeeshan Ali (Khattak) [Fri, 23 Jul 2010 15:30:40 +0000 (18:30 +0300)]
core: Revive lost XBox hacks
These hacks were accidently lost in
67809c22.
Zeeshan Ali (Khattak) [Thu, 22 Jul 2010 16:05:53 +0000 (19:05 +0300)]
build: Minor indentation fix
Zeeshan Ali (Khattak) [Wed, 21 Jul 2010 14:22:29 +0000 (17:22 +0300)]
core: Refactor Search and Browse
Move common code/logic between Search and Browse into a separate base
class: MediaQueryAction.
Jens Georg [Wed, 21 Jul 2010 19:33:21 +0000 (22:33 +0300)]
media-export: Remove obsolete construction method
Jens Georg [Wed, 21 Jul 2010 19:30:09 +0000 (22:30 +0300)]
media-export: Re-add simple harvesting mode
The simple mode got lost somehow in the transition to
gupnp-dlna-discoverer. This is configurable with the config entry
extract-metadata and defaults to "true".
Zeeshan Ali (Khattak) [Wed, 21 Jul 2010 18:51:24 +0000 (21:51 +0300)]
media-export: Some coding-style fixes
Zeeshan Ali (Khattak) [Wed, 21 Jul 2010 18:45:32 +0000 (21:45 +0300)]
media-export: Better checks for nullability
- Only allow nullables to be declared as such.
- Entertain videos without any audio part.
Zeeshan Ali (Khattak) [Wed, 21 Jul 2010 18:27:58 +0000 (21:27 +0300)]
media-export: MediaExportItem -> Item
Since this class is in MediaExport namespace now, there is no need for
this prefix anymore.
Zeeshan Ali (Khattak) [Wed, 21 Jul 2010 18:18:51 +0000 (21:18 +0300)]
media-export: Simplify metadata extraction code
We don't need to transform the metadata into Gst.TagList to be able to
make use of it so this should not only simplify the code but also optimize
the extraction process.
Based on a patch from Arun Raghavan <arun.raghavan@collabora.co.uk>.
Arun Raghavan [Wed, 21 Jul 2010 13:45:58 +0000 (14:45 +0100)]
media-export: Set dlna_profile on MediaExportItem
Now that we have a DLNA profile/mime guessed by GUPnPDLNADiscoverer, we
can start using these if available (the fallback is to use the mime type
detected by glib).
Arun Raghavan [Wed, 21 Jul 2010 13:16:42 +0000 (14:16 +0100)]
media-export: Fix strings
Since we're past the string-freeze, make sure we're using a previous
translated string, or if that's not possible, don't mark the string for
translation.
Jens Georg [Tue, 20 Jul 2010 18:44:54 +0000 (21:44 +0300)]
media-export: Store dlna-profile in cache
Note: Will force full reindex of database