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

15 years agocore: Remove a redundant 'using' statement
Zeeshan Ali (Khattak) [Mon, 15 Jun 2009 08:36:18 +0000 (11:36 +0300)]
core: Remove a redundant 'using' statement

15 years agocore: Don't spam the user's config dir
Zeeshan Ali (Khattak) [Mon, 15 Jun 2009 08:32:04 +0000 (11:32 +0300)]
core: Don't spam the user's config dir

Put the description files into a subdir under user's config dir.

15 years agocore: Tell the assumed protocol when probe fails
Zeeshan Ali (Khattak) [Mon, 15 Jun 2009 07:41:37 +0000 (10:41 +0300)]
core: Tell the assumed protocol when probe fails

15 years agocore: Reduce bitrate of mpeg2 video encoder to 3Mbps
Zeeshan Ali (Khattak) [Fri, 12 Jun 2009 21:17:43 +0000 (00:17 +0300)]
core: Reduce bitrate of mpeg2 video encoder to 3Mbps

PS3 didn't like that bitrate so I assume it wasn't even allowed. This
one now works perfect with PS3 at least.

15 years agocore: MP2TSTranscoder uses 720p rather than 1080i
Zeeshan Ali (Khattak) [Fri, 12 Jun 2009 20:40:42 +0000 (23:40 +0300)]
core: MP2TSTranscoder uses 720p rather than 1080i

15 years agocore: Special schemas file for maemo
Zeeshan Ali (Khattak) [Fri, 12 Jun 2009 16:10:00 +0000 (19:10 +0300)]
core: Special schemas file for maemo

15 years agocore: configure option to enable maemo support
Zeeshan Ali (Khattak) [Fri, 12 Jun 2009 15:39:35 +0000 (18:39 +0300)]
core: configure option to enable maemo support

Currently it doesn't do anything.

15 years agocore: Add new Tracker options to schemas file
Zeeshan Ali (Khattak) [Fri, 12 Jun 2009 15:28:44 +0000 (18:28 +0300)]
core: Add new Tracker options to schemas file

15 years agoui: Tracker options to share type of media
Zeeshan Ali (Khattak) [Fri, 12 Jun 2009 15:23:02 +0000 (18:23 +0300)]
ui: Tracker options to share type of media

Add options under Tracker plugin that allows user to select which type
of items he wants to share: videos, music and/or pictures.

15 years agocore: Handle int list options
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 20:01:21 +0000 (23:01 +0300)]
core: Handle int list options

15 years agocore: Handle string list options
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 16:59:11 +0000 (19:59 +0300)]
core: Handle string list options

So now you can tell Rygel to export URIs through commandline:

rygel -o MediaExport:uris:file:////path/to/some.mp3,http:////path/to/some.ogg

Yes, yes it's ugly but how do you handle dynamic (plugin) options?

15 years agocore: Separate option tokens by ":" rather than ","
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 16:49:49 +0000 (19:49 +0300)]
core: Separate option tokens by ":" rather than ","

15 years agocore: Handle dynamic (plugin) options
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 16:26:37 +0000 (19:26 +0300)]
core: Handle dynamic (plugin) options

Only simple (non-container) options for now.

15 years agocore: Don't use same short option twice
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 16:25:48 +0000 (19:25 +0300)]
core: Don't use same short option twice

15 years agocore: Commandline option to set plugin title
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:48:49 +0000 (18:48 +0300)]
core: Commandline option to set plugin title

15 years agocore: Indentation fixes
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:35:41 +0000 (18:35 +0300)]
core: Indentation fixes

15 years agocore: Add '--disable-plugin' commandline option
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:34:48 +0000 (18:34 +0300)]
core: Add '--disable-plugin' commandline option

15 years agocore: Basic implementation of CmdlineConfig
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:15:07 +0000 (17:15 +0300)]
core: Basic implementation of CmdlineConfig

An implementation of Configuration that gets it's options from commandline
arguments.

15 years agocore: Expose more build options to vala world
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:14:10 +0000 (17:14 +0300)]
core: Expose more build options to vala world

15 years agocore: Initialize the thread system
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:13:32 +0000 (17:13 +0300)]
core: Initialize the thread system

15 years agocore: Catch more generic error
Zeeshan Ali (Khattak) [Wed, 10 Jun 2009 14:41:43 +0000 (17:41 +0300)]
core: Catch more generic error

15 years agocore,plugins: Implement and use MetaConfiguration
Zeeshan Ali (Khattak) [Wed, 10 Jun 2009 14:31:21 +0000 (17:31 +0300)]
core,plugins: Implement and use MetaConfiguration

It abstracts Rygel and it's plugins from different Configuration
implementations. It keeps all real configuration sources in a list and
returns the value provided by the first one. If none of them provides
the value, it emits an error.

15 years agocore,ui: Turn Configuration props into getter/setter
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:49:38 +0000 (17:49 +0300)]
core,ui: Turn Configuration props into getter/setter

This is mainly to allow for throwing errors from getters.

15 years agocore,ui: Error out if value not available in config
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:48:57 +0000 (17:48 +0300)]
core,ui: Error out if value not available in config

15 years agocore: Errors for Configuration
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:43:00 +0000 (17:43 +0300)]
core: Errors for Configuration

15 years agocore: Re-introduce Configuration impl. as UserConfig
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 15:38:12 +0000 (18:38 +0300)]
core: Re-introduce Configuration impl. as UserConfig

Re-introduce old Configuration implementation as UserConfig class.

15 years agocore: Configuration is now an interface
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 15:37:29 +0000 (18:37 +0300)]
core: Configuration is now an interface

15 years agocore: Add 'general/enabled' key to schemas file
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 14:35:50 +0000 (17:35 +0300)]
core: Add 'general/enabled' key to schemas file

15 years agocore: Refactor Configuration.upnp_enabled setter
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 14:04:04 +0000 (17:04 +0300)]
core: Refactor Configuration.upnp_enabled setter

15 years agocore: Remove Rygel from user's autostart list
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:50:38 +0000 (16:50 +0300)]
core: Remove Rygel from user's autostart list

Remove Rygel from user's autostart list if "Enable UPnP/DLNA" flag is
unset.

15 years agocore: Make symlink instead of copying desktop file
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:45:05 +0000 (16:45 +0300)]
core: Make symlink instead of copying desktop file

15 years agocore: Add Rygel to user's autostart list
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:35:13 +0000 (16:35 +0300)]
core: Add Rygel to user's autostart list

Add Rygel to user's autostart list if "Enable UPnP/DLNA" flag is set.

15 years agocore: Expose desktop dir path to source code
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:30:58 +0000 (16:30 +0300)]
core: Expose desktop dir path to source code

15 years agocore: Start/shutdown rygel when upnp is enabled/disabled
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:59:15 +0000 (15:59 +0300)]
core: Start/shutdown rygel when upnp is enabled/disabled

15 years agocore: Explicitly link to dbus-glib
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:58:26 +0000 (15:58 +0300)]
core: Explicitly link to dbus-glib

15 years agocore,ui: Minimal handling of "Enable UPnP/DLNA"
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:31:31 +0000 (15:31 +0300)]
core,ui: Minimal handling of "Enable UPnP/DLNA"

15 years agocore: Provide .desktop file for Rygel
Zeeshan Ali (Khattak) [Sun, 7 Jun 2009 20:19:22 +0000 (23:19 +0300)]
core: Provide .desktop file for Rygel

15 years agoui: Provide .desktop file for rygel-preferences
Zeeshan Ali (Khattak) [Sun, 7 Jun 2009 19:08:02 +0000 (22:08 +0300)]
ui: Provide .desktop file for rygel-preferences

15 years agocore: Provide DBus service file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:04:51 +0000 (02:04 +0300)]
core: Provide DBus service file

15 years agocore: Provide DBus service
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 21:26:20 +0000 (00:26 +0300)]
core: Provide DBus service

Provide DBus service with one method: org.gnome.Rygel.Shutdown.

15 years agocore: Set bitrate of mpeg2 video encoder to 30Mbps
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 20:16:12 +0000 (23:16 +0300)]
core: Set bitrate of mpeg2 video encoder to 30Mbps

Thanks Henrique Ferreiro GarcĂ­a for pointing it out. Quality of
transcoded videos should be much better now.

15 years agocore: Update description in doap file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:09:23 +0000 (02:09 +0300)]
core: Update description in doap file

15 years agocore: Correct foaf:mbox in doap file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:14:18 +0000 (02:14 +0300)]
core: Correct foaf:mbox in doap file

15 years agocore: Fix a typo in gconf schema file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:07:43 +0000 (02:07 +0300)]
core: Fix a typo in gconf schema file

15 years agoui: Tooltips for plugin title entries.
Zeeshan Ali (Khattak) [Fri, 5 Jun 2009 15:02:36 +0000 (18:02 +0300)]
ui: Tooltips for plugin title entries.

15 years agoui: Don't set width of GtkNotebook
Zeeshan Ali (Khattak) [Fri, 5 Jun 2009 14:36:43 +0000 (17:36 +0300)]
ui: Don't set width of GtkNotebook

15 years agomedia-export: Add forgotten custom item class
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:44:23 +0000 (02:44 +0300)]
media-export: Add forgotten custom item class

15 years agocore,ui,media-export: No more specific to folders
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:10:26 +0000 (02:10 +0300)]
core,ui,media-export: No more specific to folders

The FileChooser dialog however still only lets you choose folders. I have
no idea how to make it let user be able to choose both folder and files.

15 years agocore: Nice default title for Tracker and MediaExport
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:05:30 +0000 (02:05 +0300)]
core: Nice default title for Tracker and MediaExport

15 years agocore,ui: Updates based on renaming of Folder plugin
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:03:30 +0000 (02:03 +0300)]
core,ui: Updates based on renaming of Folder plugin

15 years agomedia-export: Asynchronously populate root container
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 17:06:28 +0000 (20:06 +0300)]
media-export: Asynchronously populate root container

15 years agomedia-export: Remove redundant 'using' statements
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:58:25 +0000 (19:58 +0300)]
media-export: Remove redundant 'using' statements

15 years agomedia-export: Root container should handle items
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 17:12:36 +0000 (20:12 +0300)]
media-export: Root container should handle items

15 years agomedia-export: Provide a custom MediaItem class
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:40:28 +0000 (19:40 +0300)]
media-export: Provide a custom MediaItem class

15 years agomedia-export: Use generic types/names
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:02:24 +0000 (19:02 +0300)]
media-export: Use generic types/names

15 years agomedia-export: More use of 'this' keyword.
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 15:36:28 +0000 (18:36 +0300)]
media-export: More use of 'this' keyword.

15 years agomedia-export: Update docs for Container constructor
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:55:27 +0000 (17:55 +0300)]
media-export: Update docs for Container constructor

15 years agomedia-export: Rename a local variable
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:36:02 +0000 (17:36 +0300)]
media-export: Rename a local variable

Rename 'dir*' to 'uri*'.

15 years agomedia-export: Correct the RootContainer docs
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:17:57 +0000 (17:17 +0300)]
media-export: Correct the RootContainer docs

15 years agomedia-export: Rename 'items' to 'children'
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:14:13 +0000 (17:14 +0300)]
media-export: Rename 'items' to 'children'

Rename 'items' field of MediaExportRootContainer to 'children'.

15 years agomedia-export: Cast the list to match return value
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:30:17 +0000 (16:30 +0300)]
media-export: Cast the list to match return value

15 years agomedia-export: Minor indentation fix
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:29:55 +0000 (16:29 +0300)]
media-export: Minor indentation fix

15 years agocore: autogen.sh enables build for all plugins
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:19:47 +0000 (16:19 +0300)]
core: autogen.sh enables build for all plugins

15 years agomedia-export: Remove trailing whitespaces
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:16:39 +0000 (16:16 +0300)]
media-export: Remove trailing whitespaces

15 years agofolder: Rename to MediaExport
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:13:46 +0000 (16:13 +0300)]
folder: Rename to MediaExport

15 years agoui: Don't use signal autoconnection magic
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 11:42:23 +0000 (14:42 +0300)]
ui: Don't use signal autoconnection magic

Vala currently doesn't support automatic signal connection to handlers in
multiple classes.

15 years agoui: Beautification
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 16:21:27 +0000 (19:21 +0300)]
ui: Beautification

Don't let Folders buttons take more space than they should.

15 years agoui: More like a GNOME preferences dialog
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 16:01:39 +0000 (19:01 +0300)]
ui: More like a GNOME preferences dialog

- One "Close" button rather than "Apply", "OK" and "Cancel".
- Just run the dialog, no need for mainloops and signal connections.

15 years agoui: Connect signals from UI description as much as possible
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 15:16:06 +0000 (18:16 +0300)]
ui: Connect signals from UI description as much as possible

15 years agoui: Hint the window is a Dialog
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 14:42:06 +0000 (17:42 +0300)]
ui: Hint the window is a Dialog

15 years agoui: Implement adding of Folder URIs
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 14:38:05 +0000 (17:38 +0300)]
ui: Implement adding of Folder URIs

Implement adding of Folder URIs to the treeview using a
GtkFileChooserDialog.

15 years agofolder: save implementation should chain-up
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 12:25:07 +0000 (15:25 +0300)]
folder: save implementation should chain-up

Folder title wasn't getting saved to user config because of this bug.

15 years agoui: Implement removal of folder paths
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 16:35:08 +0000 (19:35 +0300)]
ui: Implement removal of folder paths

15 years agoui: Treeview to handle 'folders' option
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 14:32:02 +0000 (17:32 +0300)]
ui: Treeview to handle 'folders' option

Instead of providing a text area to put the paths, provide a treeview
and buttons to interact with it. For now only clear button works.