ui: Improve preferences dialog, bug 663631
[profile/ivi/rygel.git] / TODO
1   * MediaDB:
2     * Refactor the beast
3     * Some of the new classes need to be 'internal'.
4     * persist update count for containers
5     * More errors needed in MediaDBError
6     * Remove generic save*() & get*()
7     * Fix coding-style/indentation everywhere.
8     * DB tables should directly correspond/map to class hierarchy & naming
9     * scheme.
10
11   * MetadataExtractor
12     * Find a way to handle images properly
13       * Will be done automagically by
14       * https://bugzilla.gnome.org/show_bug.cgi?id=626531
15
16   * MediaExport
17     * '''Fix coding-style everywhere'''
18     * Filesystem-based cover art (Implement feeding-part of MediaArtStorageSpec)
19       * Preliminary patch exists, though ugly
20     * React to configuration changes
21     * Add configurable filter on "Genre" to decide between Audio and Music for
22     * UPnP class
23     * check if g_file_enumerator_container can simplify harvester
24     * D-Bus API
25       * Add 'title' param to AddURI?
26         * Patch needs cleaning
27       * Removing URI
28         * causes assertion failure followed by a crash if done during its
29           harvested at rygel-media-export-root-container.vala:393
30
31   * Unify ImportResource and HTTPPost.
32
33   * See if any of sunil mohan's changes are mergable.
34
35   * Check in HTTPSeek really needed?
36
37   * crash on trying to trancode ogg to wmv.
38
39   * Use common.m4 in tests/Makefile.am (Probably not possible).
40
41   * Cache response(s). If user fast forwards a stream, one request completes and
42     a second will be issued with a new time offset.  It is important to keep the
43     latency of starting the new request small.
44
45   * Refactor ItemCreator class (especially run method).
46
47   * Tracker
48    * Get mime-type from gupnp-dlna when dlna pn is known.
49         OR
50    * Make sure tracker uses mime from gupnp-dlna.
51
52   * Assign priorities to gstreamer threads
53     (See gstreamer/tests/examples/streams/stream-status.c)
54
55   * UI
56     * Make sure we restart rygel when configuration changes.
57     * Get interfaces directly from NM.
58     * Show available APs for Wifi interface.
59
60   * rygel copies config file to user's home dir if not already there.
61     * Copy code from UI.
62
63   * Start rygel as part of user session.
64     * Remove relavent code from UI code.
65
66   * Transcoding:
67     * Make use of encodebin when it's ready (update README/wiki afterwards).
68     * Use h264 instead of mpeg2 video?
69
70   * UI:
71     * Kill preferences UI
72       * Move UI components to gnome-user-share (bastien will do this, really?)
73       * Remove rygel-preferences (code and UI file).
74       * Remove unneeded API from UserConfig.
75       * Remove related stuff from this TODO file.
76
77   * MediaItem.add_resource() should take a res (and renamed) rather than
78     taking a didl_item and returning a res.
79
80   * Tracker
81     * More suitable name for SearchContainer (QueryContainer?)
82     * Async creation of containers.
83     * Fetch as much metadata from added item as possible.
84     * Use tracker:id for IDs.
85     * Complete search implementation.
86       * Deal with number search expressions.
87       * Deal with logical expressions too.
88     * Move dbus path constants to relavent interfaces.
89
90   * Document plugin API.
91
92   * Use methods (with errors) in Player's API to set props.
93
94   * Player's APIs should be async.
95
96   * Make all GIO calls async
97
98   * Replace magic keywords in model description as well.
99
100   * Get rid of 'handle_error' in most places.
101
102   * Unit tests
103     * HTTPGetHandler
104       * HTTPIdentityHandler
105       * HTTPTranscodeHandler
106     * UserConfig
107       * config file not available
108
109   * MediaProviderSpec/External
110     * incrementally browse containers at startup.
111     * Fix search: complete prop translation.
112     * search: What about multvalued props?
113     * Make use of "*" filter.
114
115   * How to hide ContentDirectoryError?
116
117   * mpris
118     * use icons for media objects.
119
120   * AVTransport
121     * Handle Next/Prev
122     * Handle GetMediaInfo_Ext
123     * Actually handle all advertized actions/variables.
124
125   * Playbin
126     * configuration options to set gst playbin props?
127
128   * Handle all provided metadata in CreateObject.
129
130   * Put common code in item and container into object (e.g upnp_class)
131
132   * Totem plugin that implements MediaRenderer spec.
133
134   * plugins should keep version of rygel they were compiled against.
135
136   * ScheduledRecording (ScheduledRecording spec, especially section 2.9.2.2.1)
137     * Add MediaItem.ChannelID prop.
138     * MediaItem.ChannelID prop gets serialized into DIDL.
139     * Skeleton ScheduledRecording service implementation
140     * RecordSchedule : MediaObject
141     * RecordTask : MediaObject
142     * Implement ScheduledRecording and RecordingBrowse classes (only allow
143       single RecordTask in each RecordSchedule)
144     * Make ScheduledRecording and ContentDir derive from a common class
145     (Browsable?). Same goes for RecordingBrowse and ContentDirBrowse.
146
147   * Move common code (construction and serializating) to MediaObject.
148
149   * Move the res field and it's manipulation to MediaObject.
150
151   * ScheduledRecording
152     * export EPG hierarchy
153       * EPG container
154       * EPG item
155
156   * Tracker:
157     * Port to libtracker-sparql.
158     * Set the pixel-aspect-ratio props.
159     * MetadataValues:
160       * Document delegate functions.
161     * Rid of choping tails.
162     * Do something about total_count param of search (using COUNT?)
163     * Missing metadata:
164       * Video: resolution info, author, framerate, bitrate etc.
165       * Image: album.
166     * Use ~/.face as icon if available.
167     * Remove redundant "Item" from item class names.
168     * share playlists and other categories?
169
170   * Internal res:
171     * Provide IP.
172
173   * Provide APIs for D-Bus service-based plugins (external,mpris,tracker).
174
175 === Doubtful / issues ===
176   * Generate default rygel.conf from rygel.conf.xml?
177
178   * Use cached props instead of Properties.get*() for cleaner code. issue: How
179     to deal with optional properties on MediaServer2?
180
181   * move contents of src dir a level up?
182
183   * Pass a function to HTTPServer and HTTPRequest for item search, rather than
184     ContentDir itself?
185
186   * Implement DLNA's time seeking for non-transcoded contents as well.
187       * Probably next to impossible since that would need a byte ←→ time
188         mapping
189
190   * Turn Rygel into a library?
191     * most c files put into a lib: librygel.so
192     * update pkg-config.
193
194   * remove project prefix from file names?
195
196   * use soup_buffer_new_with_owner() to save memory?
197
198   * UTF16 conversion to UTF8.
199
200   * mark the plugins using %h option.
201
202   * listen to hostname changes and re-create plugins that use %h magic.
203
204   * Port to Gio.Variant and GDBus.
205     * Asynchronous DBusService/Interface.shutdown.
206     * Remove FreeDesktop.Properties ?
207
208 === Wishes ===
209
210   * http://zee-nix.blogspot.com/2008/10/rygel-gnome-upnp-media-server.html