Adrian Ulrich
b288425994
add songs.year column
2016-11-27 14:29:00 +01:00
Adrian Ulrich
d493056cc9
pass all tags trough a filter
2016-11-27 14:16:16 +01:00
Adrian Ulrich
d2559dcaf0
Fix crash in listview
...
setData() might get called late after a queue update. If the listview already started to draw, it might trigger a panic if a count mismatch was detected
2016-11-26 20:51:43 +01:00
Adrian Ulrich
f749773e35
sort songs by album if we hit PlayAll from the artists tab
2016-11-26 20:32:37 +01:00
Adrian Ulrich
62e58c003c
fix wrong sorting for 'enqueue album'
2016-11-26 20:22:05 +01:00
Adrian Ulrich
bc69dde38c
implement simple blacklist
2016-11-26 20:14:36 +01:00
Adrian Ulrich
6a6178846b
make role a constant
2016-11-26 20:14:17 +01:00
Adrian Ulrich
8d05089c9f
brush up scanner
2016-11-26 19:47:27 +01:00
Adrian Ulrich
69b9393987
vorbis: guess YEAR from DATE
2016-11-26 19:29:15 +01:00
Adrian Ulrich
0af0d35a66
unify metadata extractor
2016-11-26 19:15:10 +01:00
Adrian Ulrich
432ce9d557
get rid of unused song_count and disc_count fields
2016-11-26 18:59:11 +01:00
Adrian Ulrich
2df519f0f6
add metadata extraction wrapper
2016-11-26 18:57:41 +01:00
Adrian Ulrich
80744ae9cc
Merge branch 'master' into medialibrary
2016-11-26 17:25:04 +01:00
Adrian Ulrich
b24648caac
Use ArrayList instead of Vector
2016-11-26 17:24:43 +01:00
Adrian Ulrich
2f477c65d4
get rid of some content resolver leftovers
2016-11-26 16:59:46 +01:00
Adrian Ulrich
29c6dd9916
add songs for playlist_id,song_id queries
2016-11-26 16:53:05 +01:00
Adrian Ulrich
6683a221ab
bring back android album artwork support
2016-11-26 16:50:51 +01:00
Adrian Ulrich
f218271919
use Long.toString()
2016-11-26 16:28:35 +01:00
Adrian Ulrich
e3c6331885
do not use sort trickery on playcounts playlist name
2016-11-26 16:25:41 +01:00
Adrian Ulrich
0873318931
fix +1 updates and re-implement playlist sorting
2016-11-24 13:23:04 +01:00
Adrian Ulrich
53eb77e8b3
re-add playlist renaming
2016-11-22 10:40:29 +01:00
Adrian Ulrich
c631d17b52
Merge branch 'master' into medialibrary
2016-11-22 10:05:46 +01:00
Adrian Ulrich
331fbe94d9
improve performance of ShowQueueAdapter
...
Using a copy of the timeline and re-creating all entries on every view update scales very poorly (what was i thinking?!)
The new code holds a reference to the playback service where it can query the queue on demand
2016-11-22 10:04:53 +01:00
Adrian Ulrich
db39ae5819
use hash63 also for playlist names
...
Unlike eg. MySQL, SQLite3 tends to re-use INDEX columns, so creating & deleting a playlist would cause the next one to re-use the same ID, which confuses our in-memory cache (which assumes stable / unique IDs)
Hashing by name solves this and also ensures that we do not create duplicate playlists in any code path
2016-11-21 20:42:23 +01:00
Adrian Ulrich
6f15dd5989
use correct projection for playlist queries
2016-11-21 20:38:30 +01:00
Adrian Ulrich
a2e87d3670
fix typo
2016-11-21 15:42:07 +01:00
Adrian Ulrich
736da85770
unbreak removeItem() to swipe-away playlist entries
2016-11-21 15:30:41 +01:00
Adrian Ulrich
d35992f3c4
bring back removeFromPlaylist()
2016-11-21 15:08:14 +01:00
Adrian Ulrich
4e1101b2da
initial import of our own media library database
2016-11-21 11:38:43 +01:00
Adrian Ulrich
1e1fe4a375
fix fd-leak
2016-11-17 17:57:17 +01:00
Adrian Ulrich
2b885824c2
sync BASTP with f3ffdb930c57ab691b42d8ca9fbb9acf26073aad
2016-11-17 17:56:04 +01:00
Adrian Ulrich
bcd64a46d4
automatically remove last appended random song from queue if we are going out of RANDOM mode
2016-10-30 15:51:03 +01:00
Adrian Ulrich
0729e4d96a
set FLAG_RANDOM for songs picked automatically
2016-10-30 14:32:42 +01:00
Adrian Ulrich
ca3ce0897c
improve sorting of results returned by buildSongQuery()
2016-10-30 13:30:45 +01:00
Adrian Ulrich
b469cb6c0a
allow sorting by artist, year, album
2016-10-29 21:46:10 +02:00
Adrian Ulrich
e9e131a575
crashfix: use getActivity() instead of getContext() to avoid crashes on Android <= 5.x
2016-10-23 14:04:40 +02:00
Adrian Ulrich
3e4efdb989
query androids artwork db by album id (just like the AOSP player does in getArtworkQuick())
2016-10-23 13:58:06 +02:00
Adrian Ulrich
ca939650d4
sync with bastp git-head
2016-10-16 20:22:57 +02:00
Adrian Ulrich
95cd3b3329
sort file queries by path (aka: _data)
2016-10-02 10:36:50 +02:00
Xiao Bao Clark
90f837fb63
Attempt to dynamically resolve storage dirs for scanning
2016-09-26 22:33:23 +10:00
Adrian Ulrich
8e4fad61ed
Make genre expansion smarter
...
Jump to the next best tab
2016-09-17 09:41:20 +02:00
Adrian Ulrich
02e961581c
only use a single wide character in coverbitmap
2016-09-17 09:32:16 +02:00
Adrian Ulrich
ff9b3d3251
Merge pull request #432 from lcremmer/audiofocus_bugfix
...
Found a couple of AudioFocus issues during our internal testing
2016-09-10 10:21:53 +02:00
Adrian Ulrich
5650e80941
get rid of unused global variable
2016-09-10 10:21:03 +02:00
Laurent Cremmer
ddf29c92af
Fixed PlaybackService ignoring result of requestAudiFocus before (re-)starting playback, also fixed issue where getting loss_transient twice would prevent playback from resuming where audio_focus_gain is next received
2016-09-09 16:55:33 +01:00
Adrian Ulrich
a5776e3080
force soft keyboard to be visible for playlistdialog
2016-09-08 21:23:58 +02:00
Adrian Ulrich
0752f42644
implement triple-click-to-previous
2016-09-08 21:13:59 +02:00
Adrian Ulrich
b88a6f004b
Cleanup playlist dialog code
2016-09-05 20:04:15 +02:00
Adrian Ulrich
d4747757bd
implement skipcount
2016-09-04 17:07:34 +02:00
Adrian Ulrich
0c360bb5c2
add skipcount column
2016-09-04 16:48:19 +02:00