Christopher Eby
2a31946f67
Safer thread synchronization for song timeline
2010-02-28 16:48:29 -06:00
Christopher Eby
093da1c9e7
Initialize mQueuePos to 0
2010-02-28 16:45:42 -06:00
Christopher Eby
bccc23c59b
Update CoverViews sooner
...
So it feels faster
2010-02-27 23:11:55 -06:00
Christopher Eby
27f69927db
Make PlaybackService's Handler non-anonymous
2010-02-27 22:39:11 -06:00
Christopher Eby
24f850e539
Organize preferences
2010-02-27 22:35:54 -06:00
Christopher Eby
a857fad462
Add a setting to control headset unplug detection
2010-02-27 22:29:33 -06:00
Christopher Eby
cddfb03627
Expand and improve headset detection
...
Modify it to mean play through anything but the internal speaker. Should now detect bluetooth and other sinks.
I have not tested this on Android 2.0+. I hope it works...
2010-02-27 22:20:43 -06:00
Christopher Eby
a456aa8c04
Allow the widget to start the music service
2010-02-26 23:55:03 -06:00
Christopher Eby
1a259e714a
Add a copy of the GPL
...
This was left out of the license commit
2010-02-26 23:44:34 -06:00
Christopher Eby
9db1789e3d
Generate tinted control buttons on-the-fly
2010-02-26 23:43:49 -06:00
Christopher Eby
dc0639784e
Add a 1x1 cell widget
...
Larger sizes are to come
2010-02-26 23:21:46 -06:00
Christopher Eby
21d5fafa74
Fix crash with no songs on device
2010-02-25 23:15:55 -06:00
Christopher Eby
9530cffaa6
Add a readme
2010-02-25 21:59:21 -06:00
Christopher Eby
7646c1c326
License under GPLv3+
2010-02-25 20:46:27 -06:00
Christopher Eby
5fa74e1f18
Better defer cover loading
2010-02-24 23:16:50 -06:00
Christopher Eby
2403f39664
Rename notification setting
2010-02-22 19:07:41 -06:00
Christopher Eby
5e3cbfbb1a
Heed to phone calls
2010-02-22 19:06:20 -06:00
Christopher Eby
447634de8c
Make scrobbler configurable
2010-02-22 18:41:28 -06:00
Christopher Eby
c82087c81f
Broadcast Scrobble Droid API intents
2010-02-22 18:24:50 -06:00
Christopher Eby
f91dcca666
Expose MediaStore id in Song
2010-02-22 18:22:31 -06:00
Christopher Eby
41b2925eee
Make the notification work on Android 2.0+
2010-02-22 18:13:59 -06:00
Christopher Eby
3aed9a73b8
Add a preference to disable the constant notification
2010-02-22 18:11:13 -06:00
Christopher Eby
21bbd3844e
Clarify if the music is paused in the notification text
2010-02-22 17:11:28 -06:00
Christopher Eby
f01348fc01
Update the notification for new songs even when paused
2010-02-22 17:07:55 -06:00
Christopher Eby
b62050a869
Fix bottom control visibility in setState
2010-02-21 21:39:26 -06:00
Christopher Eby
6796763a47
Clean up song filter parsing
2010-02-21 21:29:48 -06:00
Christopher Eby
45b581de3c
Make the notification intent work
2010-02-21 20:24:35 -06:00
Christopher Eby
32be8b09ef
Try to handle MediaPlayer errors
2010-02-21 19:57:54 -06:00
Christopher Eby
44ebddbc14
Rename to Vanilla Music
2010-02-21 19:44:29 -06:00
Christopher Eby
009c5d54e4
Rename a couple layouts
2010-02-21 17:23:44 -06:00
Christopher Eby
7b1a3b5902
Make user-visible strings localizable
2010-02-21 17:08:24 -06:00
Christopher Eby
0a95320bce
Merge MusicPlayer back into PlaybackService
2010-02-21 16:55:19 -06:00
Christopher Eby
40ebd4ec1b
Allow NowPlayingActivity to stop the playback service
2010-02-21 16:34:13 -06:00
Christopher Eby
197d529fe6
Ensure the MusicPlayer cleans up properly
2010-02-21 16:32:02 -06:00
Christopher Eby
824a6b4806
Don't leak mReceiver
2010-02-21 00:38:04 -06:00
Christopher Eby
69251f2aa6
Keep the notification around even after pausing
2010-02-21 00:29:10 -06:00
Christopher Eby
d1be1d80cc
Add a mini-player
...
This will open in response to clicks on the notification. It provides
a quick way to change a song or pause music. (Mainly it just looks legit)
2010-02-21 00:08:47 -06:00
Christopher Eby
ddb0193d65
Only make the CoverView bitmaps as large as they need to be
2010-02-20 14:42:39 -06:00
Christopher Eby
377984afaf
Omit a bogus paramter to drawBitmap
...
It is unnecessary, wrong and causes problems if the bitmap needs to be scaled down
2010-02-20 14:08:31 -06:00
Christopher Eby
d7f3eaa442
Allow STATE_NO_MEDIA to be unset
2010-02-20 01:52:52 -06:00
Christopher Eby
8c499cdff2
Don't pause playback when the headset is plugged in
2010-02-20 00:31:08 -06:00
Christopher Eby
af2b7244c9
Try to re-retrieve the songs when we should
2010-02-20 00:29:18 -06:00
Christopher Eby
331add9d22
Don't hide controls when paused
2010-02-19 22:32:36 -06:00
Christopher Eby
23d1b1fab9
Postpone play/pause work
2010-02-19 22:28:57 -06:00
Christopher Eby
4945c9c47b
Disable seek bar when paused
2010-02-19 22:23:38 -06:00
Christopher Eby
6123a81dfa
Query duration on startup
2010-02-19 22:19:56 -06:00
Christopher Eby
52013ce482
Simplify song change handling
...
This fixes some issues with thread safety
2010-02-19 22:14:38 -06:00
Christopher Eby
ee5f907d3f
Don't call setState on startup
...
There is no advantage to doing so right now
2010-02-19 21:09:38 -06:00
Christopher Eby
e82b167485
Add horizontal margin to the outer edges of the lower controls
2010-02-19 20:59:19 -06:00
Christopher Eby
458c1e29cd
Always show the play/pause button when paused
2010-02-19 20:54:56 -06:00