aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
blob: 9f63dca88fd46b00484654fb78c7b1574719916d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1) play streams
	a) for mp3, remember to turn off IGNORECRC for mp3 streams
	b) deal with non-blocking in decodeFirstFrame (mp3) better!
	c) bufferInput in outputBuffer waiting!
		1) implement some sort of callback mechanism for this
			for abstraction sake
	d) deal with pausing better
		1) seekable, on resuming pause, check if we need to reconnect,
			jumping to offset
		2) if seekable, at some point after init, mark this!
		3) if not seekable, reset buffer, and elapsedTime when
			unpaused
	e) put some sort of error reporting for streaming/inputStream!
	f) ogg streams
	g) fetch metadata and store in DecoderControl and pass to 
		PlayerControl
		1) eventually deal with icy-metadata
		2) parse metadata on the fly in decoders
	h) command for dealing with the changing metadata, currentsonginfo
		or something

2) how to deal with streams and the db
	a) should streams be stored in the db?
	b) handle url playlists!
		1) have one fd for opening playlists in a url (allow only
			loading of one of these at a time).
		2) check for new data on it in the main while(select()) loop
		3) block client requesting the log until the load is finished
		4) need a timeout for this, 10 seconds, configurable?

3) streaming and playing in general
	a) put errors in error stuff of PlayerControl and report this to
		status and print to error logs
	b) make sure all decoders can handle bad seeks well (need to fix mp3)

4) resampling audio for compatibility, and better gapless/crossfading
	a) use resampling from oggenc (is it fast enough for realtime?)

5) 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.

6) ACK error codes

7) cleanup main()

8) handle '\n' in filenames

9) allow "add" command to load playlists, then depricate "load" command, this 
	will be benneficial for adding m3u url's

10) compute average replaygain to use for non-replaygain songs


Post-1.0
--------
1) crosslink "list" stuff, for example, artists are crosslinked to alubms and 
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

2) rewrite linked list impelmentation to be more flexible
	a) remove "key" stuff
	b) allow assigning a compare function for a list