profile/ivi/rygel.git
15 years agocore: Use the correct config file
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 12:54:17 +0000 (15:54 +0300)]
core: Use the correct config file

15 years agocore: Remove gconf stuff from configure.ac
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 12:47:02 +0000 (15:47 +0300)]
core: Remove gconf stuff from configure.ac

15 years agocore: Remove gconf schema files
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 12:45:07 +0000 (15:45 +0300)]
core: Remove gconf schema files

15 years agocore: Templates for config file
Zeeshan Ali (Khattak) [Sat, 4 Jul 2009 08:12:05 +0000 (11:12 +0300)]
core: Templates for config file

Config file is now generated from one of the templates. This the
equivalent of gconf schemas.

15 years agocore: Install config file in system config dir
Zeeshan Ali (Khattak) [Fri, 3 Jul 2009 22:30:16 +0000 (01:30 +0300)]
core: Install config file in system config dir

15 years agocore: Correct condition for system config loading
Zeeshan Ali (Khattak) [Fri, 3 Jul 2009 21:56:19 +0000 (00:56 +0300)]
core: Correct condition for system config loading

System config file should be used if configuration is read-only and not
the other way around.

15 years agocore: Minor indentation fix
Zeeshan Ali (Khattak) [Fri, 3 Jul 2009 21:50:19 +0000 (00:50 +0300)]
core: Minor indentation fix

15 years agocore,ui: Diff between read-only and writable config
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 21:20:47 +0000 (00:20 +0300)]
core,ui: Diff between read-only and writable config

read-only: Reads config from system-installed config file as well and
           doesn't support saving of changes.
writable:  Reads config only from user's config file and supports saving
           of changes.

15 years agoui: Don't use the default singleton
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 20:48:58 +0000 (23:48 +0300)]
ui: Don't use the default singleton

15 years agocore: Don't lose translations/comments in config
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 15:47:40 +0000 (18:47 +0300)]
core: Don't lose translations/comments in config

15 years agoui: keep and save the configuration in the end
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 15:39:25 +0000 (18:39 +0300)]
ui: keep and save the configuration in the end

15 years agocore: Provide configuration saving API
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 15:38:52 +0000 (18:38 +0300)]
core: Provide configuration saving API

15 years agoui: Put failable calls in separate try/catch blocks
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 14:43:51 +0000 (17:43 +0300)]
ui: Put failable calls in separate try/catch blocks

15 years agoui: "port" key is now also optional
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 14:19:29 +0000 (17:19 +0300)]
ui: "port" key is now also optional

15 years agoui: Explicitly link to dbus-glib
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 14:15:12 +0000 (17:15 +0300)]
ui: Explicitly link to dbus-glib

15 years agocore,plugins,ui: Move from GConf to .ini file usage
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 13:49:07 +0000 (16:49 +0300)]
core,plugins,ui: Move from GConf to .ini file usage

15 years agocore: Expose sysconfdir to vala world
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 13:47:50 +0000 (16:47 +0300)]
core: Expose sysconfdir to vala world

15 years agocore: Bump-up vala requirement to 0.7.4
Zeeshan Ali (Khattak) [Fri, 26 Jun 2009 11:16:15 +0000 (14:16 +0300)]
core: Bump-up vala requirement to 0.7.4

15 years agocore,media-export: Rename DatabaseBackedMediaContainer
Jens Georg [Thu, 25 Jun 2009 12:33:17 +0000 (14:33 +0200)]
core,media-export: Rename DatabaseBackedMediaContainer

15 years agocore: rename database strings
Jens Georg [Thu, 25 Jun 2009 12:25:32 +0000 (14:25 +0200)]
core: rename database strings

15 years agomedia-export: skip files/folders starting with '.'
Jens Georg [Wed, 24 Jun 2009 23:03:56 +0000 (01:03 +0200)]
media-export: skip files/folders starting with '.'

15 years agomedia-export: notify about updates
Jens Georg [Wed, 24 Jun 2009 23:00:28 +0000 (01:00 +0200)]
media-export: notify about updates

notify about updated containers after harvesting
all files in this container

15 years agocore: update child count if container is updated
Jens Georg [Wed, 24 Jun 2009 22:52:40 +0000 (00:52 +0200)]
core: update child count if container is updated

15 years agomedia-export: cleanup root container descendency
Jens Georg [Wed, 24 Jun 2009 22:51:29 +0000 (00:51 +0200)]
media-export: cleanup root container descendency

15 years agomedia-export: get rid of third queue
Jens Georg [Wed, 24 Jun 2009 22:29:48 +0000 (00:29 +0200)]
media-export: get rid of third queue

15 years agocore: add basic sorting
Jens Georg [Wed, 24 Jun 2009 22:19:15 +0000 (00:19 +0200)]
core: add basic sorting

15 years agomedia-export: fix child count reporting
Jens Georg [Wed, 24 Jun 2009 22:12:19 +0000 (00:12 +0200)]
media-export: fix child count reporting

15 years agomedia-export: fix id calculation
Jens Georg [Wed, 24 Jun 2009 21:27:23 +0000 (23:27 +0200)]
media-export: fix id calculation

15 years agomedia-export: remove debug output
Jens Georg [Wed, 24 Jun 2009 21:20:48 +0000 (23:20 +0200)]
media-export: remove debug output

15 years agomedia-export: remove unused classes
Jens Georg [Wed, 24 Jun 2009 21:17:18 +0000 (23:17 +0200)]
media-export: remove unused classes

15 years agocore: add existence check for object to db
Jens Georg [Wed, 24 Jun 2009 21:13:20 +0000 (23:13 +0200)]
core: add existence check for object to db

15 years agomedia-export: Add media harvester class
Jens Georg [Wed, 24 Jun 2009 20:43:40 +0000 (22:43 +0200)]
media-export: Add media harvester class

15 years agocore: Revert "core: Allow parentless Media item"
Jens Georg [Wed, 24 Jun 2009 19:59:46 +0000 (21:59 +0200)]
core: Revert "core: Allow parentless Media item"

This reverts commit f7bf5909f5b1e1413ad0472a3a7f2fbf9e31edb3.

15 years agocore: get rid of parentless media item
Jens Georg [Wed, 24 Jun 2009 19:58:05 +0000 (21:58 +0200)]
core: get rid of parentless media item

15 years agocore: Create directory of database if not already existing
Jens Georg [Mon, 22 Jun 2009 22:08:03 +0000 (00:08 +0200)]
core: Create directory of database if not already existing

15 years agocore: move uris from MediaItem to MediaObject
Jens Georg [Sun, 21 Jun 2009 00:12:44 +0000 (02:12 +0200)]
core: move uris from MediaItem to MediaObject

15 years agocore: initialize database backed container with correct child count
Jens Georg [Sun, 21 Jun 2009 00:08:56 +0000 (02:08 +0200)]
core: initialize database backed container with correct child count

15 years agocore: add function to query child count from database
Jens Georg [Sun, 21 Jun 2009 00:08:01 +0000 (02:08 +0200)]
core: add function to query child count from database

15 years agocore: never return null children list; use empty list instead
Jens Georg [Sun, 21 Jun 2009 00:04:59 +0000 (02:04 +0200)]
core: never return null children list; use empty list instead

15 years agocore: Fix join in query and giving child correct id
Jens Georg [Sun, 21 Jun 2009 00:03:00 +0000 (02:03 +0200)]
core: Fix join in query and giving child correct id

15 years agocore: Fix query for objects regargind left outer join semantics
Jens Georg [Sat, 20 Jun 2009 23:58:49 +0000 (01:58 +0200)]
core: Fix query for objects regargind left outer join semantics

Previously no objects would be found if there was no metadata. This
applys to containers. Mixed up left and right here.

15 years agocore: add uris to items when fetched from db
Jens Georg [Sat, 20 Jun 2009 23:52:28 +0000 (01:52 +0200)]
core: add uris to items when fetched from db

15 years agocore: fix bogus return statement
Jens Georg [Sat, 20 Jun 2009 23:41:59 +0000 (01:41 +0200)]
core: fix bogus return statement

15 years agocore: for all children set container as parent
Jens Georg [Sat, 20 Jun 2009 23:28:51 +0000 (01:28 +0200)]
core: for all children set container as parent

15 years agocore: Replace homegrown queue with GLib's
Jens Georg [Tue, 9 Jun 2009 21:48:27 +0000 (23:48 +0200)]
core: Replace homegrown queue with GLib's

15 years agocore: issue File if finished, not uri
Jens Georg [Thu, 4 Jun 2009 23:05:03 +0000 (01:05 +0200)]
core: issue File if finished, not uri

15 years agocore: Make MetadataExtractor public in vapi
Jens Georg [Thu, 4 Jun 2009 23:04:35 +0000 (01:04 +0200)]
core: Make MetadataExtractor public in vapi

15 years agocore: Add get_children and get_object method
Jens Georg [Thu, 4 Jun 2009 22:25:31 +0000 (00:25 +0200)]
core: Add get_children and get_object method

15 years agocore: more db schema fixes
Jens Georg [Thu, 4 Jun 2009 20:25:27 +0000 (22:25 +0200)]
core: more db schema fixes

15 years agocore: Add missing item duration to table
Jens Georg [Sun, 31 May 2009 10:26:27 +0000 (12:26 +0200)]
core: Add missing item duration to table

15 years agocore: Add item retrieval method
Jens Georg [Sun, 31 May 2009 10:13:32 +0000 (12:13 +0200)]
core: Add item retrieval method

15 years agocore: Add missing file
Jens Georg [Sat, 30 May 2009 21:31:41 +0000 (23:31 +0200)]
core: Add missing file

15 years agocore: Allow parentless Media item
Jens Georg [Sat, 30 May 2009 19:07:50 +0000 (21:07 +0200)]
core: Allow parentless Media item

15 years agocore: Implement saving of item in database
Jens Georg [Sat, 30 May 2009 14:02:20 +0000 (16:02 +0200)]
core: Implement saving of item in database

15 years agocore: Add basic media database class
Jens Georg [Mon, 25 May 2009 20:01:56 +0000 (22:01 +0200)]
core: Add basic media database class

15 years agocore: Use fake sinks for playbin to suppress window popup on video
Jens Georg [Sun, 24 May 2009 14:35:12 +0000 (16:35 +0200)]
core: Use fake sinks for playbin to suppress window popup on video

15 years agocore: Handle error in extract_mime_and_size
Jens Georg [Sun, 24 May 2009 14:30:44 +0000 (16:30 +0200)]
core: Handle error in extract_mime_and_size

Got to next uri if this function fails

15 years agocore: Fix TagName != structure key
Jens Georg [Sun, 24 May 2009 14:26:12 +0000 (16:26 +0200)]
core: Fix TagName != structure key

15 years agocore: Add simple Queue convenience class based on Gee.ArrayList
Jens Georg [Sun, 24 May 2009 14:24:20 +0000 (16:24 +0200)]
core: Add simple Queue convenience class based on Gee.ArrayList

15 years agocore: Add error event for failing files
Jens Georg [Sun, 24 May 2009 14:21:14 +0000 (16:21 +0200)]
core: Add error event for failing files

15 years agocore: Add custom tags to taglist for extra info
Jens Georg [Sun, 24 May 2009 14:17:05 +0000 (16:17 +0200)]
core: Add custom tags to taglist for extra info

Extra information like width, height etc. is not covered
by the standard tags. While collecting this data is now
inserted into the tag list.

15 years agocore: Replace properties with internal queue
Jens Georg [Sat, 23 May 2009 12:04:23 +0000 (14:04 +0200)]
core: Replace properties with internal queue

15 years agocore: Collect tags and emit them en-block when done
Jens Georg [Sat, 23 May 2009 10:37:50 +0000 (12:37 +0200)]
core: Collect tags and emit them en-block when done

Previous code was emitting a signal for every tag found

15 years agocore: Make extractor compile
Jens Georg [Fri, 22 May 2009 13:27:38 +0000 (15:27 +0200)]
core: Make extractor compile

15 years agocore: Revert "Remove MetadataExtractor class."
Jens Georg [Fri, 22 May 2009 12:33:05 +0000 (14:33 +0200)]
core: Revert "Remove MetadataExtractor class."

This reverts commit 4d530bd0347c69a95110c7d399372e19cdf83793.
libowl would drag in a hard dependency to GTK+ which is not desired

Conflicts:

    src/rygel/Makefile.am

15 years agotracker: Clamp the index and offset
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 11:43:10 +0000 (14:43 +0300)]
tracker: Clamp the index and offset

Without this, Rygel was crashing because of tracker plugin passing
invalid params to List.slice().

15 years agocore: Provide 'childCount' only when requested
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 11:26:03 +0000 (14:26 +0300)]
core: Provide 'childCount' only when requested

15 years agocore: Correctly handle top-level attributes
Zeeshan Ali (Khattak) [Wed, 24 Jun 2009 11:25:19 +0000 (14:25 +0300)]
core: Correctly handle top-level attributes

15 years agoexternal: Don't load the plugin more than once
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 22:52:28 +0000 (01:52 +0300)]
external: Don't load the plugin more than once

15 years agomedia-export: Remove extra "-media" from filenames
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 22:01:40 +0000 (01:01 +0300)]
media-export: Remove extra "-media" from filenames

15 years agocore: Clear 'serviceList' before adding services
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 16:07:07 +0000 (19:07 +0300)]
core: Clear 'serviceList' before adding services

15 years agocore: Put BrowseFilter class in separate file
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 15:09:42 +0000 (18:09 +0300)]
core: Put BrowseFilter class in separate file

15 years agocore: Apply browse filter to 'res' attributes
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 13:47:40 +0000 (16:47 +0300)]
core: Apply browse filter to 'res' attributes

15 years agocore: Attributes imply inclusion of associated prop
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 12:37:29 +0000 (15:37 +0300)]
core: Attributes imply inclusion of associated prop

15 years agocore: Assume parent of parentless item to be root
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 22:45:29 +0000 (01:45 +0300)]
core: Assume parent of parentless item to be root

15 years agocore: Minor re-formatting to reduce LOCs
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 22:02:48 +0000 (01:02 +0300)]
core: Minor re-formatting to reduce LOCs

15 years agocore: Rename Filter to BrowseFilter
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 20:36:51 +0000 (23:36 +0300)]
core: Rename Filter to BrowseFilter

15 years agocore: "upnp:class" is mandatory property.
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 20:32:07 +0000 (23:32 +0300)]
core: "upnp:class" is mandatory property.

15 years agocore: No need to refer by full path
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 20:24:24 +0000 (23:24 +0300)]
core: No need to refer by full path

15 years agocore: Take care of property prefixes in filter
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 20:21:14 +0000 (23:21 +0300)]
core: Take care of property prefixes in filter

15 years agocore: Implement filtered-browse.
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 15:56:04 +0000 (18:56 +0300)]
core: Implement filtered-browse.

Currently we are not handling "res" properties.

15 years agocore: Use 'this' keyword.
Zeeshan Ali (Khattak) [Mon, 22 Jun 2009 14:21:58 +0000 (17:21 +0300)]
core: Use 'this' keyword.

15 years agocore: Allow owned refs to parent container
Zeeshan Ali (Khattak) [Tue, 23 Jun 2009 11:57:28 +0000 (14:57 +0300)]
core: Allow owned refs to parent container

15 years agoui: Separate out try/catch blocks
Zeeshan Ali (Khattak) [Sat, 20 Jun 2009 23:27:16 +0000 (02:27 +0300)]
ui: Separate out try/catch blocks

Put calls with different chances of failure into separate try/catch
blocks.

15 years agoui: Catch error when getting URIs from config
Zeeshan Ali (Khattak) [Sat, 20 Jun 2009 23:17:44 +0000 (02:17 +0300)]
ui: Catch error when getting URIs from config

15 years agoexternal: Make use of 'DLNAProfile' property
Zeeshan Ali (Khattak) [Thu, 18 Jun 2009 15:38:53 +0000 (18:38 +0300)]
external: Make use of 'DLNAProfile' property

15 years agocore: Add 'dlna_profile' to MediaItem
Zeeshan Ali (Khattak) [Thu, 18 Jun 2009 15:38:17 +0000 (18:38 +0300)]
core: Add 'dlna_profile' to MediaItem

15 years agocore: Disable MediaExport plugin on Maemo for now
Zeeshan Ali (Khattak) [Thu, 18 Jun 2009 15:20:40 +0000 (18:20 +0300)]
core: Disable MediaExport plugin on Maemo for now

15 years agocore: Don't use @REALNAME@ on Maemo
Zeeshan Ali (Khattak) [Thu, 18 Jun 2009 15:19:11 +0000 (18:19 +0300)]
core: Don't use @REALNAME@ on Maemo

Don't use @REALNAME@ in titles on Maemo.

15 years agocore: Require GStreamer >= 0.10.23
Zeeshan Ali (Khattak) [Thu, 18 Jun 2009 10:59:17 +0000 (13:59 +0300)]
core: Require GStreamer >= 0.10.23

Without that gstreamer, video transcoding will not work.

15 years agotracker: Better detection of Tracker availability
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 14:44:24 +0000 (17:44 +0300)]
tracker: Better detection of Tracker availability

Talk to Tracker directly to see if it's running or not instead of trying
to launch it. Fixes bug#586134.

15 years agocore: Enable LCPM transcoding for maemo
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 14:30:42 +0000 (17:30 +0300)]
core: Enable LCPM transcoding for maemo

15 years agocore: Add all schema files to distribution
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 14:28:44 +0000 (17:28 +0300)]
core: Add all schema files to distribution

15 years agocore: Refer to file by path not name
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 13:57:47 +0000 (16:57 +0300)]
core: Refer to file by path not name

Refering to it just by name was breaking `make distcheck`.

15 years agocore: Update README according to recent changes
Zeeshan Ali (Khattak) [Mon, 15 Jun 2009 07:59:28 +0000 (10:59 +0300)]
core: Update README according to recent changes

15 years agocore,ui,dvb: Remove DVB plugin
Zeeshan Ali (Khattak) [Mon, 15 Jun 2009 07:57:19 +0000 (10:57 +0300)]
core,ui,dvb: Remove DVB plugin

DVB Daemon will soon be implementing D-Bus MediaServer spec.

15 years agomedia-export: fix crash if nothing was configured
Jens Georg [Tue, 16 Jun 2009 18:16:39 +0000 (20:16 +0200)]
media-export: fix crash if nothing was configured

15 years agocore,plugins,ui: Fix self-contradiction in headers
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 11:47:10 +0000 (14:47 +0300)]
core,plugins,ui: Fix self-contradiction in headers

Remove "all rights reserved" part from all copyright headers.
Fixes bug#585986.

15 years agocore: Add forgotten files to BUILT_SOURCES
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 11:42:59 +0000 (14:42 +0300)]
core: Add forgotten files to BUILT_SOURCES

15 years agocore,plugins,ui: `make clean` don't clean generated files
Zeeshan Ali (Khattak) [Wed, 17 Jun 2009 11:32:45 +0000 (14:32 +0300)]
core,plugins,ui: `make clean` don't clean generated files

This should be done by `make maintainer-clean`. Fixes bug#585989.