Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update f-droid version #328

Open
wants to merge 200 commits into
base: f-droid
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
b90036c
Improve LastFM Scrobbler
wiomoc Nov 17, 2016
639d884
Improvements
wiomoc Nov 18, 2016
727faae
Several Improvements
wiomoc Nov 22, 2016
d4718b3
Finishing Fixes
wiomoc Nov 23, 2016
c274627
Fixing Desktop Widget
wiomoc Nov 25, 2016
7ea7744
LastFM translation, lockscreen albumartsetting
wiomoc Nov 27, 2016
290e5a1
Setting for loading artist images
wiomoc Nov 28, 2016
192531c
Display Lyrics
wiomoc Dec 3, 2016
3724370
Add credits to makeitpersonal.co
wiomoc Dec 4, 2016
9453b05
Add build flavors to allow parallel installation of development and p…
rivaldi8 Dec 4, 2016
6cdf006
Avoid the build failing due to missing license/API keys missing.
rivaldi8 Dec 4, 2016
f140c41
Storage select dialog
Koitharu Dec 6, 2016
acdf2af
Fragmentify
wiomoc Dec 10, 2016
5170a8b
Nullpointer fix
wiomoc Dec 13, 2016
d72c99f
Cleaner code
wiomoc Dec 13, 2016
c5e24f6
Small fixes
s3condAtall Jan 12, 2017
c12bb0b
Update TrackSelector lib and only supply Uris instead of loaded Bitmaps
Maxr1998 Feb 4, 2017
b4fd404
remove help email
naman14 Feb 22, 2017
139190a
new now playing style
naman14 Feb 22, 2017
7d931e6
update navigation utils for timber5
naman14 Feb 22, 2017
2693981
finish timber5 style
naman14 Feb 22, 2017
bc56d0a
new style preview in settings
naman14 Feb 22, 2017
273eda0
iap for additional styles
naman14 Feb 22, 2017
e1f7d0f
fix style lock status
naman14 Feb 22, 2017
4912be2
check if dir before calling listFiles
naman14 Feb 22, 2017
895a060
share song
naman14 Feb 22, 2017
3ee344e
add new style
naman14 Feb 22, 2017
525b1c9
release v17
naman14 Feb 22, 2017
4198876
update screenshots
naman14 Feb 22, 2017
83e6671
Update README.md
naman14 Feb 22, 2017
805200a
Update README.md
naman14 Feb 22, 2017
8056465
Update README.md
naman14 Feb 22, 2017
fea9d22
Fix typo in Korean string
Mar 28, 2017
864a5e3
Norwegian Bokmål translation
comradekingu Apr 24, 2017
4837bb9
Folders and files in their respective places.
comradekingu Apr 25, 2017
7cb3e8c
Korean translation
May 24, 2017
a0c75b8
Separated fixed string value on popup_song.xml
Jun 1, 2017
b152ca6
Fix CI
Kasijjuf Jun 11, 2017
0ebc8bb
Test minimum changes to fix CI
Kasijjuf Jun 11, 2017
5069d9a
Merge pull request #249 from Kasijjuf/patch-2
naman14 Jun 12, 2017
3615447
update gradle
naman14 Jun 12, 2017
47feb6d
Merge branch 'master' of https://github.com/naman14/Timber
naman14 Jun 12, 2017
516cf45
Merge pull request #251 from rivaldi8/add-build-flavors
naman14 Jun 12, 2017
ec140d0
update build flow
naman14 Jun 12, 2017
2ae8bff
Merge pull request #243 from wiomoc/widget-fix
naman14 Jun 12, 2017
ebb4531
Merge branch 'storages' of https://github.com/nv95/Timber into nv95-s…
naman14 Jun 12, 2017
1c70f04
Merge branch 'nv95-storages'
naman14 Jun 12, 2017
8fa3d3d
Merge branch 'master' of https://github.com/naman14/Timber
naman14 Jun 12, 2017
b183e4f
fix conflicts
naman14 Jun 12, 2017
c64204f
merge
naman14 Jun 12, 2017
00fa7be
fix ci build
naman14 Jun 12, 2017
b26c40c
update travis config
naman14 Jun 12, 2017
6e740ba
downgrade support library versions
naman14 Jun 12, 2017
19c8e96
release 0.5b
naman14 Jun 12, 2017
7f321b5
Simplify the shuffleAll() method
Kasijjuf Dec 3, 2016
87679e1
Set up the media session to receive media button events
rivaldi8 Jul 19, 2017
bf564ec
Always show the FastScroller on the artist list
rivaldi8 Aug 3, 2017
5c8e3c2
Add menu entries to now playing to go to the song's album and artist
rivaldi8 Aug 4, 2017
0a97119
Add menu entry to album detail to go to its artist
rivaldi8 Aug 4, 2017
8039075
Allow to go from now playing to the artist by tapping its name
rivaldi8 Aug 4, 2017
3640f47
Sort an artist's albums by year
rivaldi8 Aug 7, 2017
542cb7f
Reformat extremely long line to avoid horizontal scrolling
rivaldi8 Aug 7, 2017
68ad862
Go to the album's artist instead of the one of the currently playing …
rivaldi8 Aug 16, 2017
4e2fdb8
Update strings.xml
Therhokar Aug 17, 2017
e9dd8d3
Update strings.xml
Therhokar Aug 17, 2017
6eb9da4
Merged main into f-droid to get new features
fabmazz Oct 20, 2017
c463be5
Removed fabric dependency, and crashlytics too.
fabmazz Oct 20, 2017
b063fb0
update build tools
naman14 Oct 31, 2017
745898a
Merge pull request #332 from naman14/build_update
naman14 Oct 31, 2017
49f0bd8
fix fab anim xml
naman14 Oct 31, 2017
04e2c3a
Merge pull request #333 from naman14/fab_anim_fix
naman14 Oct 31, 2017
3fdb7fe
Merge pull request #313 from rivaldi8/go-to-menu-entries
naman14 Nov 3, 2017
edcc39b
Merge pull request #315 from rivaldi8/artist-alums-sorted-by-year
naman14 Nov 3, 2017
289c58f
Merge pull request #314 from rivaldi8/go-to-artist-by-tapping
naman14 Nov 3, 2017
b39934b
Merge pull request #312 from rivaldi8/artist-list-always-fastscroll
naman14 Nov 3, 2017
a0ab61a
Merge pull request #308 from rivaldi8/bug-15-media-button-fails
naman14 Nov 3, 2017
a782f83
Merge pull request #252 from rivaldi8/fix-build-fail-no-keys
naman14 Nov 3, 2017
09ad55a
Merge pull request #248 from Kasijjuf/patch-1
naman14 Nov 3, 2017
0b9515a
Merge pull request #317 from Therhokar/master
naman14 Nov 3, 2017
7ca10f2
Merge pull request #293 from dongsun-lim/master
naman14 Nov 3, 2017
372cc5e
Merge pull request #296 from dongsun-lim/dev_from_master
naman14 Nov 3, 2017
6e863cb
Merge pull request #285 from comradekingu/translation
naman14 Nov 3, 2017
7c04eba
Merge pull request #277 from icaynia/master
naman14 Nov 3, 2017
5da8735
Merge pull request #271 from Maxr1998/master
naman14 Nov 3, 2017
8140b69
Merge pull request #260 from s3condAtall/patch-1
naman14 Nov 3, 2017
aa6f7d1
update gradle plugin
naman14 Nov 3, 2017
7cddd4c
Download missing album art from Lastfm in the album screen
rivaldi8 Aug 17, 2017
2ed97f8
Download missing album art from Lastfm in the list of albums of an ar…
rivaldi8 Aug 20, 2017
455e3a4
Fix typos in AlbumInfoListener.java
rivaldi8 Aug 22, 2017
2e2c54b
Reflect new meaning of preference to download images from lastfm
rivaldi8 Nov 11, 2017
8514bc8
Add preference to always load images from last.fm
rivaldi8 Nov 11, 2017
901c35c
Merge pull request #319 from rivaldi8/download-album-covers
naman14 Nov 11, 2017
cd18beb
fix conflicts
naman14 Nov 26, 2017
bd2efe4
Merge branch 'wiomoc-lyrics'
naman14 Nov 26, 2017
2f15010
Convert LyricsFragment into a more standard Timber fragment
rivaldi8 Aug 8, 2017
924a91f
Make lyrics font smaller so lines don't break
rivaldi8 Aug 8, 2017
61cea4f
Extract code to load the lyrics into a new method
rivaldi8 Aug 8, 2017
cdcb4d8
Merge branch 'lyricsImprovement'
naman14 Nov 26, 2017
b550d7b
oreo notification channels
naman14 Nov 26, 2017
9c688c0
fix playlist visualizer bugs
naman14 Nov 26, 2017
6f040ae
fix artist images flickering
naman14 Nov 26, 2017
b4dd1da
remove animation preferences
naman14 Nov 26, 2017
db7df60
fix repeat once and repeat all states
naman14 Nov 26, 2017
865c93f
refactor and add cast libs
naman14 Dec 7, 2017
e5e7735
cast media metadata
naman14 Dec 7, 2017
08a199e
cast server
naman14 Dec 8, 2017
9d60e44
rewrite cast server
naman14 Dec 8, 2017
ad569c8
Merge pull request #3 from naman14/master
goksunonal Dec 9, 2017
dca1b61
fix clearing program with notification
goksunonal Dec 9, 2017
cbb2ae8
expanded controller
naman14 Dec 10, 2017
3ef5ba0
cast session management
naman14 Dec 11, 2017
d35cd35
cast improvements and empty states
naman14 Dec 11, 2017
8a40c63
quick control panel visibility
naman14 Dec 11, 2017
2fc7494
get ip address for cast server
naman14 Dec 12, 2017
d350bfb
various fixes
naman14 Dec 12, 2017
0c3c64f
checks for google play services
naman14 Dec 12, 2017
63335f4
Merge pull request #344 from naman14/chromecast
naman14 Dec 12, 2017
771b4c9
release 1.6
naman14 Dec 12, 2017
13f14b2
Update README.md
naman14 Dec 12, 2017
56b853b
Update README.md
naman14 Dec 12, 2017
0a5823b
Update README.md
naman14 Dec 12, 2017
443f181
[Improvement] Widget is not resizable #345
michaelsam94 Dec 15, 2017
6c7f1db
Implemented code to check if song was selected in Now Playing before …
AlexJuca Dec 23, 2017
cca2305
Refactored code to use string in string.xml instead of hardcoded text.
AlexJuca Dec 23, 2017
914d166
quick and dirty fix for pause on detach on Android API >= 26
EthanArmbrust Dec 25, 2017
d6c56b7
moved pause on detach into handleCommandIntent
EthanArmbrust Dec 31, 2017
a83aa63
Fixed permissions. Timber now asks for write permissions on first boot.
EthanArmbrust Dec 27, 2017
7a68653
Artist add to queue and playlist working
EthanArmbrust Dec 30, 2017
db31468
Artist add to queue and playlist working. Fixed bug where first song …
EthanArmbrust Jan 8, 2018
94a6b60
Album add to playlist and queue working
EthanArmbrust Dec 27, 2017
628f426
Fixed playlist runtime display for all views. Should be working as e…
EthanArmbrust Dec 30, 2017
9b7f114
Playlist pager shows runtime of playlist now
EthanArmbrust Dec 27, 2017
391f7f1
Fixed permissions. Timber now asks for write permissions on first boot.
EthanArmbrust Dec 27, 2017
4aa75a2
Deleting songs from device now properly updates the list that the son…
EthanArmbrust Dec 31, 2017
88409f9
Fixed delete from device for artist view
EthanArmbrust Dec 31, 2017
d42fa81
Fix MusicService being null after it's destroyed by sitting in the ba…
EthanArmbrust Jan 11, 2018
b655f65
Merge pull request #349 from AlexJuca/master
naman14 Jan 16, 2018
30dff04
Merge pull request #346 from michaelsam94/master
naman14 Jan 16, 2018
8cb8d08
Merge pull request #343 from goksunonal/buildfix
naman14 Jan 16, 2018
5726c55
Merge pull request #351 from EthanArmbrust/master
naman14 Jan 16, 2018
b43f81c
Merge pull request #353 from EthanArmbrust/album-and-artist-enhancements
naman14 Jan 16, 2018
49fc4e1
Merge pull request #354 from EthanArmbrust/playlist-duration
naman14 Jan 16, 2018
ad967cc
Merge pull request #356 from EthanArmbrust/bug-fixes
naman14 Jan 16, 2018
08ceecd
Revert "fixing clearing notification bar "
naman14 Jan 16, 2018
bec97dd
Merge pull request #357 from naman14/revert-343-buildfix
naman14 Jan 16, 2018
908668b
fix light status bar mode in nowplaying
naman14 Jan 16, 2018
9200543
refactor classes
naman14 Jan 16, 2018
1f6900a
Working on Remove from playing queue
EthanArmbrust Dec 26, 2017
6d5059e
Remove from queue now working properly
EthanArmbrust Dec 27, 2017
e984655
put "Remove from queue" into strings.xml instead of hardcoding it
EthanArmbrust Dec 31, 2017
c24247e
Merge pull request #358 from EthanArmbrust/remove-from-queue
naman14 Jan 17, 2018
2056a09
Messing with adding a scrolling marquee text for the song title in Ti…
EthanArmbrust Jan 18, 2018
504e254
Improving scrolling marquee. Make an attempt to shrink down song titl…
EthanArmbrust Jan 22, 2018
8b57fae
Title on Timber 6 now takes up the full width of the screen
EthanArmbrust Jan 23, 2018
2fec6ea
Increased darkness behind text on Timber 6 to improve readability wit…
EthanArmbrust Jan 22, 2018
f093299
Messing with scrolling marquee for timber 5
EthanArmbrust Jan 22, 2018
bbb9ebb
Scrolling marquee for song title in Timber 5 now working properly.
EthanArmbrust Jan 23, 2018
06d00ff
Next song title in Timber 6 is no longer limited to 20 chars
EthanArmbrust Jan 23, 2018
e0d21d4
cleanup
EthanArmbrust Jan 23, 2018
9a492f5
Fix ArtistSongAdapter playing the wrong song.
EthanArmbrust Jan 22, 2018
3c0b2d5
Clicking on next song takes user to the proper song now for Timber 6.
EthanArmbrust Jan 24, 2018
946c188
Merge pull request #361 from EthanArmbrust/scrolling-marquee
naman14 Jan 26, 2018
ef2da53
Merge pull request #362 from EthanArmbrust/artist-view-fix
naman14 Jan 26, 2018
bd4c945
Merge pull request #1 from naman14/master
fabmazz Feb 3, 2018
c8c8ca1
Merge branch 'master' into f-droid
fabmazz Feb 3, 2018
f2b24ab
Make build work with IntelliJIDEA
fabmazz Feb 3, 2018
b0029a7
Remove Google stuff for Cast
fabmazz Feb 3, 2018
48bae93
Removed really all stuff from Google Cast
fabmazz Feb 3, 2018
d571d33
Change in LastFmLoginDialog creation
s-cortes Nov 19, 2018
472ce0f
Save Query in Rotation
s-cortes Nov 19, 2018
cff430d
Fix on Screen Rotation
s-cortes Nov 19, 2018
b4e2137
Update README.md
naman14 Feb 2, 2019
252e5d8
General build tools update and cleanup
fabmazz Feb 5, 2019
11f4f33
Update README.md
fabmazz Feb 6, 2019
7061cbc
Remove unnecessary repository
fabmazz Apr 30, 2019
7c68950
Unlock the "Now Playing" page theme that were locked.
mikhoul Jun 17, 2019
cea77a9
Merge pull request #2 from mikhoul/patch-1
fabmazz Jun 23, 2019
4b3be3d
Version bump
fabmazz Jul 16, 2019
157b7b0
Try to setup CI
fabmazz Feb 11, 2020
2f58c82
Merge pull request #415 from s-cortes/patch-4
naman14 Oct 5, 2020
1272a34
Merge pull request #419 from s-cortes/patch-6
naman14 Oct 5, 2020
c85d58a
Merge pull request #414 from s-cortes/patch-2
naman14 Oct 5, 2020
dc3b870
migrate to androidx, migrate to firebase crashlytics
naman14 Oct 5, 2020
bc653ad
update about dialog
naman14 Oct 5, 2020
3da50f1
release 1.7
naman14 Oct 5, 2020
c69cc8a
update travis.yml
naman14 Oct 5, 2020
8798925
update travis.yml
naman14 Oct 5, 2020
a5b5851
use mock files for google services and secret.xml
naman14 Oct 5, 2020
4bff285
disable renderscript support mode
naman14 Oct 6, 2020
21caa06
release 1.8
naman14 Oct 6, 2020
b53a7d5
fix npe when sliding bottom controls
naman14 Oct 6, 2020
5645c4f
Merge branch 'naman14:master' into master
fabmazz May 15, 2022
2fa94a1
Merge incoming changes from upstream
fabmazz May 16, 2022
31730d2
Update .travis.yml
fabmazz May 16, 2022
98c1f85
Fix imports
fabmazz May 16, 2022
3148136
Update libraries and tools
fabmazz May 16, 2022
c826620
Update CI
fabmazz May 16, 2022
9d0d06e
Removing Wear service to lower ram usage. (#3)
mikhoul May 16, 2022
2d756ce
Update android.yml (#13)
fabmazz May 16, 2022
4001f15
Delete .travis.yml (#12)
fabmazz May 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Android CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
- name: Build with Gradle
run: ./gradlew assembleDebug
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

48 changes: 30 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,41 @@
# Timber
[![Build Status](https://travis-ci.org/naman14/Timber.svg?branch=master)](https://travis-ci.org/naman14/Timber)

[WIP][BETA]-Material Design Music Player
Material Design Music Player

<a href="https://play.google.com/store/apps/details?id=naman14.timber&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1"><img alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" height=50px/></a>
[![Get it on F-Droid](https://guardianproject.info/wp-content/uploads/2014/07/logo-fdroid.png)](https://f-droid.org/repository/browse/?fdid=naman14.timber)
This project is no longer in active development. Please refer to [TimberX](https://github.com/naman14/TimberX) instead

## Screenshots

![](https://raw.githubusercontent.com/naman14/Timber/master/graphics/Screenshot_2015-09-18-12-33-27.png)
![](https://raw.githubusercontent.com/naman14/Timber/master/graphics/Screenshot_2015-08-05-14-23-03.png)
![](https://raw.githubusercontent.com/naman14/Timber/master/graphics/Screenshot_2015-08-29-22-44-26.png)
![](https://raw.githubusercontent.com/naman14/Timber/master/graphics/Screenshot_2015-08-31-11-50-50.png)
![](https://raw.githubusercontent.com/naman14/Timber/master/graphics/Screenshot_2015-08-31-11-52-50.png)

## Contribute
### Translations
<a href='https://f-droid.org/repository/browse/?fdid=naman14.timber'><img alt='Get it on F-Droid' src='https://guardianproject.info/wp-content/uploads/2014/07/logo-fdroid.png' height=60px/></a>

If there isn't any translations in your language go to the [res folder](https://github.com/naman14/Timber/blob/master/app/src/main/res/) and create a file named "values-XX/strings.xml" where XX is the target language's code. Copy and paste the content of the [English base file](https://github.com/naman14/Timber/blob/master/app/src/main/res/values/strings.xml) and remove all strings with "translatable=false" attribute. Translate all the keys and make a pull request.
## Screenshots

If there is a translation in your language go to its folder in [res folder](https://github.com/naman14/Timber/blob/master/app/src/main/res/) and edit the strings.xml file. You'd like to update the translation with new keys by copying them from the [English base file](https://github.com/naman14/Timber/blob/master/app/src/main/res/values/strings.xml). Edit the file and make a pull request.
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen2.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen3.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen7.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen8.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen9.jpg" width="330" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen10.jpg" width="330" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen1.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen5.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen12.jpg" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen4.png" width="360" height="640">
<img src="https://raw.githubusercontent.com/naman14/Timber/master/graphics/screen6.png" width="360" height="640">

## Features
- Material design
- Browse Songs, Albums, Artists
- Create and edit playlists
- 6 different now playing styles
- Homescreen widgets
- Browse device folders
- Dark theme and UI customisability
- Gestures for track switching
- LastFM scrobble
- Android Wear and Android Auto support
- Playing queue in notification (Xposed)
- Lyrics support
- Chromecast support

## Changelog

Expand All @@ -34,10 +50,6 @@ Changelog is available [here](https://github.com/naman14/Timber/blob/master/Chan
* [CircularSeekBar](https://github.com/devadvance/circularseekbar)
* [Nammu](https://github.com/tajchert/Nammu)

#Donate
Paypal donation email-
[email protected]


## License

Expand Down
75 changes: 44 additions & 31 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,30 +1,37 @@
apply plugin: 'com.android.application'


android {
compileSdkVersion 24
buildToolsVersion '24.0.3'
compileSdkVersion rootProject.compileSdkVersion

defaultConfig {
applicationId "naman14.timber"
minSdkVersion 16
targetSdkVersion 24
versionCode 16
versionName "0.3b"
applicationId "it.fossoft.timberfoss"
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
versionCode 22
versionName "1.8"
//renderscript support mode is not supported for 21+ with gradle version 2.0
renderscriptTargetApi 20
renderscriptSupportModeEnabled true
renderscriptTargetApi 16
renderscriptSupportModeEnabled false
multiDexEnabled true
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

}
debug {
versionNameSuffix "-debug"
minifyEnabled false
applicationIdSuffix '.dev'
manifestPlaceholders = [ appNameSuffix:" Dev"]

proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

lintOptions {
disable 'MissingTranslation'
disable 'ExtraTranslation'
Expand All @@ -37,29 +44,35 @@ repositories {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:recyclerview-v7:24.2.1'
compile 'com.android.support:cardview-v7:24.2.1'
compile 'com.android.support:palette-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.android.support:percent:24.2.1'

compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'net.steamcrafted:materialiconlib:1.0.3'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.3.0'
compile 'com.squareup.okhttp:okhttp:2.3.0'
compile 'com.google.code.gson:gson:2.3'
compile 'de.Maxr1998:track-selector-lib:1.1'

compile 'com.afollestad.material-dialogs:core:0.9.0.2'
compile 'com.afollestad.material-dialogs:commons:0.9.0.2'

compile('com.github.naman14:app-theme-engine:0.5.2@aar') {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "androidx.appcompat:appcompat:1.4.1"
implementation "com.google.android.material:material:1.6.0"
implementation "androidx.cardview:cardview:1.0.0"
implementation "androidx.recyclerview:recyclerview:1.2.1"
implementation "androidx.palette:palette:1.0.0"
implementation "androidx.percentlayout:percentlayout:1.0.0"
implementation 'androidx.multidex:multidex:2.0.1'

implementation "androidx.mediarouter:mediarouter:1.3.0"


implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
implementation 'net.steamcrafted:materialiconlib:1.1.4'
implementation 'com.squareup.retrofit:retrofit:1.9.0'
implementation 'com.squareup.okhttp:okhttp-urlconnection:2.3.0'
implementation 'com.squareup.okhttp:okhttp:2.3.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'de.Maxr1998:track-selector-lib:1.2'

implementation 'com.afollestad.material-dialogs:core:0.9.0.2'
implementation 'com.afollestad.material-dialogs:commons:0.9.0.2'

implementation('com.github.naman14:app-theme-engine:0.5.2@aar') {
transitive = true
}
compile 'com.anjlab.android.iab.v3:library:1.0.+'


implementation 'com.anjlab.android.iab.v3:library:1.0.+'
implementation 'org.nanohttpd:nanohttpd:2.3.1'
}

apply from: '../mock.gradle'
32 changes: 17 additions & 15 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
android:name=".TimberApp"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:label="Timber"
android:theme="@style/AppTheme.FullScreen.Light"
tools:replace="android:allowBackup">
tools:replace="android:allowBackup, android:label">

<activity
android:name=".activities.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait">
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down Expand Up @@ -84,9 +84,11 @@
android:name=".activities.NowPlayingActivity"
android:theme="@style/AppTheme.FullScreen.Light" />

<activity android:name=".activities.DonateActivity"/>
<!-- <activity android:name=".activities.DonateActivity"/> -->


<receiver android:name=".helpers.MediaButtonIntentReceiver">
<receiver android:name=".helpers.MediaButtonIntentReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
<action android:name="android.media.AUDIO_BECOMING_NOISY" />
Expand All @@ -98,20 +100,18 @@
android:label="@string/app_name"
android:process=":main" />

<service
<!-- <service
android:name=".WearBrowserService"
android:exported="true">
<intent-filter>
<action android:name="android.media.browse.MediaBrowserService" />
</intent-filter>
</service>
</service> -->


<!--use your own api key for fabric-->
<meta-data
android:name="io.fabric.ApiKey"
android:value="@string/fabric_api_key" />

<receiver android:name=".widgets.desktop.StandardWidget" android:label="@string/widget_standard">
<receiver android:name=".widgets.desktop.StandardWidget" android:label="@string/widget_standard"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.naman14.timber.metachanged" />
Expand All @@ -121,7 +121,8 @@
android:resource="@xml/widget_standard" />
</receiver>

<receiver android:name=".widgets.desktop.WhiteWidget" android:label="@string/widget_white">
<receiver android:name=".widgets.desktop.WhiteWidget" android:label="@string/widget_white"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.naman14.timber.metachanged" />
Expand All @@ -131,7 +132,8 @@
android:resource="@xml/widget_white" />
</receiver>

<receiver android:name=".widgets.desktop.SmallWidget" android:label="@string/widget_small">
<receiver android:name=".widgets.desktop.SmallWidget" android:label="@string/widget_small"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.naman14.timber.metachanged" />
Expand Down
1 change: 0 additions & 1 deletion app/src/main/aidl/com/naman14/timber/ITimberService.aidl
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,5 @@ interface ITimberService
int getRepeatMode();
int getMediaMountedCount();
int getAudioSessionId();
void setLockscreenAlbumArt(boolean enabled);
}

Binary file modified app/src/main/assets/materialdesignicons-webfont.ttf
Binary file not shown.
27 changes: 6 additions & 21 deletions app/src/main/java/com/naman14/timber/MusicPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,7 @@ public static void next() {
}

public static void initPlaybackServiceWithSettings(final Context context) {
setShowAlbumArtOnLockscreen(true);
}

public static void setShowAlbumArtOnLockscreen(final boolean enabled) {
try {
if (mService != null) {
mService.setLockscreenAlbumArt(enabled);
}
} catch (final RemoteException ignored) {
}
}

public static void asyncNext(final Context context) {
Expand Down Expand Up @@ -515,27 +506,19 @@ public static void playNext(Context context, final long[] list, final long sourc

public static void shuffleAll(final Context context) {
Cursor cursor = SongLoader.makeSongCursor(context, null, null);
final long[] mTrackList = SongLoader.getSongListForCursor(cursor);
final int position = 0;
if (mTrackList.length == 0 || mService == null) {
final long[] trackList = SongLoader.getSongListForCursor(cursor);
if (trackList.length == 0 || mService == null) {
return;
}
try {
mService.setShuffleMode(MusicService.SHUFFLE_NORMAL);
final long mCurrentId = mService.getAudioId();
final int mCurrentQueuePosition = getQueuePosition();
if (position != -1 && mCurrentQueuePosition == position
&& mCurrentId == mTrackList[position]) {
final long[] mPlaylist = getQueue();
if (Arrays.equals(mTrackList, mPlaylist)) {
if (getQueuePosition() == 0 && mService.getAudioId() == trackList[0] && Arrays.equals(trackList, getQueue())) {
mService.play();
return;
}
}
mService.open(mTrackList, -1, -1, IdType.NA.mId);
mService.open(trackList, -1, -1, IdType.NA.mId);
mService.play();
cursor.close();
cursor = null;
} catch (final RemoteException ignored) {
}
}
Expand Down Expand Up @@ -624,6 +607,8 @@ public static void seek(final long position) {
try {
mService.seek(position);
} catch (final RemoteException ignored) {
} catch (IllegalStateException ignored) {

}
}
}
Expand Down
Loading