1604 Commits

Author SHA1 Message Date
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
92cfa6f2ca target 1.0.46 2016-11-24 15:22:24 +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
ebf75fc683 Merge pull request #463 from CarbonROM/cr-5.1
Vanilla: Add Tools to build in Android tree
2016-11-11 17:47:34 +01:00
Christian Oder
e42ab04b54 Vanilla: Add Tools to build in Android tree
Also workaround build errors about missing localisation of empty strings

Change-Id: I359bee2019eee7bf1bf59107bbd68cc2a0ee1dc8

Vanilla: Cleanup Android.mk

Change-Id: Icac01fa7bc89b32ecc45ca8991fcb19d0db5baf3
2016-11-11 15:59:51 +01:00
Adrian Ulrich
e02e3cbc1b fix scrobble droid strings 2016-11-09 21:05:34 +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
8632b4927f activate split screen feature for android 7 2016-10-29 19:34:42 +02:00
Adrian Ulrich
efa0b6f758 also update project.properties for sdk-24
was forgotten in 8beb95c79a4fd6e278ee6219444584df46f8b3fb
2016-10-29 19:16:35 +02:00
Adrian Ulrich
b316e202d8 sync translations 2016-10-29 11:24:16 +02:00
Adrian Ulrich
c81bcaa08f target 1.0.45 2016-10-23 14:11:16 +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
Adrian Ulrich
375a304573 Merge pull request #444 from xbao/dynamic-scanning-storage-dirs
Attempt to dynamically resolve storage dirs for scanning
2016-09-26 14:37:29 +02:00
Xiao Bao Clark
90f837fb63 Attempt to dynamically resolve storage dirs for scanning 2016-09-26 22:33:23 +10:00
Adrian Ulrich
26770c5697 target 1.0.44 2016-09-17 09:44:09 +02:00
Adrian Ulrich
8e4fad61ed Make genre expansion smarter
Jump to the next best tab
2016-09-17 09:41:20 +02:00