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

14 years agomedia-export: Coding style fixes
Jens Georg [Sun, 14 Mar 2010 11:16:43 +0000 (12:16 +0100)]
media-export: Coding style fixes

14 years agomedia-export: Add some checks for user-provided virtual ids
Jens Georg [Sun, 14 Mar 2010 11:13:52 +0000 (12:13 +0100)]
media-export: Add some checks for user-provided virtual ids

14 years agomedia-db: Don't crash on inconsitent database
Jens Georg [Sun, 14 Mar 2010 10:31:26 +0000 (11:31 +0100)]
media-db: Don't crash on inconsitent database

14 years agomedia-export: Properly fill child-count on virtual containers
Jens Georg [Mon, 8 Feb 2010 15:44:15 +0000 (16:44 +0100)]
media-export: Properly fill child-count on virtual containers

14 years agomedia-export: Fix saving id filtering on startup
Jens Georg [Mon, 8 Feb 2010 15:43:47 +0000 (16:43 +0100)]
media-export: Fix saving id filtering on startup

14 years agomedia-export: Hook up virtual folders to root folder
Jens Georg [Mon, 8 Feb 2010 14:01:13 +0000 (15:01 +0100)]
media-export: Hook up virtual folders to root folder

14 years agomedia-export: Simplify virtual folder parsing
Jens Georg [Sun, 14 Mar 2010 10:01:40 +0000 (11:01 +0100)]
media-export: Simplify virtual folder parsing

Virtual folders now contain the complete hierarchy from the beginning. The
format of the virtual folder definition has changed to use ? as
placeholder; also the complete hierarchy has to be defined before hand.

Example: virtual-folder:dc:date,?,upnp:artist,?,upnp:album,?

Will present a hierarchy that let's you browse by date, then by artist who
did something in that year and then by artist.

14 years agomedia-db: null search expression is allowed
Jens Georg [Fri, 12 Mar 2010 22:06:05 +0000 (23:06 +0100)]
media-db: null search expression is allowed

14 years agomedia-export: Uri-escape meta-data fields
Jens Georg [Fri, 12 Mar 2010 21:52:47 +0000 (22:52 +0100)]
media-export: Uri-escape meta-data fields

Uri-escape the fields in case they contain a ",". This was already
documented but not implemented.

14 years agocore: Fix search expression parsing
Jens Georg [Fri, 12 Mar 2010 21:11:28 +0000 (22:11 +0100)]
core: Fix search expression parsing

GScanner.input_text needs the byte count not the character count. This
caused problems parsing the search expression if a string contained
characters not within the original latin1 range.

14 years agomedia-export: Fix crash if the virtual id is not known
Jens Georg [Fri, 5 Mar 2010 18:46:32 +0000 (19:46 +0100)]
media-export: Fix crash if the virtual id is not known

14 years agomedia-export: Fix crash on single-level query containers
Jens Georg [Fri, 5 Mar 2010 18:16:26 +0000 (19:16 +0100)]
media-export: Fix crash on single-level query containers

14 years agomedia-export: Workaround XBox ID length limit
Jens Georg [Sat, 2 Jan 2010 20:10:29 +0000 (21:10 +0100)]
media-export: Workaround XBox ID length limit

XBox 360 seems to have a 64 character ID limit.

14 years agomediathek: Fix content type to video/x-ms-wmv
Jens Georg [Tue, 29 Dec 2009 18:03:01 +0000 (19:03 +0100)]
mediathek: Fix content type to video/x-ms-wmv