Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 20:59:13 +0000 (23:59 +0300)]
Config UI loads/saves the transcoding options
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 20:58:40 +0000 (23:58 +0300)]
Better names for transcoding check buttons
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 15:22:51 +0000 (18:22 +0300)]
Add transcoding options to Configuration
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 14:33:26 +0000 (17:33 +0300)]
Add transcoding options
This also implies that we put the existing options in the general page
into a separate new frame.
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 14:05:44 +0000 (17:05 +0300)]
Remove the unneeded VBox
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 13:55:53 +0000 (16:55 +0300)]
Random size/alignment improvements
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 13:54:25 +0000 (16:54 +0300)]
Put the table inside an alignment
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 13:44:35 +0000 (16:44 +0300)]
Dialog should be at least 400 pixels by default
Zeeshan Ali (Khattak) [Tue, 28 Apr 2009 13:43:44 +0000 (16:43 +0300)]
Put a nice title on the dialog
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 20:48:35 +0000 (23:48 +0300)]
Use the correct response IDs.
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 20:45:55 +0000 (23:45 +0300)]
Port the code to use dynamic UI
Port the code to use Glade3-created dynamic UI.
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 20:25:18 +0000 (23:25 +0300)]
Better names for some widgets.
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 13:15:17 +0000 (16:15 +0300)]
Assign response IDs to buttons.
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 13:13:07 +0000 (16:13 +0300)]
Better names for widgets.
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 13:07:23 +0000 (16:07 +0300)]
Convert UI file to Gtk+ 2.16.
Zeeshan Ali (Khattak) [Mon, 27 Apr 2009 12:58:49 +0000 (15:58 +0300)]
Moving towards Glade + GtkBuilder approach.
Zeeshan Ali (Khattak) [Fri, 24 Apr 2009 14:07:29 +0000 (17:07 +0300)]
Rename PreferencesVBox to PreferencesPage
Zeeshan Ali (Khattak) [Fri, 24 Apr 2009 13:41:38 +0000 (16:41 +0300)]
Exit on delete event on PreferencesDialog
Zeeshan Ali (Khattak) [Fri, 24 Apr 2009 13:34:34 +0000 (16:34 +0300)]
HIG: Put the OK button in the end
Zeeshan Ali (Khattak) [Fri, 24 Apr 2009 12:47:35 +0000 (15:47 +0300)]
UDN is supposted to be a constant
Only generate the UDN if it's not already done and save it once it's
generated.
Zeeshan Ali (Khattak) [Fri, 24 Apr 2009 12:36:10 +0000 (15:36 +0300)]
ConfigReader + ConfigEditor = Configuration
Merge ConfigEditor into ConfigReader and name it 'Configuration'.
Zeeshan Ali (Khattak) [Fri, 24 Apr 2009 11:50:17 +0000 (14:50 +0300)]
Remove the unused convenience methods
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 16:05:37 +0000 (19:05 +0300)]
Don't load disabled plugins
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 15:44:49 +0000 (18:44 +0300)]
Don't use GConf.Client.get_bool ()
When an entry is not found, this method just returns false instead of
signaling an error so we never know if key is not there or it's value is
set to false.
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 15:06:29 +0000 (18:06 +0300)]
Add option to enable/disable plugins
This doesn't really do anything atm.
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 15:05:40 +0000 (18:05 +0300)]
More use of consts defined for gconf keys
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 14:19:09 +0000 (17:19 +0300)]
Merg 'section' and 'title' props of PluginPrefVBox
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 14:06:50 +0000 (17:06 +0300)]
Add pref vbox for all existing plugins.
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 14:05:18 +0000 (17:05 +0300)]
Introducing PluginPrefVBox.
A class for editiong of common plugin configuration.
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 13:56:28 +0000 (16:56 +0300)]
Put code to add a pref page in a separate method
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 13:55:45 +0000 (16:55 +0300)]
Provide consts for title and UDN keys
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 12:45:20 +0000 (15:45 +0300)]
Don't expose 'enable-xbox' prop to user
We'll soon just drop the existing xbox support to re-implement it the
right way (tm) later on, which won't involve user having to enable it.
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 12:42:15 +0000 (15:42 +0300)]
Pass the title and section args in correct order
Zeeshan Ali (Khattak) [Thu, 23 Apr 2009 12:33:58 +0000 (15:33 +0300)]
Treat empty strings from gconf as nulls.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 15:55:17 +0000 (18:55 +0300)]
Minor indentation fix.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 15:48:28 +0000 (18:48 +0300)]
Introducing GeneralPrefVBox.
Put the code specific to general preferences into a separate subclass:
GeneralPrefVBox.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 15:47:08 +0000 (18:47 +0300)]
Make some fields/methods of PreferencesVBox, protected.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 15:32:30 +0000 (18:32 +0300)]
Keep section name in a object field.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 15:29:20 +0000 (18:29 +0300)]
Put the PreferencesVBox in Notebook.
So that we can now add more PreferencesVBox'es.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 15:19:25 +0000 (18:19 +0300)]
PreferencesVBox should provide a title for itself.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 14:54:33 +0000 (17:54 +0300)]
PreferencesDialog doesn't need to keep config_editor.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 14:52:31 +0000 (17:52 +0300)]
Introducing PreferencesVBox.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 14:11:45 +0000 (17:11 +0300)]
Rename Preferences to PreferencesDialog.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 13:39:32 +0000 (16:39 +0300)]
Also save the integers.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 13:06:12 +0000 (16:06 +0300)]
Save the boolean options as well.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 13:03:06 +0000 (16:03 +0300)]
Actually save the configuration.
ATM it only saves string options.
Zeeshan Ali (Khattak) [Wed, 22 Apr 2009 13:00:44 +0000 (16:00 +0300)]
Keep the config_editor in the object scope.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 16:43:40 +0000 (19:43 +0300)]
Differentiate between name and title of config options.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 16:26:04 +0000 (19:26 +0300)]
Define constants for known keys.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 15:53:53 +0000 (18:53 +0300)]
Add convenience methods to set IP, port and xbox support.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 15:52:59 +0000 (18:52 +0300)]
Don't capitalize the gconf keys unless it's an abbrev.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 15:33:35 +0000 (18:33 +0300)]
New class for editing of user configuration.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 14:49:04 +0000 (17:49 +0300)]
Make convenience methods public.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 14:48:04 +0000 (17:48 +0300)]
Use the convenience methods to read values from gconf.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 14:46:57 +0000 (17:46 +0300)]
Convenient methods to read boolean and integer.
Provide convenient methods to read boolean and integer from gconf.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 14:41:05 +0000 (17:41 +0300)]
Allow get_string() params/return to be null.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 13:23:01 +0000 (16:23 +0300)]
All plugins need to link to gconf now.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 13:21:54 +0000 (16:21 +0300)]
Make GConf client and path accessible to subclasses.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 13:08:58 +0000 (16:08 +0300)]
Rename Configuration to ConfigReader.
Zeeshan Ali (Khattak) [Tue, 21 Apr 2009 12:59:48 +0000 (15:59 +0300)]
Don't put anything in gconf.
Zeeshan Ali (Khattak) [Mon, 20 Apr 2009 14:39:09 +0000 (17:39 +0300)]
Refactor more: HBox and Label now handled by add_pref_widget.
Zeeshan Ali (Khattak) [Mon, 20 Apr 2009 14:31:28 +0000 (17:31 +0300)]
Don't put label as part of CheckButton.
Zeeshan Ali (Khattak) [Mon, 20 Apr 2009 14:21:08 +0000 (17:21 +0300)]
A bit of refactoring.
Zeeshan Ali (Khattak) [Mon, 20 Apr 2009 13:13:09 +0000 (16:13 +0300)]
Add "Enable Xbox support" option.
Zeeshan Ali (Khattak) [Mon, 20 Apr 2009 13:02:27 +0000 (16:02 +0300)]
Add widgets to set 'host-ip' and 'port' configuration.
Zeeshan Ali (Khattak) [Mon, 20 Apr 2009 12:15:03 +0000 (15:15 +0300)]
Put the cstuff in the config library.
Zeeshan Ali (Khattak) [Sun, 19 Apr 2009 14:52:24 +0000 (17:52 +0300)]
Skeleton for handling of dialog response.
Zeeshan Ali (Khattak) [Sun, 19 Apr 2009 14:46:36 +0000 (17:46 +0300)]
Dialog should be all visible from the beginning.
Zeeshan Ali (Khattak) [Sun, 19 Apr 2009 14:45:10 +0000 (17:45 +0300)]
Our dialog implements it's own run method.
Zeeshan Ali (Khattak) [Sun, 19 Apr 2009 14:39:23 +0000 (17:39 +0300)]
Add an "Apply" button.
Zeeshan Ali (Khattak) [Fri, 17 Apr 2009 15:02:30 +0000 (18:02 +0300)]
Beginning of a preferences UI.
Zeeshan Ali (Khattak) [Fri, 17 Apr 2009 13:40:24 +0000 (16:40 +0300)]
Put Configuration into a separate static library.
So that apps in other directories can easily access/link to it.
Zeeshan Ali (Khattak) [Fri, 17 Apr 2009 10:52:16 +0000 (13:52 +0300)]
Depend on Gtk+ if UI build is not disabled.
Zeeshan Ali (Khattak) [Thu, 16 Apr 2009 15:27:52 +0000 (18:27 +0300)]
GConf path prefix shouldn't be a public prop.
Zeeshan Ali (Khattak) [Thu, 16 Apr 2009 15:25:58 +0000 (18:25 +0300)]
Configuration should be part of public API.
Zeeshan Ali (Khattak) [Thu, 16 Apr 2009 14:30:48 +0000 (17:30 +0300)]
Put user configuration access into a separate object.
Zeeshan Ali (Khattak) [Sun, 19 Apr 2009 13:59:28 +0000 (16:59 +0300)]
Provide a DOAP file.
Zeeshan Ali (Khattak) [Tue, 14 Apr 2009 12:43:35 +0000 (12:43 +0000)]
No need to require gstreamer trunk.
Everything except for transcoding will work fine with latest release
so no need to require trunk.
svn path=/trunk/; revision=786
Zeeshan Ali (Khattak) [Wed, 8 Apr 2009 16:00:35 +0000 (16:00 +0000)]
Require vala trunk (0.7.1).
svn path=/trunk/; revision=785
Zeeshan Ali (Khattak) [Wed, 8 Apr 2009 16:00:31 +0000 (16:00 +0000)]
Update build system for latest vala.
The basic change is that vala doesn't generate header files now unless
told to do so explicitly.
svn path=/trunk/; revision=784
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:46 +0000 (21:56 +0000)]
Add audiorate element to audio transcoding pipeline.
Thanks Edward Hervey for the advice.
svn path=/trunk/; revision=783
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:38 +0000 (21:56 +0000)]
Put the videorate element after videoscale.
Thanks Edward Hervey for pointing it out.
svn path=/trunk/; revision=782
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:29 +0000 (21:56 +0000)]
Remove the FIXME comment from MediaItem.
svn path=/trunk/; revision=781
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:19 +0000 (21:56 +0000)]
Just set all the desired caps at the end of the pipeline.
svn path=/trunk/; revision=780
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:13 +0000 (21:56 +0000)]
The aspect-ratio needs to be 1:1 once video has been scaled.
svn path=/trunk/; revision=779
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:08 +0000 (21:56 +0000)]
Use ffenc_mpeg2video instead of mpeg2video.
svn path=/trunk/; revision=778
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:56:03 +0000 (21:56 +0000)]
Make sure mpeg ts transcoder outputs 30 fps.
svn path=/trunk/; revision=777
Zeeshan Ali (Khattak) [Wed, 1 Apr 2009 21:55:58 +0000 (21:55 +0000)]
mpeg ts transcoder provides NTSC (30 fps).
svn path=/trunk/; revision=776
Zeeshan Ali (Khattak) [Tue, 31 Mar 2009 12:38:41 +0000 (12:38 +0000)]
mp3 and l16 transcoder support audio upnp class rather than music.
Patch by Jens Georg.
svn path=/trunk/; revision=775
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:45 +0000 (00:46 +0000)]
Some basic documentation for recently added classes.
svn path=/trunk/; revision=774
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:40 +0000 (00:46 +0000)]
MP3Trancoder specifies the bitrate in Resource.
svn path=/trunk/; revision=773
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:36 +0000 (00:46 +0000)]
mpeg2enc wants us to tell it the aspect ratio.
svn path=/trunk/; revision=772
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:32 +0000 (00:46 +0000)]
TranscodeManager keeps a single list of transcoders.
svn path=/trunk/; revision=771
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:27 +0000 (00:46 +0000)]
TranscodeManager keeps list of transcoders.
svn path=/trunk/; revision=770
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:23 +0000 (00:46 +0000)]
Transcoder tells the primary UPnP class it is meant for.
svn path=/trunk/; revision=769
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:19 +0000 (00:46 +0000)]
Provide video transcoding for audio/music items as well.
svn path=/trunk/; revision=768
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:15 +0000 (00:46 +0000)]
Provide audio transcoding for videos as well.
svn path=/trunk/; revision=767
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:10 +0000 (00:46 +0000)]
Refactor TranscodeManager.add_resources().
svn path=/trunk/; revision=766
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:06 +0000 (00:46 +0000)]
MP3Transcoder (re-)uses L16Transcoder's encoder.
svn path=/trunk/; revision=765
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:46:02 +0000 (00:46 +0000)]
More specific naming for L16Transcoder's encoder bin.
svn path=/trunk/; revision=764