90 Commits

Author SHA1 Message Date
Christopher Eby
064ecf3904 Take advantage of the early cover broadcast 2010-03-01 19:23:17 -06:00
Christopher Eby
601d9e70e1 Broadcast song change even earlier 2010-03-01 17:49:34 -06:00
Christopher Eby
258972ad26 Unify some code 2010-03-01 17:49:34 -06:00
Christopher Eby
5aa70084de Defer cover shifting work in CoverView
This update the control buttons immediately instead of after a noticable delay
2010-03-01 17:49:34 -06:00
Christopher Eby
c4ec07080f Remove dead code 2010-03-01 17:49:33 -06:00
Christopher Eby
d3a31b3560 Reword headset_only pref 2010-03-01 17:45:45 -06:00
Christopher Eby
99868d920e Don't cause track change badness 2010-02-28 21:47:39 -06:00
Christopher Eby
06cb7d96a3 Add null check 2010-02-28 21:37:46 -06:00
Christopher Eby
bfab1d92a7 Version 0.1 build 7 2010-02-28 19:57:23 -06:00
Christopher Eby
9758c3b50f Unify code for widget next/pause 2010-02-28 19:53:04 -06:00
Christopher Eby
3cb3bcf300 Synchronize on mSongTimeline instead of a dedicated object 2010-02-28 19:48:52 -06:00
Christopher Eby
38a2c43e73 Update cover earlier in CoverView shiftCover
Now that the RemoteException is handled properly we can reorganize this method
to provide a nice boost to responsiveness
2010-02-28 19:46:25 -06:00
Christopher Eby
772df6acc6 Handle dead service in CoverView 2010-02-28 19:43:08 -06:00
Christopher Eby
079221eafb Unify next/previous in CoverView 2010-02-28 19:38:37 -06:00
Christopher Eby
67dc10a84b Simplify Handler in CoverView 2010-02-28 19:00:04 -06:00
Christopher Eby
cf62a8ebc4 Avoid calling getDuration/getPosition when MediaPlayer doesn't want us to 2010-02-28 18:54:58 -06:00
Christopher Eby
fad23d11bc Switch songs synchronously in PlaybackService
Async was causing CoverView to receive the wrong covers in some cases.
2010-02-28 18:42:36 -06:00
Christopher Eby
94ede3a73b Version 0.1 build 6 2010-02-28 17:36:29 -06:00
Christopher Eby
7b217004bb Save state across service instances 2010-02-28 17:16:19 -06:00
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