2023 Commits

Author SHA1 Message Date
Adrian Ulrich
b371b16bf6 deprecate ant 2018-02-11 14:29:48 +01:00
Comarch Technologies
d00dc82b55 Fix missing metadata at start. (#723) 2018-02-04 12:06:44 +01:00
Adrian Ulrich
4f79ad384d always show cover for FourLongWidget 2018-02-04 10:59:55 +01:00
Stephen J Sweeney
934e1b1f4f Show album name on Four Long Widget. (#724)
* When in Album Shuffle mode, enqueue all tracks from the same album at once.

* Replaced getRandomSong() with getRandomSongs(). Queue shrink can always be 20, without issue.

* Updated comment text.

* Grab the first song, not the last.

* Use a do-while loop for adding all the album songs.

* Show the album name on the FourLongWidget.
2018-02-04 10:54:14 +01:00
Adrian Ulrich
74c3475c18 bump version 2018-01-28 20:12:06 +01:00
Adrian Ulrich
c898969de1 load sort order if limiter changes 2018-01-28 20:11:18 +01:00
Adrian Ulrich
4af00dfe7b add restorePosition function 2018-01-28 19:45:33 +01:00
Adrian Ulrich
74f7e36a3d really trigger a rescan.
mtime is the db-insertion timestamp, so it must be lower than
the files mtime to trigger a rescan.
2018-01-28 19:30:06 +01:00
Adrian Ulrich
a749bbdcd9 Target 1.0.59 2018-01-28 13:05:22 +01:00
Adrian Ulrich
c6f96dd636 update russian translation 2018-01-28 13:05:05 +01:00
Adrian Ulrich
5555c69211 trigger soft db update 2018-01-28 13:01:29 +01:00
Adrian Ulrich
0be6bbf853 update translations 2018-01-26 21:11:32 +01:00
Dmitri Davydok
44627437dc Implement fixes for my favorite pet peeves in Vanilla (#714)
* Ignore Visual Studio's cache.

* If only one of (ARTIST, ALBUMARTIST) is present, populate the other.
This is only natural and most applications that implement media library population do this.

* On completion of the queue, rewind to the beginning of the queue, so that a subsequent Play command will play the whole queue again.

* Correct <plurals> values according to the best practices and add a CLDR rules link for translators to look for their language's specific informaiton.
2018-01-26 21:10:28 +01:00
Adrian Ulrich
4ac73f9625 Remove gratipay, as they shut down their services. 2018-01-09 22:15:18 +01:00
Adrian Ulrich
7c9556f7d2 update translations 2018-01-07 13:10:31 +01:00
Adrian Ulrich
a31301274e Make theme names translateable 2017-12-30 19:24:28 +01:00
Adrian Ulrich
9149ea92b7 add amoled-dark theme 2017-12-30 19:12:44 +01:00
Adrian Ulrich
a0526a2f3b use colorBackground instead of windowBackground.
windowBackground can not be resolved on Android 4.x.. meh.
2017-12-30 19:10:19 +01:00
Adrian Ulrich
056acee017 inherit theme background color dynamically without using hardcoded values 2017-12-30 18:15:05 +01:00
Adrian Ulrich
43f1d345cf make theming flexibler 2017-12-30 17:31:30 +01:00
Adrian Ulrich
10bfb3469e Announce play_from_search capability in MirrorLinkMediaBrowserService.
Maybe this will motivate the assitant?
2017-12-18 22:04:36 +01:00
Adrian Ulrich
cf62017e90 yet another try to get rid of BadToken crashes.
This time we dispatch the toast to our background thread.
2017-12-18 21:54:38 +01:00
Adrian Ulrich
02e3d0d63d Fix MirrorLinkMediaService's onMediaChange() use.
onMediaChanged was implemented, but nobody calls that, so let the correct function implement the logic.
2017-12-17 12:08:02 +01:00
Adrian Ulrich
3eadcaf39c force album shuffle mode if we play audio from a search result. 2017-12-17 11:43:58 +01:00
Adrian Ulrich
ef1de17b23 Add search functionality to AudioSearchActivity. 2017-12-16 18:35:48 +01:00
Adrian Ulrich
b82dc3cab1 Add bare bones non functional audio search 2017-12-14 22:26:40 +01:00
Adrian Ulrich
07a21c5d99 Only advertise play if we are paused 2017-12-14 22:17:50 +01:00
Adrian Ulrich
eb001ad7be Add TYPE_USB_DEVICE to list of external output devices.
Also adds some logging.
2017-12-13 18:44:32 +01:00
Stephen J Sweeney
3c62628a42 Add entire album to queue when in album shuffle mode. (#704)
* When in Album Shuffle mode, enqueue all tracks from the same album at once.

* Replaced getRandomSong() with getRandomSongs(). Queue shrink can always be 20, without issue.

* Updated comment text.

* Grab the first song, not the last.

* Use a do-while loop for adding all the album songs.
2017-12-12 20:14:08 +01:00
Adrian Ulrich
9c6c18912f Use AudioDeviceInfo on newer android devices to detect if headphones or headsets are connected. 2017-12-11 19:38:41 +01:00
Adrian Ulrich
7f1e079139 shuffle by album if shuffle mode is set to album and random is active at the same time. 2017-12-10 12:10:49 +01:00
Adrian Ulrich
2b27e209a0 target 1.0.58 2017-12-06 21:29:57 +01:00
Adrian Ulrich
b90cc98377 fix possible endless loop
We were hanging there if a user selected the previous album if:

* He already was at the first album
* And FINISH_RANDOM was enabled

The new code is somewhat simpler to read and handles the case where we hit song 0
in random mode.
2017-12-04 19:53:16 +01:00
Adrian Ulrich
2df538ccc5 change songs compareTo to take the disc number into account 2017-11-29 21:37:45 +01:00
Adrian Ulrich
38fb581ee1 Add discNumber to Song and populate it 2017-11-29 21:10:03 +01:00
Adrian Ulrich
e788e11e5c fix bad copy-n-paste fail :-/ 2017-11-29 20:21:25 +01:00
Adrian Ulrich
953a30d7b5 performLongClick() should only be called from the UI thread.
So we dispatch all long click messages in the UI handler.
2017-11-29 20:19:45 +01:00
Adrian Ulrich
9fa3b1b98c Fiddle with bug #677 by using a different context. 2017-11-29 19:31:31 +01:00
Adrian Ulrich
39482a8a06 fix NPE if onSharedPreferenceChanged() fires while we don't have a media player object. 2017-11-29 19:19:17 +01:00
Adrian Ulrich
8f095e62ed Fix NPE where mLastRequestedCtx may be null 2017-11-29 19:10:30 +01:00
Adrian Ulrich
7ad4b59cf6 Enable Bastp tag reader by default for new installations 2017-11-18 10:25:23 +01:00
Adrian Ulrich
e2ada7afc9 update translations 2017-11-18 10:10:20 +01:00
Adrian Ulrich
cc9b738cc4 Fix NPE in applyReplayGain
refreshReplayGainValues may get called from onSharedPreferenceChanged where we didn't yet prepare a media player.
Ensure that refreshReplayGainValues() does not trigger an update in such situations, as there is nothing to refresh.
2017-11-14 22:02:32 +01:00
steelman
f631fb873d Explicitly accept album art as saved by Windows Media Player (#692)
Windows Media Player saves album covers in AlbumArt* files. Since 2011
Android has considered them as non-media files[1] and hasn't shown in
the Gallery application.

[1] ade06df0fe
2017-11-12 09:15:31 +01:00
Adrian Ulrich
4e7e53e2a7 bump version 2017-11-01 19:46:56 +01:00
Adrian Ulrich
5006744dbc fix crash on API < 21
ScheduledLibraryUpdate extends JobService which requires API >= 21.
This causes older versions to crash at startup as the whole ScheduledLibraryUpdate class does not 'exist' on older devices.
2017-11-01 19:45:49 +01:00
Adrian Ulrich
c0586a846f target 1.0.57 2017-11-01 10:09:09 +01:00
Adrian Ulrich
b90724e834 update translations 2017-11-01 10:07:46 +01:00
Adrian Ulrich
25292b1cc1 Remove logging of ScheduledLibraryUpdate 2017-11-01 10:06:35 +01:00
Adrian Ulrich
b6ba98dcd0 Do not use getPendingJob()
Also make the duplicate detection better and add some more debug logging for now.
2017-10-25 12:21:35 +02:00