Commit Graph

1681 Commits

Author SHA1 Message Date
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
ByteHamster 64221f7f56 Allow to enter PiP automatically 2018-04-09 19:43:50 +02:00
ByteHamster 562bbf21f0 Split up two different uses of the string 'New'
Closes #2348
2018-04-09 18:33:06 +02:00
ByteHamster 0a5a31a169 Merge branch 'develop' into picture-in-picture 2018-04-08 23:23:03 +02:00
Martin Fietz 4e63bfb11c Update translations 2018-04-07 18:03:49 +02:00
Martin Fietz ccd29a9991
Merge pull request #2618 from hannesa2/AndroidStudio_3.1
update to AndroidStudio 3.1
2018-04-07 17:49:24 +02:00
Martin Fietz c5e99c92b3
Merge pull request #2626 from ByteHamster/failed-url
Showing URL for failed downloads
2018-04-07 17:34:52 +02:00
ByteHamster e7ce5c669e Using Bill Pugh Singleton Implementation 2018-04-07 16:21:57 +02:00
ByteHamster cfaccef2b3 Actually return instance in getInstance
This probably fixes all those "db deleted" issues and mysterious NPEs
Previously, the synchronized keyword on open() and close() was useless
because it was synchronizing on different objects in each thread.
2018-04-06 12:02:03 +02:00
ByteHamster e41bc7bd61 Showing URL for failed downloads
Closes #1082
2018-04-05 18:25:19 +02:00
ByteHamster 67b01f6ec8 Use generic export message instead of OPML
The same message is shown for HTML and OPML. Fixes #2462.
Additionally, using string formatting now instead of just "+"
2018-04-05 16:26:01 +02:00
Hannes Achleitner 9e83deb069 Code format just in one file (no logic change) 2018-04-04 13:52:30 +02:00
Martin Fietz 43f450433e
Merge pull request #2607 from ByteHamster/content-encoded
Fixes empty contentEncoded
2018-04-03 21:59:02 +02:00
ByteHamster 02da84b93a Merge remote-tracking branch 'upstream/develop' into picture-in-picture 2018-04-02 22:19:09 +02:00
ByteHamster 68a0373d9f Merge remote-tracking branch 'upstream/develop' into layout-improvements 2018-04-02 21:13:39 +02:00
ByteHamster 146ec02395 Extracted color resource 2018-04-02 21:13:13 +02:00
Martin Fietz 9cd9d455c8
Merge pull request #2568 from ByteHamster/crashfix
Fixed crash if media file exists but can not be read
2018-04-01 23:21:27 +02:00
Martin Fietz 894c7b6360
Merge pull request #2598 from orionlee/upgrade_android_gradle_plugin_v3
Upgrade android gradle plugin v3
2018-04-01 23:19:44 +02:00
alifeflow 05f923ebe2 [Ture Black] True Black Theme for AMOLED
Add true black themese
Modified code that fails to support three themes
2018-03-25 16:02:35 +09:00
ByteHamster 97b5779c4a Remove nested if 2018-03-23 15:47:41 +01:00
ByteHamster 5048eb10d2 Use description for shownotes if it is longer than contentEncoded 2018-03-23 15:46:00 +01:00
ByteHamster afb9f7db6a Fixes empty contentEncoded 2018-03-23 14:33:23 +01:00
ByteHamster 4213d8fc8b Fixed crash if media file exists but can not be read
Happens when exporting db and importing it into debug version
because media files are located in an app-private folder
2018-03-22 22:15:58 +01:00
Martin Fietz 6dbe772345
Merge pull request #2569 from ByteHamster/white-icon
Removed large icon from notification
2018-03-18 10:19:20 +01:00
Martin Fietz 0262325e36
Merge pull request #2574 from ByteHamster/forensics
Backup corrupted db
2018-03-18 10:17:32 +01:00
orionlee 1a55348849 remove the deprecated publishNonDefault 2018-03-13 12:35:48 -07:00
orionlee cd8f220ce0 robotium-solo : corrected its dependency as androidTestImplementation in app/ 2018-03-13 12:28:13 -07:00
orionlee 95037f67ad dependencies: replace deprecated compile with implementation / api 2018-03-13 11:34:29 -07:00
orionlee b71e61a221 Upgrade to Android Gradle Plugin v3.0.1 - bare minimal to get it built, ignoring depercation warnings
Details:
- upgraded buildtools to the latest (minimum 26.0.2 required)
- retired retrolambda
- added flavorDimensions (v3 requirement)
- Migrate dependency configurations for local modules (:core)
- Declaration of resources update in styles.xml (AAPT2 requirement)
- upgraded plugin github play-publisher to v1.2.0
2018-03-13 09:51:50 -07:00
Jan Niehusmann f514a439e2 Fix possible NPE accessing image.download_url
May fix #2386. If so, thanks to @cyplo who provided the logcat output
which directed me to that code path.
2018-03-04 22:19:03 +01:00
ByteHamster f90d3c2e7b Backup corrupted db
This might allow some forensics if #2463 happens. Maybe it also
allows to recover some of the files manually.
2018-02-20 23:22:51 +01:00
ByteHamster 6e5b639608 Removed large icon
Closes #2541.
We do not need the same icon twice.
As the icon is displayed white-on-white, it is not visible anyways.
This also gives more space to the notification text
2018-02-17 18:09:08 +01:00
Humberto Fraga 45440d775f Removing old files and changing references.
Splash screen now follows icon color.
2018-02-10 16:52:18 -03:00
Humberto Fraga 7f0ba828fa Adding new ic_launcher files 2018-02-10 16:45:29 -03:00
Martin Fietz 287bb5f7e1
Merge pull request #2550 from ByteHamster/download-range
Hotfix for servers not accepting the Range header
2018-01-24 08:04:12 +01:00
ByteHamster bc9d39dedf Hotfix for servers not accepting the Range header
Because of #2339, the file always exists when starting a download.
There is still an issue with the server parsing "Range: bytes=0-"
incorrectly, but this commit should make the error appear less often.

Related to #2539
2018-01-23 23:31:08 +01:00
Martin Fietz 94e8c2d92b
Merge pull request #2549 from AntennaPod/bugfix/corrupt-database
Synchronize opening and closing of the database
2018-01-22 21:50:55 +01:00
Martin Fietz f7de8a0e44 Synchronize opening and closing of the database 2018-01-22 21:45:38 +01:00
H. Lehmann 77b199d005
Merge pull request #2547 from ByteHamster/improve-export-naming
Improved wording (Closes #2545)
2018-01-22 13:18:28 +01:00
ByteHamster 8b041be8aa Improved export success wording (Closes #2545) 2018-01-21 23:37:41 +01:00
H. Lehmann 5526937698
Merge branch 'develop' into picture-in-picture 2018-01-21 22:50:47 +01:00
Martin Fietz 82378f3647
Merge branch 'develop' into stringbuilder 2018-01-21 22:12:54 +01:00
Andrew Gaul 278e93880e Prefer StringBuilder over StringBuffer
The latter has unnecessary synchronization.  Found via error-prone.
2018-01-21 13:04:57 -08:00
Martin Fietz 2a792c3c75 Remove useless comment 2018-01-21 13:08:36 +01:00
Martin Fietz 86f6c001c1 Inline variables 2018-01-21 13:05:10 +01:00
Martin Fietz a6c33d3b2c Fix style 2018-01-21 13:03:00 +01:00
Martin Fietz d3491d1858 Merge branch 'develop' into refactor
# Conflicts:
#	app/src/main/java/de/danoeh/antennapod/activity/MediaplayerInfoActivity.java
#	core/src/main/java/de/danoeh/antennapod/core/service/download/DownloadService.java
2018-01-21 11:10:20 +01:00
Martin Fietz f7c048e5b4 Update translations 2018-01-21 11:00:15 +01:00
Martin Fietz e6498393a6
Merge pull request #2445 from ByteHamster/export
Database import/export
2018-01-21 10:51:16 +01:00
Martin Fietz 9adbf83182
Merge pull request #2543 from gaul/static-final
Make some static fields final
2018-01-21 10:03:52 +01:00
Andrew Gaul 404f241891 Make some static fields final
Adding final prohibits modification and allows initialization of
primitive and String fields at compile time instead of runtime in
clinit:

https://developer.android.com/training/articles/perf-tips.html#UseFinal

Found via error-prone.
2018-01-20 18:28:21 -08:00
Andrew Gaul 118d9103c1 Make some inner classes static
This avoids an implicit this field and can help GC.  Found via
error-prone.
2018-01-20 18:26:08 -08:00
Martin Fietz e4770e7edc PlayerStatus and playable fields cannot be final 2018-01-19 17:25:47 +01:00
Martin Fietz 99f01bdc90 Add throws to avoid interface clash 2018-01-14 18:42:50 +01:00
Martin Fietz b38d016ec3 Remove catch for exception that is never thrown 2018-01-14 18:41:26 +01:00
Martin Fietz c12fedf392 Merge folder configuration 2018-01-14 18:17:08 +01:00
Martin Fietz e9700b0627 Lookup service via application context to avoid memory leak 2018-01-14 18:14:15 +01:00
Martin Fietz 3cb8f27e49 Remove unnecessary interface modifiers 2018-01-14 18:09:15 +01:00
Martin Fietz b80d6a7914 Remove redundant throws clauses 2018-01-14 18:06:24 +01:00
Martin Fietz a49048c7f6 Add final modifiers 2018-01-14 18:05:45 +01:00
Martin Fietz b86b6caec8 Weaken declaration access 2018-01-14 18:04:54 +01:00
Martin Fietz eaa9947869 Fix pointless arithmetic expression 2018-01-14 18:03:22 +01:00
Martin Fietz d7e1b0f977 Replace StringBuilder with String 2018-01-14 18:02:13 +01:00
Martin Fietz 01fa0a56ea Replace manual array t collection copy 2018-01-14 17:59:51 +01:00
Martin Fietz 53dc62ec0f Remove unused imports 2018-01-14 17:51:24 +01:00
Martin Fietz a8e4fcf1b0 Replace for loop with foreach 2018-01-14 17:50:59 +01:00
Martin Fietz cbc3b23753 Replace explicit type with <> 2018-01-14 17:50:32 +01:00
Martin Fietz 7b2d7e80a4 Replace lambda with method reference 2018-01-14 17:48:11 +01:00
Martin Fietz 332943effb Replace anonymous type with lambda 2018-01-14 17:47:43 +01:00
Martin Fietz 33f8ead4a0 Fix error 2018-01-10 22:58:52 +01:00
Martin Fietz c4d19b7163 Silence warnings 2018-01-10 22:50:56 +01:00
Martin Fietz ba3eb5e784 Remove assertions 2018-01-10 21:56:08 +01:00
H. Lehmann 2c9582c947
Merge pull request #2534 from AntennaPod/sdk_int_lt_14
Replace code for SDK version lower than 14
2018-01-10 18:26:54 +01:00
H. Lehmann be569bfb14
Merge pull request #2531 from AntennaPod/remove_nineoldandroids
Replace ViewHelper
2018-01-10 15:24:34 +01:00
Martin Fietz 89366d97d1 Replace code for SDK version lower than 14 2018-01-09 21:03:30 +01:00
Martin Fietz 59a1b4a2bb Cleanup executeAsync 2018-01-09 20:13:14 +01:00
Martin Fietz eaf007ecac Replace ViewHelper 2018-01-09 19:59:51 +01:00
ByteHamster c5d1d5408b Added Picure in picture 2018-01-09 08:00:22 +01:00
Martin Fietz 4d156118cc
Merge pull request #2520 from dirkmueller/include_cleanup
Cleanup order/remove unused includes
2018-01-07 20:11:01 +01:00
Dirk Mueller bbbff0bc73 Cleanup order/remove unused includes
This is the result of Android Studio's include cleanup
Macro. This removes some no longer used includes, simplifying
the code a bit. The rest is grouping and resorting alphabetically.
2018-01-07 19:26:23 +01:00
Dirk Mueller 234e3ddbc2 Fix small whitespace error
This causes Android Lint to barf as it can not detect
the VIBRATE permission being requested.
2018-01-07 15:51:04 +01:00
Dirk Mueller 9de74f1dff Return START_STICKY from onStartCommand()
The _FLAG_ variant is the input enum, replace it
with the value-equivalent properly typed enum.
2018-01-07 15:46:34 +01:00
Martin Fietz 8b84b70032
Merge pull request #2333 from ByteHamster/item-height
Improved list items when using a large font size
2018-01-04 22:10:49 +01:00
Martin Fietz 204c97b8de
Merge pull request #2339 from ByteHamster/save-file-url
Setting File_url when starting download
2018-01-04 20:05:59 +01:00
Martin Fietz dc970d52d8 Update translations 2018-01-03 19:06:11 +01:00
Martin Fietz f8343773db To not redeliver intents to fix issues on Oreo 2018-01-03 19:04:10 +01:00
Martin Fietz 68754684b7
Merge pull request #2457 from ByteHamster/sharedElement
Shared element transition
2018-01-03 18:52:11 +01:00
Martin Fietz eddc0a6a13 Merge branch 'develop' 2018-01-02 20:42:34 +01:00
ByteHamster 3fd3db6c57 Review changes 2017-12-25 22:42:41 +01:00
ByteHamster d36f4b6a87 Updated phrasing 2017-12-24 13:18:05 +01:00
ByteHamster 2e5407370f Showing dialog when import succeeds 2017-12-24 13:11:57 +01:00
ByteHamster 4cb4a0a0cb Supporting export using documents store API 2017-12-24 13:11:57 +01:00
ByteHamster af33e4c37b Import/Export activity 2017-12-24 13:11:57 +01:00
kroegerama 2aa59062a2 Resolves #2475 (Headset button press not correctly handled) 2017-12-21 13:41:51 +01:00
Martin Fietz b22efb03d7
Merge pull request #2456 from AntennaPod/bugfix/2397-duplicate-chapters
Avoid duplicate chapters
2017-12-11 20:14:41 +01:00
Martin Fietz a98e127ab6
Merge pull request #2468 from HaBaLeS/bugfix/2382
Reload FeedMedia from DB to ensure correct playback position - fixes #2382
2017-12-11 20:14:14 +01:00
Martin Fietz 95f5085a91 Merge remote-tracking branch 'origin/develop' into develop 2017-12-11 20:13:25 +01:00
Martin Fietz dfa5066de7 Return random filename if sanitized filename would be empty 2017-12-11 20:13:14 +01:00
Falko Lehmann 0d1ce8abfe Reload FeedMedia from DB 2017-11-01 15:24:23 +01:00
Shantana Hardy bedf06ec04 Parse RSS pubDate fields containing "Sept" 2017-10-28 19:18:16 -07:00
Martin Fietz 717a1ec00e Merge tag '1.6.4.1' 2017-10-24 21:01:36 +02:00
ByteHamster 70f9a9f398 Only write url of media files when starting download 2017-10-22 12:11:55 +02:00
ByteHamster 115268475d Improved log messages 2017-10-22 12:11:55 +02:00
ByteHamster eacc73eebf Setting File_url when starting download
This way, downloads get resumed even if the service crashes
2017-10-22 12:11:55 +02:00
ByteHamster 82d4dacb11 Fix install of debug version by using unique provider 2017-10-21 23:53:50 +02:00
ByteHamster 30c7ca5437 Shared element transition of cover 2017-10-21 21:00:53 +02:00
ByteHamster 93c59875b2 Allow API dependent style changes 2017-10-21 20:52:03 +02:00
Martin Fietz 6b651dc3c7 Only load chapters from media file if item does not have chapters already 2017-10-21 19:21:25 +02:00
Martin Fietz ee50bca545 Refactor 2017-10-21 19:20:18 +02:00
Martin Fietz 3eb637d690 Merge pull request #2443 from AntennaPod/followup/2272
Also check keep favorites preference in player widget service
2017-10-20 20:37:16 +02:00
Martin Fietz 3b77cc61da Fix file sharing 2017-10-19 22:48:24 +02:00
Martin Fietz 3a150ac428 Check for null 2017-10-19 21:04:45 +02:00
Martin Fietz f3c2ae1d6a Replace StringUtils with TextUtils 2017-10-19 20:28:41 +02:00
Martin Fietz e884e989c7 Merge branch 'develop' 2017-10-17 22:55:30 +02:00
Martin Fietz 7b496d5ae4 Update translations 2017-10-15 22:08:30 +02:00
Martin Fietz c69c48b62f Merge pull request #2426 from fuzzdk/develop
Add auto download on mobile connection option
2017-10-15 21:53:40 +02:00
Martin Fietz 47224f11ca Also check keep favorites preference in player widget service 2017-10-15 21:47:40 +02:00
Martin Fietz 688e123c34 Merge pull request #2272 from minusf/develop
Skip favorite episodes during autodelete
2017-10-15 21:43:24 +02:00
Martin Fietz 5d8e820b82 Merge pull request #2314 from ByteHamster/delete-only-success
Check successful file deletion
2017-10-15 21:39:34 +02:00
Martin Fietz 0ac3706d4f Merge pull request #2442 from ByteHamster/close-cursor
Close cursor before returning
2017-10-15 20:00:04 +02:00
ByteHamster 28f52d0ea6 Close cursor before returning 2017-10-15 16:23:30 +02:00
ByteHamster 9fa91061ee Merged add_feed_label and add_new_feed_label
Closes #1833
2017-10-15 15:38:50 +02:00
ByteHamster 616fb5eda9 Changed spacing to look more like before 2017-10-14 19:21:02 +02:00
ByteHamster 50cf38431d Improved list items when using a large font size 2017-10-14 19:21:02 +02:00
Martin Fietz 4ee195fba5 Merge pull request #2390 from CedricCabessa/wear_rewind_forward
add a "rewind" and "fast forward" button for android Wear
2017-10-08 17:01:57 +02:00
Martin Fietz 43ea1070a8 Merge pull request #2435 from AntennaPod/issue/2385-invalid-chars
Only allow very limited set of characters in file names
2017-10-08 16:46:10 +02:00
Martin Fietz 1732664b57 Merge pull request #2434 from AntennaPod/issue/2413-videoplayer-castexception
Cast according to mediaplayer instance type, not media type
2017-10-08 15:54:47 +02:00
Martin Fietz 1972c2d44e 2385 Only allow very limited set of characters in file names 2017-10-08 15:54:12 +02:00
Martin Fietz 86f4bca501 Fix typo 2017-10-08 11:18:48 +02:00
Martin Fietz 90c9fad53c 2413 Cast according to mediaplayer instance type, not media type 2017-10-08 11:15:59 +02:00
Anders Bo Rasmussen c2346636ce Fix code style 2017-09-24 12:24:37 +02:00
Anders Bo Rasmussen 7060e56a69 Add auto download on mobile connection option 2017-09-21 23:25:18 +02:00
Cédric Cabessa f3ceccfa82 add a "rewind" and "fast forward" button for android Wear
This feature is only enabled for "play" build.
It is useful to skip advertisement during a podcast.

Note: I originaly tried to implement this in the "4 ways controller" managed by
the mediaSession (it contains vol up / vol down / skip). This object is linked
to the capabilities of the session and seems to be hard to customise without
changing the capabilities.
This patch simply add 2 new buttons
2017-08-14 23:33:25 +02:00
Martin Fietz 14ac9e6920 1183 Update feed item image 2017-06-05 11:26:42 +02:00
Martin Fietz 41624c20a9 1183 Reorder methods 2017-06-05 11:26:42 +02:00
Martin Fietz 19acd8d88c 1183 Update feed image 2017-06-05 11:26:42 +02:00
Martin Fietz 404a9c2fbf Refactor 2017-06-05 11:26:42 +02:00
Martin Fietz 397cd8c636 Remove unused methods from DB Reader and DB Adapter 2017-06-05 11:26:42 +02:00
ByteHamster aae06389f9 Using MessageEvent to deliver error message 2017-06-04 14:42:42 +02:00
H. Lehmann 341928b3ba Merge pull request #2305 from ByteHamster/share-file
Allow sharing feed file, as suggested in #2236
2017-06-04 14:38:20 +02:00
ByteHamster 5051a0f3d9 Check successful file deletion 2017-06-04 14:36:13 +02:00
ByteHamster 75ece930e9 Review changes 2017-06-04 14:22:45 +02:00
Martin Fietz dc6141ea1d When automatically updating feeds, check if a network connection is available first 2017-06-04 13:43:40 +02:00
ByteHamster afd7ae90ab Fixed playback progress bar position after start 2017-05-19 16:58:23 +02:00
Martin Fietz b1bb29ddc2 Keep playing episode when switching between day and night modes 2017-05-07 11:41:09 +02:00
ByteHamster 932f24c892 Allow sharing feed file, as suggested in #2236 2017-05-03 20:41:10 +02:00
Martin Fietz 21e2e8dc5e Fix french translation 2017-05-01 18:20:29 +02:00
Martin Fietz fd2f39ff10 Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop 2017-05-01 18:14:09 +02:00
Martin Fietz d67e7296bb Update translations 2017-05-01 18:13:57 +02:00
Martin Fietz 2a2b5fec90 Catch exception when reading duration via metadata retriever 2017-05-01 18:07:44 +02:00
Martin Fietz 932748ef70 Prevent NPEs 2017-05-01 18:07:37 +02:00
Martin Fietz e76e78cb56 Merge pull request #2311 from dklimkin/PodDBAdapter
Reducing lock contention on PodDbAdapter.
2017-04-23 14:42:18 +02:00
Danial Klimkin 43b604664b Small rework of PodDbAdapter:
- Reducing lock contention on PodDbAdapter;
- Slightly better lists handling.
2017-04-22 19:06:38 +02:00
Danial Klimkin a972ca6f06 Auto-fix style on PodDBAdapter, no real changes. 2017-04-22 19:04:58 +02:00
Martin Fietz fb0658883d Merge branch 'develop' of github.com:AntennaPod/AntennaPod into develop 2017-04-22 18:59:04 +02:00
Martin Fietz f41c462b82 Update translations 2017-04-22 18:58:54 +02:00
Martin Fietz 32d7202880 Don't show playlist button when queue is empty 2017-04-22 18:56:57 +02:00
Danial Klimkin 6eba46a7ba Some cleanup on DBReader:
- Taking more care of closing adapter and cursors.
- Dropping unneeded MoveToFirst where we manage the cursor.
- Better feed association implementation.
- Dropping one of getFeedItems() methods that looks unused.
2017-04-22 15:13:42 +02:00
ByteHamster 98001b51d9 Added null check when closing network request
Fixes #2307
2017-04-21 17:58:49 +02:00
Martin Fietz ba67fe8761 Update translations 2017-04-17 09:26:37 +02:00
Martin Fietz bd80e1c9c6 Update translations 2017-04-16 20:32:11 +02:00
Martin Fietz 4a37d16e43 Merge pull request #2294 from ByteHamster/stats-duration
Allow choosing between getDuration and getPlayedDuration
2017-04-16 20:10:16 +02:00
Martin Fietz 9542ef1569 Merge pull request #2302 from mfietz/issue/2269-incorrect-weekdays
When date string parsing failed, try parsing the string without the weekday
2017-04-16 20:09:04 +02:00
Martin Fietz 4e7402c214 Merge pull request #2300 from ByteHamster/chapter-durations
Added duration to chapters list
2017-04-16 20:08:40 +02:00
Martin Fietz f1b04d45e4 Merge pull request #2301 from ByteHamster/most-played
Sort feeds by number of played episodes
2017-04-16 19:59:28 +02:00
Martin Fietz 2209e0e9b2 Convert octal literals to decimal ones 2017-04-16 19:50:48 +02:00
Martin Fietz f7b35de919 When date string parsing failed, try parsing the string without the weekday 2017-04-16 13:48:17 +02:00
ByteHamster 2036511167 Sort feeds by number of played episodes
This way, your most-loved feeds are on top of the list
2017-04-16 08:23:44 +02:00
ByteHamster 8f226803cb Added notice that playback speed is not taken into account 2017-04-15 15:59:12 +02:00
ByteHamster 2f5fc1966d Added more details to statistics mode description 2017-04-15 15:52:46 +02:00
ByteHamster 4e7fef1211 Statistics calculation does not respect playback speed 2017-04-15 15:41:54 +02:00
ByteHamster 769ed8b15e Renamed type to mode 2017-04-15 15:34:31 +02:00
ByteHamster acf065b7cd Added duration to chapters list
Closes #2174
2017-04-15 14:32:37 +02:00
Martin Fietz aad56bea56 Merge remote-tracking branch 'upstream/develop' into develop 2017-04-15 14:32:16 +02:00
Martin Fietz 43ccc0e276 Only use iTunes summary when
* no description is set yet OR
* it is clearly more detailed (i.e. longer) than the current description
2017-04-15 14:32:01 +02:00
ByteHamster a01f0b1b7a Trimming 'pcast:' without '//'
Fixes #2284 (subscribtion through podlove 'Let device decide')
2017-04-15 13:49:01 +02:00
ByteHamster cb3501342e Added feed title to delete confirmation
Closes #2291
2017-04-15 10:28:45 +02:00
ByteHamster 416117515c Allow choosing between getDuration and getPlayedDuration 2017-04-15 09:54:09 +02:00
Danial Klimkin 78d11570e4 Let me fix CET/CEST once again 2017-04-12 23:39:17 +02:00
Martin Fietz 7da9e8876b Merge pull request #2258 from MeirSD/develop
Enable support for Android Auto with support for OnPlayFromSearch
2017-04-11 07:43:19 +02:00
Meir Schwarz 6e8baf839a Check media and mediaItem for null as suggested by mfietz 2017-04-10 15:27:24 -07:00
Martin Fietz e42a76219d Merge pull request #2288 from dklimkin/datefix
Additional date format and a hack for CEST
2017-04-10 23:25:55 +02:00
Danial Klimkin 545b1e364e Additional date format and a hack for CEST 2017-04-10 22:16:34 +02:00
Martin Fietz 6c6607f7d3 Remove propagation of interrupts introduced in #2286 2017-04-10 21:49:22 +02:00
Martin Fietz 25a8334aca Merge pull request #2286 from dklimkin/touches
Small touches on DownloadService.java
2017-04-10 21:27:21 +02:00
Danial Klimkin b34910261c Small touches on DownloadService.java 2017-04-10 21:15:01 +02:00
Martin Fietz 5cbf092f3b Merge branch 'develop' into develop 2017-04-09 20:34:43 +02:00
Martin Fietz 4d256b7323 Merge pull request #2225 from mfietz/issue/2222-not-add-to-queue
Setting whether or not to enqueue downloaded episodes
2017-04-09 20:26:00 +02:00
Martin Fietz a2e07e749b Organize imports 2017-04-09 20:25:35 +02:00
Martin Fietz 8864f51f03 Merge pull request #2224 from mfietz/issue/2160-feed-files-pile-up
Remove cached feed file after parsing
2017-04-09 20:24:11 +02:00
minusf ef24e766f9 Skip favorite episodes during autodelete 2017-03-13 21:14:48 +01:00
orelogo c0da3df892 Organize search results lexicographically in addition to by where the
query was matched
2017-02-25 17:23:46 -08:00
orelogo a1201cc95f Improve duplicate removal run time by using a hash set 2017-02-25 17:22:57 -08:00
Meir Schwarz 831166cfb2 Enable support for Android Auto with support for OnPlayFromSearch 2017-02-09 16:54:23 -08:00
Cédric Cabessa 21605171fd don't pause while casting if headset is disconnected
User was listening to a podcast with headset, then get back home
and want to listen to the rest of the podcast on a chromecast.
If he unplug the headset while the audio is casting, we should not pause.
2017-01-07 15:04:29 +01:00
Martin Fietz c54878a0f5 Add setting whether or not to enqueue downloaded episodes 2016-12-31 17:29:45 +01:00
Martin Fietz a8539dde84 Remove cached feed file after parsing 2016-12-31 16:39:41 +01:00
Martin Fietz c3aa861a33 Merge pull request #2216 from mfietz/bugfix/2215-class-cast-exception-unknown-mime-type
Fix class cast exception on unknown mime type
2016-12-30 20:05:17 +01:00
Martin Fietz 3a32db36b8 Merge pull request #2201 from VarunBarad/develop
Add launch screen.
2016-12-30 20:04:42 +01:00
Martin Fietz 27bbe3ae80 Merge pull request #2188 from mfietz/okhttp3
Upgrade okhttp to version 3
2016-12-30 20:03:50 +01:00
Martin Fietz b242016962 Assume media type is audio when mime type is unknown 2016-12-19 18:18:50 +01:00
Martin Fietz c9f7f8000f Update translations 2016-12-04 22:02:46 +01:00
Martin Fietz dc65f13f44 Do not auto-enable sleep timer after skipping 2016-12-04 21:42:03 +01:00
Martin Fietz 4878a30d66 Merge pull request #2205 from mfietz/issue/2134-cast-exception
Prevent ClassCastException
2016-12-04 21:12:58 +01:00
Martin Fietz 1a7d8041bb Cast certain playable information int values to long to prevent class cast exceptions 2016-12-04 13:41:23 +01:00
Martin Fietz ea6cfad6c8 Catch out of memory exception 2016-12-04 13:29:36 +01:00
VarunBarad 50150730df Add branded launch screen. 2016-12-03 21:46:22 +05:30
Martin Fietz 4ff8d5430f Refactor 2016-11-27 10:44:49 +01:00
Martin Fietz cf8deb12ef Merge pull request #2192 from Cj-Malone/2190-invalid-mime-fix
Fallback to mime type from the URL when the defined is invalid
2016-11-27 10:37:38 +01:00
Cj Malone 65d6cea22a Fallback to mime type from the URL when the defined is invalid 2016-11-22 19:17:16 +00:00
Cj Malone 7a23e1f13f Revert author delimiter back to commer 2016-11-19 17:55:07 +00:00
Cj Malone 8c901bb640 Clean up sort 2016-11-19 17:54:43 +00:00
Martin Fietz cbe00b4c77 Also compare drawer items with same counter value case-insensitive 2016-11-19 14:56:25 +01:00
Martin Fietz 2682cbd784 Upgrade to OkHttp3 2016-11-13 23:02:25 +01:00
Martin Fietz 4a6b630e56 Prevent NPE 2016-11-12 09:25:10 +01:00
Domingos Lopes 8fd886c273 fix unskipped episodes being removed from queue 2016-11-09 13:28:50 -05:00
Martin Fietz 78f0caa42b Fix transifex configuration 2016-11-07 19:22:38 +01:00
Martin Fietz b3a1153880 Update translations 2016-11-07 19:19:47 +01:00
Martin Fietz 527dfe737e Accept 'application/octet-stream' as valid media mime type 2016-11-04 22:35:41 +01:00
Martin Fietz 849d4fe168 Fix resource directory 2016-11-01 23:14:29 +01:00
Martin Fietz 8c37a3acee Update translations 2016-11-01 22:19:49 +01:00
Martin Fietz 365afedaad Merge pull request #2172 from mfietz/feature/1794-rename-feeds
Rename feeds
2016-11-01 20:49:27 +01:00
Martin Fietz ab182c4b63 Replace jsoup's example html to plain text parser with adaptation thereof 2016-11-01 20:49:00 +01:00
Martin Fietz 8a626faf73 Add ability to rename feeds 2016-11-01 19:43:23 +01:00
Martin Fietz 04bcf6e697 Only store the feed's author(s), not that of individual items 2016-11-01 17:26:58 +01:00
Martin Fietz 0760feac81 Change authors delimiter to newline 2016-11-01 17:23:04 +01:00
Martin Fietz cfef273eba Merge pull request #2147 from Cj-Malone/atom-clean-up
Parsing clean up
2016-11-01 10:42:59 +01:00
Martin Fietz a89dd28e23 Merge pull request #2170 from mfietz/feature/fyyd
Integrate fyyd podcast search engine
2016-11-01 10:41:51 +01:00
Cj Malone 2a7845ee65 Indent exported files 2016-10-31 15:06:31 +00:00
Martin Fietz cba6e728d2 Merge pull request #2152 from mfietz/2085-auto-enable-sleep-timer
Option to auto-enable sleep timer
2016-10-30 19:12:25 +01:00
Martin Fietz 56318ae99c Merge pull request #2136 from mfietz/2128-subscription-counter-downloaded
Add option to show number of downloaded episodes in subscription counter
2016-10-30 19:09:50 +01:00
Martin Fietz 0062cab106 Merge branch 'develop' into 2085-auto-enable-sleep-timer 2016-10-30 13:37:39 +01:00
Martin Fietz c3fad9dbe6 Integrate fyyd podcast search engine 2016-10-30 13:28:57 +01:00
Martin Fietz ff5b136351 Merge pull request #2158 from mfietz/feature/2154-export-html
Export subscriptions as HTML
2016-10-30 12:51:21 +01:00
Martin Fietz 8086d9b316 Check if view is still attached 2016-10-16 15:15:41 +02:00
Martin Fietz 695a73c09d Add option to export subscriptions as HTML 2016-10-16 12:40:01 +02:00
Maurice Gilden 99ab34b26f Fixed problem with seeking before starting playback. 2016-10-16 12:15:36 +02:00
Maurice Gilden df17d47128 PlayLastPlayedMediaIntent now seeks to last position before user starts playback. 2016-10-16 12:14:36 +02:00
Martin Fietz fee2acb5ab Move opml package 2016-10-15 12:43:43 +02:00
Cj Malone 2c17e03397 Improve readablilty 2016-10-13 06:40:18 +01:00
Cj Malone 0f7fe57454 Add support for images in mrss content
SyndTypeUtils.getValidMimeTypeFromUrl is now unused and
SyndTypeUtils.getMimeTypeFromUrl is used instead. It gets the
mime type from the file extension, but dosen't check it so this
function can how be used for both images or media files.
2016-10-13 06:40:18 +01:00
Cj Malone 85e08a270a Suport archive RSS/Atom links as alternate feeds 2016-10-13 06:29:35 +01:00
Cj Malone 7fe1e07048 Support multiple author tags in a feed 2016-10-13 06:29:35 +01:00
Martin Fietz fdc7d41824 Replace toast with snackbar and optional undo action 2016-10-12 21:31:34 +02:00
Martin Fietz 21799ab22c Add dialog option to auto-enable sleep timer 2016-10-09 22:40:40 +02:00
Martin Fietz e75d60ef61 Extract sleep timer preferences into dedicated class 2016-10-09 21:49:23 +02:00
Martin Fietz 8accc12048 Merge pull request #2139 from mfietz/2121-gpodder-force-full-sync
Add full sync with gpodder
2016-10-08 09:48:49 +02:00
Martin Fietz f0ef51aaad Merge pull request #2137 from mfietz/2127-empty-download-url
Feed media is only valid when download url is not empty
2016-10-08 09:48:02 +02:00
Martin Fietz 6ff24f99b5 Merge pull request #2140 from mfietz/2094-mark-seen-confirmation-dialog
Show "mark all as seen" confirmation dialog
2016-10-08 09:47:48 +02:00
Martin Fietz 92899affab Add "has media" filter to episodes filter 2016-10-03 17:21:42 +02:00
Martin Fietz cc675b06be Add "has media" filtering to gears dialog 2016-10-03 17:21:11 +02:00
Martin Fietz 342fea0360 Show "mark all as seen" confirmation dialog 2016-10-03 13:17:06 +02:00
Martin Fietz 098e89b0c5 Add full sync with gpodder and re-phrase changes sync 2016-10-03 12:53:06 +02:00
Martin Fietz 25c1936c7c Feed media is only valid when download url is not empty 2016-10-03 12:06:58 +02:00
Martin Fietz ba37684d7c Add option to show number of downloaded episodes as subscription counter 2016-10-03 11:46:02 +02:00
Martin Fietz 3fa6c1bc20 Merge pull request #2109 from danielm5/enable-previous-button
Set current position to the begining on 'Previous' button
2016-10-02 23:38:05 +02:00
Martin Fietz 8f02a4b6d7 Merge pull request #1985 from mfietz/issue/1942-automatic-update
On resume, check if the feeds should be (automatically) refreshed.
2016-10-02 22:36:23 +02:00
Martin Fietz 44eb1a9cfd Merge pull request #2117 from orionlee/2105_support_rewind_in_lockscreen
Issue #2105 : support optional rewind in lockscreen
2016-10-02 22:35:00 +02:00
eraymond 970d41bb78 Added preference settings to customize fastforward and rewind delta. Closes #2129. Minor: Fixes title case in preference setting titles Minor: Fixes typo in naming of UserPreferences.getFastFowardSecs to UserPreferences.getFastForwardSecs. 2016-09-28 17:25:45 -07:00
Cj Malone 68b7431aac Use summary tag if content is not available 2016-09-23 14:57:00 +01:00
orionlee 209058b3a7 Make it explicit the lockscreen workaround is only relevant to pre Lollipop devices. 2016-09-10 12:04:01 -07:00
orionlee 01c3f757a1 Issue #2105 : support optional rewind in lockscreen (by using skipToPrevious button) 2016-09-09 09:00:36 -07:00
Daniel e7cc0ffe05 Enable separate functions for Previous and Rewind hardware buttons.
Added prefHardwarePreviousButtonRestarts preference.
2016-09-03 15:36:03 -04:00
Martin Fietz 4a1e728ac5 Merge pull request #2087 from eirikv/amazon_s3_authentication_fix
Prevent authentication header to be set for s3 presigned-urls
2016-08-13 12:40:26 +02:00
EirikV bc7c319a01 Reconfigured authentication for downloading files - fixing s3 problems 2016-08-07 11:29:04 +02:00
Martin Fietz 9e1a016373 On shake, reset timer to the current waiting time 2016-08-06 11:23:50 +02:00
Martin Fietz 0cdc5aea47 Merge pull request #2082 from Cj-Malone/develop
Improve MRSS support
2016-08-04 22:42:21 +02:00
Domingos Lopes c9382e27c4 fix issue with playback ended on skipping (for remote playback) 2016-07-25 23:16:28 -04:00
Domingos Lopes c17723816b adapt media player switch into the new protocol 2016-07-25 23:16:28 -04:00
Domingos Lopes 385079d168 integrate onPlaybackStart/Pause callbacks into setPlayerStatus() 2016-07-25 23:16:28 -04:00
Domingos Lopes 8edb262988 fix duration problem 2016-07-25 23:16:28 -04:00
Domingos Lopes f80af4342f add documentation to post playback processing 2016-07-25 23:16:28 -04:00
Domingos Lopes 9b123d0473 extend the new PlaybackService media player callback protocol to RemotePSMP 2016-07-25 23:16:28 -04:00
Domingos Lopes 19a647226d move onPlaybackStart and onPlaybackPause tasks to separate callback methods 2016-07-25 23:16:28 -04:00
Domingos Lopes d18cf41f20 move auto flattr and gpodnet play action inside FeedMedia 2016-07-25 23:16:28 -04:00
Domingos Lopes 12d62d5519 only allow for endPlayback with wasSkipped==false internally 2016-07-25 23:16:28 -04:00
Domingos Lopes e94219ce26 change protocol for episode transition on PlaybackService 2016-07-25 23:16:28 -04:00
Cj Malone 74e6b7476d Amend string check 2016-07-25 17:27:06 +01:00
Cj Malone 0dfa36953b Support mrss' description
Reusing AtomText but it works perfectly.
MRSS has "plain" and "html" types, fallsback to "plain" if null or invalid type
2016-07-25 13:21:29 +01:00
Cj Malone 9562f1922a Support mrss' thumbnail
Note, this only supports one image as that's all AntennaPod can at the moment.
2016-07-25 10:37:22 +01:00
Cj Malone 8a7029ed78 Honor mrss' isDefault attribute 2016-07-25 10:05:44 +01:00
Cj Malone d4d696d83a Format NSMedia.java 2016-07-25 09:44:17 +01:00
Martin Fietz e6e37e9558 Merge pull request #2057 from domingos86/castdialogimage-issue1910
fix horizontal layout (MediaRouteControllerDialog)
2016-07-23 10:43:08 +02:00
Martin Fietz 2bb291cfcb Merge pull request #2076 from domingos86/wifi-vs-metered
change check for wifi connection to metered connection
2016-07-23 10:41:01 +02:00
Martin Fietz e4bd99e059 Merge pull request #2073 from Cj-Malone/develop
Improve Atom support
2016-07-23 10:07:58 +02:00
Domingos Lopes 6f2bfed3a6 change check for wifi connection to metered connection 2016-07-21 23:14:08 -04:00
Martin Fietz ef31878a10 Merge pull request #2068 from MeirSD/develop
Fix issue where mini player doesn't show up
2016-07-20 23:04:49 +02:00
Meir Schwarz ab9f21154d Fix binding issues by only using the MediaBrowserService onBind when the intent's action is MediaBrowserService and otherwise returning the LocalBinder. 2016-07-20 13:03:38 -07:00
Cj Malone 96468f0e85 Add Atom lang support 2016-07-20 13:26:40 +01:00
Cj Malone 3bc51b7a54 Support Atom Author 2016-07-20 12:57:08 +01:00
Cj Malone baf1569020 Fixes Atom icon image
Falls back to logo if it is present but icon isn't.
https://github.com/AntennaPod/AntennaPod/issues/1949
2016-07-20 11:34:48 +01:00
Martin Fietz 44b37fc043 Merge pull request #2067 from orelogo/develop
Improve search results: "no results" view, no duplicates, transparent played episodes
2016-07-18 07:43:44 +02:00
orelogo 16e640ab1a Search Results: Clarify documentation and strings` 2016-07-18 01:10:31 -04:00
Martin Fietz 9d5d3508cf Merge pull request #2060 from domingos86/gpodnet-notification-option
Make gpodnet sync error notifications optional
2016-07-17 20:24:18 +02:00
Domingos Lopes 91f12080ef include gpodnet last sync report on Sync pref summary 2016-07-17 14:10:58 -04:00
domingos86 9627a2ae73 replace string Undetermined by Never
in gpodnet last sync report
2016-07-17 11:26:39 -04:00
orelogo b4b51e6e58 Search Results: reformat "no result" text for easier translation 2016-07-13 18:53:18 -04:00
orelogo b5928194d5 Search Results: prevent duplicate feed items
- title results take precedence over shownotes results
2016-07-13 13:43:49 -04:00
orelogo 3863a5d190 Add 'no result' text to unmatched search results 2016-07-12 15:39:58 -04:00
Domingos Lopes fc364c7dfe convert gpodder last sync attempt listener to OnSharedPreferenceChangeListener 2016-07-03 18:03:19 -04:00
Domingos Lopes 4b79da7175 gpodnet: record last sync failed attempt also when it's an authentication error 2016-07-02 11:59:15 -04:00
Domingos Lopes 2f235fc46e set pending activity intent on mediasession 2016-07-02 11:37:28 -04:00
Martin Fietz 9372ccc916 Merge pull request #2055 from DevFactory/release/Lamdbas_containing_only_one_statement_should_not_nest_this_statement_in_a_block
squid:S1602 - Lamdbas containing only one statement should not nest this statement in a block.
2016-07-02 12:32:13 +02:00
Meir Schwarz b227c12f39 Fix binding issues by only using the MediaBrowserService onBind when the intent's action is MediaBrowserService and otherwise returning the LocalBinder. 2016-07-02 01:13:27 -07:00
Domingos Lopes b307d96e95 Make gpodnet sync error notifications optional 2016-07-02 02:37:58 -04:00
Domingos Lopes 000163ad21 fix horizontal layout (MediaRouteControllerDialog) 2016-06-30 19:21:54 -04:00
Martin Fietz a806d58966 Merge pull request #2053 from MeirSD/develop
Add preliminary support for Android Auto by changing PlaybackService …
2016-06-30 19:34:36 +02:00
Martin Fietz 54f4ad7ba0 Merge pull request #2054 from DevFactory/release/Utility_classes_should_not_have_public_constructors_fix_2
squid:S1118 - Utility classes should not have public constructors (part 2)
2016-06-30 08:57:36 +02:00
Meir Schwarz bfe7cadd15 Add preliminary support for Android Auto by changing PlaybackService to extend MediaBrowserServiceCompat. Allows playback from queue and basic control using Android Auto. 2016-06-29 16:09:55 -07:00
Soso Tughushi 8425ac6190 Fixed rule 'Utility classes should not have public constructors' 2016-06-29 22:34:05 +04:00
Martin Fietz d295614933 Merge pull request #2048 from domingos86/castdialogimage-issue1910
Fix Cast Dialog image
2016-06-29 19:58:24 +02:00
Soso Tughushi 31861ca285 Fixed rule 'Lamdbas containing only one statement should not nest this statement in a block' 2016-06-29 19:56:39 +04:00
Martin Fietz 95f1beb479 Downloader: Check content-type for null 2016-06-29 15:17:09 +02:00
Domingos Lopes 47015e937e add onClickListeners, optimize image loading 2016-06-28 15:48:51 -04:00
Domingos Lopes 6d0debfd4d implement custom mediaroute playback controller 2016-06-28 02:18:11 -04:00
Martin Fietz 7440066a9f Merge pull request #2047 from DevFactory/release/Modifiers_should_be_declared_in_the_correct_order
[squid:ModifiersOrderCheck] Modifiers should be declared in the correct order
2016-06-27 17:28:11 +02:00
Soso Tughushi 979ebb772c Fixed rule 'Modifiers should be declared in the correct oreder' 2016-06-27 15:07:53 +04:00
Martin Fietz 4b79afc2b0 Add exponential backoff for file type errors and check content length before assuming a file type error 2016-06-24 11:24:30 +02:00
Martin Fietz 92752e7996 Fix mark as seen and improve mark all X [of feed Z] as Y 2016-06-24 10:18:14 +02:00
Martin Fietz 13fa133f3d Prevent crash when image url is empty string 2016-06-23 13:04:10 +02:00
Martin Fietz b47dc10b2a Merge pull request #2034 from DevFactory/release/The_diamond_operator_should_be_used
squid:S2293 - The diamond operator ("<>") should be used
2016-06-23 10:34:09 +02:00
Martin Fietz d327489c46 Merge pull request #2035 from DevFactory/release/Utility_classes_should_not_have_public_constructors-fix-1
squid:S1118 - Utility classes should not have public constructors
2016-06-23 10:33:47 +02:00
Tom Tom e48cc22252 Fixed rule 'The diamond operator ("<>") should be used'. 2016-06-22 21:28:10 +04:00
Tom Tom b5ee07e389 Fixed rule 'Utility classes should not have public constructors' 2016-06-22 14:06:16 +04:00
Tom Tom b73f5ce815 Fixed rule 'public static fields should be marked as final'. 2016-06-22 13:30:32 +04:00
Martin Fietz 9f86308690 On resume, check if the feeds should be (automatically) refreshed. 2016-06-20 00:47:46 +02:00
Tom Hennen b7dfea13b0 Merge pull request #1983 from mfietz/issue/1970-remove-ambiguous
Item view: Make remove/delete less ambiguous
2016-06-19 18:36:21 -04:00
Martin Fietz dbd2ab5524 Fix core manifest 2016-06-19 13:30:11 +02:00
Martin Fietz 6fc40b948d Merge pull request #2020 from mfietz/update_translations
Update translations
2016-06-19 12:53:26 +02:00
Martin Fietz f315f2e107 Update string translations 2016-06-19 12:53:33 +02:00
Martin Fietz 6e445e46bb Add Estonian language 2016-06-19 12:40:06 +02:00
Martin Fietz e7ab27fbdf Merge pull request #1992 from mfietz/issue/1961-statistics-incomplete
Fix statistics
2016-06-19 01:58:51 +02:00
Martin Fietz 5d9058ea1e Make remove/delete less ambiguous 2016-06-11 18:53:30 +02:00
Martin Fietz ce2125e647 Check if there is an exported activity for the intent 2016-06-10 19:57:38 +02:00
Martin Fietz a7a2043682 Merge pull request #1981 from domingos86/null-action-provider-workaround
fixes CastManager.addMediaRouterButton NPE
2016-06-10 19:34:43 +02:00
Martin Fietz ac8fc02c8e Merge pull request #2002 from drabux/fix_gradle_free_build__properties
Fix gradle free builds
2016-06-09 09:25:22 +02:00
Domingos Lopes 6036f2d960 print stack trace with the log entries 2016-06-08 22:49:03 -04:00
Domingos Lopes b46b2247b4 fixes NPE from #1974 2016-06-08 22:49:03 -04:00
Martin Fietz 405630ee50 Merge pull request #2001 from domingos86/flavors-optimization
Flavors code optimization
2016-06-09 00:00:47 +02:00
drabux 93bc61b197 Fix gradle free builds 2016-06-08 20:11:26 +02:00
Domingos Lopes 29dd9839d9 new lines (end of strings.xml) 2016-06-08 13:20:14 -04:00
Domingos Lopes f4909c9fb9 delete commented code on Playable interface (related to RemoteMedia) 2016-06-08 13:15:27 -04:00
Martin Fietz 89a1851f57 Merge pull request #1968 from mfietz/issue/1929-new-episodes-marked-as
New episodes: Mark (all) as seen
2016-06-08 18:49:01 +02:00
Domingos Lopes 6d9e385b73 rename helper classes 2016-06-07 22:55:55 -04:00
Domingos Lopes 8b791fbab4 adapt PlaybackService to different flavors 2016-06-07 22:55:54 -04:00
Domingos Lopes 58ddbd5728 adapt Playable interface to different flavors 2016-06-07 22:55:54 -04:00
Domingos Lopes 107e5c266f adapt FeedMedia class to different flavors 2016-06-07 22:55:54 -04:00
Domingos Lopes bcdcfe0d58 adapt ui to different flavors 2016-06-07 22:55:54 -04:00
Domingos Lopes f84f40d350 introduce programatic flavor recognition 2016-06-07 22:55:54 -04:00
Martin Fietz a16f2d2124 New episodes: Mark all as seen instead of played 2016-06-06 20:11:42 +02:00
Martin Fietz 6106fdc899 Merge pull request #1958 from drabux/sort_by_feed_title
Add option to sort queue by feed title
2016-06-06 19:18:40 +02:00
Martin Fietz fd05940d67 Do not reset played duration of completed episode; restore statistics for old behavior 2016-06-04 20:00:27 +02:00
Martin Fietz 85bee5902f Fix app name (due to flavors) 2016-06-04 18:20:47 +02:00
Martin Fietz 10a0321976 Fix app name (due to flavors) 2016-06-04 13:45:45 +02:00
Martin Fietz 3c033cc0fb Create one flavor with Google Cast support and one (free) without 2016-06-04 01:36:25 +02:00
Martin Fietz 0aaa14923c Merge pull request #1979 from AntennaPod/1.6.0_devel
Merge 1.6.0_devel
2016-06-03 14:57:59 +02:00
Martin Fietz 9b594ecefb Update translations 2016-06-03 13:02:54 +02:00
Martin Fietz e1d8defa1f Merge pull request #1977 from mfietz/issue/1973-controller-classcastex
Prevent onServiceConnected ClassCastException
2016-06-03 12:59:51 +02:00
Martin Fietz eca8fc90b8 Prevent onServiceConnected ClassCastException 2016-06-03 12:59:11 +02:00
Martin Fietz 8c0d350738 Feed item filter: Load queue ids only once 2016-06-01 10:46:27 +02:00
Martin Fietz 6f8916e58c Feed item filter: Load queue ids only once 2016-05-28 13:17:51 +02:00
drabux da315e64f6 Add option to sort queue by feed title 2016-05-25 03:19:02 +02:00
Tom Hennen 6d67566891 Merge pull request #1944 from andrewgaul/xlint
Enable Xlint and correct warnings
2016-05-20 17:25:32 -04:00
Martin Fietz 6655abc92e Instead of allowing some mime types, disallow text types 2016-05-20 15:07:59 +02:00
Tom Hennen 9b5f2db7d1 Merge pull request #1934 from keunes/patch-5
Update strings.xml
2016-05-19 08:39:04 -04:00
Andrew Gaul cf942d1350 Enable Xlint and correct warnings 2016-05-17 15:38:44 -07:00
Tom Hennen c5fa967a10 Merge pull request #1940 from AntennaPod/1.6.0_devel
merge PR 1939 in to devel
2016-05-13 12:54:12 -04:00
Martin Fietz 8ee15a150e Accept media content type application/octet-stream 2016-05-13 18:02:27 +02:00
Tom Hennen ed16169381 Merge pull request #1898 from mfietz/embedded-images
Re-enable embedded images
2016-05-10 12:03:34 -04:00
Koen Glotzbach 2a8441d586 Update strings.xml
- remove unused 'subscription list' strings
- remove correct tab indents
2016-05-09 00:13:06 +02:00
Tom Hennen 11ea77c98c updated translations 2016-05-08 16:32:28 -04:00
Tom Hennen 50190e77ee Merge pull request #1928 from AntennaPod/develop
Get casting fix in 1.6.0
2016-05-08 16:30:29 -04:00
Domingos Lopes 232ec987b5 fix NPE when media is 'uncastable' 2016-05-07 14:10:37 -04:00
Tom Hennen 2dfcefbace updated translations 2016-05-07 10:06:31 -04:00
Tom Hennen 210eb0975a updated translations 2016-05-06 15:40:39 -04:00
Tom Hennen 713e6ce9b2 update translations with fixed cdata... 2016-05-03 15:16:05 -04:00
Tom Hennen 903ebc0b0b updated translations 2016-05-03 14:40:15 -04:00
Tom Hennen 3ec0dab413 say 'Chromecast' instead of just 'cast 2016-05-03 14:37:00 -04:00
Martin Fietz 26cd3faffc Re-enable embedded images 2016-05-02 17:01:12 +02:00
Martin Fietz 92d63a6570 Use strings to point to images, not uris 2016-05-02 17:01:09 +02:00
Domingos Lopes 96c3594806 change name reloadUI -> onMediaChanged 2016-05-01 10:21:57 -04:00
Domingos Lopes 0f32e2953c avoid stopping playback after skipping (and changing media type) 2016-05-01 02:17:47 -04:00
Tom Hennen 8bf33732a9 Merge pull request #1879 from domingos86/chromecast-issue-340
Chromecast issue 340 initial PR
2016-04-30 11:11:31 -04:00
domingos86 9e9efa225c remove unnecessary comments on CastManager
related to a reconnection service that is now handled by the playback service.
2016-04-29 18:16:31 -04:00
domingos86 600b41cc16 remove confusing comments on RemotePSMP 2016-04-29 18:08:11 -04:00
Domingos Lopes f8266d0181 give error feedback to the user 2016-04-28 01:52:47 -04:00
Domingos Lopes 7e584d95f8 fix (hopefully skipping episode)
problem was: apparently stopping was taking over any load command that immediately followed it
2016-04-27 23:57:53 -04:00
Domingos Lopes 0fecbcb87b improve some logging 2016-04-27 23:56:39 -04:00
Domingos Lopes 94af4763d2 include method to find application standby state 2016-04-26 01:18:55 -04:00
Domingos Lopes b1f62b56cd add a general callback method for reporting media updates 2016-04-26 01:18:55 -04:00
Domingos Lopes fab2d05979 fix skipping episodes and unwanted reinits 2016-04-24 22:06:28 -04:00
Domingos Lopes 9981c71bab reduce size of cast disconnect buttons 2016-04-24 22:06:28 -04:00
Domingos Lopes fe7e5c5b45 add cast disconnect buttons 2016-04-24 22:06:28 -04:00
Domingos Lopes e79a077313 fix the force close issue when starting casting from the video player 2016-04-24 22:06:28 -04:00
Domingos Lopes 1a33830991 allow fine control on where to show the cast button 2016-04-24 22:06:27 -04:00
Domingos Lopes a7848f0576 refactoring (harmonize with develop) 2016-04-24 22:06:27 -04:00
Domingos Lopes 790f5ac1d0 move MediaType inference from mime_type into MediaType class 2016-04-24 22:06:27 -04:00
Domingos Lopes 7164e328ef refactoring 2016-04-24 22:06:27 -04:00
Domingos Lopes b6ac9414e6 add cast dependencies (mediarouter, play services) 2016-04-24 22:06:27 -04:00
domingos86 78b2ceab57 harmonize UserPreferences.java
This was possibly due to some changes not entirely validated on a merge conflict.
2016-04-24 22:06:27 -04:00
Domingos Lopes b3fbc5258e allow base cast manager to save information of wifi network when it connects 2016-04-24 22:06:27 -04:00
Domingos Lopes 3aba2f9d4d force remote cast application launch when not reconnecting 2016-04-24 22:06:27 -04:00
Domingos Lopes d47e4a9331 do not use circular buttons for video while casting 2016-04-24 22:06:27 -04:00
Domingos Lopes 450329a5e3 have external player fragment show play button if casting 2016-04-24 22:06:26 -04:00
Domingos Lopes 9939f8f461 change references to PSMPInfo out of LocalPSMP
make video playback callback dependent on casting
2016-04-24 22:06:26 -04:00
Domingos Lopes 376ffed56c intents for cast player activity 2016-04-24 22:06:26 -04:00
Domingos Lopes 982142634f get rid of cast callbacks (config) 2016-04-24 22:06:26 -04:00
Domingos Lopes b3a78d47f9 update PlaybackServiceCallbacks to be able to handle a cast player activity 2016-04-23 21:39:58 -04:00
Domingos Lopes 2762af8d50 combine both preference listeners in PlaybackService 2016-04-23 21:39:57 -04:00
Domingos Lopes f71a3152d4 add a lonely logging command 2016-04-23 21:39:57 -04:00
Domingos Lopes b41eba90bd implement basic cast session join 2016-04-23 21:39:57 -04:00
Domingos Lopes e70f4d5389 fix media router button still showing when disabled 2016-04-23 21:39:57 -04:00
Domingos Lopes c915366c7b account for when MediaStatus returned from RemoteMediaPlayer is null 2016-04-23 21:39:56 -04:00
Domingos Lopes f79369a9ad finishing handling remote playback updates 2016-04-23 21:39:56 -04:00
Domingos Lopes 6ee3d20a80 extend MediaInfo comparison to RemoteMedia objects 2016-04-23 21:39:56 -04:00
Domingos Lopes 0dbae93715 add FeedMedia lookup by id when converting
refactor CastUtils (now in cast package)
2016-04-23 21:39:56 -04:00
Domingos Lopes 971906c9f0 add method to convert from MediaInfo to Playable 2016-04-23 21:39:56 -04:00
Domingos Lopes 65ddd5b0ea add FeedMedia getter and equals method for RemoteMedia and FeedMedia 2016-04-23 21:39:55 -04:00
Domingos Lopes 5a4fc28dcd include feedLink in RemoteMedia, add MediaInfo extractor method 2016-04-23 21:39:55 -04:00
Domingos Lopes 94a16bb9ba create RemoteMedia class, add more fields to remote mediametadata 2016-04-23 21:39:55 -04:00
Domingos Lopes c4b6f366ca implement several remote playback commands 2016-04-23 21:39:55 -04:00
Domingos Lopes 1ca0c1214f correct mediaplayer initialization 2016-04-23 21:39:55 -04:00
Domingos Lopes 40fc7b4816 initialize mediaplayer according to local or remote device 2016-04-23 21:39:54 -04:00
Domingos Lopes 1088fae745 remove data channel from CastManager
add cast failure strings
2016-04-23 21:39:54 -04:00
Domingos Lopes 63a30a0d59 move the initialization call to CastManager 2016-04-23 21:39:54 -04:00
Domingos Lopes 037b705075 * add GooglePlayServices check
* implement wifi-reconnect feature for casting
* move wifiLock logic to abstract PSMP
2016-04-23 21:39:54 -04:00
Domingos Lopes af7526a409 add a CastManager, and other changes 2016-04-23 21:39:53 -04:00
Domingos Lopes 2057a92a19 Add the casting feature to PlaybackService 2016-04-23 21:39:53 -04:00
Domingos Lopes 3a3b4bb57c Add ordering relations to PlayerStatus 2016-04-23 21:39:53 -04:00
Domingos Lopes 88d47c178c Make PlaybackServiceMediaPlayer an abstract class and move implementation independent methods inside it 2016-04-23 21:39:52 -04:00
Domingos Lopes 6224f80c89 add cast button to important activities 2016-04-23 21:39:52 -04:00