SVN_SILENT: whoops, didn't mean to commit that change
[amarok.git] / TODO
blobf03e5158d15236a5490ab8f10a173aca9d8bd58a
1 TODO-list for Amarok
2 ======================
3 <nick>  == reported by
4 -->nick == assigned to
7 SHORT-TERM (URGENT):
8  <sebr>    When using "Copy files to collection" in the filebrowser, tags wont get recognised from
9            urls which are organised from media:/ locations.
11  <jeff>    When playing a stream from e.g. Ampache, even if an Artist is detected, Wikipedia
12            will pull up "Artist - Song" instead of just Artist.
14  <sebr>    PlaylistBrowser::slotDoubleClicked() and PlaylistBrowser::addSelectedToPlaylist()
15            should be merged for better code reusage. They are practically the same.
17  <markey>  I just deleted a tag by accident: Clicked on a file in the playlist, pressed
18            delete to remove the track from the playlist. I had not noticed that it
19            went into edit mode, though. So I clicked somewhere else, and BAM, the new
20            empty tag was written. My tag was gone :S IMHO we should require confirmation
21            before writing, e.g. only write the tag after pressing enter.
23  <markey>  When you start a lastfm stream, the old metadata from the last stream is 
24            shown before the new stream starts. Doesn't look nice.
26 <shanachie> update podcast-tuples when the feed get's corrected after a mistake by the podcaster/publisher. eg. pubdate, url, title.
28  <sebr>    We need to check for pkg-config when configuring, otherwise we can't check for things
29            like libgpod. Currently its a silent error, and its very difficult to debug without
30            trawling through configure.in.in
32  <sebr>    Don't reload media device plugins when saving config settings. Its annoying, slow
33            and all around unnecessary.  It also crashes if the device is connected/loaded.
34            <aumuell> Cannot reproduce anything of this with ipods - i think i fixed that already.
36  <markey>  After doing "Delete downloaded podcast", the icon still indicates downloaded.
38  <sebr>    LastFm:
39              - determine how hard it would be to tag songs
40  <eean>      - display history in the playlist somehow  <markey> I'm against this.
41                -subitems?
42                -just disabled?
43              - 'stop after current track' should work
44  <markey>    - when you've never listenend to lastfm before, all stream links on the
45                website are disabled ("Download the player"). we need to do a handshake on
46                startup once, and then set a config item, e.g. handshaked=true.
48  <markey>  xine-engine: when "xine could not init any audio driver" happens, always retry
49            with Autodetect. This seems to be an issue with leftover amarokrc's from 1.3.
51  <sebr>    Adding an m3u with non existant items has filesize = 16,777,216.0 TB!
53  <sebr>    Refactor code for PlaylistBrowser::removeSelectedItems(). I can see pathological cases
54            where it won't work.
56  <illiss.> Is using the score for the number, but the rating for the vis. in the context browser
57            confusing? (I think it is, but that might be becuase my theme doesn't use stars but a
58            partially-filled bar). If so it should be reverted for beta 1, I have a better solution
59            already planned but that won't be in time.
61  <illiss.> The various UI and behaviour refactorings for Dynamic Mode should be finished up and
62            polished. Among them, add a button to turn it off in the bar-above-the-playlist, fix
63            drag-and-dropping of dynamic playlists, and when loading a dynamic playlist, clear the
64            existing playlist first, instead of making it dynamic (which has all sorts of nasty side
65            effects).
67  <sebr>    Podcast Fixme's:
68              * Have i listened to podcast streamed?
70  <illiss.> Loading normal (M3U) playlists from the playlist browser doesn't block the UI per se,
71            but it does nothing for really long time, until suddenly the whole playlist shows up,
72            which is strange and confusing.
74  <markey>  Tooltips don't work for 3rd level items in the Playlist Browser. They do how
75            however work (for me) for 2nd level items. Very bad, cause you can't read the
76            text!
78  <sebr>    When starting a drag in the collection browser, we can block the gui if the user makes a
79            selection which is sql intensive (eg, select all).  Instead of calculating the items
80            in each of those nodes, we should add the sql to the drag and allow the playlist loader
81            to do the work for us (which is threaded).
82            <muesli> See SqlLoader class in playlistloader. We do the very same stuff for
83            Smart-Playlists already.
85  <sebr>    The unknown album should ALWAYS be shown last.  Year has a higher weighting than album
86            name.  We should special case the Unknown album.
88  <markey>  When all 5 browser tabs are activated, the current tab button is drawn a few
89            pixels below the normal position. This has the side effect that the separator line
90            at the bottom of the bottom becomes invisible.
91            You can see the problem easily when you hide the current browser by clicking twice
92            the button twice. This problem AFAIK also affects 1.3-branch.
94  <markey>  Add DCOP functions for showing dialogs, similar to kdialog.
96  <sebr>    More consistent playlistbrowser drag and drop actions; No dropping of default streams, set
97            e->accept( false ) if dropping one type onto another.
99  <sebr>    Use KIO queues for podcast download queues.  Should simplify the lot.  Problems atm included
100            selecting multiple downloads individually, and automatic downloads occuring for more that one
101            podcast item.
103  <markey>  In EngineController::play(), add a sanity check when querying the track length
104            from the engine. Apparently AAC can deliver ridiculous values with GST and Helix,
105            like 1192479:38:49. If length is too extreme, default to the TagLib provided
106            value.
108  <eean>    Currently custom dynamic playlist selection is simply based on the titles. So its less then
109            ideal. Via some method, each playlist should be assigned iteratively a number paired with its
110            type.. Dynamic playlists and static playlists should probably have seperate numbering so
111            that the "next" number can be determined by looking at one XML file.
112            Remembering which PartyEntry was used on close should be remembered with the same method.
114  <eean>    Smart playlists bypass checks on whether the media is playable or not.
115            Or perhaps such media shouldn't be in the collection at all? This is the sort of
116            thing we're going to have to worry about now that we have m4a and wma tag support.
118   <markey> Consider moving the GHNS provider list to a different server than amarok.kde.org,
119            possibly download.kde.org or similar. (When our site is down, the GHNS feature fails
120            to work entirely)
122   <markey> Amarok fails to download any stream playlist from http://dir.xiph.org. Part of the problem is
123            PlaylistLoader::isPlaylistFile(const KURL&), which only looks at the filename's extension. This
124            fails for URLs like http://dir.xiph.org/listen.php?pid=669641&file=listen.m3u, because the filename
125            is "listen.php". So it must look at the whole url instead.
127   <mxcl>   On first-ever-run, if Amarok crashes building the sqlite collection, it is impossible to _ever_
128            build a collection unless the user's amarokrc file is deleted! This MUST be fixed before 1.2!
129            ::muesli:: We could just _always_ try to create the sql tables on startup. This would fail on
130            ::muesli:: systems which already got the tables, but would fix the situation where tables are
131            ::muesli:: missing, as in this situation. Just pump the debug of these calls to /dev/null.
133   <mxcl>   Just before we load any engine plugin, write to a file, and it we don't succeed the next time
134            Amarok starts show a big warning saying "Gah!" and load a different one.
136   <mxcl>   If you inline set the title tag to "", prettyTitle gets inserted as the title tag.
138   <markey> When the KDE color scheme is changed while Amarok is running, all toolbar buttons (those with text)
139            lose their texts.
141  <shakes>  The scrobbler code should report some sort of error message rather than just saying that the
142            submit failed. That way when last.fm goes down we wouldn't get so many people asking why they
143            can't submit. It'd also be nice to be able to tell people they've got their password wrong.
145 <jefferai> When hovering the mouse over the Repeat/Random icons in the bottom taskbar, the popups that appear
146            not only have inconsistent icons with the ones shown in the taskbar, but they're pixellated and ugly
147            as sin.  Should probably be redone as SVGs.
149 <jefferai> Xine proxy value is not saved across sessions.  Problem exists in Xine-UI as well, at least for me.
150            Maybe an upstream bug and nothing we can fix.
152 MID-TERM:
153  <eean>    Implement a "Find My Music" button in the first-run wizard. Just a basic
154            thing that will look at file extensions and try to figure out where the users
155            music is located. Ignore /opt/, /usr etc. to avoid adding sound effects. Prompt
156            user with the directories at the end of the scan, allowing them to exclude some.
158  <eean>    The FileBrowser doesn't check for recursive symlinks. This is a KDirOperator (or the
159            classes it depends on) problem.
161  <eean>    Basically need to re-add some of the functionality I removed in re-doing dynamic
162  --><eean> custom playlist creation.
163            1) the default dynamic playlists need to be more insistent, the same way the
164               the default smart playlists are.
165   <eean>   Implement leinir's mockup:
166            www.leinir.dk/temp/gallery/?image=pictures/amarok-playlist-bar-dynamic-mode.png
167           <leinir> The idea with the look of the top is, as you can probably see from the colours
168             otherwise present, that it's the active window titlebar/colour/font, with the name of the
169             playlist being un-bolded (if the window title is bold)...
170           <leinir> eean: Some people will identify the active window by titlebar colour alone :)
172   <mp8> Album covers as icons from filebrowser.
174   <eean>   When the player window shades, it should lose its title bar and be replaced with something more
175            compactish. This would probably have to be created manually.
177   <sebr>   Make the player window scroll the text in the opposite direction if using right-2-left text
178            (eg hebrew or arabic)
180   <sebr>   Use Metabar's box retraction animation to the context browser. More iCandy. Any Javascript experts around?
182   <mxcl>   Should be able to open collection browser by right clicking on stuff in contextB, so show the
183            artist or album that is right clicked.
185   <markey> AudioCD support for gst engine (cdparanoia ! *sink). -->markey
187   <markey> We should cut down on unnecessary/redundant debug output/warnings (noise).
189   <mxcl>   Perhaps a nice idea: when you drag playlistItems to a branch in the collection browser
190            it prompts to change the track's tags, so drag a track to the "moolaaa" album and that
191            track get's it's album tag changed to "moolaaa" and is inserted into the branch, so the user
192            know's what has happened.
194   <mxcl>   User asked for a CTRL-J itty-bitty dialog that allows you to jump to a specific part
195            of a track. I'll see if I can do it with tiny amount of code -->mxcl
197   <muesli> Don't rely on KDE timeouts to see whether a file is accessible or not,
198            since this really sucks for disconnected network shares. XMMS handles
199            this way better and it really is a problem in userland. maybe a thread
200            helps, which simply tries to fopen() the file. if this task hasn't been
201            finished in (let's say) 3 seconds, jump to the next song. XMMS even
202            remembers such files and their folders, so that it's not going to open
203            another file from that folder for the next few minutes. what about hdd
204            sleep-timeouts? opinions?
206   <mxcl>   Determine some behavior for the clear/shuffle/etc. buttons when a search is in action
207            clear   -> only clear the stuff that was searched for?
208            shuffle -> stop the search and do normal shuffle?
209            ADDitionally what to do when user rearranges a set of items that are the search result?
210   <larson> No big deal to me as long as the behaviour is consistent. I.e. if shuffle shuffles
211            the search, then clear should clear the search only, and visa versa.
213   <larson> Make playlist toolbar buttons toggle like the playerwidget buttons.
215            Toolbar button in FileBrowser for switching recursive directory reading.
217   <mxcl>   Can't resize newly displayed columns if they are hidden at beginning of session -->mxcl
219   <muesli> Add an option "clean up playlist on startup".
220   <mxcl>   Do you mean remove duplicates or dead entries etc. ? Cool.
222   <mxcl>   Option: don't crossfade for sequential tracks on same album. Comments? -->mxcl
223            Of course, there would still be the up to 150ms gap, but we can fix that some other time..
224   <markey> Please clarify: is this the same as BR #75388 ?
225   <mxcl>   No, this is just to make crossfading not ruin album transitions
227            Add dirs to combo history when user adds a track from that dir to the playlist.
229            "Show playlist" to the right click menu, redundant but necessary.
231            More KTips, better KTips, somehow use the "Did you know" tip dialog (eg kmail, gideon, etc.) -->mxcl
233            Option to automatically adjust column widths.
235            Option to implicitly sort playlist by { track, album } (on drop only) -->mxcl
237   <berkus> Playmode indication button in main widget (repeat track/pl/shuffle), clickable.
240 LONG-TERM:
242   <sebr>   Support multiple collections.  This could be really powerful, and could be handled
243            with the collection browser.  We could support non-local collections, audio cd/dvds,
244            NFS/Samba etc.  This would also allow us to retrieve tracks from other networked pcs.
245            Auto-polling of added collections for a 'hot-sync' style detection of collections.
247   <markey> Use more accurate interpolation for analyzers (cubic or spline)
249            Tabbed playlists.
250            Pro: it's convenient to have several playlists
251            Contra: the playlist is getting cluttered enough as it is!
252            <illissius> I already added a comment wrt this to the b.k.o bug, but here's the idea:
253                        switch between playlists with the playlist browser -- that's what it's there for.
254                        This avoids the clutter. The way it'd work is the currently playing playlist would
255                        have the same fancy fading thing the current track has. The context menu for playlists
256                        would have two seperate items, one for showing and one for playing. When just showing,
257                        the previous playlist would continue playing while you view/edit the other one.
258                        (If you doubleclick a song in the new playlist, it would naturally start playing that
259                        one instead). What to do when the user doubleclicks a playlist -- show, play, or both
260                        -- is TBD.
262            Make windows magnetic / sticking together (difficult).
264   <mxcl>   Implement beat detection (thread?), interface should glow/move to
265            the beat, visualisations have access to beat/bpm info.
267            Audio system info widget, showing all available codecs and similar info.
269            Resizable playerwidget, like in Winamp3.
271 IDEAS:
273            Bookmarks inside of tracks (good for very long tracks), and nifty bookmark browser
275            Using filelight (as a kpart maybe) for a graphical representation of the playlist. so
276            you could see at first glance how the altogether playing time is divided into different
277            albums, tunes and so on.
280 DO-NOT-IMPLEMENT (stuff that was rejected):
282   <markey> Allow removing of playlist items by dragging back into browser.
283   <larson> I think this is really weird. When I drag something I expect that someting to be
284            ADDed or opened in the target. Not removed from the sender.
285            (RFC: is this still appropriate or would it be misleading?)
286   <muesli> imho, it's misleading and not hid-compatible. i would rather
287            expect that file to be copied to the browser's current directory.
289           "Hide playlist when main widget is not active" option (?? comments please: )
290   <berkus> Noo, we have it hiding into tray, thats enough (imagine how much flashing will be
291            if i drag mouse around with "focus follows mouse" on - this is the one i use all the time)
292   <mxcl>   Hence it's an option, you'd not use it with focus follows mouse. But it was just an idea
293            anyway.. dunno if I like the sound of it anymore either.
296 BACKTRACES/DEBUG/VALGRIND: