Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 13:58:20 +0000 (16:58 +0300)]
buid: Require & adapt to Vala 0.9.5
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 13:52:43 +0000 (16:52 +0300)]
core: Remove redundant return statement
A call to GLib.error is fatal so any code after it will never be reached.
Jens Georg [Tue, 10 Aug 2010 09:29:11 +0000 (12:29 +0300)]
core: Create media-art cache directory
Don't fail if directory doesn't exist, just create it
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 11:49:39 +0000 (14:49 +0300)]
external: Add the missing cast of child_count param
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 22:13:38 +0000 (01:13 +0300)]
external: Fix a typo
Zeeshan Ali (Khattak) [Sun, 8 Aug 2010 23:10:24 +0000 (02:10 +0300)]
core: Let PS3 seek into unseekable
If PS3 wants to send a (totally unneeded) seek request for a resource that
is not seekable, let it!
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 01:50:53 +0000 (04:50 +0300)]
core: Ignore 'POST' request in server handler
With the current libsoup API, we are forced to handle the HTTP POST
messages before the server handler is called so by the time its called
the message must have already been handled and we don't need to do
anything about it anymore.
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 01:39:59 +0000 (04:39 +0300)]
core: Micro coding-style fix
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 01:32:04 +0000 (04:32 +0300)]
core: Refactor HTTRequest classes a bit
The async code was a bit clumsy and therefore unreadable.
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 01:19:47 +0000 (04:19 +0300)]
tracker: Print debug after item creation in store
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 00:38:00 +0000 (03:38 +0300)]
tracker: Micro coding-style fix
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 00:19:01 +0000 (03:19 +0300)]
core: Correct GetCurrentConnectionInfo params
Provide correct values for out parameters of GetCurrentConnectionInfo
action.
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 16:53:13 +0000 (19:53 +0300)]
core: List DLNA formats first
List DLNA formats first in the list of supported formats to satisfy DLNA
requirement 7.3.28.2.
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 16:26:32 +0000 (19:26 +0300)]
core: Correct DLNA profile for MPEG-TS HD
This allows us to pass DLNA CTT testcases 7.3.29.3 and 7.3.29.4.
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 16:18:58 +0000 (19:18 +0300)]
core: Throw error on seeking request for the unseekable
This is required by DLNA (7.3.33.4).
Lucian Adrian Grijincu [Sun, 8 Aug 2010 22:08:31 +0000 (01:08 +0300)]
Updated Romanian translation
Jens Georg [Sat, 7 Aug 2010 15:44:00 +0000 (18:44 +0300)]
media-export: Use file mtime as fallback
Jens Georg [Sat, 7 Aug 2010 09:40:25 +0000 (12:40 +0300)]
media-export: Fix degrading database performance
With items being changed often the performance of the database could
decrease over time
Jens Georg [Wed, 28 Jul 2010 16:29:24 +0000 (18:29 +0200)]
media-export: Make MediaCache single-instance
Jens Georg [Sun, 25 Jul 2010 11:35:00 +0000 (14:35 +0300)]
media-export: Remove duplicate code
Jens Georg [Sun, 25 Jul 2010 11:32:07 +0000 (14:32 +0300)]
media-export: Fix coding-style
Jens Georg [Sun, 25 Jul 2010 11:22:32 +0000 (14:22 +0300)]
media-export: Remove useless massive database call
No need to get the id from the container and then look it up in the
database to create another instance of the container. Just use the
existing container.
Jens Georg [Sun, 25 Jul 2010 11:01:56 +0000 (14:01 +0300)]
media-export: Unify query limit modification
UPnP uses different limit semantics than SQLite. The mapping was done
twice in some cases as it was done in the calling function and the
called function. Now it is always done within MediaCache.
Jens Georg [Sun, 25 Jul 2010 10:25:18 +0000 (13:25 +0300)]
media-export: Update docs
Jens Georg [Sun, 25 Jul 2010 10:21:25 +0000 (13:21 +0300)]
media-export: Small refactor
Jens Georg [Sat, 24 Jul 2010 18:18:49 +0000 (21:18 +0300)]
media-export: Move SQL statements into factory
Seperate the textual SQL stuff from the implementation.
Could be used to exchange the backing database, but currently only done
to make the MediaCache class less cluttered.
Jens Georg [Sat, 24 Jul 2010 18:26:05 +0000 (21:26 +0300)]
media-export: Use correct namespace
Move some left-over from code move into correct namespace
Jens Georg [Sat, 24 Jul 2010 16:53:33 +0000 (19:53 +0300)]
media-export: Make item creation more robust
- Use the same list of columns in every query dealing with items
- Add an enum for the column instead of using the number directly
This will hopefully protect against problems that arised before when
modifying the query only in one place but using the same function on the
resulting statement.
Claude Paroz [Fri, 6 Aug 2010 18:04:36 +0000 (20:04 +0200)]
Delete non-existent file in POTFILES.in
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 15:16:15 +0000 (18:16 +0300)]
tracker: Don't use Tracker's logo as icon
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 15:06:32 +0000 (18:06 +0300)]
media-export: Disable in favor of Tracker plugin
If user have Tracker installed, we really should make use of that. This
change only disables the plugin's exposure over UPnP. We really should
cancel all metadata harvesting if plugin is disabled and viceversa.
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 13:29:27 +0000 (16:29 +0300)]
i18n: Unmark deleted file for translation
drtv [Fri, 6 Aug 2010 14:39:53 +0000 (20:09 +0530)]
Added ta translation
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 12:27:45 +0000 (15:27 +0300)]
data: Add forgotten JPEG icons
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 21:05:43 +0000 (00:05 +0300)]
core: Only offer time seeking if duration is known
This satisfies DLNA requirement 7.3.26.3.
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 21:03:58 +0000 (00:03 +0300)]
tracker: Ignore duration of '0'
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