Commit Graph

2011 Commits

Author SHA1 Message Date
ByteHamster ce8adc4b26 Use annotation processor for EventBus 2019-05-28 17:26:09 +02:00
alimemonzx 83a6d70387 bugfix #3009 - Podcast's feed search results listed in an odd order (#3128) 2019-05-28 16:44:18 +02:00
H. Lehmann 8380c18543
Merge pull request #2709 from brad/fix-2359
Display cover art for media in the widget
2019-05-28 16:29:43 +02:00
ByteHamster 88854ea6ba Make sure to clear old icon if loading fails 2019-05-28 16:23:46 +02:00
H. Lehmann d81cb2ff39
Merge pull request #3043 from CedricCabessa/remaining_time_playback_speed
Fixes #2197: Remaining time playback speed
2019-05-28 15:52:54 +02:00
Cédric Cabessa 60771673dc rename category title to match with "playback speeds"
also rename the key to be consistent with the content
2019-05-28 12:03:28 +02:00
H. Lehmann f563fe48b5
Merge pull request #3207 from ByteHamster/sort-description
Sort options: 'old to new' instead of 'ascending'
2019-05-27 22:54:21 +02:00
ByteHamster 81a3d756eb Sort options: 'old to new' instead of 'ascending' 2019-05-27 21:09:55 +02:00
H. Lehmann 46103883ce
Merge pull request #3191 from jas14/stricter-db-import
Check SQLite3 magic bytes before import
2019-05-27 12:44:44 +02:00
Joe Stein effa17c41d Fix scheduling tasks on shutdown executor 2019-05-21 18:36:04 -04:00
Joe Stein 09e138b51f Check SQLite3 magic bytes before import 2019-05-20 17:41:20 -04:00
H. Lehmann c98a7c0c38
Merge pull request #3136 from andersonvom/develop
Add progress bar with space information to data folder selection dialog
2019-05-19 19:38:37 +02:00
Anderson Mesquita e4a17562cb Improve space wording on choose data folder dialog
This makes it clear that the number refers to the **free** space left on
the device, as opposed to the total space available.
2019-05-19 13:25:27 -04:00
Anderson Mesquita 9396d41dcc Add space usage bar to data folder dialog
This displays a progress bar with the amount of used/free space in each
storage location to make it easier to identify storage devices. This is
particularly useful for devices that use non-standard names.

Reference: #3049
2019-05-19 13:25:27 -04:00
ByteHamster 73744e3d4c Merge branch 'develop' into eventbus-v3 2019-05-19 18:59:03 +02:00
Martin Fietz 135df61692
Merge pull request #3159 from andersonvom/3024-itunes-duration-format
Handle iTunes single-number duration format
2019-05-19 13:40:20 +02:00
H. Lehmann 6e29c37360
Merge pull request #3108 from ByteHamster/attr-redeclaration
Fixed attr redeclaration
2019-05-19 12:07:03 +02:00
Martin Fietz 8f93e3b2e2
Merge pull request #3172 from andersonvom/3169-cover-fragment-small-screen
Fix cover fragment in small screens
2019-05-19 12:01:45 +02:00
Joe Stein 49ef28877d Enable autodownload over Ethernet 2019-05-18 12:11:39 +02:00
ByteHamster b47f6e8f3c Moved notification setup to new class 2019-05-17 15:16:22 +02:00
ByteHamster 785dff0698 Added logging in cases where service did not know how to handle intent 2019-05-17 14:42:21 +02:00
ByteHamster 1f8f2be9ab Do not try to display notification two times
The Thread is interrupted which leads to an empty notification
2019-05-17 14:35:19 +02:00
orionlee 7c4b98be59 Cherry-Pick: Add a generic java8-like Optional class
For use with RxJava2 where null was to be returned (RxJava2 requires non-null).
Cherry-picked from PR #2954
2019-05-17 09:53:51 +02:00
ByteHamster 3fca616e30 Revert "Merge pull request #2954 from orionlee/bugfix_phantom_notification_rework_2716"
This reverts commit 643173de14, reversing
changes made to f2d103736d.
2019-05-17 09:45:22 +02:00
Stephen Kitt 0a1a54d28d
Smart shuffle: spread episodes evenly
This reworks the sort algorithm used in smart shuffle so that episodes
are spread out evenly, which avoids episodes bunching up at the bottom
of the queue when one feed has more episodes than others, and avoids
running through feeds with few episodes very quickly.

Signed-off-by: Stephen Kitt <steve@sk2.org>
2019-05-09 18:38:34 +02:00
ByteHamster bf6f6376db Do not deadlock
The Android internal media player blocks its `start()` call until the
seek listener completes. The seek listener is called on the main thread
even though `start()` is called on the executor. This makes the main
thread wait for the lock and the executor (which has the lock) wait for the
main thread to finish the call to the listener.
2019-05-08 19:18:44 +02:00
Anderson Mesquita e9e61776ed Fix cover fragment in small screens
The cover fragment would hide both podcast and episode names in small
screen devices or multi-window mode.

This replaces the deprecated PercentRelativeLayout in favor of a regular
LinearLayout with weights to make sure that each section of the fragment
(podcast title, image, episode name) will have the necessary space in
the screen.

Since PercentRelativeLayout was only being used here, it also removes
the dependencies from the gradle files.

Closes: #3169
2019-05-08 09:48:00 -04:00
ByteHamster e464569712 Fixed NPE 2019-05-08 15:37:53 +02:00
ByteHamster c6e81391b2 Updated translations 2019-05-07 15:56:29 +02:00
ByteHamster 5a99580985 Do not deadlock on seek when using Sonic
Callbacks are called on the thread that created the MediaPlayer.
For Sonic, this is the executor. For ExoPlayer, this is the main thread.
When calling executor.submit, every thread waiting for the runnable to
complete gets blocked.

Because the callback is called in the thread that created the player,
we can simply remove the call to executor.submit and still be sure
that a background thread is used.
2019-05-07 15:32:48 +02:00
ByteHamster c16bbdfc96 Do not block when using Sonic+Sleep timer 2019-05-07 14:58:34 +02:00
ByteHamster cd5224d01b Charging constraint is related to auto download only 2019-05-06 23:08:45 +02:00
ByteHamster dbda4a9aa8 Using WorkManager for feed updates 2019-05-06 23:04:19 +02:00
Anderson Mesquita fb3bfa9f80 Handle iTunes single-number duration format
Apple says this [1] about the `<itunes:duration>` tag:

    If you specify a single number as a value (without colons), Apple
    Podcasts displays the value as seconds.

This commit makes it also handle this single-number format.

Closes: #3024

[1]: https://help.apple.com/itc/podcasts_connect/#/itcb54353390
2019-05-05 00:04:06 -04:00
Anderson Mesquita 9b41139709 Extract DurationParser
This makes it easier to test the logic of parsing duration strings.

References: #3024
2019-05-05 00:04:06 -04:00
Anderson Mesquita a4c852dac0 Extract methods in NSITunes
References: #3024
2019-05-04 13:59:05 -04:00
ByteHamster 01616dd502 Added names for threads
So it is easier to identify problems in bug reports
2019-05-03 12:17:05 +02:00
ByteHamster d67aa6386e Updated string
Closes #3145
2019-05-01 11:02:29 +02:00
Cédric Cabessa cf638a4978 use time converter and pref in MediaPlayer and Widget 2019-04-28 21:03:18 +02:00
Cédric Cabessa 6187945e8f add a time conversion class
convert time depending on current playback speed and preferences
2019-04-28 21:03:18 +02:00
Cédric Cabessa 743ec1927c add preference for "Time respects playback speed" 2019-04-28 21:03:18 +02:00
ByteHamster 5d124c476a Fixed sleep timer ANR (Closes #3139) 2019-04-27 10:50:13 +02:00
ByteHamster 0925078770 Translation updates 2019-04-24 23:19:52 +02:00
H. Lehmann 017a6ab3bc
Merge pull request #2957 from orionlee/bugfix_app_anr_in_auto_feed_update_2956
Prevent app crash during some automatic feed update
2019-04-19 12:02:25 +02:00
Brad Pitcher a349865af3
use multi-line TextView for "No media playing" 2019-04-18 22:08:49 -07:00
Brad Pitcher 73c39fc3d0
no need to spell out android.view.View 2019-04-18 21:48:33 -07:00
Brad Pitcher ee6e5ed5d0
space before ( for better style 2019-04-18 21:45:59 -07:00
Brad Pitcher bf54e0e7c7
avoid "app not responding" errors loading widget image 2019-04-18 21:45:11 -07:00
Brad Pitcher a60b6efc51
use ic_launcher_foreground for widget when nothing is playing 2019-04-18 21:43:35 -07:00
ByteHamster 2fca491f53 Made sure that there is not an ANR when switching media player 2019-04-17 20:52:13 +02:00
ByteHamster 1fe33fb351 Fixed NetworkOnMainThreadException 2019-04-16 22:50:59 +02:00
ByteHamster 0339ce7bca Do not set player status before player object is created 2019-04-14 13:56:04 +02:00
ByteHamster 28f424e3c1 No locks are needed if everything is executed on main thread 2019-04-14 13:42:32 +02:00
Brad Pitcher 25915453ba
hide widget text when displaying < 3 columns 2019-04-12 17:56:53 -07:00
ByteHamster 09f4ebf08a Let PlaybackController handle listening for service start 2019-04-12 11:39:38 +02:00
ByteHamster 7d20baf4f9 Upgraded EventBus to v3
Also made sure that register/unregister are called in onStart/onStop
instead of onResume/onPause (prevents possible MultiWindow problems
where updates are not received because activity is not fucused).
2019-04-12 11:32:31 +02:00
H. Lehmann 3f1e6b5d50
Merge pull request #3106 from ByteHamster/subscriptions-columns
Set number of subscription columns
2019-04-12 10:56:26 +02:00
ByteHamster 11b085c68b Fixed attr redeclaration 2019-04-12 10:41:49 +02:00
H. Lehmann b4f04f6d6d
Merge pull request #3105 from ByteHamster/style-repetition
Reduced repetition in styles.xml
2019-04-12 10:36:06 +02:00
Brad Pitcher 64ddf6ec96
use app_icon_size for layout width on widget components 2019-04-11 22:26:01 -07:00
Brad Pitcher 210afaeb3c
fix widget image glider 2019-04-11 22:25:24 -07:00
ByteHamster cfd0af55c4 Removed nb translation 2019-04-11 21:54:57 +02:00
ByteHamster 777d92d4be Set number of subscription columns 2019-04-11 21:24:51 +02:00
ByteHamster 6595f49f22 Reduced repetition in styles.xml 2019-04-11 21:02:45 +02:00
H. Lehmann 97d08f3b00
Merge pull request #3097 from ByteHamster/exoplayer-main-thread
Executing all ExoPlayer methods on main thread
2019-04-11 20:50:56 +02:00
ByteHamster 5745da75a6 Clarified that it is using caller thread. not main thread 2019-04-11 20:11:40 +02:00
Brad Pitcher f2af5192e6
Merge branch 'develop' into fix-2359 2019-04-10 08:21:55 -07:00
ByteHamster 0e3cabb86d Do not hold state in fragments 2019-04-10 01:05:36 +02:00
ByteHamster 156a20734a Fix Sonic playback 2019-04-07 12:54:12 +02:00
ByteHamster 2c9cb25eda Merge branch 'develop' into exoplayer-main-thread 2019-04-07 11:52:24 +02:00
ByteHamster ebe32e795a Executing all ExoPlayer methods on main thread 2019-04-07 00:19:02 +02:00
orionlee 20f1445c06 fix rebase conflicts - remove the incorrect @NonNull from rxjava 2019-04-06 14:19:16 -07:00
orionlee 1655d234af #2966 RxJava2 null - case the underlying method may return null, but
should never happen in the code path, e.g.,
 return the current FeedItem in ItemFragment UI.
Mark underlying method as @Nullable, and let observer's existing
 onError() to handle null case

Rx observer : underlying sources marked as @Nullable
 ItemFragment.load : .loadInBackground
 MediaplayerActivity.checkFavorite : DBReader.getFeedItem
 ItemDescriptionFragment.onViewCreated : DBReader.getFeedItem
 ItemlistFragment.loadItems : .loadData
2019-04-06 13:43:11 -07:00
orionlee 0472bb9237 #2966 RxJava2 null - explicit mark underlying Rx sources as NonNull
to be on the safe side, for cases that the consuming observers checks null
unnecessarily.

Rx observer : underlying sources marked as NonNull
OnlineFeedViewActivity.startFeedDownload : Downloader.getResult
AllEpisodesFragment.loadItems : AllEpisodesFragment.loadData
PlaybackHistoryFragment.loadItems : DBReader.getPlaybackHistory
QueueFragment.loadItems : DBReader.getQueue
SearchFragment.search : .performSearch
2019-04-06 13:43:11 -07:00
orionlee 670fc124eb #2966 RxJava2 null - explicit mark underlying Rx sources as NonNull
to be on the safe side, for cases that the consuming observers
already assumes the result is not null.

Rx observer : underlying sources marked as NonNull
OnlineFeedViewActivity.listener member : DBReader.getFeedList
StatisticsActivity.loadStatistics : DBReader.getStatistics
CustomMRControllerDialog.updateViews : CustomMRControllerDialog.fetchArt
CompletedDownloadsFragment.loadItems : DBReader.getDownloadedItems
DownloadLogFragment.loadItems : DBReader.getDownloadedItems
ItemDescriptionFragment.onViewCreated : .loadData, Timeline.processShownotes
SubscriptionFragment.loadSubscriptions : DBReader.getNavDrawerData
SubscriptionFragment.onContextItemSelected (x2) : DBWriter.markFeedSeen, DBWriter.markFeedRead
PreferenceController.export : ExportWorker.output member
2019-04-06 13:43:11 -07:00
H. Lehmann 5f86af88b1
Merge pull request #3083 from orionlee/bulk_remove_from_queue_1145
Bulk remove from queue
2019-04-06 21:45:55 +02:00
orionlee cb14fd930f refactor - rename string resource name `remove_episode_lable` , which was ambiguous with typos, to `delete_episode_label`
- non-default string resources to be handled by Transifex
2019-04-06 11:27:20 -07:00
orionlee cc43af110a tweak - bulk edit UI - show a message after an action is applied. 2019-04-06 11:15:14 -07:00
orionlee b3fbf0b4aa refactor - UI - remove the old (and now used) select all / none /intermediate icons 2019-04-04 14:05:51 -07:00
orionlee d186309066 bulk edit - UI - new select all / none icons, based on
standard Material icons.
2019-04-04 13:50:55 -07:00
orionlee dfe2241b4c bulk remove episodes from queue - UI - icon for dark themes. 2019-04-04 13:12:09 -07:00
H. Lehmann 643173de14
Merge pull request #2954 from orionlee/bugfix_phantom_notification_rework_2716
Fix phantom service notification
2019-04-04 11:59:30 +02:00
orionlee b683d33bcb bulk edit - refactor - reorder method parameter for DBWriter.removeQueueItem(Context, FeedItem, boolean) to be consistent with the rest of the API. 2019-04-03 14:21:35 -07:00
orionlee 4322e8646f bulk edit - UI tweak - rename "Remove Episode" to "Delete Episode", to be consistent with other UIs 2019-04-03 13:27:31 -07:00
ByteHamster 46510c808a Respect 'keep updated' for new items counter 2019-04-03 18:11:55 +02:00
H. Lehmann 7a98e3c231
Merge pull request #3082 from ByteHamster/mobile-updates
Mobile updates: Allow images
2019-04-03 17:43:53 +02:00
H. Lehmann b6e50c61d6
Merge pull request #3060 from jatinkumarg/issue-3052
Added empty views to the PlayBack History, Queue,and Downloads
2019-04-03 17:42:09 +02:00
ByteHamster 788e75515a Review changes 2019-04-03 17:29:44 +02:00
orionlee 3768dfb0ff bulk edit - "N selected" UI logic 2019-04-02 17:34:05 -07:00
orionlee 364c9a308d bulk remove from queue - backend - implement the new API 2019-04-02 15:59:27 -07:00
orionlee 70287a740e bulk remove from queue - backend - refactor existing logic to support bulk remove 2019-04-02 14:59:12 -07:00
orionlee 7d78b88a1c bulk remove from queue - frontend logic, with a stub backend. 2019-04-02 14:11:22 -07:00
orionlee 737f7571ab UI Prototype for Batch Edit Episodes rework (from #1145) 2019-04-02 11:47:57 -07:00
ByteHamster 6fe171fac9 Use ApOkHttpUrlLoader for all images
Probably got broken during my Glide update.
When using append or prepend, Glide uses the next one in the chain if ApOkHttpUrlLoader blocks
2019-04-02 17:41:21 +02:00
ByteHamster 0fda36b9b3 Add preference to allow mobile updates of images 2019-04-02 17:41:15 +02:00
Borjan Tchakaloff c589bd2022 Validate that the *new* and *not played* are also exclusive
The FeedItem state is actually a tri-state, complement the test
coverage by checking that the state changes from *new* to
*not played*.
2019-03-31 21:26:53 +02:00
Borjan Tchakaloff 6ebf1defe7 Validate that the item state is only changed when needed
Follow-up to commit 8172d87477 (#3067)
that adds test coverage for the resolved issue.

Also, fix that commit by making the update condition more explicit:
the FeedItem state is only changed when a state switch is necessary.
In other words, an item marked as *new* that gets downloaded should
lose the *new* mark and gain the *unplayed* mark instead.
2019-03-31 16:28:05 +02:00
Borjan Tchakaloff cba4059063 Require the Mockito library for unit testing 2019-03-31 16:26:26 +02:00
Borjan Tchakaloff 3c7fd274de Validate that the *new* and *played* states are exclusive 2019-03-31 16:26:26 +02:00
H. Lehmann c6344f5bc0
Merge pull request #3073 from deandreamatias/fix-button-shadow-3040
Fix #3040 Video playback control button shadow
2019-03-31 00:44:50 +01:00
Matias de Andrea 56456e0001 Delete unused drawable 2019-03-30 21:21:11 +01:00
Martin Fietz f900046c66
Merge pull request #3068 from bibz/develop
Do not reset item "played" flag on media download
2019-03-30 11:12:46 +01:00
Matias de Andrea 7f3f2180cc Fixes #3040
- Delete unused icons
2019-03-29 22:27:26 +01:00
Matias de Andrea 007f92c291 Change the icons in interface #3040 2019-03-29 22:23:52 +01:00
Matias de Andrea 9e21695486 Add new vector icons #3040 2019-03-29 22:21:04 +01:00
Jatin Kumar 209b0b3880 Fixed typos 2019-03-29 14:20:11 -04:00
Matias de Andrea 09087b354d Fix #3040
- Change the size of the button circle background
2019-03-29 12:57:52 +01:00
H. Lehmann 42cbdbd989
Merge pull request #3066 from orionlee/bugfix_statistics_played_duration_inflated_2162
bugfix - statistics - inflated actual played duration
2019-03-27 20:51:13 +01:00
Jatin Kumar bdf7bf6844 Fixes #3052: Added empty views to the Playback History, Queue, Downloads and Episodes 2019-03-27 04:16:06 -04:00
Borjan Tchakaloff 8172d87477 Do not reset item "played" flag on media download
If an item has already been played, downloading its media will not
reset that "played" flag.

Fixes: #3067
2019-03-25 15:41:39 +01:00
orionlee 0a01f6e00b #2162 bugfix - statistics - inflated actual played duration 2019-03-24 13:00:37 -07:00
Jatin Kumar 6662205167 Added empty views to the PlayBack History, Queue,and Downloads 2019-03-21 03:05:01 -04:00
Matthieu De Beule e25659a128 Fix #3054: use UTF-8 to encode password and username for gpodder auth 2019-03-08 17:46:30 +01:00
orionlee 7a905c0570 remove the commented stopService() call (to avoid future confusion) 2019-03-05 15:07:16 -08:00
orionlee 24915785eb remove the stopService() per review (which might unnecessarily
stop the playback when unsupported media buttons are pressed.)
2019-03-05 15:01:48 -08:00
H. Lehmann c1bfb9183c
Merge pull request #3013 from hannesa2/buildImprovements
Build improvements
2019-03-05 23:49:00 +01:00
orionlee e94e95e844 remove dead codes 2019-03-04 13:46:11 -08:00
orionlee 600e0e561e coding style fix per review 2019-03-04 13:44:53 -08:00
H. Lehmann c0f534e825
Merge pull request #3050 from ByteHamster/add-backup-keyword
Add backup keyword to search
2019-03-04 18:57:37 +01:00
ByteHamster 579b263a86 Add backup keyword to search 2019-03-04 14:33:39 +01:00
ByteHamster c50d37fa1b Moved some implementation tests to unit tests 2019-03-03 23:55:52 +01:00
H. Lehmann 1593a06077
Merge pull request #3032 from shortspider/3031-TimecodeRegex
Change Timecode Regex
2019-03-03 23:26:32 +01:00
Nathan Mascitelli 1d0e701525 Another atempt at fixing the regex 2019-03-03 13:36:28 -05:00
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
orionlee 33810b203e Mark method only used in testing. 2019-01-04 10:32:14 -08:00
orionlee 5bc497009a #2685: add "12 hours after finishing" option for auto download episodes cleanup 2019-01-04 10:32:14 -08:00
orionlee 949a05c17a fix #2956 - prevent ANR during some automatic feed update 2019-01-04 10:15:09 -08:00
Petar Kukolj dfcb16d77b Include Awaitility in app module and properly fix the added test 2019-01-04 00:13:00 +01:00
Petar Kukolj ebc0200968 Fix a style issue and fix the test 2019-01-03 22:50:30 +01:00
H. Lehmann 8252f6a41d
Merge pull request #2913 from orionlee/auto_feed_update_fix_in_airplane_2906
Auto feed update fix in airplane mode
2019-01-03 19:25:51 +01:00
H. Lehmann d7e7684cc0
Merge pull request #2859 from ByteHamster/glide-48
Upgraded Glide to version 4.8.0
2019-01-03 19:05:03 +01:00
ByteHamster b1ae1f8f2f Fixed loading embedded picture 2019-01-03 18:43:19 +01:00
ByteHamster 02bf71551b Code style 2018-12-26 08:53:41 +01:00
ByteHamster bb4b4655d2 Merge branch 'develop' into rxjava2 2018-12-26 08:40:40 +01:00
Alexei Bendebury f90ce4228b Fix bug preventing database import on Android 9.
Fixes #2925, fix suggested by ByteHamster.
2018-12-25 15:33:53 -08:00
H. Lehmann 580cc49b1b
Merge branch 'develop' into glide-48 2018-12-23 15:25:59 +01:00
Petar Kukolj b53a3c2ecf Move "Delete Removes from Queue" logic to DBWriter 2018-12-02 23:17:56 +01:00
qkolj 90e6259331
Fix grammar in strings
Co-Authored-By: qkolj <qkolj@users.noreply.github.com>
2018-12-02 17:10:40 +01:00
ByteHamster 3ca230ce60 Made it easier to see that 'go to page' has a submenu 2018-11-30 22:11:45 +01:00
Petar Kukolj 53957c9aa1 Use a resoruce array for fragments tags 2018-11-30 18:11:29 +01:00
Petar Kukolj a1f81d4144 Add delete option to episode's context menu
This PR makes following changes:

 - Adds delete option to episode's context menus in queue and feed list

 - Adds a storage preference that allows episodes to be automatically removed from queue when they are deleted (by clicking delete in context menu,
or pressing trash can icon on `Completed` tab of `Downloads` page)

 - Adds a test for the aforementioned preference
2018-11-29 21:56:29 +01:00
orionlee feef92f802 #2906: refactor: move auto feed update by interval helper,
checkShouldRefreshFeeds(), to proper level of abstraction.
2018-11-21 12:11:39 -08:00
orionlee 1dc366544e #2906: fix automatic feed update (by time interval) incorrectly run in airplane mode 2018-11-21 11:08:50 -08:00
Petar Kukolj 0d1b9c4c55 Use fragment tags instead of position indexes for saving chosen fragment 2018-11-17 20:13:35 +01:00
Petar Kukolj 6262f98e39 Add go to page option 2018-11-15 20:58:54 +01:00
Petar Kukolj b3fbb0ec75 Add configurable behavior of the back button
This PR allows users to change how the back button functions. Closes #2196

Possible choices are following:

 - **Default** - back button functions how it currently functions (closes the app if there is nowhere to go back to)

 - **Open navigation drawer** - back button always opens the navigation drawer instead of closing the app

 - **Double tap to exit** - like default, but requires two taps to close the app

 - **Confirm to exit** - like default, but prompts user if they really want to exit
2018-11-14 16:40:59 +01:00
Martin Fietz 68b245701e
Merge pull request #2870 from ByteHamster/tests-fix
Updated tests
2018-11-11 11:01:24 +01:00
Cameron Banga 82a9758147 Previously couldn't see the highlighted chapter on trueblack AMOLED because it was same color as background color. 2018-11-11 10:08:27 +01:00
Martin Fietz 816eb99e36
Merge pull request #2889 from AntennaPod/2882
Prevent NPE
2018-11-11 10:06:22 +01:00
Martin Fietz 2578d33206 2463 Do not close the database anymore 2018-11-07 21:11:28 +01:00
Martin Fietz 006204c3df 2463 Disable WAL 2018-11-07 21:10:25 +01:00
Martin Fietz 3ee412a560 Prevent NPE 2018-11-04 20:44:39 +01:00
Cameron Banga f30b76fe6c Changed show notes background color to black, and then as well as the overlay scrubber background to black. 2018-10-22 21:07:25 -05:00
ByteHamster 168b41a825 Updated tests 2018-10-21 22:12:07 +02:00
H. Lehmann 94a4b78449
Merge branch 'develop' into glide-48 2018-10-21 19:12:14 +02:00
Martin Fietz 59c2c5b1d6
Merge pull request #2868 from mfietz/feature/2849-fix-code-warnings
Feature/2849 fix code warnings
2018-10-21 11:25:25 +02:00
Martin Fietz 4621a38a11
Merge branch 'develop' into settings_icon_fix 2018-10-21 11:22:07 +02:00
egsavage a52f1ba34f Remove redundant type casts 2018-10-21 11:15:47 +02:00
egsavage 2dbcae1576 Optimize imports 2018-10-21 11:14:03 +02:00
Martin Fietz f069894b92
Merge pull request #2854 from gaul/error-prone
Fix error-prone errors
2018-10-21 11:06:04 +02:00
Martin Fietz a8fdf88b74
Merge pull request #2863 from ByteHamster/mark-all-below
Allow to select all above/below in batch editor
2018-10-21 11:05:43 +02:00
Martin Fietz 12c5819380 Merge branch 'develop' 2018-10-20 21:55:44 +02:00
Martin Fietz 2ccdb6ace8
Merge pull request #2861 from ByteHamster/pref-expanded-notification
Hiding expand notification preference on API 26
2018-10-20 11:30:52 +02:00
Martin Fietz e309b8db90 Update translations 2018-10-20 11:30:06 +02:00
Martin Fietz 790dce9164 Override JobIntentService to catch SecurityExceptions 2018-10-16 20:31:42 +02:00
ByteHamster 8ebb9854e6 Allow to select all above in batch editor 2018-10-16 14:31:49 +02:00
ByteHamster 221de87c04 Hiding expand notification preference on API 26 2018-10-15 15:31:14 +02:00
ByteHamster a05f386793 Upgraded Glide to version 4.8.0 2018-10-14 10:26:36 +02:00
sevenmaster 0435ea1a1a new icon for user interface preference 2018-10-13 11:21:06 +02:00
sevenmaster 432f405fe9 Revert "resized icon in settings to correct size"
This reverts commit 0ef011b464.
2018-10-13 10:58:30 +02:00
Andrew Gaul d88e1202b1 Fix error-prone errors 2018-10-13 00:23:50 -07:00
Martin Fietz de16a40691 Update translations 2018-10-08 18:34:24 +02:00
sevenmaster 0ef011b464 resized icon in settings to correct size 2018-10-04 14:01:21 +02:00
sevenmaster 1094ec9a56 made icons available throughout the whole project 2018-10-04 11:50:32 +02:00
sevenmaster df8024bb3e added icons in settings 2018-10-04 09:23:17 +02:00
Martin Fietz a79c7c0cfc
Merge pull request #2839 from AntennaPod/bugfix/2691-auto-update-network-not-ready
When auto refreshing feeds, give network some time to get available
2018-09-30 21:11:04 +02:00
Martin Fietz 3de661d953 Migrate rxjava to version 2 2018-09-30 19:58:53 +02:00
Martin Fietz 7269e3cb68 2815 Extract version 2018-09-30 17:08:17 +02:00
H. Lehmann c5245f5081
Merge pull request #2838 from AntennaPod/feature/2828-filter-favorites
Add feed filter criteria 'is favorite'
2018-09-30 14:06:03 +02:00
Martin Fietz c105a63165
Merge pull request #2665 from ByteHamster/prevent-thrashing
Prevent thrashing the database by opening and closing rapidly
2018-09-30 13:33:02 +02:00
Martin Fietz e1422acae3
Merge pull request #2689 from orionlee/auto_download_fix_during_feed_update_2577
Ensure that during feeds update, automatic (episodes) download the latest ones
2018-09-30 13:31:21 +02:00
Martin Fietz 340fbfb231
Merge pull request #2666 from orionlee/mark_as_seen_in_context_menu_2580
Expose "Mark as seen" as a context menu item in Episodes screen
2018-09-27 17:32:30 +02:00
Martin Fietz 3e6fc34550 When auto refreshing feeds, give network some time to get available 2018-09-27 17:24:41 +02:00
Martin Fietz 5a4219bf09
Merge pull request #2802 from 1nsidE/develop
[#2801] (AntennaPod failing to parse date in "Sun 01 Mar 2015 01:00:00 GMT-0400 (EDT)" format)
2018-09-27 16:30:05 +02:00
Martin Fietz 0ca7fc60b2
Merge pull request #2832 from ByteHamster/null-media-player
Do not crash if mediaPlayer is null
2018-09-27 13:53:41 +02:00
Martin Fietz c7ec2f26c6
Merge pull request #2834 from ByteHamster/npe-remote-psmp
Allow mediaPlayer to be null
2018-09-27 13:52:35 +02:00
Martin Fietz 96145eed11 Add feed filter criteria 'is favorite' 2018-09-27 13:49:30 +02:00
ByteHamster 7dc5d9cfb1 Allow mediaPlayer to be null 2018-09-26 17:32:39 +02:00
ByteHamster 33674625b4 Do not crash if mediaPlayer is null 2018-09-26 17:13:56 +02:00
Martin Fietz 7cf75c7cac 2815 Enqueue jobs with a unique job id per class
As Job IDs must be unique per uid, use IDs that no one else will use...
2018-09-06 16:49:12 +02:00
H. Lehmann 9512c0133f
Merge pull request #2785 from keunes/patch-1
Update (preference) strings
2018-09-04 23:45:08 +02:00
Koen Glotzbach b4e875cb09
Update strings.xml
Correct plural/singular in search strings
2018-09-04 23:09:46 +02:00
Koen Glotzbach 8379a21583
Lowercase strings
use lowercase for particular strings
2018-09-04 23:06:19 +02:00
InsidE 1796b5d739 Updated DateUtilTest to include new date format test. 2018-08-29 23:32:21 +02:00
InsidE 1e598156ae Fix date parsing error on "https://s3.us-east-2.amazonaws.com/podcast.intelligence.org/razmedia/razfeed.xml" 2018-08-19 14:06:00 +02:00
H. Lehmann 1d265a9c3a
Database access threading (#2781) 2018-08-06 23:38:37 +02:00
Koen Glotzbach 0fbee8f0ca
Update pref strings
Mainly replace all 'feed' mentions by 'podcast'
2018-07-29 15:22:00 +02:00
Koen Glotzbach 3bd9123852
Update strings.xml
Escape apostrophes
2018-07-28 10:56:26 +02:00
Koen Glotzbach 0172293a6d
Update strings.xml
- improved preferences strings
- improved sharing strings
2018-07-28 10:39:36 +02:00
H. Lehmann 4d79e44aa3
Merge pull request #2765 from ByteHamster/runtime-permissions
Requesting storage permissions for external files
2018-07-26 11:52:18 +02:00
H. Lehmann 06e3dc5829
Merge pull request #2780 from ByteHamster/audio-ducking
Requesting audio focus on Android O
2018-07-26 11:50:39 +02:00
H. Lehmann f68364d6fc
Merge pull request #2778 from ByteHamster/about-screen
Improved about screen
2018-07-26 11:49:53 +02:00
ByteHamster 7e05ff2a4e Theming support for about screen 2018-07-26 10:26:00 +02:00
ByteHamster c7d876c8ae Requesting audio focus on Android O 2018-07-25 23:56:35 +02:00
ByteHamster a691ab2614 Prevent NPE 2018-07-25 23:14:41 +02:00
Martin Fietz e1b0da978d Update translations 2018-07-22 18:37:37 +02:00
Martin Fietz 9646cc883c
Merge pull request #2655 from ByteHamster/exo-player
Added ExoPlayer
2018-07-22 18:22:16 +02:00
Martin Fietz 1b6f98203f
Merge pull request #2762 from ByteHamster/feed-description
Do not overwrite feed description with item description
2018-07-22 18:15:29 +02:00
H. Lehmann fc2bd0e19b
Merge pull request #2760 from ByteHamster/delete-item
Improve item deletion
2018-07-15 15:43:42 +02:00
ByteHamster c2184cfab2 Merge branch 'develop' into exo-player 2018-07-13 19:26:09 +02:00
ByteHamster 0d43cc8658 Requesting storage permissions for external files 2018-07-13 18:29:05 +02:00
ByteHamster 626621044f Player names are not translatable 2018-07-13 10:33:01 +02:00
H. Lehmann 5566b28943
Merge pull request #2761 from ByteHamster/notification-badges
Do not show badges for ongoing notifications (Closes #2724)
2018-07-13 10:30:34 +02:00
ByteHamster 3fce9490c2 Do not overwrite feed description with item description 2018-07-13 10:18:29 +02:00
ByteHamster 683e576987 Do not show badges for ongoing notifications (Closes #2724) 2018-07-13 09:38:34 +02:00
ByteHamster 53a3b85272 Actually stop PlaybackService 2018-07-13 09:23:36 +02:00
H. Lehmann eff72db7c4
Merge pull request #2754 from AntennaPod/bugfix/2749-parse-error
Assume version 2.0 for RSS if property is missing
2018-07-09 12:43:25 +02:00
ByteHamster 37f407dc07 Do not authenticate image without user 2018-07-07 09:48:12 +02:00
Martin Fietz 43911c3dab Assume version 2.0 for RSS if property is missing 2018-07-07 09:09:57 +02:00
ByteHamster 8a0769d466 Better feed parser errors 2018-07-06 10:10:21 +02:00
ByteHamster a9d9a5ac42 Added Exoplayer to new method 2018-07-04 23:54:04 +02:00
ByteHamster 3d1646c205 Merge branch 'develop' into exo-player 2018-07-04 23:53:02 +02:00
ByteHamster 67d3115049 Only highlight currently playing item if playback service is running
Killing the service while playing left the queue entry highlighted
2018-07-04 23:28:19 +02:00
ByteHamster dc8bd43d06 Merge branch 'develop' into playbackservice-improvements 2018-07-04 22:51:30 +02:00
H. Lehmann c9c2e68d7b
Merge pull request #2718 from ByteHamster/broadcasts
Limit broadcasts to current app
2018-06-26 17:31:42 +02:00
ByteHamster de21ff42d9 Applied suggestions 2018-06-10 11:04:29 +02:00
ByteHamster 1331c92c1d Do not call error handler when shutting down playback service 2018-06-10 10:31:51 +02:00
H. Lehmann 11c3a45f6e
Merge branch 'develop' into prevent-thrashing 2018-06-08 20:40:57 +02:00
H. Lehmann ac2acc65c3
Merge branch 'develop' into remove-unused-code 2018-06-08 20:27:11 +02:00
ByteHamster 83a9df2657 Merge branch 'develop' into exo-player 2018-06-08 20:14:57 +02:00
H. Lehmann f0151501a5
Merge pull request #2726 from ByteHamster/feedimage
Removed FeedImage
2018-06-08 20:13:36 +02:00
ByteHamster 9fb695822a Removed delibertate fallthrough 2018-06-08 00:28:32 +02:00
ByteHamster e282250c08 Fixed image url of Feed 2018-06-08 00:15:43 +02:00
Martin Fietz f933cd226b
Merge pull request #2728 from ByteHamster/alifeflow-develop
True Black Theme for AMOLED
2018-06-06 21:53:10 +02:00
ByteHamster c2ace74156 Stop service on status change 2018-06-06 18:37:33 +02:00
ByteHamster 0ece32ab0e Move old image url to new column 2018-06-06 18:01:23 +02:00
ByteHamster 1b84cbbef1 Merge branch 'develop' into feedimage 2018-06-06 17:25:05 +02:00
Martin Fietz 77b03dc2d9
Merge pull request #2727 from ByteHamster/db-update-handler
Moved database upgrades to their own class
2018-06-06 17:02:45 +02:00
ByteHamster bb716ce9ea Moved playing background into attr 2018-06-06 16:32:41 +02:00
ByteHamster ca6639892d Fixed build 2018-06-06 16:16:42 +02:00
ByteHamster 2a8408d84d Merge branch 'develop' of https://github.com/alifeflow/AntennaPod into alifeflow-develop 2018-06-06 16:09:15 +02:00
ByteHamster 9cf71f85b9 Using utils 2018-06-06 16:05:05 +02:00
ByteHamster e15451177b Moved database upgrades to their own class 2018-06-06 15:17:39 +02:00
ByteHamster 8fa3180446 Restored tests 2018-06-06 15:08:46 +02:00
ByteHamster 9b738ca5d4 Fixed feed item display 2018-06-06 14:52:50 +02:00
ByteHamster fa48076175 Write feed url to database 2018-06-06 00:15:19 +02:00
ByteHamster eba0817ee0 Prevent crash 2018-06-06 00:08:22 +02:00
ByteHamster abb13dc447 Database scheme update 2018-06-06 00:07:21 +02:00
ByteHamster ba2233430e Removed FeedImage 2018-06-05 23:52:19 +02:00
brad 3019c4a9be
set default icon when no media is playing
This change was lost during merge conflict resolution
2018-05-31 23:17:39 -07:00
brad dc113f69b7
Merge branch 'develop' into fix-2359 2018-05-31 23:10:58 -07:00
ByteHamster 02186a3f0d Limit broadcasts to current app 2018-05-29 23:25:19 +02:00
ByteHamster 632906df07 PlaybackService notification setup improvements 2018-05-29 23:12:13 +02:00
ByteHamster 9df23ebbf6 Removed unused code 2018-05-27 20:07:29 +02:00
ByteHamster 7e59ac0e75 Executing core unit tests on CircleCI 2018-05-27 19:30:01 +02:00
orionlee 2058f3c0b3 #2577: ensure that during feeds update, automatic (episodes) download will
download the latest ones by waiting the feeds update complete before
starting autodownload.
2018-05-27 10:06:07 -07:00
H. Lehmann fe92c98661
Merge pull request #2700 from orionlee/fix_core_test_coverage_etc
Fix core tests: default coverage, consistent convention, etc.
2018-05-27 19:05:10 +02:00
H. Lehmann 532d822b3c
Merge branch 'develop' into exo-player 2018-05-26 23:45:18 +02:00
H. Lehmann 39a462431f
Merge pull request #2667 from ByteHamster/api-26-support
Api 26 support
2018-05-26 23:39:35 +02:00
ByteHamster 443f6315fa Moved methods into AutoUpdateManager 2018-05-26 23:30:06 +02:00
ByteHamster b3e02e215c Simplified AutoUpdateManager 2018-05-26 23:25:18 +02:00
ByteHamster 9ce48bd86b Added a refreshAllFeeds method without callback 2018-05-26 23:20:47 +02:00
ByteHamster aa25ab5ff4 Added examples to notification descriptions 2018-05-26 23:18:01 +02:00
ByteHamster badc839804 Gpodder sync does not need a notification anymore 2018-05-26 23:14:07 +02:00
ByteHamster 3edbbe8c53 Moved notification utils to other package 2018-05-26 23:13:16 +02:00
brad 41b35623ea
[#2359 #428] add higher res versions of ic_stat_antenna_default.png 2018-05-24 20:36:56 -07:00
brad 4a78395005
[#2359 #428] display cover art for media in the widget 2018-05-23 21:54:23 -07:00
brad 6bda6405b8
avoid unused context parameter 2018-05-20 23:01:14 -07:00
orionlee 1f14d8482e core tests: DateUtilsTest - states why it remains to be an androidTest. 2018-05-18 13:44:00 -07:00
orionlee eb0ef1e201 core tests: Make DownloadServiceTest be a unit test (the portion of
DownloadService tested is all in-memory logic).
2018-05-18 13:42:39 -07:00
orionlee 46ae3e0b00 core tests: Convert tests that are effectively unit tests to be one
(standard android junit tests). Provides implementations for
android platform utils needed (in unit test environment):
1. android.util.Log, 2. android.text.TextUtils.isEmpty()
2018-05-18 13:21:36 -07:00
orionlee f05c7e23ef core tests fix: use consistent convention that tests are in the same
java package as the classes under test.
2018-05-17 14:56:18 -07:00
orionlee 7dd4e5caa1 core tests fix: ensure running test suite (gradlew connectedAndroidTest)
include all test. The existing config does not include the tests
in feed/ directory.
2018-05-17 14:55:51 -07:00
orionlee da85e00bd9 Give FeedUpdateReceiver a human-friendly label per review feedback. 2018-05-15 15:20:56 -07:00
Koen Glotzbach 6e876db9b6
Update strings.xml
Improve preference description following https://github.com/AntennaPod/AntennaPod/issues/1560#issuecomment-172252386. Not sure if same change should be applied also to string "pref_hardwarePreviousButtonRestarts_sum"
2018-05-14 23:34:37 +02:00
orionlee e021d4e147 #2686: Allow feeds update to be triggered by external apps. 2018-05-12 13:50:37 -07:00
ByteHamster 407f92be12 Merge branch 'develop' into api-26-support 2018-05-07 20:02:07 +02:00
ByteHamster d7d614f33f Fixed compile error and warning about mixed support versions 2018-05-06 23:15:55 +02:00
ByteHamster f6082f5808 Using builder to call PlaybackService 2018-05-06 19:46:31 +02:00
ByteHamster 4411b0ffaa Fix possible missing sync calls 2018-05-06 19:21:02 +02:00
ByteHamster cb70aeb3cf Code style improvements 2018-05-06 19:15:40 +02:00
ByteHamster 22f791e05f Moved auto update handling to new class 2018-05-06 19:07:25 +02:00
ByteHamster 61f8000352 Using callback instead of sync/async methods 2018-05-06 18:52:16 +02:00
Martin Fietz f6faca95c0
Merge pull request #2673 from ByteHamster/preference-support
Switched to PreferenceFragmentCompat
2018-05-06 17:45:25 +02:00
Martin Fietz b156458d83
Merge pull request #2646 from vimsick/fast-forward
Fix Bluetooth Forward Skip Button for Android 8
2018-05-06 17:37:53 +02:00
Martin Fietz 930330fbb4
Merge pull request #2675 from ByteHamster/delete-feed-while-playing
Stop playback service when feed is deleted
2018-05-05 18:41:48 +02:00
ByteHamster 304696d59e Stop playback service when item of deleted feed is played
Closes #2425
2018-05-05 18:24:32 +02:00
Martin Fietz 121f1d9d79
Merge pull request #2671 from ByteHamster/content-encoded-addition
Fix empty contentEncoded
2018-05-05 18:24:09 +02:00
ByteHamster a270d4fc03 Migrated Gpodnet to JobIntentService, so it does not need notification 2018-05-05 15:10:08 +02:00
ByteHamster 7a768e9809 Fixed widget if service is not running 2018-05-05 14:32:04 +02:00
ByteHamster 7107819a6a Moved widget from app to core 2018-05-05 14:04:12 +02:00
ByteHamster 0b54d97a0a Switched widget to JobIntentService 2018-05-05 13:39:57 +02:00
H. Lehmann dacd7787bc
Merge pull request #2664 from orionlee/share_link_improvement_2579
Share link improvement 2579
2018-05-04 23:31:39 +02:00
ByteHamster ca3d6b9a3d Persist job through reboot 2018-05-04 22:47:53 +02:00
ByteHamster eeb032e938 Notify system when job is done 2018-05-04 22:41:53 +02:00
ByteHamster a97b524a05 Review changes #2 2018-05-04 22:23:15 +02:00
ByteHamster 686801fea2 Switched to PreferenceCompat 2018-05-04 19:06:32 +02:00
ByteHamster f66e19845c Review changes 2018-05-04 14:36:32 +02:00
ByteHamster 9f0d187efd Fix empty contentEncoded
This code duplication was forgotten in #2607
2018-05-04 13:57:55 +02:00
ByteHamster ffdfefc35d Fixed fresh install crash 2018-05-03 19:36:40 +02:00
ByteHamster 2190101cf9 Added JobScheduler for feed updates 2018-05-03 19:11:30 +02:00
ByteHamster 3e98ab61ea Start PlaybackService lazily to allow using ForegroundService 2018-05-03 19:11:30 +02:00
ByteHamster 7ad176ce29 Added notification categories
Android treats IMPORTANCE_DEFAULT as IMPORTANCE_HIGH
https://issuetracker.google.com/issues/65108694
2018-05-03 19:11:28 +02:00
ByteHamster 1d0459b126 Updated build tools 2018-05-03 19:11:00 +02:00
orionlee 4c7531d277 Flatten nested ifs, per @ByteHamster feedback 2018-05-02 13:53:56 -07:00
orionlee 9dcbddf371 Issue #2580: Expose "Mark as seen" as a context menu item in Episode
screen, in addition to the existing swipe in Episode > New tab.
2018-05-02 13:15:14 -07:00
ByteHamster 719545fd3d Prevent thrashing the database by opening and closing rapidly
Reduces number of real close() calls to the database
from multiple times per second to one single time
2018-05-02 21:52:21 +02:00
orionlee ab0f413185 Make FeedItemUtil.getLinkWithFallback(item) tolerates null item. 2018-04-30 15:49:18 -07:00
orionlee 345fcc17d0 FeedItem Visit Website tweak: use feed website as a fallback,
analogous to how share FeedItem link work.
Applicable to both feed playback screen and feed information screen.
2018-04-30 15:44:19 -07:00
orionlee 4bba6b30a1 Issue #2579: Provide share Link in episode playback screen even
when the episode has no link - Use podcast link as the fallback.
Also bug fix share link with position: to include epsiode
and podcast title.
2018-04-30 15:03:04 -07:00
mr-intj 7be44370f6 * Using Camel Case for methods
* Use braces on single-line blocks
2018-04-30 14:44:13 -07:00
mr-intj 91120d98a4 Added "Random" and "Smart Shuffle" items at the bottom of the Queue|Sort menu.
Added "Permutor" interface to allow specification of reordering logic to be specified in QueueSorter (vs. DBWriter), similar to the existing sort logic.

Added "Random" and "Smart Shuffle" strings to core/src/main/res/values (did not add translations for non-English languages)

Closes #2366, Closes #2602
2018-04-27 17:30:40 -07:00
ByteHamster c977e70106 Removed duplicate String 2018-04-22 20:49:41 +02:00
ByteHamster 8b72f35147 Merge branch 'develop' into exo-player 2018-04-22 20:48:00 +02:00
ByteHamster 94bf3cd734 I deleted a line accidentally 2018-04-22 20:41:20 +02:00
Martin Fietz e9695a426f
Merge pull request #2634 from ByteHamster/preference-rework
Preferences rework
2018-04-22 20:35:13 +02:00
ByteHamster f2ee5d7ff2 Renamed Services to Integrations 2018-04-22 19:20:11 +02:00
ByteHamster 74a8d34354 Added network icon 2018-04-22 19:16:03 +02:00
ByteHamster 03f1af6ad4 Disable items correctly in autodownload 2018-04-22 18:51:10 +02:00
ByteHamster bb42ddbd56 MasterSwitchPreference 2018-04-22 18:41:43 +02:00
ByteHamster 33e695b519 Automation category 2018-04-22 17:49:20 +02:00
Martin Fietz e12751986b
Merge pull request #2564 from xisberto/adaptive_icon
Adaptive icon
2018-04-22 17:25:33 +02:00
ByteHamster 8c6f40b0a2 Fixed miniplayer position after start
Casting magic values to int is not a good idea...
2018-04-22 14:41:05 +02:00
ByteHamster 56aa64725c Merge branch 'develop' into preference-rework 2018-04-22 10:01:46 +02:00
ByteHamster 6d3fc04f52 Merge branch 'develop' into exo-player 2018-04-22 09:43:59 +02:00
Martin Fietz c9a2bbc2c9
Merge pull request #2654 from ydinath/ReplaceDeprecatedLang3Methods
Replace deprecated org.apache.commons.lang3 methods
2018-04-22 09:23:51 +02:00
Martin Fietz 4edaa2e6fc
Merge pull request #2639 from ByteHamster/fix-play-button
Don't pause directly after starting
2018-04-22 09:14:09 +02:00
Martin Fietz ff22099b88
Merge pull request #2641 from ByteHamster/feed-info-and-settings
Split feed info and settings
2018-04-22 08:59:39 +02:00
Martin Fietz cca1de8d0d
Merge pull request #2637 from ByteHamster/apply-actions
Changed batch edit icon and name
2018-04-22 08:29:24 +02:00
Martin Fietz a9e269b3bf
Merge pull request #2506 from ByteHamster/picture-in-picture
Added Picure in picture
2018-04-22 08:07:05 +02:00
ByteHamster e4f7d65273 Variable for exoplayer version 2018-04-21 18:39:43 +02:00
ByteHamster df8f90083c Cleanup 2018-04-21 18:13:24 +02:00
ByteHamster d50dcac96e Added ExoPlayer setting 2018-04-21 17:58:14 +02:00
ydinath a837485363 Fix formatting 2018-04-21 10:28:16 -04:00
ydinath 8c628d98b9 Replace deprecated org.apache.commons.lang3 methods with org.apache.commons.text methods 2018-04-21 10:27:11 -04:00
Spencer Visick d652bd2184 Fix Bluetooth Forward Skip Button for Android 8
It appears that Oreo has changed the behavior for Bluetooth KeyEvents.
Starting with Android 8.0, KeyEvent.getSource() returns 0 (unknown
source).

This change explicitly sets when a key press is sent from a
notification, or lockscreen event. Otherwise we use the
customer-defined skip behavior.
2018-04-19 21:39:21 -07:00
ByteHamster 06dab67b03 Fixed some warnings 2018-04-19 22:11:29 +02:00
ByteHamster 7e61de3f65 Added streaming support 2018-04-19 21:46:41 +02:00
ByteHamster 9cf32a2aa9 Added ExoPlayer 2018-04-19 21:39:55 +02:00
alifeflow 12ee8d89b2 [True Black] Fix UI Elements
Add true black style for progress bar
Add true black style for item description
Add true black style for web description
2018-04-14 15:05:37 +09:00
alifeflow deb2cea72f [True Black] Cleaning up Code
Remove unused imports and redundant values
Coding style adjustment
2018-04-14 14:28:28 +09:00
ByteHamster c9fdc05784 Split feed info and settings 2018-04-13 15:39:51 +02:00
ByteHamster 2924955b61 Don't pause directly after starting
When registering the receiver, it immediately receives
a headset unplugged event (broadcast is sticky) and pauses
playback again in some cases. We are only interested in status
changes, so we can just return.

Fixes #2635
2018-04-12 23:12:08 +02:00
ByteHamster c5bdf341fa Changed batch edit icon and name
Closes #1146
2018-04-11 17:15:59 +02:00
ByteHamster 0f80fac680 Allow to continue playback when leaving player 2018-04-11 12:15:49 +02:00
ByteHamster 0b96588b10 Using attr icons in preferences 2018-04-11 00:41:44 +02:00
ByteHamster 1afe8888d1 Changed icons 2018-04-10 23:50:32 +02:00
ByteHamster 5a2dca2840 Removed misc settings 2018-04-10 23:41:41 +02:00
ByteHamster 8ad9ef6c19 Added categories 2018-04-10 23:33:04 +02:00
ByteHamster 47909464af Extracted string resources 2018-04-10 22:14:25 +02:00
ByteHamster d757abedbc Removing PiP option for unsupported devices 2018-04-09 22:20:43 +02:00