core: Add configuration option for V1 downgrade
[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     * Fix tooltips.
58     * Get interfaces directly from NM.
59     * Show available APs for Wifi interface.
60
61   * rygel copies config file to user's home dir if not already there.
62     * Copy code from UI.
63
64   * Start rygel as part of user session.
65     * Remove relavent code from UI code.
66
67   * Transcoding:
68     * Make use of encodebin when it's ready (update README/wiki afterwards).
69     * Use h264 instead of mpeg2 video?
70
71   * UI:
72     * Kill preferences UI
73       * Move UI components to gnome-user-share (bastien will do this, really?)
74       * Remove rygel-preferences (code and UI file).
75       * Remove unneeded API from UserConfig.
76       * Remove related stuff from this TODO file.
77
78   * MediaItem.add_resource() should take a res (and renamed) rather than
79     taking a didl_item and returning a res.
80
81   * Tracker
82     * More suitable name for SearchContainer (QueryContainer?)
83     * Async creation of containers.
84     * Fetch as much metadata from added item as possible.
85     * Use tracker:id for IDs.
86     * Complete search implementation.
87       * Deal with number search expressions.
88       * Deal with logical expressions too.
89     * Move dbus path constants to relavent interfaces.
90
91   * Document plugin API.
92
93   * Use methods (with errors) in Player's API to set props.
94
95   * Player's APIs should be async.
96
97   * Make all GIO calls async
98
99   * Replace magic keywords in model description as well.
100
101   * Get rid of 'handle_error' in most places.
102
103   * save_modified_desc is in two classes.
104
105   * Unit tests
106     * HTTPGetHandler
107       * HTTPIdentityHandler
108       * HTTPTranscodeHandler
109     * UserConfig
110       * config file not available
111
112   * MediaProviderSpec/External
113     * incrementally browse containers at startup.
114     * Fix search: complete prop translation.
115     * search: What about multvalued props?
116     * Make use of "*" filter.
117
118   * How to hide ContentDirectoryError?
119
120   * mpris
121     * use icons for media objects.
122
123   * AVTransport
124     * Handle Next/Prev
125     * Handle GetMediaInfo_Ext
126     * Actually handle all advertized actions/variables.
127
128   * Playbin
129     * configuration options to set gst playbin props?
130
131   * Handle all provided metadata in CreateObject.
132
133   * Put common code in item and container into object (e.g upnp_class)
134
135   * Totem plugin that implements MediaRenderer spec.
136
137   * plugins should keep version of rygel they were compiled against.
138
139   * ScheduledRecording (ScheduledRecording spec, especially section 2.9.2.2.1)
140     * Add MediaItem.ChannelID prop.
141     * MediaItem.ChannelID prop gets serialized into DIDL.
142     * Skeleton ScheduledRecording service implementation
143     * RecordSchedule : MediaObject
144     * RecordTask : MediaObject
145     * Implement ScheduledRecording and RecordingBrowse classes (only allow
146       single RecordTask in each RecordSchedule)
147     * Make ScheduledRecording and ContentDir derive from a common class
148     (Browsable?). Same goes for RecordingBrowse and ContentDirBrowse.
149
150   * Move common code (construction and serializating) to MediaObject.
151
152   * Move the res field and it's manipulation to MediaObject.
153
154   * ScheduledRecording
155     * export EPG hierarchy
156       * EPG container
157       * EPG item
158
159   * Tracker:
160     * Port to libtracker-sparql.
161     * Set the pixel-aspect-ratio props.
162     * MetadataValues:
163       * Document delegate functions.
164     * Rid of choping tails.
165     * Do something about total_count param of search (using COUNT?)
166     * Missing metadata:
167       * Video: resolution info, author, framerate, bitrate etc.
168       * Image: album.
169     * Use ~/.face as icon if available.
170     * Remove redundant "Item" from item class names.
171     * share playlists and other categories?
172
173   * Internal res:
174     * Provide IP.
175
176   * Provide APIs for D-Bus service-based plugins (external,mpris,tracker).
177
178 === Doubtful / issues ===
179   * Generate default rygel.conf from rygel.conf.xml?
180
181   * Use cached props instead of Properties.get*() for cleaner code. issue: How
182     to deal with optional properties on MediaServer2?
183
184   * move contents of src dir a level up?
185
186   * Pass a function to HTTPServer and HTTPRequest for item search, rather than
187     ContentDir itself?
188
189   * Implement DLNA's time seeking for non-transcoded contents as well.
190       * Probably next to impossible since that would need a byte ←→ time
191         mapping
192
193   * Turn Rygel into a library?
194     * most c files put into a lib: librygel.so
195     * update pkg-config.
196
197   * remove project prefix from file names?
198
199   * use soup_buffer_new_with_owner() to save memory?
200
201   * UTF16 conversion to UTF8.
202
203   * mark the plugins using %h option.
204
205   * listen to hostname changes and re-create plugins that use %h magic.
206
207   * Port to Gio.Variant and GDBus.
208     * Asynchronous DBusService/Interface.shutdown.
209     * Remove FreeDesktop.Properties ?
210
211 === Wishes ===
212
213   * http://zee-nix.blogspot.com/2008/10/rygel-gnome-upnp-media-server.html