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