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
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:58 +0000 (00:45 +0000)]
Correct a copy&paste mistake.
svn path=/trunk/; revision=763
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:53 +0000 (00:45 +0000)]
L16Transcoder supports both endianness'es.
svn path=/trunk/; revision=762
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:48 +0000 (00:45 +0000)]
Turn TranscoderBin into GstUtils.
TranscoderBin was only having two static utility functions that could
be used by non-transcoder-bin classes as well and we can move other
gst-related functions here in future.
svn path=/trunk/; revision=761
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:43 +0000 (00:45 +0000)]
TranscoderBin.post_error is now static.
svn path=/trunk/; revision=760
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:37 +0000 (00:45 +0000)]
create_transcoder is now part of relevant Transcoder.
Move static create_transcoder method from TranscoderBin implementation
to relevant Transcoder classes as non-static method.
svn path=/trunk/; revision=759
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:32 +0000 (00:45 +0000)]
Put gst transcoder bins into separate files.
svn path=/trunk/; revision=758
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:26 +0000 (00:45 +0000)]
MP3TrancoderBin doesn't need to keep layer info.
svn path=/trunk/; revision=757
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:20 +0000 (00:45 +0000)]
MP3Transcoder doesn't need to proxy it's Bin's methods.
MP2TStrancoder can directly uses MP3TranscoderBin's methods.
svn path=/trunk/; revision=756
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:16 +0000 (00:45 +0000)]
Re-use const defined already to construct mime_type.
svn path=/trunk/; revision=755
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:11 +0000 (00:45 +0000)]
Move add_resources to base Transcoder class.
svn path=/trunk/; revision=754
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:06 +0000 (00:45 +0000)]
Remove unneeded args of Transcoder.create_resource().
Transcoder.create_resource() doesn't need to be passed 'mime_type' and
'dlna_profile' arguments anymore.
svn path=/trunk/; revision=753
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:45:01 +0000 (00:45 +0000)]
Implementations override Transcoder.create_resource.
svn path=/trunk/; revision=752
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:56 +0000 (00:44 +0000)]
Move create_resource() from TranscodeManager to Transcoder.
svn path=/trunk/; revision=751
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:50 +0000 (00:44 +0000)]
No need to mark TranscodeManager's methods 'internal'.
The public methods of an internal class are automatically internal.
svn path=/trunk/; revision=750
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:46 +0000 (00:44 +0000)]
MP2TSTranscoder supports both HD and SD.
svn path=/trunk/; revision=749
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:40 +0000 (00:44 +0000)]
Rename MP3Profile to MP3Layer.
svn path=/trunk/; revision=748
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:34 +0000 (00:44 +0000)]
Use dlna profile as transcoding target.
svn path=/trunk/; revision=747
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:29 +0000 (00:44 +0000)]
Require mainline gupnp-av.
svn path=/trunk/; revision=746
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:24 +0000 (00:44 +0000)]
No need to lie about DLNA profile anymore.
svn path=/trunk/; revision=745
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:19 +0000 (00:44 +0000)]
HTTServer and TranscodeManager are now 'internal'.
svn path=/trunk/; revision=744
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:13 +0000 (00:44 +0000)]
TranscodeManager provides Transcoder rather than transcoding source.
svn path=/trunk/; revision=743
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:07 +0000 (00:44 +0000)]
can_handle() can now also move to base Transcoder class.
svn path=/trunk/; revision=742
Zeeshan Ali (Khattak) [Sat, 28 Mar 2009 00:44:02 +0000 (00:44 +0000)]
'mime_type' and 'dlna_profile' are now props of base Transcoder.
svn path=/trunk/; revision=741