profile/ivi/rygel.git
11 years agomedia-export: Prevent critical
Jens Georg [Wed, 10 Apr 2013 11:45:29 +0000 (13:45 +0200)]
media-export: Prevent critical

With the previous change, if a file was added to the toplevel container, a
critical would occur since its parent is not a DummyContainer and thus the
cast resulted in NULL.

11 years agomedia-export: Fix child-count if only folders are harvested
Jens Georg [Tue, 9 Apr 2013 10:51:27 +0000 (12:51 +0200)]
media-export: Fix child-count if only folders are harvested

11 years agomedia-export: Don't hide empty folders
Jens Georg [Mon, 8 Apr 2013 10:12:28 +0000 (12:12 +0200)]
media-export: Don't hide empty folders

Unbreak synchronisation and fix MediaExport's part of 660885

11 years agocore,tracker: Fix upload of files
Marcin Kazmierczak [Wed, 22 Feb 2012 14:03:12 +0000 (15:03 +0100)]
core,tracker: Fix upload of files

core:
MediaContainer: Add empty children counter. Add check_search_expression
function, which set create_mode on true, when "upnp:createClass" operand
was detected.
SearchableContainer: Use check_search_expression in simple_search function
to determine child counter.
SimpleContainer: Use check_search_expression to search both in empty and
non-empty children, during adding new item.

tests: searchable-container-test: Add children counter to MediaContainer
class. Add empty function check_search_expression in class MediaContainer.

Previously it was impossible to add new item, when matched container was
empty. For example user can't add picture, when don't have any picture.
Now it's possible, because now search function return also empty children
container, when search expression contains "upnp:createClass" operand. This
works when HttpPost was used to upload file.

https://bugzilla.gnome.org/show_bug.cgi?id=660885

11 years agoserver: Prevent critical on upload
Jens Georg [Mon, 25 Mar 2013 12:31:05 +0000 (13:31 +0100)]
server: Prevent critical on upload

11 years agoUpdated British English translation
Bruce Cowan [Sat, 6 Apr 2013 16:47:14 +0000 (17:47 +0100)]
Updated British English translation

11 years agotests,media-export: Test plugin
Jens Georg [Thu, 14 Mar 2013 12:36:25 +0000 (13:36 +0100)]
tests,media-export: Test plugin

11 years agomedia-export: Be able to use in-memory database
Jens Georg [Wed, 25 Aug 2010 17:09:04 +0000 (20:09 +0300)]
media-export: Be able to use in-memory database

Useful for unittests

11 years agoUpdate .gitignore
Jens Georg [Fri, 15 Mar 2013 09:19:36 +0000 (10:19 +0100)]
Update .gitignore

11 years agomedia-export: Fix error reporting in cursor API
Jens Georg [Thu, 14 Mar 2013 11:37:12 +0000 (12:37 +0100)]
media-export: Fix error reporting in cursor API

has_next() was supposed to cache the error and next() to throw it, but
has_next() was returning "false" on errors so the next() to throw was never
called, causing database errors to disappear.

This patch just changes has_next () to throw on error.

11 years agomedia-export: Fix title preserving
Jens Georg [Wed, 13 Mar 2013 09:08:59 +0000 (10:08 +0100)]
media-export: Fix title preserving

Prefer the title of provided by CreateObject instead of the one deduced from
the file.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=683926

11 years agorygel: Fix compilation
Jens Georg [Tue, 2 Apr 2013 10:16:20 +0000 (12:16 +0200)]
rygel: Fix compilation

11 years agoserver: Set CreateContainer OCM flag
Jens Georg [Thu, 7 Mar 2013 14:34:46 +0000 (15:34 +0100)]
server: Set CreateContainer OCM flag

https://bugzilla.gnome.org/show_bug.cgi?id=694155

11 years agoserver: Fix check for invalid OCM flags
Jens Georg [Thu, 7 Mar 2013 12:52:20 +0000 (13:52 +0100)]
server: Fix check for invalid OCM flags

This check has to be applied to items only, not all objects.

https://bugzilla.gnome.org/show_bug.cgi?id=694155

11 years agodoc: Add architecture SVG to git
Jens Georg [Tue, 2 Apr 2013 09:29:16 +0000 (11:29 +0200)]
doc: Add architecture SVG to git

11 years agoAdded Basque language\nAdded 'eu' (Basque) to LINGUAS
Inaki Larranaga Murgoitio [Tue, 2 Apr 2013 08:53:48 +0000 (10:53 +0200)]
Added Basque language\nAdded 'eu' (Basque) to LINGUAS

11 years agorygel: Show warning on missing config
Jens Georg [Fri, 29 Mar 2013 21:03:10 +0000 (22:03 +0100)]
rygel: Show warning on missing config

11 years agorygel: Minor commandline arg improvements
Jens Georg [Fri, 29 Mar 2013 21:02:29 +0000 (22:02 +0100)]
rygel: Minor commandline arg improvements

11 years agoUpdated Indonesian translation
Andika Triwidada [Thu, 28 Mar 2013 12:33:54 +0000 (19:33 +0700)]
Updated Indonesian translation

11 years agoserver: Clarify signal emission
Jens Georg [Wed, 20 Mar 2013 16:55:49 +0000 (17:55 +0100)]
server: Clarify signal emission

11 years agomedia-engine-gst: Drop format restriction
Jens Georg [Wed, 20 Mar 2013 16:52:16 +0000 (17:52 +0100)]
media-engine-gst: Drop format restriction

GStreamer should be able to figure it out itself.

11 years agobuild: Drop COLLATION_* variables
Jens Georg [Mon, 18 Mar 2013 14:33:49 +0000 (15:33 +0100)]
build: Drop COLLATION_* variables

11 years agoUpdate French translation
Alexandre Franke [Mon, 25 Mar 2013 21:40:52 +0000 (22:40 +0100)]
Update French translation

11 years agoupdating Hindi Translation
Chandan Kumar [Sun, 24 Mar 2013 10:35:28 +0000 (16:05 +0530)]
updating Hindi Translation

11 years agoupdating Hindi Translation
Chandan Kumar [Sun, 24 Mar 2013 10:31:39 +0000 (16:01 +0530)]
updating Hindi Translation

11 years agoUpdated Thai translation
Akom Chotiphantawanon [Sun, 24 Mar 2013 07:14:18 +0000 (14:14 +0700)]
Updated Thai translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Sat, 23 Mar 2013 05:52:30 +0000 (06:52 +0100)]
[l10n] Updated German translation

11 years agorenderer-gst: Show full error message
Jens Georg [Mon, 18 Mar 2013 10:23:11 +0000 (11:23 +0100)]
renderer-gst: Show full error message

11 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Sun, 17 Mar 2013 19:02:39 +0000 (20:02 +0100)]
[l10n] Updated Catalan (Valencian) translation

11 years agoUpdated Korean translation
Changwoo Ryu [Sun, 17 Mar 2013 17:16:41 +0000 (02:16 +0900)]
Updated Korean translation

11 years agoUpdated Hungarian translation
Balázs Úr [Sun, 17 Mar 2013 14:45:18 +0000 (15:45 +0100)]
Updated Hungarian translation

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 17 Mar 2013 10:51:30 +0000 (12:51 +0200)]
Updated Latvian translation

11 years agoUpdated Tamil translation
Dr.T.Vasudevan [Sat, 16 Mar 2013 06:06:10 +0000 (11:36 +0530)]
Updated Tamil translation

11 years agoUpdated Slovenian translation
Martin Srebotnjak [Thu, 14 Mar 2013 22:18:03 +0000 (23:18 +0100)]
Updated Slovenian translation

11 years agoUse double quotes for RYGEL_BASE_MODULES so the variables get
Jasper Lievisse Adriaanse [Thu, 14 Mar 2013 09:02:45 +0000 (10:02 +0100)]
Use double quotes for RYGEL_BASE_MODULES so the variables get
correctly expanded in all shells.

11 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Wed, 13 Mar 2013 11:11:17 +0000 (13:11 +0200)]
[l10n] Updated Estonian translation

11 years agoUpdated Danish translation
Joe Hansen [Tue, 12 Mar 2013 22:20:15 +0000 (23:20 +0100)]
Updated Danish translation

11 years ago[l10n] Updated Catalan translation
Joan Duran [Tue, 12 Mar 2013 06:41:09 +0000 (07:41 +0100)]
[l10n] Updated Catalan translation

11 years agoUpdated Portuguese translation and converted to New Spelling (Novo AO)
Duarte Loreto [Mon, 11 Mar 2013 23:22:25 +0000 (23:22 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)

11 years agoFinnish translation update by Jiri Grönroos
Ville-Pekka Vainio [Mon, 11 Mar 2013 21:39:05 +0000 (23:39 +0200)]
Finnish translation update by Jiri Grönroos

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Mon, 11 Mar 2013 15:57:58 +0000 (16:57 +0100)]
[l10n] Updated Italian translation.

11 years agomedia-export: Partially revert 3b90050
Jens Georg [Mon, 11 Mar 2013 11:41:42 +0000 (12:41 +0100)]
media-export: Partially revert 3b90050

11 years agoserver: Add Samsung TV hacks for mkv format
Choe Hwanjin [Wed, 19 Dec 2012 15:35:10 +0000 (00:35 +0900)]
server: Add Samsung TV hacks for mkv format

Samsung TV wants "video/x-mkv" instead of "video/x-matroska".

https://bugzilla.gnome.org/show_bug.cgi?id=691654

11 years agoall: Fix typo and namespace
Jens Georg [Thu, 7 Mar 2013 15:39:25 +0000 (16:39 +0100)]
all: Fix typo and namespace

11 years agoAssamese translation updated for gnome 3.8
Nilamdyuti Goswami [Thu, 7 Mar 2013 07:59:00 +0000 (13:29 +0530)]
Assamese translation updated for gnome 3.8

11 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Thu, 7 Mar 2013 03:23:38 +0000 (00:23 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Brazilian Portuguese translation proofread by Rafael Ferreira
Enrico Nicoletto [Wed, 6 Mar 2013 17:07:47 +0000 (14:07 -0300)]
Updated Brazilian Portuguese translation proofread by Rafael Ferreira

Conflicts:
po/pt_BR.po

11 years agodata: Fix preferences desktop file
Jens Georg [Wed, 6 Mar 2013 12:29:41 +0000 (13:29 +0100)]
data: Fix preferences desktop file

11 years agoPrepare 0.17.9 RYGEL_0_17_9
Jens Georg [Wed, 6 Mar 2013 11:10:13 +0000 (12:10 +0100)]
Prepare 0.17.9

11 years agotests: Fix rygel-htt-post-test
Jens Georg [Wed, 6 Mar 2013 11:41:47 +0000 (12:41 +0100)]
tests: Fix rygel-htt-post-test

11 years agomedia-export: Get rid of obsolete flags column in object table.
Krzesimir Nowak [Fri, 1 Mar 2013 11:15:43 +0000 (12:15 +0100)]
media-export: Get rid of obsolete flags column in object table.

DBus interface was using it, but it is gone since 0.17.7.

https://bugzilla.gnome.org/show_bug.cgi?id=694926

11 years agomedia-export: Use metadata extractor only in harvesting task.
Krzesimir Nowak [Mon, 4 Mar 2013 14:15:14 +0000 (15:15 +0100)]
media-export: Use metadata extractor only in harvesting task.

Harvester also kept an extractor, but it wasn't used for anything.

11 years agoserver,data: Implement CreateReference UPnP call
Jens Georg [Thu, 28 Feb 2013 13:58:36 +0000 (14:58 +0100)]
server,data: Implement CreateReference UPnP call

https://bugzilla.gnome.org/show_bug.cgi?id=694179

11 years agoserver: Fix doc typos
Jens Georg [Mon, 4 Mar 2013 10:31:11 +0000 (11:31 +0100)]
server: Fix doc typos

11 years agocore: Remove stray debug line
Jens Georg [Mon, 4 Mar 2013 12:27:05 +0000 (13:27 +0100)]
core: Remove stray debug line

11 years agomedia-export: Add missing schema version bump in database upgrade.
Krzesimir Nowak [Mon, 4 Mar 2013 08:27:12 +0000 (09:27 +0100)]
media-export: Add missing schema version bump in database upgrade.

11 years agocore,data: Force downgrade for some iOS DMCs
Jens Georg [Sun, 3 Mar 2013 16:00:35 +0000 (17:00 +0100)]
core,data: Force downgrade for some iOS DMCs

11 years agocore,data: V1 downgrade for libupnp
Jens Georg [Sun, 3 Mar 2013 13:06:06 +0000 (14:06 +0100)]
core,data: V1 downgrade for libupnp

In theory we'd want to apply the downgrade for synology NAS devices only, but
they fail to provide a proper user agent so we have to apply it to everything
out there using libupnp.

https://bugzilla.gnome.org/show_bug.cgi?id=694270

11 years agoall: Apply V1 downgrade to each service
Jens Georg [Sun, 3 Mar 2013 13:00:16 +0000 (14:00 +0100)]
all: Apply V1 downgrade to each service

https://bugzilla.gnome.org/show_bug.cgi?id=694270

11 years agoUpdated Russian translation
Stas Solovey [Sun, 3 Mar 2013 19:43:05 +0000 (23:43 +0400)]
Updated Russian translation

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Fri, 1 Mar 2013 14:51:07 +0000 (22:51 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agomedia-export: Prefer titles set by UPnP actions over discovered ones.
Krzesimir Nowak [Fri, 1 Mar 2013 09:41:24 +0000 (10:41 +0100)]
media-export: Prefer titles set by UPnP actions over discovered ones.

For this to work we have to mark an object created with CreateObject
call as guarded. It means that some of its properties (for now title
only) can't be overriden with a value from metadata extractor. The
only way to change a title of such object is by UpdateObject call.

All harvested objects that did not exist in database are not marked as
guarded. Doing UpdateObject on any object marks it as such though.

https://bugzilla.gnome.org/show_bug.cgi?id=683926

11 years agoserver,media-export: Allow container creation
Jens Georg [Wed, 20 Feb 2013 13:27:51 +0000 (14:27 +0100)]
server,media-export: Allow container creation

https://bugzilla.gnome.org/show_bug.cgi?id=694155

11 years agoserver: Add create-child-container caps
Jens Georg [Tue, 19 Feb 2013 15:58:42 +0000 (16:58 +0100)]
server: Add create-child-container caps

https://bugzilla.gnome.org/show_bug.cgi?id=694155

11 years agoserver: Cleanup and fix container updates in content directory.
Krzesimir Nowak [Tue, 26 Feb 2013 11:52:57 +0000 (12:52 +0100)]
server: Cleanup and fix container updates in content directory.

RygelContentDirectory's on_container_update handles updating system
update id, running service reset procedure if necessary, adding
LastChange entries, updating container's and object's update ids and
handles ContainerUpdateIDs variable in one body. This commit splits it
up, so it is more readable and fixes updating container's and object's
container/object update ids.

Now container gets its container update id incremented also when its
child item is being modified. We also check if passed object is a
container, so we can also increment its container update id as well.

https://bugzilla.gnome.org/show_bug.cgi?id=694019

11 years agoserver: Use custom equal function for updated_containers array.
Krzesimir Nowak [Tue, 26 Feb 2013 13:04:35 +0000 (14:04 +0100)]
server: Use custom equal function for updated_containers array.

Default equal function was simply comparing pointers, which is not
enough in this case. MediaExport plugin creates temporary
MediaContainer objects being virtual containers, so it is possible to
happen that we store such container in updated_containers array and
then later receive another one with the same id. Obviously new object
has different address than old one, so it was inserted into array as
well. It ended up with ContainerUpdateIDs having several entries with
the same id.

https://bugzilla.gnome.org/show_bug.cgi?id=694019

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 25 Feb 2013 16:44:41 +0000 (17:44 +0100)]
Updated Norwegian bokmål translation

11 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 25 Feb 2013 14:41:40 +0000 (15:41 +0100)]
Updated Slovenian translation

11 years agoUpdated Greek translation
Dimitris Spingos [Mon, 25 Feb 2013 08:08:59 +0000 (10:08 +0200)]
Updated Greek translation

11 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 24 Feb 2013 20:05:09 +0000 (22:05 +0200)]
Updated Lithuanian translation

11 years agoUpdated Uyghur translation
Gheyret Kenji [Sun, 24 Feb 2013 02:51:36 +0000 (11:51 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 23 Feb 2013 14:14:08 +0000 (16:14 +0200)]
Updated Hebrew translation.

11 years agoUpdated Uyghur translation
Gheyret Kenji [Fri, 22 Feb 2013 12:59:06 +0000 (21:59 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoPunjabi: Translation updated (aalam)
A S Alam [Fri, 22 Feb 2013 03:41:40 +0000 (03:41 +0000)]
Punjabi: Translation updated (aalam)

11 years agoFix NEWS file
Jens Georg [Thu, 21 Feb 2013 08:43:47 +0000 (09:43 +0100)]
Fix NEWS file

11 years agoAdd missing information to NEWS
Jens Georg [Wed, 20 Feb 2013 14:04:05 +0000 (15:04 +0100)]
Add missing information to NEWS

11 years agoPrepare 0.17.8 RYGEL_0_17_8
Jens Georg [Wed, 20 Feb 2013 13:44:35 +0000 (14:44 +0100)]
Prepare 0.17.8

11 years agodata: Hide rygel-preferences in GNOME
Jens Georg [Tue, 19 Feb 2013 10:50:02 +0000 (11:50 +0100)]
data: Hide rygel-preferences in GNOME

https://bugzilla.gnome.org/show_bug.cgi?id=692696

11 years agomedia-export: Do basic extraction on discoverer creation error.
Krzesimir Nowak [Mon, 18 Feb 2013 11:41:56 +0000 (12:41 +0100)]
media-export: Do basic extraction on discoverer creation error.

Doing it via on_done with info being NULL may cause some criticals or
crash, because we don't check info there.

11 years agorenderer: Honor "http_proxy" envvar in AVTransport's session.
Krzesimir Nowak [Thu, 14 Feb 2013 12:10:30 +0000 (13:10 +0100)]
renderer: Honor "http_proxy" envvar in AVTransport's session.

11 years agoUpdated Serbian translation
Мирослав Николић [Mon, 18 Feb 2013 10:14:10 +0000 (11:14 +0100)]
Updated Serbian translation

11 years agomedia-export: Option to disable virtual folders
Jens Georg [Tue, 12 Feb 2013 13:48:22 +0000 (14:48 +0100)]
media-export: Option to disable virtual folders

11 years agomedia-export: React to URI config changes
Jens Georg [Mon, 28 Jan 2013 22:38:21 +0000 (23:38 +0100)]
media-export: React to URI config changes

11 years agomedia-export: Prevent some update events at start
Jens Georg [Sun, 17 Feb 2013 09:50:04 +0000 (10:50 +0100)]
media-export: Prevent some update events at start

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 17 Feb 2013 19:57:48 +0000 (20:57 +0100)]
Updated Polish translation

11 years agoUpdated Czech translation
Marek Černocký [Sun, 17 Feb 2013 18:54:31 +0000 (19:54 +0100)]
Updated Czech translation

11 years agoUpdated Galician translations
Fran Diéguez [Sun, 17 Feb 2013 12:33:52 +0000 (13:33 +0100)]
Updated Galician translations

11 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 14 Feb 2013 15:55:19 +0000 (16:55 +0100)]
Updated Spanish translation

11 years agoserver,media-export: Add and use signals emitted after tracking child changes.
Krzesimir Nowak [Wed, 13 Feb 2013 15:43:18 +0000 (16:43 +0100)]
server,media-export: Add and use signals emitted after tracking child changes.

child_added and child_removed are emitted when respectively
add_child_tracked and remove_child_tracked are finished. We use those
signals in media-export to store the container and, optionally, its
new child in the database. That simplifies a code a bit in
media-export and makes sure that update IDs are stored in database as
well.

https://bugzilla.gnome.org/show_bug.cgi?id=693577

11 years agomedia-export: Fix looking for object's container.
Krzesimir Nowak [Wed, 13 Feb 2013 15:39:17 +0000 (16:39 +0100)]
media-export: Fix looking for object's container.

Lets make object's parent a filesystem container only if we can not
find another parent being a child of filesystem container. In this
case we want media files directly under Music directory to have Music
directory as a parent, not some filesystem container.

https://bugzilla.gnome.org/show_bug.cgi?id=693577

11 years agomedia-engine-gst: Add FIXME
Jens Georg [Wed, 13 Feb 2013 15:04:56 +0000 (16:04 +0100)]
media-engine-gst: Add FIXME

11 years agoUpdated Uyghur translation
Gheyret Kenji [Wed, 13 Feb 2013 11:39:23 +0000 (20:39 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agomedia-export: Fix critical on harvesting audio
Jens Georg [Tue, 12 Feb 2013 10:43:05 +0000 (11:43 +0100)]
media-export: Fix critical on harvesting audio

Additionally port to GST_TAG_DATE_TIME since _DATE seems to be
deprecated/unused.

11 years agoExport useful data for plugins in pc files.
Krzesimir Nowak [Tue, 12 Feb 2013 09:17:19 +0000 (10:17 +0100)]
Export useful data for plugins in pc files.

11 years agomedia-export: Change return types of RootContainer's function more useful.
Krzesimir Nowak [Mon, 11 Feb 2013 14:53:51 +0000 (15:53 +0100)]
media-export: Change return types of RootContainer's function more useful.

11 years agomedia-export: Make singleton getters non-throwing.
Krzesimir Nowak [Mon, 11 Feb 2013 14:52:15 +0000 (15:52 +0100)]
media-export: Make singleton getters non-throwing.

When loading a plugin we are ensuring that media cache could be
opened. If opening a database (or upgrading it) fail then plugin is
not loaded.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=692362

11 years agodocs: Fix build.
Krzesimir Nowak [Mon, 11 Feb 2013 15:07:42 +0000 (16:07 +0100)]
docs: Fix build.

Seems that valadoc expects @see tag to be the last one in doc comment.

11 years agodocs: RygelMediaEngine: More description
Murray Cumming [Mon, 11 Feb 2013 10:40:36 +0000 (11:40 +0100)]
docs: RygelMediaEngine: More description

More text from Mark Ryan

11 years agodocs: RygelMediaEngine: Suggest transcoder implementation.
Murray Cumming [Mon, 11 Feb 2013 10:33:14 +0000 (11:33 +0100)]
docs: RygelMediaEngine: Suggest transcoder implementation.

Added some text from Mark Ryan.

11 years agodocs: RygelDataSource: Add description
Murray Cumming [Mon, 11 Feb 2013 10:28:06 +0000 (11:28 +0100)]
docs: RygelDataSource: Add description

Add some text from Mark Ryan.