aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/github/daneren2005/dsub/util
AgeCommit message (Collapse)Author
2023-01-08Removed holo theme. It now defaults to dark.Iván Ávalos
2023-01-08Migrate to AndroidXIván Ávalos
2022-07-27Made showing suffixes optionalPatrik
2022-04-05sync bastp to upstream/ vanilla-musicPavel Rojtberg
2022-03-31Try to be more conservative with #1093 to only cases where we are pretty ↵Scott Jackson
sure it is backslashes instead of forward slashes
2022-03-31#1093 Fix all songs in Airsonic being located in the root directory since it ↵Scott Jackson
returns backslashes instead of forward slashes in the entry's path
2021-05-15Fix current SSID detectionTxema Martinez
2020-12-29#1033: Some devices can't decrypt a password they just madeScott Jackson
2020-10-20Show mediastyle notification on secure lockscreent-m-w
Allow mediastyle playback notification to show up properly on lockscreens that hide sensitive notifications. For DSub's non-mediastyle implementation, this is already done on line 162. No need to check for LOLLIPOP+ because usingMediaStyleNotification already requires LOLLIPOP+.
2020-10-08Merge remote-tracking branch 'origin/edge' into edgeScott Jackson
2020-10-08Change DLNA to default to off since it causes so many issuesScott Jackson
2020-10-03Replace jetty ArrayQueue with java ArrayQueueMoritz Maxeiner
2020-10-02Add some compat info for new media style notificationScott Jackson
2020-09-26Derive provider descriptors from applicationIdMoritz Maxeiner
2020-09-26Derive subsonic account type descriptor from applicationIdMoritz Maxeiner
2020-09-26Use applicationId for preferences und offline sync file namesMoritz Maxeiner
2020-09-26Adds a checkbox for including Authorization headers to the server settings ↵Patrik Johanson
to fix issues described in daneren2005/Subsonic#870
2020-09-15Add the option to display MediaStyle notificationsavm99963
Android now has the capability of displaying MediaStyle notifications which are better aligned with the Material Design standards and blend better into the OS than custom notifications. This commit adds an option in the Playback section to show notifications using the MediaStyle style.
2020-09-12Go back to just using getExternalFilesDirs on Android 11+Scott Jackson
getExternalMediaDirs was depreciated in Android 11 since they want people to just contribute to MediaStore directly instead: https://developer.android.com/reference/android/content/Context#getExternalMediaDirs()
2020-09-12Fix #1001 playlist timestamps showing UTC time stillScott Jackson
2020-09-12Fix hard crash when storage issues are preventing saving/loading stuffScott Jackson
2020-09-12Stop the constant logcat spam from decrypting passwordsScott Jackson
2019-08-31When loosing focus with TRANSIENT_MAY_DUCK the app would no longer run ↵Patrik
onAudioFocusChange This fixes that
2019-04-08Merge pull request #945 from KBerstene/feature/encryptedPasswordsScott Jackson
Added password encryption for SDK 23 and higher
2019-04-05Bugfix for album art not appearing in Auto notificationsKevin T. Berstene
2019-04-01Added password encryption for SDK 23 and higherKevin T. Berstene
2018-12-07Fix Chromecast routesKoen
2018-10-29Don't call shutGoogleUpNotification when service is already in foregroundGlenn Guy
Since adding the call to shutGoogleUpNotification to onStartCommand, using the controls on the notification would always remove the current notification which is pretty annoying. This fixes that unwanted behaviour and I think is much nicer than blindly calling it every time.
2018-10-27Don't log error if avatar isn't availableDaniel Bowman
2018-10-17requestAudioFocus not behaving properlyGlenn Guy
Other apps were only triggering the listener if I had started dsub from Android Auto It seems that the AudioManager instance needs to come from application context rather than the service - I found the hint here: https://stackoverflow.com/a/14129015
2018-10-11Fix metadata lag and missing artist/album/duration on PieGlenn Guy
Android Pie takes the metadata from the queue. Missing the Description (album) metadata seems to cause it to wait a few seconds (this error in the log - `2018-10-11 23:39:14.757 31985-31985/? D/NewAvrcpMediaPlayerWrapper: Metadata currently out of sync for github.daneren2005.dsub`) before sending the info over AVRCP.
2018-10-11Remove registerMediaButtonEventReceiver for API >= 21Glenn Guy
Finally figured out that this was causing an extra controller to be registered with the AVRCP module. With DSub as the only media app running the log would show `V/NewAvrcpMediaPlayerList: onActiveSessionsChanged: number of controllers: 0` on entry into the app and would increase to 2 shortly after. On Android Pie this causes problems as the new AVRCP module's logic is causing the metadata to be sent through to the wrong controller. I'm not sure if you think I've gone about it in the correct way but I've removed the setting for media buttons as well for Lollipop onwards, considering that this setting has no effect anyway on >= 21.
2018-10-11Migrate media libraries to support v4Glenn Guy
2018-09-08AA voice search improvementsGlenn Guy
Specific song requests weren't doing anything, and requests to 'play some (artist)' would queue up albums in chronological order. Single songs now working, and artist requests will shuffle which is in line with other services like spotify etc.
2018-09-07Fix Android O+ crashing if something isn't played within 5 seconds of startupScott Jackson
2018-08-31Fixes #879: Add support for Android O's new requestAudioFocus APIScott Jackson
2018-08-17Fixes #872 use native serialization so Auto doesn't crash on entriesScott Jackson
2018-08-14Fixes #875 lockscreen widget always fast forwarding instead of skippingScott Jackson
2018-07-29Lower notification channel importance so it doesn't play a ding every time a ↵Scott Jackson
song changes...
2018-07-26Add notification channels for API v26 complianceScott Jackson
2018-06-13Add option to disable downloading while roamingFlorian Bruhin
2018-01-17Merge pull request #842 from hufman/aa-direct-song-playbackScott Jackson
Changes AA song selection to play the directory
2018-01-15Better enqueues a selected bookmark's directoryWalter Huf
Fixes a bug with multiple bookmarks in the same directory: The first file encountered with a saved bookmark would be played, not the bookmark that was selected
2018-01-15Changes AA song selection to play the directoryWalter Huf
2018-01-10Fixes #814: Limit undeletable files to ones we are playing soon or just playedScott Jackson
2017-10-13Use product flavours to enable builds without proprietary librariesCarey Metcalfe
This commit uses build flavours to provide two different builds: A 'floss' build and a 'google' build. - The 'floss' build builds a basic version of the app with no dependencies on proprietary libraries. - The 'google' build adds Chromecast support and a few other extras provided by Google Play Services
2017-10-13Fix crash on startup when building without environment variablesCarey Metcalfe
- Adds a check for the `CAST_APPLICATION_ID` variable in `CastCompat`. If it's null, casting will be disabled. - Without a `PASTEBIN_DEV_KEY` sending logs would result in a generic "Failed to gather logs" message. This commit changes the message to something more accurate.
2017-08-14Add additional audio/video file extensionsYousef Alam
2017-08-03Fixes #769: Add offline support for opus filesScott Jackson
2017-06-19Merge branch 'master' into edgeScott Jackson