profile/ivi/rygel.git
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

14 years agocore: Set 65KiB blocksize on gst source element
Zeeshan Ali (Khattak) [Sun, 9 May 2010 23:35:09 +0000 (02:35 +0300)]
core: Set 65KiB blocksize on gst source element

The default is usually 4KiB which is not really big enough.

14 years agocore: Check for prop itself rather than element
Zeeshan Ali (Khattak) [Sun, 9 May 2010 23:24:23 +0000 (02:24 +0300)]
core: Check for prop itself rather than element

Before setting the tcp_timeout property of GstRTSPSrc, check if the
property exists rather than if the source element is a GstRTSPSrc.

14 years agoUpdated German translation
Mario Blättermann [Sat, 8 May 2010 21:41:25 +0000 (23:41 +0200)]
Updated German translation

14 years agocore: Re-mux only if transcoding is not needed
Zeeshan Ali (Khattak) [Sat, 8 May 2010 18:37:04 +0000 (21:37 +0300)]
core: Re-mux only if transcoding is not needed

MPEG2TS and WMV transcoders now bypass encoders if the stream is already
encoded in the needed codec. However, this also implies skipping the raw
audio and video tansformations and that in turn implies we are not exactly
being honest about the advertized DLNA profile name of the remuxed stream.
In most cases that shouldn't be a problem and this change should only make
users happy (hopefully).

14 years agocore: Configuration option for plugin path
Zeeshan Ali (Khattak) [Thu, 4 Mar 2010 17:52:37 +0000 (19:52 +0200)]
core: Configuration option for plugin path

It should be possible to specify plugin path through all configuration
sources.

14 years agocore: Configuration from Environment
Zeeshan Ali (Khattak) [Thu, 4 Mar 2010 15:01:05 +0000 (17:01 +0200)]
core: Configuration from Environment

Now you can tweak rygel through environment variables too. \o/

14 years agocore: Use 0 for unset port value, rather than -1
Zeeshan Ali (Khattak) [Sat, 8 May 2010 16:03:05 +0000 (19:03 +0300)]
core: Use 0 for unset port value, rather than -1

This is a work around for a weird problem that class initialization of
CmdlineCnfig is happening after one of it's static methods is called. It
seems like a Vala bug at first but I failed to reproduce this with a
simple test case.

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Sat, 8 May 2010 07:55:14 +0000 (09:55 +0200)]
Updated Slovenian translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Sat, 8 May 2010 07:52:58 +0000 (09:52 +0200)]
Updated Slovenian translation

14 years agoui: Set icon on the preferences dialog
Zeeshan Ali (Khattak) [Thu, 6 May 2010 23:42:26 +0000 (02:42 +0300)]
ui: Set icon on the preferences dialog

14 years agomedia-export: Use size to consider file change
Jens Georg [Thu, 6 May 2010 20:28:25 +0000 (22:28 +0200)]
media-export: Use size to consider file change

With certain SMB implementations the mtime is only set at the beginning,
so the harvester did not consider the file changed. This fix also
consideres the size to determin wether a file has changed or not.

Fixes #617762

14 years agoi10n: Update translation files due to moved files
Jens Georg [Fri, 30 Apr 2010 19:48:58 +0000 (21:48 +0200)]
i10n: Update translation files due to moved files

14 years agomedia-export: Coding style fix
Jens Georg [Fri, 30 Apr 2010 18:57:22 +0000 (20:57 +0200)]
media-export: Coding style fix

14 years agobuild: Sqlite needed for media-export only
Jens Georg [Tue, 27 Apr 2010 19:42:26 +0000 (21:42 +0200)]
build: Sqlite needed for media-export only

14 years agocore,media-export: Move code to module
Jens Georg [Tue, 27 Apr 2010 18:55:18 +0000 (20:55 +0200)]
core,media-export: Move code to module

14 years agocore: Expose Rygel logo on UPnP network
Zeeshan Ali (Khattak) [Thu, 6 May 2010 01:02:30 +0000 (04:02 +0300)]
core: Expose Rygel logo on UPnP network

If the plugin does not provide an icon, use rygel logo.

14 years agodata: Add logo
Zeeshan Ali (Khattak) [Wed, 5 May 2010 23:16:32 +0000 (02:16 +0300)]
data: Add logo

Add 256x256, 32x32 and scalable versions of the logo.

14 years agobuild: Micro refactoring of Makefile.am
Zeeshan Ali (Khattak) [Wed, 5 May 2010 23:19:41 +0000 (02:19 +0300)]
build: Micro refactoring of Makefile.am

14 years agobuild: Update of INSTALL file by autofoo
Zeeshan Ali (Khattak) [Wed, 5 May 2010 23:17:54 +0000 (02:17 +0300)]
build: Update of INSTALL file by autofoo

14 years agocore: Pause pipeline when buffer grows too much
Zeeshan Ali (Khattak) [Sun, 2 May 2010 22:29:37 +0000 (01:29 +0300)]
core: Pause pipeline when buffer grows too much

There is no way of knowing that an HTTP client has paused the playback but
we do know it when its not reading from socket anymore. So now we keep
track of number of buffers queued to be sent to the client and if this
number goes beyond a fixed amount, we pause the gstreamer pipeline until
client catches up and there is only a few number of queued buffers left.

14 years agoplugins: Add missing libuuid to flags
Zeeshan Ali (Khattak) [Sat, 1 May 2010 22:53:27 +0000 (01:53 +0300)]
plugins: Add missing libuuid to flags

14 years agoAdded German translation
Mario Blättermann [Sat, 1 May 2010 21:27:21 +0000 (23:27 +0200)]
Added German translation

14 years agoUpdated Spanish translation
Jorge González [Sat, 1 May 2010 08:00:27 +0000 (10:00 +0200)]
Updated Spanish translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Fri, 30 Apr 2010 17:33:05 +0000 (19:33 +0200)]
Updated Slovenian translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Tue, 27 Apr 2010 09:05:40 +0000 (11:05 +0200)]
Updated Slovenian translation

14 years agoUpdated Slovenian translation
Andrej Žnidaršič [Tue, 27 Apr 2010 09:03:50 +0000 (11:03 +0200)]
Updated Slovenian translation

14 years agoAdded sl for Slovenian translation
Matej Urbančič [Tue, 27 Apr 2010 09:03:43 +0000 (11:03 +0200)]
Added sl for Slovenian translation

14 years agoUpdated Spanish translation
Jorge González [Thu, 22 Apr 2010 06:32:58 +0000 (08:32 +0200)]
Updated Spanish translation

14 years agoUpdated Spanish translation
Jorge González [Tue, 20 Apr 2010 06:13:22 +0000 (08:13 +0200)]
Updated Spanish translation

14 years agocore,media-export: Prefer 'folder' over 'directory'
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:58:56 +0000 (01:58 +0300)]
core,media-export: Prefer 'folder' over 'directory'

Prefer the term 'folder' over 'directory' in strings (possibly) visible to
the user.

14 years agocore: Don't mark extra space from translation
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:53:24 +0000 (01:53 +0300)]
core: Don't mark extra space from translation

14 years agomedia-export: Use ngettext for string with plurals
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:51:00 +0000 (01:51 +0300)]
media-export: Use ngettext for string with plurals

14 years agocore,mediathek: More translator-friendly language
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:49:22 +0000 (01:49 +0300)]
core,mediathek: More translator-friendly language

14 years agocore,plugins: Grammer/spelling corrections
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:47:07 +0000 (01:47 +0300)]
core,plugins: Grammer/spelling corrections

14 years agocore,media-export: Correctly case abbreviations
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:42:24 +0000 (01:42 +0300)]
core,media-export: Correctly case abbreviations

- 'URL' instead of 'Url' or 'url'
- 'ID' instead of 'id' or 'Id'

14 years agocore,tracker: Add comments for translators
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:40:39 +0000 (01:40 +0300)]
core,tracker: Add comments for translators

14 years agoui: Add some comments for translators
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 21:31:08 +0000 (00:31 +0300)]
ui: Add some comments for translators

14 years agoui: No need to translate 'Tracker'
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 21:30:20 +0000 (00:30 +0300)]
ui: No need to translate 'Tracker'

14 years agol10n: Add POTFILES.skip
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 20:42:35 +0000 (23:42 +0300)]
l10n: Add POTFILES.skip

14 years agoAdded Spanish to LINGUAS
Jorge González [Mon, 19 Apr 2010 19:16:42 +0000 (21:16 +0200)]
Added Spanish to LINGUAS

14 years agoAdded Spanish translation
Jorge González [Mon, 19 Apr 2010 19:16:31 +0000 (21:16 +0200)]
Added Spanish translation

14 years agocore,plugins,ui: Avoid '+' for translatable strings
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 13:28:55 +0000 (16:28 +0300)]
core,plugins,ui: Avoid '+' for translatable strings

Since translation tools don't know how to deal with vala files, they only
take the first string if strings are cancatenated using '+' operator.

14 years agocore,plugins,ui: Mark translatable strings
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 00:08:30 +0000 (03:08 +0300)]
core,plugins,ui: Mark translatable strings

Mark translatable strings fro translation using the '_()' macro.

14 years agoplugins: Include config.h
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 00:03:14 +0000 (03:03 +0300)]
plugins: Include config.h

14 years agol10n: Update list of Vala files
Zeeshan Ali (Khattak) [Sun, 18 Apr 2010 23:58:53 +0000 (02:58 +0300)]
l10n: Update list of Vala files

Update list of sources of translatable strings.

14 years agobuild: Correctly invoke gnome-autogen.sh
Zeeshan Ali (Khattak) [Sun, 18 Apr 2010 17:05:10 +0000 (20:05 +0300)]
build: Correctly invoke gnome-autogen.sh

14 years agobuild,l10n: Fix translation framework
Zeeshan Ali (Khattak) [Sat, 17 Apr 2010 23:38:52 +0000 (02:38 +0300)]
build,l10n: Fix translation framework

14 years agobuild: Use gnome-autogen.sh
Zeeshan Ali (Khattak) [Sat, 17 Apr 2010 23:56:34 +0000 (02:56 +0300)]
build: Use gnome-autogen.sh

14 years agoexternal: Set model description
Zeeshan Ali (Khattak) [Fri, 16 Apr 2010 16:49:32 +0000 (19:49 +0300)]
external: Set model description

This is done so that we can avoid infinite recursion against rygel-grilo,
i-e rygel exporting sources from rygel-grilo and rygel-grilo then
exporting them on D-Bus again and so on.

14 years agocore: Plugins be able to provide a model description
Zeeshan Ali (Khattak) [Fri, 16 Apr 2010 16:48:39 +0000 (19:48 +0300)]
core: Plugins be able to provide a model description

14 years agocore: Release log for 0.5.2 RYGEL_0_5_2
Zeeshan Ali (Khattak) [Wed, 14 Apr 2010 00:02:26 +0000 (03:02 +0300)]
core: Release log for 0.5.2

14 years agodata: Add 2 virtual folders to default user config
Zeeshan Ali (Khattak) [Wed, 14 Apr 2010 13:24:18 +0000 (16:24 +0300)]
data: Add 2 virtual folders to default user config

Add 'Albums' and 'Artists' virtual folders to default user configuration.
Also describe the config option in the comment a bit.

14 years agomedia-db: Fix upgrade from db v4 to v5
Jens Georg [Sat, 10 Apr 2010 19:24:22 +0000 (21:24 +0200)]
media-db: Fix upgrade from db v4 to v5

14 years agomedia-db: Fix problems introduced by upgrade bug
Jens Georg [Fri, 9 Apr 2010 22:27:03 +0000 (00:27 +0200)]
media-db: Fix problems introduced by upgrade bug

This patch checks if there is an UNIQUE constraint on the object_fk column
of meta_data and if not re-creates the table forcing a full re-index.

14 years agomedia-db: Fix upgrade from schema v3
Jens Georg [Fri, 9 Apr 2010 22:13:06 +0000 (00:13 +0200)]
media-db: Fix upgrade from schema v3

Two problems fixed in this patch:
  - The original upgrade from v3 to v4 skipped a UNIQUE constrained which
    lead multiple metadata entries for a single file
  - the database was not upgraded to v5 if upgraded from v3, only to v4

14 years agomedia-export: Refactor search method
Jens Georg [Wed, 7 Apr 2010 01:04:08 +0000 (03:04 +0200)]
media-export: Refactor search method

Split large search implementation into smaller pieces. Should improve
readability of code. Also updates documentation.

14 years agomedia-export: Fix browsing of virtual containers
Jens Georg [Mon, 29 Mar 2010 17:41:49 +0000 (19:41 +0200)]
media-export: Fix browsing of virtual containers

Make virtual container parent of its children. Some picky control points
might not have shown the content of the virtual folders defined in
configuration unless this is the case.

14 years agomedia-export: Clean-up search method
Jens Georg [Mon, 29 Mar 2010 16:42:59 +0000 (18:42 +0200)]
media-export: Clean-up search method

14 years agomedia-export: Guess name of virtual container
Jens Georg [Mon, 29 Mar 2010 16:41:54 +0000 (18:41 +0200)]
media-export: Guess name of virtual container

If no title is given the virtual containter tries now to guess its own
name.

14 years agomedia-db: Update coding style
Jens Georg [Mon, 5 Apr 2010 20:18:17 +0000 (22:18 +0200)]
media-db: Update coding style

14 years agocore: Make parent_ref a property
Jens Georg [Mon, 5 Apr 2010 20:05:04 +0000 (22:05 +0200)]
core: Make parent_ref a property

This automatically sets parent with parent_ref

14 years agomedia-db: Cleanup SQL strings
Jens Georg [Mon, 5 Apr 2010 19:15:22 +0000 (21:15 +0200)]
media-db: Cleanup SQL strings

14 years agotests: Coverage for new subtitle APIs
Zeeshan Ali (Khattak) [Tue, 13 Apr 2010 11:25:54 +0000 (14:25 +0300)]
tests: Coverage for new subtitle APIs

14 years agocore: ContentDirectory callbacks don't need to be virtual
Zeeshan Ali (Khattak) [Tue, 23 Feb 2010 12:38:47 +0000 (14:38 +0200)]
core: ContentDirectory callbacks don't need to be virtual

14 years agocore: Fix a potential crasher bug
Zeeshan Ali (Khattak) [Mon, 12 Apr 2010 15:45:47 +0000 (18:45 +0300)]
core: Fix a potential crasher bug

We were assuming that the 'CreateObject' action will always contain at
least one item in the DIDL-Lite XML but that might not be the case. The
client may very well try to only create container objects.

This fixes crash against DLNA CTT test case 7.3.118.2.3.

14 years agobuild,core,plugins: Require & adapt to gupnp-av 0.5.5
Zeeshan Ali (Khattak) [Sat, 10 Apr 2010 00:47:39 +0000 (03:47 +0300)]
build,core,plugins: Require & adapt to gupnp-av 0.5.5

14 years agobuild: Require latest vala release (0.8.0)
Zeeshan Ali (Khattak) [Sat, 10 Apr 2010 00:47:17 +0000 (03:47 +0300)]
build: Require latest vala release (0.8.0)

14 years agocore: Micro indentation fix
Zeeshan Ali (Khattak) [Wed, 7 Apr 2010 23:27:24 +0000 (02:27 +0300)]
core: Micro indentation fix

14 years agocore: Add basic support for subtitles
Andreas Henriksson [Wed, 7 Apr 2010 23:19:47 +0000 (02:19 +0300)]
core: Add basic support for subtitles

For each video item, we check if there is a file in the same directory
with the same name but extension "srt" and if so, we serve it using
Samsung's custom DIDL-Lite and HTTP extensions.

Co-author & reviewer: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>

14 years agobuild: Require latest gupnp-vala bindings
Zeeshan Ali (Khattak) [Thu, 1 Apr 2010 22:57:01 +0000 (01:57 +0300)]
build: Require latest gupnp-vala bindings

14 years agocore: Serve special description to Xbox
Zeeshan Ali (Khattak) [Wed, 31 Mar 2010 19:22:51 +0000 (22:22 +0300)]
core: Serve special description to Xbox

14 years agocore: Minor refactor of some RootDeviceFactory code
Zeeshan Ali (Khattak) [Wed, 31 Mar 2010 19:14:18 +0000 (22:14 +0300)]
core: Minor refactor of some RootDeviceFactory code

14 years agocore: Constant for ContentDirectory v1
Zeeshan Ali (Khattak) [Sun, 28 Mar 2010 01:40:10 +0000 (04:40 +0300)]
core: Constant for ContentDirectory v1

14 years agobuild: Require gupnp >= 0.13.3
Zeeshan Ali (Khattak) [Sun, 28 Mar 2010 01:37:39 +0000 (04:37 +0300)]
build: Require gupnp >= 0.13.3

14 years agocore: It's 'Xbox' not 'XBox'
Zeeshan Ali (Khattak) [Fri, 26 Mar 2010 17:12:14 +0000 (19:12 +0200)]
core: It's 'Xbox' not 'XBox'

14 years agocore: Keep RootDeviceFactory internal
Zeeshan Ali (Khattak) [Fri, 26 Mar 2010 17:10:06 +0000 (19:10 +0200)]
core: Keep RootDeviceFactory internal

14 years agocore: Micro coding-style fix
Zeeshan Ali (Khattak) [Thu, 25 Mar 2010 11:10:41 +0000 (13:10 +0200)]
core: Micro coding-style fix

14 years agocore: Cleaner XBoxHacks construction API
Zeeshan Ali (Khattak) [Wed, 24 Mar 2010 16:31:05 +0000 (18:31 +0200)]
core: Cleaner XBoxHacks construction API

Now XBoxHacks is created specifically for an action and errors out if
action's user-agent isn't XBox.

14 years agocore: Micro coding-style fixes
Zeeshan Ali (Khattak) [Wed, 24 Mar 2010 16:21:36 +0000 (18:21 +0200)]
core: Micro coding-style fixes

14 years agocore: Make use of reference passing in XBoxHacks API
Zeeshan Ali (Khattak) [Wed, 24 Mar 2010 16:20:18 +0000 (18:20 +0200)]
core: Make use of reference passing in XBoxHacks API

14 years agocore: Move older XBox hacks to new relavent class
Zeeshan Ali (Khattak) [Wed, 24 Mar 2010 01:21:48 +0000 (03:21 +0200)]
core: Move older XBox hacks to new relavent class

14 years agocore: Apply Xbox hacks on search results as well
Zeeshan Ali (Khattak) [Wed, 24 Mar 2010 01:15:37 +0000 (03:15 +0200)]
core: Apply Xbox hacks on search results as well

14 years agocore: Add XBox hacks
Zeeshan Ali (Khattak) [Wed, 24 Mar 2010 01:07:53 +0000 (03:07 +0200)]
core: Add XBox hacks

If the "User-Agent" header in the request contains "XBox", we assume the
client is Xbox. The hacks are currently simple: we just override the
mime-type of the item so that XBox likes it better.

14 years agocore,media-export,tracker: Specific class for photos
Zeeshan Ali (Khattak) [Tue, 23 Mar 2010 15:14:53 +0000 (17:14 +0200)]
core,media-export,tracker: Specific class for photos

Most images rygel will deal with are photos anyway and XBox only deals
with this specific class so lets just use that instead of generic 'image'.

14 years agomedia-export: Minor refactor
Zeeshan Ali (Khattak) [Sun, 28 Mar 2010 19:01:15 +0000 (22:01 +0300)]
media-export: Minor refactor

14 years agomedia-export: Small refactor
Jens Georg [Sun, 28 Mar 2010 12:33:28 +0000 (14:33 +0200)]
media-export: Small refactor

14 years agomedia-export: Coding style fix
Jens Georg [Sun, 28 Mar 2010 11:51:53 +0000 (13:51 +0200)]
media-export: Coding style fix

14 years agomedia-export: Use ref for argument modification
Jens Georg [Sun, 28 Mar 2010 11:57:15 +0000 (13:57 +0200)]
media-export: Use ref for argument modification

14 years agomedia-export: Catch previously uncaught exceptions
Jens Georg [Sat, 27 Mar 2010 17:04:14 +0000 (18:04 +0100)]
media-export: Catch previously uncaught exceptions

14 years agomedia-export: Vala bug 568972 is fixed since 0.7.9
Jens Georg [Sat, 27 Mar 2010 16:54:46 +0000 (17:54 +0100)]
media-export: Vala bug 568972 is fixed since 0.7.9

14 years agomedia-export: Fix error with vala-head
Jens Georg [Sat, 27 Mar 2010 16:49:10 +0000 (17:49 +0100)]
media-export: Fix error with vala-head

14 years agodata: Have SCPD include spec version
Jens Georg [Sat, 20 Mar 2010 22:29:54 +0000 (23:29 +0100)]
data: Have SCPD include spec version

This version is not of the MediaServer but "UPnP Device Architecture".

14 years agocore: Buffer 65K instead of 4K
Zeeshan Ali (Khattak) [Tue, 23 Mar 2010 13:17:21 +0000 (15:17 +0200)]
core: Buffer 65K instead of 4K

Bigger buffer means less cpu usage and therefore better battery life.

14 years agocore: Content-Length was off by 1 byte
Zeeshan Ali (Khattak) [Tue, 23 Mar 2010 12:31:25 +0000 (14:31 +0200)]
core: Content-Length was off by 1 byte

14 years agocore: Minor refactor
Zeeshan Ali (Khattak) [Tue, 23 Mar 2010 12:22:27 +0000 (14:22 +0200)]
core: Minor refactor

14 years agocore: Removed unneeded conversions to double
Zeeshan Ali (Khattak) [Tue, 23 Mar 2010 01:00:55 +0000 (03:00 +0200)]
core: Removed unneeded conversions to double

14 years agomedia-export: Small refactor
Jens Georg [Sun, 14 Mar 2010 10:09:30 +0000 (11:09 +0100)]
media-export: Small refactor

14 years agocore: Minor coding style fixes
Jens Georg [Sun, 21 Mar 2010 01:15:28 +0000 (02:15 +0100)]
core: Minor coding style fixes