2004-05-11 02:56:06 +02:00
|
|
|
1) play streams
|
2004-05-15 04:11:33 +02:00
|
|
|
a) don't use libcurl, too messy, instead write own http code. lots of
|
|
|
|
examples in alsaplayer, xine, xmms, etc. THis will be
|
|
|
|
much more flexible and prevent from needing to spawn an extra
|
|
|
|
process!
|
2004-05-16 06:12:28 +02:00
|
|
|
b) pass decoderControl to inputStream, so that if we are doing blocking
|
|
|
|
stuff, its easy to halt it and return
|
2004-05-17 21:47:21 +02:00
|
|
|
c) for mp3, remember to turn off IGNORECRC for mp3 streams
|
2004-04-15 07:10:05 +02:00
|
|
|
|
2004-05-11 02:56:06 +02:00
|
|
|
2) streaming and playing in general
|
2004-04-17 01:49:48 +02:00
|
|
|
a) determine a clever interface to play, so that play doesn't block
|
2004-04-16 15:59:35 +02:00
|
|
|
until the file is opened, but just returns when the command
|
|
|
|
is accepted.
|
2004-04-17 01:49:48 +02:00
|
|
|
b) put errors in error stuff of PlayerControl and report this to
|
2004-04-16 15:59:35 +02:00
|
|
|
status and print to error logs
|
2004-04-17 01:49:48 +02:00
|
|
|
c) this will help streaming from blocking indefinetly or waiting
|
2004-04-16 15:59:35 +02:00
|
|
|
on a response
|
2004-04-16 14:16:54 +02:00
|
|
|
|
2004-05-11 02:56:06 +02:00
|
|
|
3) resampling audio for compatibility, and better gapless/crossfading
|
|
|
|
a) default audio format is (44.1khz, 16-bit, stereo)
|
|
|
|
b) use resampling from oggenc (is it fast enough for realtime?)
|
|
|
|
|
|
|
|
4) when writing combined interface for all decodes to use, be sure to add a
|
|
|
|
common function and abstrct dealing with DecoderControl * and put
|
|
|
|
cycleLogFiles in there, so we cycleLogFiles while decoding, not just when
|
|
|
|
decoding has stopped.
|
2004-04-16 15:59:35 +02:00
|
|
|
|
2004-05-08 14:00:30 +02:00
|
|
|
5) ACK error codes
|
2004-04-16 15:59:35 +02:00
|
|
|
|
2004-05-08 14:00:30 +02:00
|
|
|
6) cleanup main()
|
2004-04-16 19:17:53 +02:00
|
|
|
|
2004-05-08 14:00:30 +02:00
|
|
|
7) handle '\n' in filenames
|
2004-04-16 14:16:54 +02:00
|
|
|
|
2004-05-08 14:00:30 +02:00
|
|
|
8) allow "add" command to load playlists, then depricate "load" command, this
|
2004-05-06 20:59:40 +02:00
|
|
|
will be benneficial for adding m3u url's
|
|
|
|
|
2004-05-08 14:00:30 +02:00
|
|
|
9) compute average replaygain to use for non-replaygain songs
|
|
|
|
|
2004-04-15 22:15:41 +02:00
|
|
|
|
|
|
|
Post-1.0
|
|
|
|
--------
|
|
|
|
1) crosslink "list" stuff, for example, artists are crosslinked to alubms and
|
2004-04-15 07:10:05 +02:00
|
|
|
vice versa, this way you can do list album artists or list artist albums, this
|
|
|
|
will make life easier when we add genre and other metadata
|
2004-04-15 22:15:41 +02:00
|
|
|
|
|
|
|
2) rewrite linked list impelmentation to be more flexible
|
|
|
|
a) remove "key" stuff
|
|
|
|
b) allow assigning a compare function for a list
|