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?
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 16:49:49 +0000 (19:49 +0300)]
core: Separate option tokens by ":" rather than ","
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.
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 16:25:48 +0000 (19:25 +0300)]
core: Don't use same short option twice
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:48:49 +0000 (18:48 +0300)]
core: Commandline option to set plugin title
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:35:41 +0000 (18:35 +0300)]
core: Indentation fixes
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 15:34:48 +0000 (18:34 +0300)]
core: Add '--disable-plugin' commandline option
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.
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:14:10 +0000 (17:14 +0300)]
core: Expose more build options to vala world
Zeeshan Ali (Khattak) [Thu, 11 Jun 2009 14:13:32 +0000 (17:13 +0300)]
core: Initialize the thread system
Zeeshan Ali (Khattak) [Wed, 10 Jun 2009 14:41:43 +0000 (17:41 +0300)]
core: Catch more generic error
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.
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.
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:48:57 +0000 (17:48 +0300)]
core,ui: Error out if value not available in config
Zeeshan Ali (Khattak) [Tue, 9 Jun 2009 14:43:00 +0000 (17:43 +0300)]
core: Errors for Configuration
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.
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 15:37:29 +0000 (18:37 +0300)]
core: Configuration is now an interface
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 14:35:50 +0000 (17:35 +0300)]
core: Add 'general/enabled' key to schemas file
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 14:04:04 +0000 (17:04 +0300)]
core: Refactor Configuration.upnp_enabled setter
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.
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:45:05 +0000 (16:45 +0300)]
core: Make symlink instead of copying desktop file
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.
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 13:30:58 +0000 (16:30 +0300)]
core: Expose desktop dir path to source code
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:59:15 +0000 (15:59 +0300)]
core: Start/shutdown rygel when upnp is enabled/disabled
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:58:26 +0000 (15:58 +0300)]
core: Explicitly link to dbus-glib
Zeeshan Ali (Khattak) [Mon, 8 Jun 2009 12:31:31 +0000 (15:31 +0300)]
core,ui: Minimal handling of "Enable UPnP/DLNA"
Zeeshan Ali (Khattak) [Sun, 7 Jun 2009 20:19:22 +0000 (23:19 +0300)]
core: Provide .desktop file for Rygel
Zeeshan Ali (Khattak) [Sun, 7 Jun 2009 19:08:02 +0000 (22:08 +0300)]
ui: Provide .desktop file for rygel-preferences
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:04:51 +0000 (02:04 +0300)]
core: Provide DBus service file
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.
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.
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:09:23 +0000 (02:09 +0300)]
core: Update description in doap file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:14:18 +0000 (02:14 +0300)]
core: Correct foaf:mbox in doap file
Zeeshan Ali (Khattak) [Sat, 6 Jun 2009 23:07:43 +0000 (02:07 +0300)]
core: Fix a typo in gconf schema file
Zeeshan Ali (Khattak) [Fri, 5 Jun 2009 15:02:36 +0000 (18:02 +0300)]
ui: Tooltips for plugin title entries.
Zeeshan Ali (Khattak) [Fri, 5 Jun 2009 14:36:43 +0000 (17:36 +0300)]
ui: Don't set width of GtkNotebook
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:44:23 +0000 (02:44 +0300)]
media-export: Add forgotten custom item class
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.
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:05:30 +0000 (02:05 +0300)]
core: Nice default title for Tracker and MediaExport
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 23:03:30 +0000 (02:03 +0300)]
core,ui: Updates based on renaming of Folder plugin
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 17:06:28 +0000 (20:06 +0300)]
media-export: Asynchronously populate root container
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:58:25 +0000 (19:58 +0300)]
media-export: Remove redundant 'using' statements
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 17:12:36 +0000 (20:12 +0300)]
media-export: Root container should handle items
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:40:28 +0000 (19:40 +0300)]
media-export: Provide a custom MediaItem class
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 16:02:24 +0000 (19:02 +0300)]
media-export: Use generic types/names
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 15:36:28 +0000 (18:36 +0300)]
media-export: More use of 'this' keyword.
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:55:27 +0000 (17:55 +0300)]
media-export: Update docs for Container constructor
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:36:02 +0000 (17:36 +0300)]
media-export: Rename a local variable
Rename 'dir*' to 'uri*'.
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 14:17:57 +0000 (17:17 +0300)]
media-export: Correct the RootContainer docs
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'.
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:30:17 +0000 (16:30 +0300)]
media-export: Cast the list to match return value
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:29:55 +0000 (16:29 +0300)]
media-export: Minor indentation fix
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:19:47 +0000 (16:19 +0300)]
core: autogen.sh enables build for all plugins
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:16:39 +0000 (16:16 +0300)]
media-export: Remove trailing whitespaces
Zeeshan Ali (Khattak) [Thu, 4 Jun 2009 13:13:46 +0000 (16:13 +0300)]
folder: Rename to MediaExport
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.
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.
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.
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 15:16:06 +0000 (18:16 +0300)]
ui: Connect signals from UI description as much as possible
Zeeshan Ali (Khattak) [Wed, 3 Jun 2009 14:42:06 +0000 (17:42 +0300)]
ui: Hint the window is a Dialog
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.
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.
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 16:35:08 +0000 (19:35 +0300)]
ui: Implement removal of folder paths
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.
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 14:30:22 +0000 (17:30 +0300)]
ui: Pass '-export-dynamic' flag to linker
This is to make automatic signal connection magic of GtkBuilder, work.
Zeeshan Ali (Khattak) [Tue, 2 Jun 2009 22:04:52 +0000 (01:04 +0300)]
mediathek: Forgotten API update
Ole André Vadla Ravnås [Tue, 2 Jun 2009 21:17:30 +0000 (00:17 +0300)]
folder: No need to escape the URIs
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 15:47:40 +0000 (18:47 +0300)]
ui: Change the name/title of an option
Change "Enable Media Server" to "Enable UPnP/DLNA".
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 14:47:58 +0000 (17:47 +0300)]
Update README to reflect the Rygel homepage
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 12:12:59 +0000 (15:12 +0300)]
core: Rename description.xml to MediaServer2.xml
Zeeshan Ali (Khattak) [Mon, 1 Jun 2009 12:00:09 +0000 (15:00 +0300)]
core,plugins: Support all types of devices
Allow plugins to implement any kind of device rather than just MediaServer.
To not complicate the lives of plugin developers for this change, provide
a special constructor to easy create Plugin object for MediaServer.
Zeeshan Ali (Khattak) [Sun, 31 May 2009 19:00:16 +0000 (22:00 +0300)]
core: Rename create_root_device() to create()
Rename RootDeviceFactory.create_root_device() to create().
Zeeshan Ali (Khattak) [Sun, 31 May 2009 18:56:59 +0000 (21:56 +0300)]
core: *MediaServer* -> *RootDevice*
Rygel won't just be a MediaServer anymore soon, hence the renaming.
Zeeshan Ali (Khattak) [Fri, 29 May 2009 10:50:49 +0000 (13:50 +0300)]
Prepare release notes for 0.3.
Zeeshan Ali (Khattak) [Thu, 28 May 2009 14:21:03 +0000 (17:21 +0300)]
Don't put empty string to 'folders' config
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:54:52 +0000 (16:54 +0300)]
Clear the existing service list first
Services were getting accumulated in the description files each time
rygel was started. This change is to fix that.
Zeeshan Ali (Khattak) [Thu, 28 May 2009 13:39:03 +0000 (16:39 +0300)]
Take user transcoding configuration into account
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:53 +0000 (15:59 +0300)]
Rygel.Configuration is now a singleton
Zeeshan Ali (Khattak) [Thu, 28 May 2009 12:59:29 +0000 (15:59 +0300)]
Rygel.Configuration should inherit GLib.Object
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:40:46 +0000 (14:40 +0300)]
Use GLib.warning() for displaying warnings
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:29:14 +0000 (14:29 +0300)]
Mediathek plugin should be enabled in the config
If the user built it, she knows that she needs it.
Zeeshan Ali (Khattak) [Thu, 28 May 2009 11:18:59 +0000 (14:18 +0300)]
Minor indentation fix
Jens Georg [Wed, 27 May 2009 22:24:20 +0000 (00:24 +0200)]
Use Configuration class instead of raw gconf
Jens Georg [Sun, 10 May 2009 15:30:20 +0000 (17:30 +0200)]
Remove MediaItem subclass
A special media item is no longer needed since commit
5da6e0be3c9d1162b9a39802157b1fd4facce86c
Jens Georg [Tue, 5 May 2009 20:09:33 +0000 (22:09 +0200)]
Simply use basename everywhere
There's no need to calculate the relative path to the parent
folder; that's exactly what basename does
Jens Georg [Wed, 27 May 2009 21:31:33 +0000 (23:31 +0200)]
Fix missing return value
Jens Georg [Wed, 27 May 2009 21:13:33 +0000 (23:13 +0200)]
Fix exception handling
Jens Georg [Wed, 27 May 2009 21:07:54 +0000 (23:07 +0200)]
Add get_int_list method to Configuration class
Jens Georg [Wed, 27 May 2009 20:38:04 +0000 (22:38 +0200)]
Use configuration class
Use rygel's configuration class to access configuration.
Pay attention to the return value of get_user_special_dir ()
Jens Georg [Wed, 27 May 2009 20:24:44 +0000 (22:24 +0200)]
Fix schema file
- Missing </schema> tag
- Wrong plugin name used
Jens Georg [Wed, 27 May 2009 13:05:50 +0000 (15:05 +0200)]
Rename gconf key from folder to folders
Folder was a legacy from when the plugin was meant
to only export a single folder; this is not true anymore
and the key has been renamed to reflect this
Jens Georg [Tue, 26 May 2009 20:20:55 +0000 (22:20 +0200)]
Add Readme for Mediathek plugin configuration
Jens Georg [Tue, 26 May 2009 20:20:31 +0000 (22:20 +0200)]
Update schemafile for Folder and Mediathek
Zeeshan Ali (Khattak) [Wed, 27 May 2009 17:01:25 +0000 (20:01 +0300)]
Align the label to corresponding textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:21:28 +0000 (19:21 +0300)]
OK button is the default button
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:13:14 +0000 (19:13 +0300)]
Put plugins pref table in an alignment
Zeeshan Ali (Khattak) [Wed, 27 May 2009 16:06:55 +0000 (19:06 +0300)]
Provide mnemonics
Zeeshan Ali (Khattak) [Wed, 27 May 2009 15:33:49 +0000 (18:33 +0300)]
Equally align the text labels
Zeeshan Ali (Khattak) [Wed, 27 May 2009 14:56:51 +0000 (17:56 +0300)]
Handle 'Folders' textview
Get/Set folders from/to configuration to/from 'Folders' textview
Zeeshan Ali (Khattak) [Wed, 27 May 2009 14:54:02 +0000 (17:54 +0300)]
Methods to get/set list of strings configuration
Provide convenience methods to get/set list of strings from configuration