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