1052 Commits

Author SHA1 Message Date
Adrian Ulrich
34e72f1717 avoid crashing if we got empty/null values 2012-12-12 20:17:00 +01:00
Adrian Ulrich
9547499d65 use lc _magic kw 2012-11-11 20:44:45 +01:00
Adrian Ulrich
d4c4498068 Adding BASTP TagParser
This is required for ReplayGain - a POC version of the code is already implemented (no album gain, no config option yet)
2012-11-11 20:29:30 +01:00
Adrian Ulrich
bf98eb3631 Bugfix: Do not crash on fast-scroll
Fixed string out-of-bounds error: Android returns an empty string if there was no key. calling substr() on it turned out to be a dumb idea ;-)
2012-11-04 15:04:59 +01:00
Adrian Ulrich
0c428f8646 0.9.14 release 2012-10-21 17:16:46 +02:00
Adrian Ulrich
31c7a65ad3 remove some legacy checks 2012-10-19 17:38:20 +02:00
Adrian Ulrich
0f6137ed4a update gapless cache on queue change 2012-10-19 17:35:51 +02:00
Adrian Ulrich
5eab4898ee Remove volume override feature
This seems to be pretty buggy for some reason (android bug?) and crashes with random errors - even on freshly initialized MediaPlayers
2012-10-19 16:55:02 +02:00
Adrian Ulrich
b14299e6da do not call setDataSource() if we are going to destroy the object anyway 2012-10-19 16:31:56 +02:00
Adrian Ulrich
e60be1af0e Gapless playback
This patch adds support for gapless playback present in JellyBean.
It will do nothing on ICS devices.
2012-10-18 22:35:44 +02:00
Adrian Ulrich
67f195b5b5 Remove legacy code
This commit removes a bunch of SDK_INT check from the existing code as we do not support anything below android 4 anyway
2012-10-01 21:17:28 +02:00
Adrian Ulrich
1f9cd5e745 Showqueue fixes
The actionbar title button will now terminate this activity
2012-10-01 21:07:57 +02:00
Adrian Ulrich
dbdfeebc17 jumping to a song should behave like shiftCurrentSong 2012-10-01 20:10:17 +02:00
Adrian Ulrich
1206e17d62 i18n 2012-09-30 13:31:10 +02:00
Adrian Ulrich
30d1038290 initial support for ShowQueueActivity 2012-09-30 13:28:27 +02:00
Adrian Ulrich
8004113518 no need to pause first - always play on selection 2012-09-30 11:39:15 +02:00
Adrian Ulrich
eda55a01bb implement ability to jump by queue position/id 2012-09-29 20:14:48 +02:00
Adrian Ulrich
b06aaa3085 remove @TargetAPI from Preferences 2012-09-27 19:09:38 +02:00
Adrian Ulrich
169476723a stop if getCount is zero - fixes playlist-delete crash 2012-09-26 19:15:25 +02:00
Adrian Ulrich
0b291e81eb rewind song if we receive the command via hardware button / volume rocker 2012-09-23 16:03:56 +02:00
Adrian Ulrich
5e06b6e030 Get rid of EdgeEffectCompat 2012-09-23 15:34:46 +02:00
Adrian Ulrich
b0c0044026 rename package name in order to avoid name clashes with 'old' version 2012-09-23 14:28:57 +02:00
Adrian Ulrich
ea2eb070a9 move existing source to new pkgname 2012-09-23 14:23:30 +02:00
Adrian Ulrich
66b7a7abf2 use default thread priority in order to fix playback issues on ICS 2012-09-23 14:19:11 +02:00
Adrian Ulrich
4c47c61a44 remove legacy LruCache 2012-09-23 14:17:33 +02:00
Christopher Eby
496d28411a Defer release of the wake lock
This allows the headset button to fuction for a short period after
pausing
2012-05-16 10:11:27 -05:00
Christopher Eby
c307995b73 Add a beep for headset button double-click
Also adds missing header to PrefKeys
2012-05-16 10:00:43 -05:00
Christopher Eby
57975df691 Use transparent drawable for Widget D fallback
Closes #61
2012-05-15 19:49:12 -05:00
Christopher Eby
09825c0d71 Make title, album, and artist multi-line when extra info is visible
Closes #64
2012-05-15 14:18:58 -05:00
Christopher Eby
be9e298a72 Add play or enqueue library action; make it the default
As suggested by Jonas Thiem
2012-05-15 13:44:23 -05:00
Christopher Eby
0d5f83c7fa Move all preference string contants into PrefKeys 2012-04-13 05:32:22 -05:00
nferenc
df8de4f3b4 New white widget 2012-03-30 17:58:14 -05:00
Christopher Eby
f94493bd91 Actually lazy load sensor manager 2012-03-26 01:45:10 -05:00
Christopher Eby
e6d74b6a1b Split preferences into multiple screens; add about page 2012-03-24 03:46:24 -05:00
Christopher Eby
0965430b64 Fix some deprecation warnings 2012-03-24 02:25:39 -05:00
Christopher Eby
cc582a2842 TargetApi annontations for lint
This makes the CompatHoneycomb tab listener an inner class instead
of an anonymous class so it can be annotated
2012-03-23 15:23:15 -05:00
Christopher Eby
2bd5151ffe Fix action tab bar in landscape mode
It was displaying as NAVIGATION_MODE_LIST
2012-03-16 13:42:46 -05:00
Christopher Eby
8056a06d81 Default to artist,album,track sort order for albums and songs 2012-03-14 21:03:59 -05:00
Christopher Eby
3f1e1b04bf Add "More from artist" and "More from album" 2012-03-14 20:57:21 -05:00
Christopher Eby
131bdc4507 Workaround bug in ICS's handling of backspace
This was causing backspace to delete two characters instead of one on
ICS
2012-03-14 17:43:29 -05:00
Christopher Eby
467009169b Code cleanup 2012-03-14 16:18:12 -05:00
Christopher Eby
ac8ae6dc9f Load sensor manager as needed 2012-03-13 16:39:51 -05:00
Christopher Eby
61ec1b9df6 Fix playback layout on Froyo and below
Oops.
2012-03-13 16:21:43 -05:00
Christopher Eby
e6dd92f3e4 Only trim random songs in addSongs when in random mode 2012-03-13 15:45:34 -05:00
Christopher Eby
a00e9b8816 Handle null bitrate 2012-03-13 15:32:33 -05:00
Christopher Eby
6afb80d57c Ensure queue pos view has enough room 2012-03-13 15:27:41 -05:00
Christopher Eby
ec9449a227 Prevent cover when art from changing when scroll is in progress
The previous/next song can change while scrolling if shuffling is enabled.
This saves those songs in mActiveBitmaps until scrolling is finished.
This doesn't handle two successive scrolls (i.e. no time to settle) with
changes, though.
2012-03-13 15:27:41 -05:00
Christopher Eby
1bbde8050d Prevent seek bar from sometimes displaying old position after song change
MediaPlayer.getPosition() could be called before the new data source is
set. This makes PlaybackService.getPosition() return 0 while the load is
pending.
2012-03-13 15:27:41 -05:00
Christopher Eby
ea1a12af01 Don't update seek bar unnecessarily often
Since Handler delays aren't very accurate, updateElapsedTime() is
sometimes called just before the second increments, causing
updateElapsedTime() to be called several times in rapid succession. This
adds a 50 ms to help avoid this.
2012-03-13 15:27:41 -05:00
Christopher Eby
7cc59120d4 Rework playback activity layout.
Display all info in the table layout, including title, artist and album.
Add queue position display.
2012-03-13 15:27:37 -05:00