Commit graph

2957 commits

Author SHA1 Message Date
Mauricio Colli
03c59cbb0d Clear the item list when starting loading 2019-11-20 00:23:31 -03:00
Mauricio Colli
991776c25e Fix broken view pager tabs implementation
- Fragments were being recreated from scratch (losing their state) every
time some configuration change occurred (e.g. screen rotation).
- Use `FragmentStatePagerAdapter` instead, as it is built to work with
them and manage their states.
2019-11-20 00:23:30 -03:00
Mauricio Colli
532d2f305a Fix mess with tab handling and enable ignored tests again
- Fix typo in a string resource
- Reorder tabs so the default kiosk is on top of the others
2019-11-20 00:23:29 -03:00
yausername
2a843a16d7 merged upstream/dev 2019-11-20 03:48:56 +05:30
Mauricio Colli
ab1c2b00da Show parsed relative times instead of whatever the service gives us
Before, the direct value was given to the user, now it uses the parsed
date so we can match the device's language.

To get the relative time from the parsed dates, we use the PrettyTime
library.

Also introduces a debug option to check the service's original value.
2019-11-17 23:58:55 -03:00
Mauricio Colli
8df3186f83 Show proper text for live streams watching/listening count 2019-11-17 23:58:54 -03:00
Mauricio Colli
cb2f0625b1 Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00
yausername
ca9dff049c merged upstream/dev 2019-11-16 04:37:14 +05:30
TobiGr
5a8714f8e4 Make "Default Kiosk" string translatable
Closes #2778
2019-11-04 11:21:41 +01:00
TobiGr
d4efc37d8d Fix release build 2019-10-31 20:37:49 +01:00
TobiGr
912086506c Update extractor version and add head request to downloader 2019-10-28 01:13:06 +01:00
Peter Hindes
72aab82d95 Fixed library showing null 2019-10-16 19:56:31 -06:00
Peter Hindes
218a19744c only use TextUtils.equals (fixes more crashes) 2019-10-15 17:22:17 -06:00
Peter Hindes
44d452c48b Comment out debuging code 2019-10-15 14:02:37 -06:00
Peter Hindes
bec19abc0e Using Strings
still need to find out why its null on the library
2019-10-15 12:49:24 -06:00
Peter Hindes
ae0b932d6f Much Simpler Fix 2019-10-15 09:11:04 -06:00
Peter Hindes
b6ec37cca0 describe what "Auto-Generated" Means 2019-10-15 09:01:30 -06:00
Peter Hindes
d048935d7f Revert "Merge branch 'dev-all-changes' into dev"
This reverts commit b203837b5f, reversing
changes made to e5024740ad.
2019-10-15 08:52:51 -06:00
Peter Hindes
b203837b5f Merge branch 'dev-all-changes' into dev 2019-10-15 08:51:30 -06:00
Peter Hindes
e5024740ad follow stye on debug 2019-10-15 08:48:36 -06:00
Peter Hindes
b63b608462 Polished Results 2019-10-15 08:40:51 -06:00
Peter Hindes
9a82232090 Better FIx, Improved Comment Style 2019-10-15 07:19:11 -06:00
Peter Hindes
9577c0f718 Fixes Improved 2019-10-15 07:18:06 -06:00
Peter Hindes
3df47c547a Revert "Revert "Added a restart song button to signle track expanded notification""
This reverts commit 900e63b12e.
2019-10-14 18:01:15 -06:00
Peter Hindes
81218f11ac Wrap in multiline comment so it colapses 2019-10-14 16:55:16 -06:00
Peter Hindes
9b8a042a2f Explain What we did in the code itself 2019-10-14 16:48:44 -06:00
Peter Hindes
900e63b12e Revert "Added a restart song button to signle track expanded notification"
This reverts commit dc6f31790e.
2019-10-14 16:41:38 -06:00
Peter Hindes
dc6f31790e Added a restart song button to signle track expanded notification
... and some comments to the code
2019-10-14 16:37:58 -06:00
Peter Hindes
6abc9be6be much simpler, "uploader" will never change on a playlist 2019-10-14 14:56:04 -06:00
Peter Hindes
5b6af31742 Fixed Playlists With No Uploader Crashing The App 2019-10-14 11:55:55 -06:00
Robin
e7de1bd2ec fix NPE, fix 'wrong' constant, avoid unnecessary nulling 2019-10-08 06:36:29 +02:00
Redirion
3ccd90806b Apply suggestions from code review
Co-Authored-By: Tobias Groza <TobiGr@users.noreply.github.com>
2019-10-07 11:27:43 +02:00
Robin
4479cd8f9f Make use of isPlaying feature of ExoPlayer 2.10.5 2019-10-07 11:18:27 +02:00
Robin
709b9a511c Fixed deprecations 2019-10-07 11:18:26 +02:00
Robin
6a28c5767c Update to ExoPlayer 2.10.5 2019-10-07 11:18:26 +02:00
Robin
edd5ad2d13 Migrate to AndroidX 2019-10-04 14:59:08 +02:00
yausername
7b5ae64488 Merge remote-tracking branch 'upstream/dev' into videoDetailscrollFix 2019-10-02 06:35:44 +05:30
yausername
c02e2d7e6a fix scroll jittering 2019-10-02 06:29:20 +05:30
Stypox
f2f856003b Merge branch 'dev' into accessebility 2019-10-01 21:04:05 +02:00
kapodamy
c752917047 Update DownloadRunnable.java 2019-10-01 15:31:15 -03:00
kapodamy
70dd23e9e5 Update DownloadRunnable.java
add description
2019-10-01 13:09:26 -03:00
yausername
cc7e21a93b fix scrolling in video detail fragment. fixes #2627 2019-09-29 22:05:29 +05:30
kapodamy
2d18e2e20b check if last byte on block is downloaded 2019-09-23 15:45:48 -03:00
Christian Schabesberger
108b20b467 add tab description and download dialog bag button 2019-09-22 13:26:53 +02:00
Christian Schabesberger
3d02c2458b add content description for toggle service button 2019-09-22 11:59:50 +02:00
Tobias Groza
09b10c1a37 Merge branch 'dev' into android-pie-workarrounds 2019-09-09 18:59:59 +02:00
Tobias Groza
fb29b3c847 Merge branch 'dev' into remove-dead-code 2019-09-04 22:59:18 +02:00
kapodamy
d91722192f add warning after toggle the SAF option 2019-09-01 18:53:12 -03:00
kapodamy
5d34ec2cd4 Changes for Android 9 (Pie)
* validate the stored file before start the mission
* add warning on StoredFileHelper.java
* simplify the communication between MissionAdapter and DownloadManagerService.java since shares the same looper
* simplify setVisible() "start/pause all downloads" buttons logic
2019-09-01 18:37:06 -03:00
kapodamy
cc7797b2dc add @NotNull 2019-09-01 18:07:14 -03:00