profile/ivi/rygel.git
14 years agoUpdated Galician translations
Fran Diéguez [Sat, 19 Jun 2010 13:45:38 +0000 (15:45 +0200)]
Updated Galician translations

14 years agotests: Mark non-abstract property as such
Zeeshan Ali (Khattak) [Sat, 19 Jun 2010 02:58:32 +0000 (05:58 +0300)]
tests: Mark non-abstract property as such

14 years agocore,ui: Drop usage of '+=' for connecting signals
Zeeshan Ali (Khattak) [Sat, 19 Jun 2010 02:04:52 +0000 (05:04 +0300)]
core,ui: Drop usage of '+=' for connecting signals

Drop usage of deprecated '+=' syntax for connecting signals.

14 years agocore: Use Signal.connect* for connecting dynamic signals
Zeeshan Ali (Khattak) [Sat, 19 Jun 2010 01:59:54 +0000 (04:59 +0300)]
core: Use Signal.connect* for connecting dynamic signals

For connecting signals that are unknown to compiler, use Signal.connect*
functions rather than deprecated '+=' syntax.

14 years agomedia-export: Prefer 'getter' over internal field
Zeeshan Ali (Khattak) [Sat, 19 Jun 2010 01:55:14 +0000 (04:55 +0300)]
media-export: Prefer 'getter' over internal field

Gst.Message.structure is internal and not exposed by latest VAPI so it
must be accessed through its getter method.

14 years agoplugins: Don't use 'ModuleInit' attribute
Zeeshan Ali (Khattak) [Sat, 19 Jun 2010 01:51:11 +0000 (04:51 +0300)]
plugins: Don't use 'ModuleInit' attribute

Remove incorrect usage of 'ModuleInit' attribute.

14 years agoexternal: Implement MediaContainer.find_object()
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 16:44:58 +0000 (19:44 +0300)]
external: Implement MediaContainer.find_object()

Since the UPnP IDs of the objects are the same as their D-Bus paths (
execpt for the root container), we are able to provide a much more
efficient implementation of search by ID.

14 years agoexternal: Set the correct ID on dummy container
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 16:31:53 +0000 (19:31 +0300)]
external: Set the correct ID on dummy container

14 years agoexternal: Centralize D-Bus interface names
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 16:30:34 +0000 (19:30 +0300)]
external: Centralize D-Bus interface names

14 years agoexternal: Don't keep re-creating the DBus connection
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 16:28:28 +0000 (19:28 +0300)]
external: Don't keep re-creating the DBus connection

14 years agoexternal: Minor refactor of ItemFactory.create()
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 14:02:59 +0000 (17:02 +0300)]
external: Minor refactor of ItemFactory.create()

14 years agoexternal: Create DBus connection when needed
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 14:00:43 +0000 (17:00 +0300)]
external: Create DBus connection when needed

14 years agoexternal: ItemFactory.create() gets MediaObject props
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 13:55:55 +0000 (16:55 +0300)]
external: ItemFactory.create() gets MediaObject props

We already have the MediaObject props so we just pass them as params to
ItemFactory.create() rather than it getting them again from Value inside a
Hashtable.

14 years agocore: Allow overriding MediaContainer.find_object
Zeeshan Ali (Khattak) [Wed, 16 Jun 2010 13:08:15 +0000 (16:08 +0300)]
core: Allow overriding MediaContainer.find_object

Some backends might not be able to provide a full search implementation
but they still might be able to provide an efficient implementation of
search for a particular object by its ID.

14 years agoexternal: Port to MediaServer2 spec
Zeeshan Ali (Khattak) [Fri, 11 Jun 2010 14:34:12 +0000 (17:34 +0300)]
external: Port to MediaServer2 spec

New spec available at: http://live.gnome.org/Rygel/MediaServer2Spec

14 years agoexternal: Fix a small typo
Zeeshan Ali (Khattak) [Fri, 11 Jun 2010 14:33:37 +0000 (17:33 +0300)]
external: Fix a small typo

14 years agoUpdated Spanish translation
Jorge González [Wed, 16 Jun 2010 04:25:26 +0000 (06:25 +0200)]
Updated Spanish translation

14 years agoAdd Punjabi Translation, update LINGUAS file
A S Alam [Mon, 14 Jun 2010 04:18:36 +0000 (09:48 +0530)]
Add Punjabi Translation, update LINGUAS file

14 years agoAdd nb
Kjartan Maraas [Sun, 13 Jun 2010 23:13:07 +0000 (01:13 +0200)]
Add nb

14 years agoAdded Norwegian bokmål translation
Kjartan Maraas [Sun, 13 Jun 2010 23:12:53 +0000 (01:12 +0200)]
Added Norwegian bokmål translation

14 years agoUpdated Galician translations
Fran Diéguez [Sat, 12 Jun 2010 17:31:33 +0000 (19:31 +0200)]
Updated Galician translations

14 years agoUpdated Galician translations
Fran Diéguez [Sat, 12 Jun 2010 16:22:33 +0000 (18:22 +0200)]
Updated Galician translations

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 10 Jun 2010 09:15:30 +0000 (12:15 +0300)]
Updated Hebrew translation.

14 years agotests: Add unit test for HTTPPost
Zeeshan Ali (Khattak) [Wed, 9 Jun 2010 14:52:15 +0000 (17:52 +0300)]
tests: Add unit test for HTTPPost

14 years agovcs: Add some new files to git ignore list
Zeeshan Ali (Khattak) [Tue, 8 Jun 2010 14:11:04 +0000 (17:11 +0300)]
vcs: Add some new files to git ignore list

14 years agotests: Unit test for HTTPGet
Zeeshan Ali (Khattak) [Fri, 4 Jun 2010 18:05:49 +0000 (21:05 +0300)]
tests: Unit test for HTTPGet

14 years agodata: Provide default config for WMV transcoding
Zeeshan Ali (Khattak) [Tue, 8 Jun 2010 13:03:09 +0000 (16:03 +0300)]
data: Provide default config for WMV transcoding

14 years agocore: Correctly handle WMV cmdline option
Zeeshan Ali (Khattak) [Tue, 8 Jun 2010 12:34:41 +0000 (15:34 +0300)]
core: Correctly handle WMV cmdline option

Correctly handle boolean commandline option for disabling WMV transcoder.

14 years agocore: Release announcement for 0.7.0 RYGEL_0_7_0
Zeeshan Ali (Khattak) [Mon, 7 Jun 2010 18:40:54 +0000 (21:40 +0300)]
core: Release announcement for 0.7.0

14 years agomedia-export: Fix search result
Jens Georg [Sun, 6 Jun 2010 23:16:48 +0000 (01:16 +0200)]
media-export: Fix search result

Search was returning the the result for the current limits, not the
overall result count. This lead to strange behaviour on e.g. XBox 360

14 years agomedia-export: No need to build whole ancestry
Jens Georg [Sun, 6 Jun 2010 20:16:59 +0000 (22:16 +0200)]
media-export: No need to build whole ancestry

For search we don't need the whole tree so we use a fake parent
container, as only the ID is needed.

14 years agomedia-export: Fix broken get_object
Jens Georg [Sun, 6 Jun 2010 19:38:21 +0000 (21:38 +0200)]
media-export: Fix broken get_object

14 years agomedia-export: Locally cache parent in search
Jens Georg [Sun, 16 May 2010 11:20:36 +0000 (13:20 +0200)]
media-export: Locally cache parent in search

This reduces the number of additional queries necessary in searches.

14 years agomedia-export: Add function to count search result
Jens Georg [Sun, 16 May 2010 11:18:26 +0000 (13:18 +0200)]
media-export: Add function to count search result

This speeds up virtual folder creation by factor 30. Noticable speed
improvements on XBox music browsing

14 years agomedia-export: Coding style fixes
Jens Georg [Fri, 14 May 2010 23:16:15 +0000 (01:16 +0200)]
media-export: Coding style fixes

14 years agomedia-export: Remove awkward error-handling
Jens Georg [Fri, 14 May 2010 22:53:18 +0000 (00:53 +0200)]
media-export: Remove awkward error-handling

Signalling error to subscribers is now done in extract_next anyway.

14 years agomedia-export: Refactor. Move common code
Jens Georg [Fri, 14 May 2010 22:52:18 +0000 (00:52 +0200)]
media-export: Refactor. Move common code

14 years agomedia-export: Avoid direct recursion
Jens Georg [Fri, 14 May 2010 22:49:47 +0000 (00:49 +0200)]
media-export: Avoid direct recursion

extract_next was calling itself in error-case. Tunnelling via idle-loop
is the safer option.

14 years agomedia-export: Fix coding style
Jens Georg [Fri, 14 May 2010 22:38:16 +0000 (00:38 +0200)]
media-export: Fix coding style

14 years agomedia-export: Removed custom tag RYGEL_DURATION
Jens Georg [Fri, 14 May 2010 22:03:34 +0000 (00:03 +0200)]
media-export: Removed custom tag RYGEL_DURATION

14 years agomedia-export: Refactor. Remove Extractor.create
Jens Georg [Fri, 14 May 2010 21:27:13 +0000 (23:27 +0200)]
media-export: Refactor. Remove Extractor.create

Since there is a non-hatrvesting mode now, there's no need for a
creation method anymore as we will create the object always and just
not harvest.

14 years agomedia-export: Make harvesting of metadata optional
Jens Georg [Fri, 14 May 2010 21:14:28 +0000 (23:14 +0200)]
media-export: Make harvesting of metadata optional

This commit introduces a new boolean configuration setting called
"extract-metadata" which disables harvesting completely. If not
configured, it defaults to "false"

This will also renders virtual folders useless since those are based on
metadata.

14 years agomedia-export: Add basic harvesting support
Jens Georg [Fri, 14 May 2010 12:55:40 +0000 (14:55 +0200)]
media-export: Add basic harvesting support

Re-enable simple mode which enables media exporting even if no meta-data
extractor is available.

14 years agomedia-export: Simplify harvesting code
Jens Georg [Thu, 13 May 2010 14:26:40 +0000 (16:26 +0200)]
media-export: Simplify harvesting code

Remove helper functions for database updating. INSERT OR REPLACE is now
used to let the database decide if it's a new entry or an update. This
simplifys harvesting code

14 years agomedia-export: Refactor media cache, remove signals
Jens Georg [Sat, 8 May 2010 19:57:24 +0000 (21:57 +0200)]
media-export: Refactor media cache, remove signals

14 years agomedia-export: Refactor media cache
Jens Georg [Sat, 8 May 2010 19:55:22 +0000 (21:55 +0200)]
media-export: Refactor media cache

Move the code to upgrade a database into its own file

14 years agomedia-export: Refactor database upgrade
Jens Georg [Fri, 7 May 2010 19:12:33 +0000 (21:12 +0200)]
media-export: Refactor database upgrade

14 years agomedia-export: Remove Uri table
Jens Georg [Fri, 7 May 2010 18:31:26 +0000 (20:31 +0200)]
media-export: Remove Uri table

14 years agomedia-export: Use nested namespace
Jens Georg [Fri, 7 May 2010 17:21:35 +0000 (19:21 +0200)]
media-export: Use nested namespace

Using nested namespaces instead of name prefixes reduces clutter in code
(long lines etc.) while keeping C name compatibility

14 years agomedia-export: Work around a problem in playbin2
Jens Georg [Thu, 6 May 2010 21:39:21 +0000 (23:39 +0200)]
media-export: Work around a problem in playbin2

Sometimes playbin2 fails to extract the duration right after the state
change.

14 years agomedia-export: Small refactor
Jens Georg [Thu, 6 May 2010 20:52:07 +0000 (22:52 +0200)]
media-export: Small refactor

14 years agomedia-export: Coding style fixes
Jens Georg [Thu, 6 May 2010 20:48:41 +0000 (22:48 +0200)]
media-export: Coding style fixes

14 years agomedia-export,i18n: Revisit translatability of strings
Zeeshan Ali (Khattak) [Mon, 7 Jun 2010 13:24:53 +0000 (16:24 +0300)]
media-export,i18n: Revisit translatability of strings

14 years agomediathek,i18n: No need to translate Mediathek strings
Zeeshan Ali (Khattak) [Sun, 6 Jun 2010 16:14:55 +0000 (19:14 +0300)]
mediathek,i18n: No need to translate Mediathek strings

Only Germans use this plugin and it is supposed to be removed in future.
Besides modern Germans speak good english. :)

14 years agoUpdated Galician translations
Fran Diéguez [Sun, 6 Jun 2010 16:18:46 +0000 (18:18 +0200)]
Updated Galician translations

14 years agoCreated Galician translations and added gl to LINGUAS file
Fran Diéguez [Sun, 6 Jun 2010 16:15:04 +0000 (18:15 +0200)]
Created Galician translations and added gl to LINGUAS file

14 years agomedia-export: Explain 'harvest' for translators
Zeeshan Ali (Khattak) [Sat, 5 Jun 2010 23:07:21 +0000 (02:07 +0300)]
media-export: Explain 'harvest' for translators

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 3 Jun 2010 22:08:38 +0000 (01:08 +0300)]
Updated Hebrew translation.

14 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 3 Jun 2010 22:08:32 +0000 (01:08 +0300)]
Updated Hebrew translation.

14 years agoUpdated Swedish translation
Daniel Nylander [Thu, 3 Jun 2010 20:17:09 +0000 (22:17 +0200)]
Updated Swedish translation

14 years agoUpdated Spanish translation
Jorge González [Thu, 3 Jun 2010 10:01:32 +0000 (12:01 +0200)]
Updated Spanish translation

14 years agoui: Correct Icon path for uninstalled case
Zeeshan Ali (Khattak) [Thu, 3 Jun 2010 00:38:26 +0000 (03:38 +0300)]
ui: Correct Icon path for uninstalled case

14 years agocore: Add icon to preferences UI's desktop file
Zeeshan Ali (Khattak) [Wed, 2 Jun 2010 14:15:52 +0000 (17:15 +0300)]
core: Add icon to preferences UI's desktop file

14 years agocore: Don't allow comments in DIDL-Lite
Zeeshan Ali (Khattak) [Wed, 26 May 2010 20:54:21 +0000 (23:54 +0300)]
core: Don't allow comments in DIDL-Lite

Don't allow comments in DIDL-Lite in 'Elements' argument of CreatObject.

14 years agocore: Correct error on missing 'Elements' node
Zeeshan Ali (Khattak) [Wed, 26 May 2010 20:52:34 +0000 (23:52 +0300)]
core: Correct error on missing 'Elements' node

Throw correct error on missing 'Elements' node in CreateObject action.

14 years agodata: Advertize upload features in X_DLNACAP
Zeeshan Ali (Khattak) [Wed, 26 May 2010 12:29:29 +0000 (15:29 +0300)]
data: Advertize upload features in X_DLNACAP

14 years agodata: DLNA mandates no comments in XML
Zeeshan Ali (Khattak) [Wed, 26 May 2010 12:18:13 +0000 (15:18 +0300)]
data: DLNA mandates no comments in XML

DLNA requirement 7.2.30.1 mandates no comments in XML.

14 years agodata: Comment out unimplemented actions
Zeeshan Ali (Khattak) [Wed, 26 May 2010 11:14:58 +0000 (14:14 +0300)]
data: Comment out unimplemented actions

Don't advertise optional/unimplemented ConnectionManager actions.

14 years agoUpdate Czech translation by Marek Cernocky
Petr Kovar [Mon, 31 May 2010 21:16:27 +0000 (23:16 +0200)]
Update Czech translation by Marek Cernocky

14 years agoUpdated Spanish translation
Jorge González [Sun, 30 May 2010 10:01:31 +0000 (12:01 +0200)]
Updated Spanish translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Fri, 28 May 2010 18:15:06 +0000 (20:15 +0200)]
Updated Slovenian translation

14 years agoUpdated Spanish translation
Jorge González [Tue, 25 May 2010 16:40:02 +0000 (18:40 +0200)]
Updated Spanish translation

14 years agoUpdated German translation
Mario Blättermann [Tue, 25 May 2010 15:30:02 +0000 (17:30 +0200)]
Updated German translation

14 years agocore: Log rygel's plugins search
Zeeshan Ali (Khattak) [Tue, 25 May 2010 00:25:08 +0000 (03:25 +0300)]
core: Log rygel's plugins search

Specify on debug log where rygel is currently looking for plugins.

14 years agocore: Timeout on plugin loading
Zeeshan Ali (Khattak) [Tue, 25 May 2010 00:21:13 +0000 (03:21 +0300)]
core: Timeout on plugin loading

Rygel just keeps running even if there is no plugin available. This has
confused many users in the past. Enough is enough, Rygel now exits if it
fails to load any plugins in 5 seconds.

14 years agobuild: Don't mind if m4 dir already exists
Zeeshan Ali (Khattak) [Thu, 20 May 2010 15:07:20 +0000 (18:07 +0300)]
build: Don't mind if m4 dir already exists

14 years agobuild: Create m4 directory
Zeeshan Ali (Khattak) [Thu, 20 May 2010 15:01:26 +0000 (18:01 +0300)]
build: Create m4 directory

Create m4 directory before running gnome-autogen.sh. With this, build
fails in maemo6 scratcbox environment.

14 years agoRevert "build: Add the m4 files"
Zeeshan Ali (Khattak) [Thu, 20 May 2010 15:01:05 +0000 (18:01 +0300)]
Revert "build: Add the m4 files"

This reverts commit 787dbb10b7b988105c82542bb2bc8257eb2b5ce0.

14 years agobuild: Add POTFILES to git ignore list
Zeeshan Ali (Khattak) [Wed, 19 May 2010 12:21:30 +0000 (15:21 +0300)]
build: Add POTFILES to git ignore list

14 years agobuild: Add the m4 files
Zeeshan Ali (Khattak) [Wed, 19 May 2010 12:12:23 +0000 (15:12 +0300)]
build: Add the m4 files

14 years agoAdd Czech translation by Marek Cernocky
Petr Kovar [Sun, 16 May 2010 22:42:37 +0000 (00:42 +0200)]
Add Czech translation by Marek Cernocky

14 years agocore: Release announcement for 0.6.0 RYGEL_0_6_0
Zeeshan Ali (Khattak) [Sat, 15 May 2010 12:53:23 +0000 (15:53 +0300)]
core: Release announcement for 0.6.0

14 years agotests: Refactor HTTPResponse unit tests
Zeeshan Ali (Khattak) [Fri, 14 May 2010 18:33:01 +0000 (21:33 +0300)]
tests: Refactor HTTPResponse unit tests

Instead of having a separate unit test for abstract HTTPResponse class,
keep the common code between unit tests of its subclasses in one module.

14 years agotests: Sync LiveResponse & SeekableResponse tests
Zeeshan Ali (Khattak) [Fri, 14 May 2010 17:28:01 +0000 (20:28 +0300)]
tests: Sync LiveResponse & SeekableResponse tests

Both these units should behave very similar and hence their test cases
should not look/behaver very different.

14 years agotests: Add forgotten symbolic link
Zeeshan Ali (Khattak) [Fri, 14 May 2010 18:43:07 +0000 (21:43 +0300)]
tests: Add forgotten symbolic link

14 years agol10n: Mark preferences desktop file for translation
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:43:30 +0000 (17:43 +0300)]
l10n: Mark preferences desktop file for translation

14 years agol10n: Ignore unit test C code
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:42:00 +0000 (17:42 +0300)]
l10n: Ignore unit test C code

14 years agotests: Add unit test for SeekableResponse
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:36:29 +0000 (17:36 +0300)]
tests: Add unit test for SeekableResponse

14 years agocore: Only keep the continuation when needed
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:33:23 +0000 (17:33 +0300)]
core: Only keep the continuation when needed

We should set the continuation just before defering to mainloop and unset
it as soon as we are back from it so that continuation doesn't get called
from unwanted contexts.

14 years agocore: Don't try reading file after cancellation
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:28:39 +0000 (17:28 +0300)]
core: Don't try reading file after cancellation

When the response is awaken from mainloop, it doesn't necessarily mean
that pending buffer was pushed to the client but it could also be that
the response was cancelled, in which case we shouldn't attempt to read
more bytes from file anymore.

14 years agocore: Centralize continuation handling
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:15:19 +0000 (17:15 +0300)]
core: Centralize continuation handling

Move the continuation of run() method to base HTTPResponse class and
handle as much of it as possible in there.

14 years agocore: Don't end the response when cancelled
Zeeshan Ali (Khattak) [Fri, 14 May 2010 12:45:33 +0000 (15:45 +0300)]
core: Don't end the response when cancelled

The base HTTPResponse class does that for us.

14 years agocore: SeekableResponse is always given a seek request
Zeeshan Ali (Khattak) [Fri, 14 May 2010 12:28:01 +0000 (15:28 +0300)]
core: SeekableResponse is always given a seek request

After commit ce7f5c0d we must not keep the seek construction parameter
optional and we don't need to check if there is a seek request or not.

14 years agoUpdated Spanish translation
Jorge González [Fri, 14 May 2010 15:58:41 +0000 (17:58 +0200)]
Updated Spanish translation

14 years agoUpdated Spanish translation
Jorge González [Wed, 12 May 2010 06:23:43 +0000 (08:23 +0200)]
Updated Spanish translation

14 years agotest: Add unit test for HTTPTimeSeek
Zeeshan Ali (Khattak) [Tue, 11 May 2010 12:40:06 +0000 (15:40 +0300)]
test: Add unit test for HTTPTimeSeek

14 years agocore: Correct default TimeSeek.stop calculation
Zeeshan Ali (Khattak) [Tue, 11 May 2010 12:31:55 +0000 (15:31 +0300)]
core: Correct default TimeSeek.stop calculation

Correct calculation of default value of TimeSeek.stop.

14 years agocore: Don't stream if request is for subtitles
Zeeshan Ali (Khattak) [Mon, 10 May 2010 16:31:19 +0000 (19:31 +0300)]
core: Don't stream if request is for subtitles

14 years agotest: Test thumbnail & subtitle cases
Zeeshan Ali (Khattak) [Fri, 19 Mar 2010 18:40:30 +0000 (20:40 +0200)]
test: Test thumbnail & subtitle cases

Add thumbnail and subtitle cases to HTTPByteSeek unit test.

14 years agoUpdated Spanish translation
Jorge González [Mon, 10 May 2010 18:13:46 +0000 (20:13 +0200)]
Updated Spanish translation