profile/ivi/rygel.git
13 years agobuild: Core doesn't require sqlite3
Zeeshan Ali (Khattak) [Wed, 11 Aug 2010 14:19:08 +0000 (17:19 +0300)]
build: Core doesn't require sqlite3

13 years agocore: Make sure HTTPServer gets created successfully
Zeeshan Ali (Khattak) [Wed, 11 Aug 2010 14:08:48 +0000 (17:08 +0300)]
core: Make sure HTTPServer gets created successfully

13 years agobuild: Correct Gtk+ vapi check
Zeeshan Ali (Khattak) [Wed, 11 Aug 2010 10:48:46 +0000 (13:48 +0300)]
build: Correct Gtk+ vapi check

13 years agobuild: Minor refactoring of configure.ac
Zeeshan Ali (Khattak) [Wed, 11 Aug 2010 10:37:45 +0000 (13:37 +0300)]
build: Minor refactoring of configure.ac

13 years agoexternal: Refactor properties retrieval code
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 23:48:34 +0000 (02:48 +0300)]
external: Refactor properties retrieval code

Refactor most of the code that gets different properties from hashtable.

13 years agoexternal: All 'size' properties are now 64-bit
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 23:33:32 +0000 (02:33 +0300)]
external: All 'size' properties are now 64-bit

This should have been part of commit a55f708.

13 years agoexternal: Use Vala's Value conversion capabilities
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 22:32:48 +0000 (01:32 +0300)]
external: Use Vala's Value conversion capabilities

Make use of Vala's ability to convert GLib.Value to primite types.

13 years agoexternal: Remove empty comment line
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 21:33:20 +0000 (00:33 +0300)]
external: Remove empty comment line

13 years agoexternal: Remove workaround for bug#602003
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 21:32:46 +0000 (00:32 +0300)]
external: Remove workaround for bug#602003

13 years agoexternal: Item should keep ref of dummy parent
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 21:20:49 +0000 (00:20 +0300)]
external: Item should keep ref of dummy parent

Item should keep parent's ref if parent is a dummy container.

13 years agocore,plugins: MediaItem.size is now int64
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 17:27:50 +0000 (20:27 +0300)]
core,plugins: MediaItem.size is now int64

This is so that we can deal with resources bigger than 2GB.

13 years agobuid: Require gupnp-av >= 0.5.9
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 17:27:18 +0000 (20:27 +0300)]
buid: Require gupnp-av >= 0.5.9

13 years agobuild: Add/use m4 magic for checking Vala bindings
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 14:01:13 +0000 (17:01 +0300)]
build: Add/use m4 magic for checking Vala bindings

m4 script from Marc-Andre Lureau <marcandre.lureau@gmail.com>.

13 years agovcs: Don't ignore the whole m4 directory
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 14:03:07 +0000 (17:03 +0300)]
vcs: Don't ignore the whole m4 directory

13 years agobuid: Require gupnp-vala 0.6.10
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 14:03:39 +0000 (17:03 +0300)]
buid: Require gupnp-vala 0.6.10

13 years agobuid: Require & adapt to Vala 0.9.5
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 13:58:20 +0000 (16:58 +0300)]
buid: Require & adapt to Vala 0.9.5

13 years agocore: Remove redundant return statement
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.

13 years agocore: Create media-art cache directory
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

13 years agoexternal: Add the missing cast of child_count param
Zeeshan Ali (Khattak) [Tue, 10 Aug 2010 11:49:39 +0000 (14:49 +0300)]
external: Add the missing cast of child_count param

13 years agoexternal: Fix a typo
Zeeshan Ali (Khattak) [Mon, 9 Aug 2010 22:13:38 +0000 (01:13 +0300)]
external: Fix a typo

13 years agocore: Let PS3 seek into unseekable
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!

13 years agocore: Ignore 'POST' request in server handler
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.

13 years agocore: Micro coding-style fix
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 01:39:59 +0000 (04:39 +0300)]
core: Micro coding-style fix

13 years agocore: Refactor HTTRequest classes a bit
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.

13 years agotracker: Print debug after item creation in store
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 01:19:47 +0000 (04:19 +0300)]
tracker: Print debug after item creation in store

13 years agotracker: Micro coding-style fix
Zeeshan Ali (Khattak) [Sat, 7 Aug 2010 00:38:00 +0000 (03:38 +0300)]
tracker: Micro coding-style fix

13 years agocore: Correct GetCurrentConnectionInfo params
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.

13 years agocore: List DLNA formats first
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.

13 years agocore: Correct DLNA profile for MPEG-TS HD
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.

13 years agocore: Throw error on seeking request for the unseekable
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).

13 years agoUpdated Romanian translation
Lucian Adrian Grijincu [Sun, 8 Aug 2010 22:08:31 +0000 (01:08 +0300)]
Updated Romanian translation

13 years agomedia-export: Use file mtime as fallback
Jens Georg [Sat, 7 Aug 2010 15:44:00 +0000 (18:44 +0300)]
media-export: Use file mtime as fallback

13 years agomedia-export: Fix degrading database performance
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

13 years agomedia-export: Make MediaCache single-instance
Jens Georg [Wed, 28 Jul 2010 16:29:24 +0000 (18:29 +0200)]
media-export: Make MediaCache single-instance

13 years agomedia-export: Remove duplicate code
Jens Georg [Sun, 25 Jul 2010 11:35:00 +0000 (14:35 +0300)]
media-export: Remove duplicate code

13 years agomedia-export: Fix coding-style
Jens Georg [Sun, 25 Jul 2010 11:32:07 +0000 (14:32 +0300)]
media-export: Fix coding-style

13 years agomedia-export: Remove useless massive database call
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.

13 years agomedia-export: Unify query limit modification
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.

13 years agomedia-export: Update docs
Jens Georg [Sun, 25 Jul 2010 10:25:18 +0000 (13:25 +0300)]
media-export: Update docs

13 years agomedia-export: Small refactor
Jens Georg [Sun, 25 Jul 2010 10:21:25 +0000 (13:21 +0300)]
media-export: Small refactor

13 years agomedia-export: Move SQL statements into factory
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.

13 years agomedia-export: Use correct namespace
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

13 years agomedia-export: Make item creation more robust
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.

13 years agoDelete non-existent file in POTFILES.in
Claude Paroz [Fri, 6 Aug 2010 18:04:36 +0000 (20:04 +0200)]
Delete non-existent file in POTFILES.in

13 years agotracker: Don't use Tracker's logo as icon
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 15:16:15 +0000 (18:16 +0300)]
tracker: Don't use Tracker's logo as icon

13 years agomedia-export: Disable in favor of Tracker plugin
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.

13 years agoi18n: Unmark deleted file for translation
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 13:29:27 +0000 (16:29 +0300)]
i18n: Unmark deleted file for translation

13 years agoAdded ta translation
drtv [Fri, 6 Aug 2010 14:39:53 +0000 (20:09 +0530)]
Added ta translation

13 years agodata: Add forgotten JPEG icons
Zeeshan Ali (Khattak) [Fri, 6 Aug 2010 12:27:45 +0000 (15:27 +0300)]
data: Add forgotten JPEG icons

13 years agocore: Only offer time seeking if duration is known
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.

13 years agotracker: Ignore duration of '0'
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 21:03:58 +0000 (00:03 +0300)]
tracker: Ignore duration of '0'

13 years agocore: Don't transcode to different item class
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).

13 years agomedia-export: Minor coding style fix
Jens Georg [Fri, 30 Jul 2010 16:35:13 +0000 (18:35 +0200)]
media-export: Minor coding style fix

13 years agomedia-export: Try to prevent crash when removing
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.

13 years agomedia-export: Remove unused "using"
Jens Georg [Sun, 25 Jul 2010 10:39:43 +0000 (13:39 +0300)]
media-export: Remove unused "using"

13 years agomedia-export: Remove WriteableContainer
Jens Georg [Sun, 25 Jul 2010 11:52:04 +0000 (14:52 +0300)]
media-export: Remove WriteableContainer

Functionality has been moved to DBContainer

13 years agogit: Update .gitignore
Jens Georg [Thu, 29 Jul 2010 22:13:11 +0000 (00:13 +0200)]
git: Update .gitignore

13 years agomedia-export: Extract embedded album art
Jens Georg [Sat, 24 Jul 2010 20:19:03 +0000 (23:19 +0300)]
media-export: Extract embedded album art

13 years agomedia-export: Only query for non-empty meta-data
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.

13 years agomedia-export: Remove unused arguments
Jens Georg [Sat, 24 Jul 2010 17:04:33 +0000 (20:04 +0300)]
media-export: Remove unused arguments

13 years agomedia-export: Remove factory base class
Jens Georg [Sat, 24 Jul 2010 16:31:07 +0000 (19:31 +0300)]
media-export: Remove factory base class

13 years agoexternal: Handle AlbumArt property
Jens Georg [Sat, 24 Jul 2010 16:01:03 +0000 (19:01 +0300)]
external: Handle AlbumArt property

13 years agotracker,external: Handle genre
Jens Georg [Sat, 24 Jul 2010 15:20:10 +0000 (18:20 +0300)]
tracker,external: Handle genre

13 years agomedia-export: Support genre tag
Jens Georg [Sat, 24 Jul 2010 13:23:36 +0000 (16:23 +0300)]
media-export: Support genre tag

13 years agocore: Add genre to MediaItem and DIDL
Jens Georg [Sat, 24 Jul 2010 12:23:47 +0000 (15:23 +0300)]
core: Add genre to MediaItem and DIDL

13 years agomedia-export: Handle null SearchExpression
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

13 years agomedia-export: Correctly use null SearchExpression
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.

13 years agocore: Refactor default icon addition code
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 14:17:57 +0000 (17:17 +0300)]
core: Refactor default icon addition code

13 years agocore,data: Provide icons in JPEG format as well
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.

13 years agocore,data: Provide icons in DLNA standard sizes
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.

13 years agocore,plugins: Don't hardcode icon file extension
Zeeshan Ali (Khattak) [Thu, 5 Aug 2010 13:26:55 +0000 (16:26 +0300)]
core,plugins: Don't hardcode icon file extension

13 years agodata: Distribute correct copy of scallable icons
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.

13 years agocore,plugins: Correctly handle wildcard in search
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:07:09 +0000 (18:07 +0300)]
core,plugins: Correctly handle wildcard in search

13 years agocore: Add an accidently missing return
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:04:44 +0000 (18:04 +0300)]
core: Add an accidently missing return

13 years agocore: Micro coding-style fix
Zeeshan Ali (Khattak) [Wed, 4 Aug 2010 15:03:59 +0000 (18:03 +0300)]
core: Micro coding-style fix

13 years agocore: Put CreateObject arguments in correct order
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.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 4 Aug 2010 13:03:32 +0000 (15:03 +0200)]
Updated Norwegian bokmål translation

13 years agoUpdated Slovenian translation
Andrej Žnidaršič [Wed, 4 Aug 2010 12:30:00 +0000 (14:30 +0200)]
Updated Slovenian translation

13 years agocore: Internalize many core classes
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.

13 years agotracker: Remove bogus doc comment
Zeeshan Ali (Khattak) [Tue, 3 Aug 2010 13:22:34 +0000 (16:22 +0300)]
tracker: Remove bogus doc comment

13 years agocore,plugins: Don't pass ContentDir to plugins
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.

13 years agoUpdated Galician translations
Fran Diéguez [Tue, 3 Aug 2010 10:44:35 +0000 (12:44 +0200)]
Updated Galician translations

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 3 Aug 2010 07:33:08 +0000 (10:33 +0300)]
Updated Hebrew translation.

13 years agoUpdated Spanish translation
Jorge González [Tue, 3 Aug 2010 05:15:49 +0000 (07:15 +0200)]
Updated Spanish translation

13 years agoRelease annoucement for 0.7.3 RYGEL_0_7_3
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 21:59:14 +0000 (00:59 +0300)]
Release annoucement for 0.7.3

13 years agomedia-export: Process 256 children at a time
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.

13 years agocore: Better error handling in HTTPRequest & subclasses
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.

13 years agocore: Use name of the plugin rather than ContentDir
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.

13 years agocore: Update value of 'SortCapabilities' state variable
Zeeshan Ali (Khattak) [Thu, 29 Jul 2010 14:49:44 +0000 (17:49 +0300)]
core: Update value of 'SortCapabilities' state variable

13 years agobuild: Require libgee >= 0.5.2
Zeeshan Ali (Khattak) [Thu, 29 Jul 2010 13:59:47 +0000 (16:59 +0300)]
build: Require libgee >= 0.5.2

13 years agocore,plugins: Custom ArrayList for MediaObjects
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.

13 years agocore: Support sorting by essential item properties
Zeeshan Ali (Khattak) [Mon, 26 Jul 2010 18:49:11 +0000 (21:49 +0300)]
core: Support sorting by essential item properties

13 years agocore: Correctly compare strings
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.

13 years agocore: Add support for sorted Browse/Search
Zeeshan Ali (Khattak) [Fri, 23 Jul 2010 16:58:10 +0000 (19:58 +0300)]
core: Add support for sorted Browse/Search

13 years agocore: Micro indentation fix
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 15:08:10 +0000 (18:08 +0300)]
core: Micro indentation fix

13 years agocore: Fix Seek.length confusion
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.

13 years agoi18n: Add a C file to ignored list
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 14:33:38 +0000 (17:33 +0300)]
i18n: Add a C file to ignored list

13 years agobuild: Bump gupnp-av dependency to 0.5.8
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.

13 years agocore: Port to new DIDL-Lite contributor APIs
Zeeshan Ali (Khattak) [Mon, 2 Aug 2010 14:24:24 +0000 (17:24 +0300)]
core: Port to new DIDL-Lite contributor APIs

13 years agodata: Don't claim support for unsupported API
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.