Nathan Mascitelli
7e3ccd97da
Fix regex
2019-03-02 12:12:26 -05:00
Nathan Mascitelli
6f69b4b140
Adjust regext to ignore X:Y timecodes
2019-03-02 08:47:52 -05:00
orionlee
a3389490bb
ensure the service continues to run in the event it takes a long time for the service to load the media to play, e.g.,
...
streaming over a slow network.
2019-02-27 14:59:31 -08:00
orionlee
ab78c1d410
bug fix for Android8+: revert context.startService() calls back to
...
ContextCompat.startForegroundService(), to ensure PlaybackService
can be started.
While PlaybackService itself ensures it will be raised to foreground
when appropriate, Android 8+ forbids creating the (background)
services to begin with (and throw IllegalStateException) in some
situation (e.g., BroadcastReceiver).
https://developer.android.com/about/versions/oreo/android-8.0-changes#atap
2019-02-27 14:52:34 -08:00
orionlee
2c5db08e25
minor cleanup of Log codes and comments.
2019-02-27 14:52:34 -08:00
orionlee
221cd4b480
refactor stop PlaybackService setupNotification() - extract common
...
code as private helper.
2019-02-27 14:52:34 -08:00
orionlee
f0f8623937
refactor stop PlaybackService codes - remove legacy dead codes
2019-02-27 14:52:34 -08:00
orionlee
584865ad18
review stop PlaybackService codes (stopSelf, stopForeground, etc.)
2019-02-27 14:52:34 -08:00
orionlee
3f14fac479
remove static PlaybackService.started, in favor of the start state
...
managed by inner ServiceManager.
Also add a generic java8-like Optional class for use with RxJava2 where
null was to be returned (RxJava2 requires non-null).
2019-02-27 14:52:34 -08:00
orionlee
e26a54bdbc
start playbackService code paths reviewed (context.startService() and
...
ContextCompat.startForegroundService())
2019-02-27 14:52:34 -08:00
orionlee
76fbab8e82
more #2716 - fix VideoPlayback upon hitting home button.
2019-02-27 14:52:34 -08:00
orionlee
f3980091a9
#2716 Prototype for the revamped PlaybackService to fix phantom
...
notification. Many rough edges. Notable TODOs are marked with [2716].
2019-02-27 14:52:34 -08:00
ByteHamster
6dafc8b127
Transifex: removed duplicate Italian translation
...
Using it_IT for all italian languages because it's 100% finished
2019-02-21 15:17:59 +01:00
Nathan Mascitelli
e94e4bc3d0
Use a single format for short timecodes
...
It is unlikely that multiple formats for short timecodes would be used
in one document. Therefor we will parse all the short timecodes to see
if they are all less then the duration as HH:MM. If they are we will use
that, otherwise we will parse them as MM:SS.
2019-02-13 21:06:19 -05:00
Nathan Mascitelli
c49e98b546
Handle more then 23 hours
2019-02-12 20:53:17 -05:00
Nathan Mascitelli
39b9df5064
Timecode parsing logic now handles two short formats
...
We now handle both HH:MM and MM:SS when paring timecodes. We will move
in reverse order (assuming that the timecodes will increase over the
course of the document) and parse short codes as HH:MM. When we get a
result that does not fit into the duration we will change to parse as
MM:SS and use that for the rest of the document.
2019-02-12 19:43:57 -05:00
Nathan Mascitelli
d0f617880c
Converter handles HH:MM and MM:SS
2019-02-12 19:43:37 -05:00
Nathan Mascitelli
96b0336b2c
Update Timeline regex
...
Regex now looks for the new types of short and long timestamps.
2019-02-10 18:01:00 -05:00
ByteHamster
abe68ec7bd
Merge remote-tracking branch 'upstream/develop' into auto_download_12_hour_option_2685
2019-02-01 16:25:20 +01:00
Burt Wiley Snyder
7f100b3fa6
Null handling in OnlineFeedViewActivity ( #3004 )
2019-02-01 15:57:19 +01:00
Hannes Achleitner
0663e422a6
unify lint options for all modules
2019-01-27 12:54:56 +01:00
Hannes Achleitner
e9c10cdaa8
simplify build concerning maven repos
2019-01-27 12:45:32 +01:00
Hannes Achleitner
9ca7888d92
remove buildtools specification
2019-01-27 12:42:02 +01:00
pachecosf
a80435a03b
switched implementation to ussing attr
2019-01-18 12:09:24 -08:00
pachecosf
fd83665970
Changed implementation using themeUtils instead
2019-01-17 16:21:34 -08:00
pachecosf
7da762b8ea
Changed implementation using themeUtils instead
2019-01-17 16:18:50 -08:00
pachecosf
ecff66eff6
fixed styles
2019-01-17 12:29:23 -08:00
pachecosf
43642a5e6b
adding highlighting of drawer item functunality
2019-01-16 20:51:54 -08:00
pachecosf
5d3e3687f9
Adding some highlighting of drawer items
2019-01-16 18:26:42 -08:00
ByteHamster
994a73a06f
NonNull annotation
2019-01-15 20:48:15 +01:00
ByteHamster
35f6050194
Only delete from queue if deletion of media succeeds
2019-01-15 11:30:48 +01:00
H. Lehmann
cf477de365
Merge pull request #2921 from qkolj/delete-episodes
...
Add delete option to episode's context menu
2019-01-15 11:23:44 +01:00
ByteHamster
71fdc65c5b
Hiding settings that ExoPlayer does not yet support
2019-01-15 11:18:02 +01:00
H. Lehmann
3cad182e41
Merge pull request #2961 from HaBaLeS/AP2253
...
Remove silence in podcast episodes
2019-01-15 11:08:56 +01:00
H. Lehmann
7265fc55ba
Merge pull request #2969 from ByteHamster/colorDark
...
Expanding toolbar
2019-01-15 10:44:05 +01:00
H. Lehmann
d62aaf1026
Merge pull request #2968 from ByteHamster/translation-update
...
Translation updates
2019-01-15 10:43:04 +01:00
orionlee
9090d697b0
#2947 - fix app crash in some error case with ExoPlayer.
...
(It does not address root problems in #2947 though).
2019-01-11 13:33:25 -08:00
ByteHamster
6c9f15e0bc
Splash status bar color
2019-01-10 13:12:23 +01:00
ByteHamster
84ede1b22d
Expanding toolbar
2019-01-09 22:55:50 +01:00
ByteHamster
0914ac2b4a
Updated strings.xml translations
2019-01-09 21:17:47 +01:00
H. Lehmann
b2e18b8128
Merge pull request #2944 from abendebury/develop
...
Fix bug preventing database import on Android 9.
2019-01-06 00:04:08 +01:00
falko
73c8635354
Add skip silence checkbox to audio control
...
Add new Checkbox to dialog. Enable only if ExoPlayer is selected.
Selection directly changes player behavior
2019-01-05 23:15:02 +01:00
falko
1d8509fd8a
Enable ExoPlayer feature to skip silence
...
SetSpeed was change to SetPlaybackParams which contain speed and a switch to skip silence. For Players that fo not support this the call is ignored or only SetSpeed is used. It is only working if ExoPlayeris used
Default is OFF
2019-01-05 23:14:08 +01:00
falko
33603f8edd
Update ExoPlayer Version to 2.9.3
...
In order to support the feature to skip silence audio ExoPlayer must be
updated. Lateste avaiable Version is 2.9.3
2019-01-05 14:20:26 +01:00
orionlee
eff2f154b5
fix code formatting
2019-01-04 10:33:26 -08:00
orionlee
d1c73dda5b
episode cleanup 12 hour option - use hours internally part 2 (persisted shared preference)
...
requires data migartion: app versionCode increased to 1070196
2019-01-04 10:33:26 -08:00
orionlee
566a682122
episode cleanup 12 hour option - use hours internally part 1 (actual algorithm, no persistence)
2019-01-04 10:33:25 -08:00
orionlee
4ff5690341
episode cleanup 12 hour option: add unit test to prepare for using hours
...
rather than days as data structure
2019-01-04 10:32:14 -08:00
orionlee
1bb0694403
Mark method only used in testing.
2019-01-04 10:32:14 -08:00
orionlee
df6424be60
#2685 : add "12 hours after finishing" option for auto download episodes cleanup
2019-01-04 10:32:14 -08:00