Commit Graph

1186 Commits

Author SHA1 Message Date
Domingos Lopes c2be62f976 fix onMediaChanged() for ItemDescriptionFragment 2016-09-03 11:47:22 -04:00
Domingos Lopes 2babfa2bc6 fix cover fragment onMediaChanged 2016-09-03 11:47:22 -04:00
Martin Fietz eaa1745fa6 Merge pull request #2093 from mfietz/upgrade-libs
Upgrade dependencies
2016-08-04 22:42:29 +02:00
Martin Fietz da7fe225d0 Fix test 2016-08-04 21:18:29 +02:00
Domingos Lopes 385079d168 integrate onPlaybackStart/Pause callbacks into setPlayerStatus() 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 e94219ce26 change protocol for episode transition on PlaybackService 2016-07-25 23:16:28 -04:00
Martin Fietz 8e281890dd Merge pull request #2062 from mateoeh/opml-intent
Use MIME types in OPML import intent filter (fixes #1758)
2016-07-23 10:54:06 +02:00
Martin Fietz 30a9d0f5f3 Merge pull request #2027 from mfietz/issue/2023-2024-rotation
Retain context menues and dialogs on rotation
2016-07-23 10:44:30 +02: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 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 cf035bc748 restore dividers on gpodnet preferences
by setting selectable to its default value of true.
2016-07-17 13:22:59 -04:00
orelogo b4b51e6e58 Search Results: reformat "no result" text for easier translation 2016-07-13 18:53:18 -04:00
orelogo 658594e90f Search Results: Add transparency to played episodes 2016-07-13 13:44:48 -04:00
orelogo 3863a5d190 Add 'no result' text to unmatched search results 2016-07-12 15:39:58 -04:00
mateoeh 47bde42a1e Use MIME types in OPML import intent filter
File extensions are widely unreliable - extraneous dots in a file's path will break intent filters
relying on pathPattern's wildcard character, and some applications will omit file extensions
altogether when sending intents (e.g. K-9 Mail). Using MIME types will occasionally catch non-OPML
files in the filter, but it is currently the best option available.

Fixes #1758
2016-07-05 21:12:20 -06:00
Domingos Lopes fc364c7dfe convert gpodder last sync attempt listener to OnSharedPreferenceChangeListener 2016-07-03 18:03:19 -04:00
Domingos Lopes 21a7ef168f move last gpodder sync report up to under sync action 2016-07-03 15:00:49 -04:00
Domingos Lopes 988e53d47d gpodnetauth activity: hide keyboard on login press, restrict login to single line, add IME actions 2016-07-02 13:21:06 -04:00
Domingos Lopes 247fa77f9d comment on onMeasure implementations 2016-07-02 11:22:09 -04:00
Martin Fietz 88516d29ca Merge pull request #2050 from mfietz/issue/2049-missing-onerror
OnlineFeedViewActivity: Add onError and refactor
2016-07-02 12:32:57 +02: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
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
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 31861ca285 Fixed rule 'Lamdbas containing only one statement should not nest this statement in a block' 2016-06-29 19:56:39 +04:00
Domingos Lopes b47da4205c change to rx.Java, avoid NPE, rename package 2016-06-29 11:45:36 -04:00
Martin Fietz b1bfbb9bc8 Add onError and refactor 2016-06-29 10:10:46 +02:00
domingos86 0ae055f226 remove commented code
and add line break at the end
2016-06-29 02:39:57 -04: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 9b13e19b66 Prevent NPEs 2016-06-24 12:15:00 +02:00
Martin Fietz 9d61660fda Prepare 1.6.1.2 2016-06-24 10:53:11 +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 63bb80560b Merge pull request #2031 from mfietz/issue/2011-downloaded-played
Completed Downloads: Add transparency to played episodes
2016-06-24 10:01:19 +02:00
Martin Fietz ec7795953f Completed Downloads: Add transparency to played episodes 2016-06-21 12:41:56 +02:00
Martin Fietz a7a9a11f7b Retain context menues and dialogs on rotation 2016-06-20 17:44:11 +02:00
Martin Fietz 3a5fba68e1 Drawer: Only keep a weak reference to parent activity 2016-06-20 17:19:40 +02:00
Martin Fietz 2b9d8f2daf Reset holder counter for re-use 2016-06-20 17:19:06 +02: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 42eab1795a Unsubscribe when fragment is destroyed 2016-06-19 18:21:30 +02:00
Martin Fietz c9d0d497dd Fix add tile 2016-06-19 18:21:07 +02:00
Martin Fietz 8aebbcaca5 1.6.1.0 2016-06-19 12:36:33 +02:00
Martin Fietz 78ae4f620b Merge pull request #1994 from mfietz/issue/1859-add-tile
Subscriptions: Move add tile to end
2016-06-19 01:57:12 +02:00
Martin Fietz 5d9058ea1e Make remove/delete less ambiguous 2016-06-11 18:53:30 +02:00
Martin Fietz d5ad3b3cdc Merge pull request #1998 from mfietz/issue/1997-feedinfo-ise
FeedInfoActivity: Prevent IllegalStateException
2016-06-11 11:20:14 +02:00
Martin Fietz 027c1d5beb Replace AsyncTask with RxObservable, prevent IllegalStateException 2016-06-11 11:04:03 +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
domingos86 186791b22b indentation on MainActivity onCreateOptionsMenu 2016-06-08 13:25:40 -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 bcdcfe0d58 adapt ui to different flavors 2016-06-07 22:55:54 -04:00
Martin Fietz de09c275a9 New episodes: Show correct snackbar "marked as seen" 2016-06-06 20:11:46 +02:00
Martin Fietz a16f2d2124 New episodes: Mark all as seen instead of played 2016-06-06 20:11:42 +02:00
Martin Fietz a2d3e83440 Merge pull request #2000 from mfietz/issue/1999-opml-import-npe
OpmlImportFromPathActivity: Prevent onActivityResult NPE
2016-06-06 19:26:22 +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 39cbfa2c61 Prevent NPE 2016-06-06 18:48:17 +02:00
Martin Fietz ed077f6bae Merge pull request #1995 from mfietz/issue/1921-hang-bugs
Prevent possible hang-bugs
2016-06-06 16:59:44 +02:00
Martin Fietz c921eba523 Merge pull request #1984 from mfietz/issue/1969-queue-remove-playing
Queue: Allow removal of playing/paused episode via context menu
2016-06-06 16:30:19 +02:00
Martin Fietz f469350497 Prevent possible hang-bugs 2016-06-06 16:29:51 +02:00
Martin Fietz 4ebf9edabc Improve performance 2016-06-05 12:01:59 +02:00
Martin Fietz 9811261922 Subscriptions: Move add tile to end 2016-06-05 12:01:49 +02:00
Martin Fietz b9b3209878 Subscriptions: Show indicator only when count > 0 2016-06-05 11:31:42 +02:00
Martin Fietz 10a0321976 Fix app name (due to flavors) 2016-06-04 13:45:45 +02:00
Martin Fietz 58506c051c Queue: Allow removal of playing/paused episode via context menu 2016-06-04 11:47:13 +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 6c24614e66 1.6.0.9
Need a new version for Play Store.
1.6.0.8 build was missing a fix that I commit directly.
2016-06-03 14:09:34 +02:00
Martin Fietz 92f9a067ea Merge pull request #1978 from mfietz/prepare_1.6.0.8
1.6.0.8
2016-06-03 14:07:28 +02:00
Martin Fietz c39f6e2a6b Fix e1d8defa1f 2016-06-03 13:17:01 +02:00
Martin Fietz 6062ff54b3 1.6.0.8 2016-06-03 13:03:50 +02:00
Martin Fietz b67d91374a Merge pull request #1975 from mfietz/issue/1971-storageerror-npe
StorageErrorActivity: Prevent NPE
2016-06-03 13:00:15 +02:00
Martin Fietz 67a1201d28 Merge pull request #1976 from mfietz/issue/1972-videoplayer-npe
VideoplayerActivity: Prevent NPE
2016-06-03 13:00:03 +02:00
Martin Fietz eca8fc90b8 Prevent onServiceConnected ClassCastException 2016-06-03 12:59:11 +02:00
Martin Fietz c97fb13361 Prevent NPE 2016-06-03 11:47:04 +02:00
Martin Fietz cc06722f7e Prevent NPE 2016-06-03 11:39:43 +02:00
Tom Hennen 45448404a1 Merge pull request #1948 from Foso/patch-2
Fix for restoring scroll position in detail view #1947
2016-05-25 09:22:19 -04: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
Tom Hennen a0e6f3c9f0 Merge pull request #1936 from TomHennen/play-publisher
Play publisher
2016-05-19 08:38:40 -04:00
Tom Hennen 3db830558f Merge pull request #1951 from AntennaPod/1.6.0_devel
1.6.0.7
2016-05-19 08:34:37 -04:00
Jens Klingenberg f43db45022 Fix for restoring scroll position in detail view #1947
The scroll position on detail view is now being restored when you are switching back to it. 

On orientation change it doesn't restore on the exact position at the moment. 
But i think that could work with a scroll position relative to the webview height.
2016-05-19 00:02:30 +02:00
Andrew Gaul cf942d1350 Enable Xlint and correct warnings 2016-05-17 15:38:44 -07:00
Tom Hennen 4f5acbf6d6 1.6.0.7 2016-05-13 12:54:47 -04:00
Tom Hennen 52da330e4b add other files for other translations (these may not be included in the play store) 2016-05-10 14:30:15 -04:00
Tom Hennen c9379c652e add creds and download of default play store setup 2016-05-10 14:23:01 -04:00
Tom Hennen 8c320e3ae1 added plugin to gradle build files 2016-05-10 14:17:56 -04:00
Tom Hennen ed16169381 Merge pull request #1898 from mfietz/embedded-images
Re-enable embedded images
2016-05-10 12:03:34 -04:00
Tom Hennen 0171b5eb59 1.6.0.6 2016-05-08 16:33:31 -04:00
Tom Hennen 36fd69651b 1.6.0rc5 2016-05-03 15:39:25 -04:00
Martin Fietz 92d63a6570 Use strings to point to images, not uris 2016-05-02 17:01:09 +02:00
Tom Hennen 935192d1dc Merge pull request #1903 from domingos86/playback-pausing-fix
avoid stopping playback after skipping (and changing media type)
2016-05-02 10:33:57 -04:00
Domingos Lopes 96c3594806 change name reloadUI -> onMediaChanged 2016-05-01 10:21:57 -04:00
Tom Hennen c4b0df6f09 Merge pull request #1902 from domingos86/fix-log-NPE
fix NPE on log
2016-05-01 08:12:16 -04:00
Tom Hennen 465f5eab6d 1.6.0.4 and fix crash caused by ProGuard 2016-05-01 08:00:59 -04:00
Domingos Lopes 0f32e2953c avoid stopping playback after skipping (and changing media type) 2016-05-01 02:17:47 -04:00
Domingos Lopes 7f2cb44de6 fix NPE on log 2016-04-30 20:53:17 -04:00
Tom Hennen 126c6fed51 1.6.0.3 2016-04-30 18:05:40 -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
Domingos Lopes 358ad6484a save current fragment before starting a different activity 2016-04-28 11:09:34 -04:00
Domingos Lopes f8266d0181 give error feedback to the user 2016-04-28 01:52:47 -04:00
Domingos Lopes 13b5a62fa5 change seekbar while buffering (certainly not ideal, but good enough for now) 2016-04-27 23:56:07 -04:00
Domingos Lopes b1f62b56cd add a general callback method for reporting media updates 2016-04-26 01:18:55 -04:00
Domingos Lopes 86cc2233d3 improve cast session changes after activity resumes 2016-04-26 01:18:55 -04:00
domingos86 74149d7fa7 fix PlaybackServiceMediaPlayer test
callback interface changed, so we need to update the anonymous classes
2016-04-25 11:41:28 -04:00
Tom Hennen c3808e2c24 Merge pull request #1889 from mfietz/issue/1886-indicate-played
All Episodes/Favorites: Indicate played episodes
2016-04-25 08:47:52 -04:00
Tom Hennen 25e4e40728 Merge pull request #1892 from mfietz/issue/1883-samsung-crash
Prevent potential crash on Samsung devices
2016-04-25 08:30:52 -04:00
Tom Hennen e73d8b32bc Merge pull request #1891 from mfietz/issue/1888-asynctask-execute
Resolve potential AsyncTask performance issue
2016-04-25 08:17:59 -04:00
Tom Hennen 72b8143b78 Merge pull request #1894 from mfietz/issue/1893-statvfs-permission-denied
Prevent permission denied when determining free space
2016-04-25 07:56:18 -04:00
Domingos Lopes fe7e5c5b45 add cast disconnect buttons 2016-04-24 22:06:28 -04:00
Domingos Lopes 9b7edd5bfa Override hiding the cast button whenever it's connected 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 7caa840331 move playback speed button methods inside AudioplayerActivity 2016-04-24 22:06:27 -04:00
Domingos Lopes 7164e328ef refactoring 2016-04-24 22:06:27 -04:00
Domingos Lopes 3a5b43a67d make the UI counter, cast preference state, resumed state synchronized 2016-04-24 22:06:27 -04:00
Domingos Lopes 5005cfdb3a hide playback speed button when casting (upon button update) 2016-04-24 22:06:27 -04:00
Domingos Lopes 280efd56d7 have the position seekbar show that it's buffering/loading/seeking 2016-04-24 22:06:26 -04:00
Domingos Lopes bd6e494c51 change order elements are defined in relative layout due to position references 2016-04-24 22:06:26 -04:00
Domingos Lopes 900dbf7beb allow audioplayer and videoplayer to pass the view intent to the service if the app happens to be casting at the moment 2016-04-24 22:06:26 -04:00
Domingos Lopes efacb68657 add Castplayer activity to the manifest 2016-04-24 22:06:26 -04:00
Domingos Lopes 1130e8ee87 hide the playbackspeed button on the castplayer activity 2016-04-24 22:06:26 -04:00
Domingos Lopes 450329a5e3 have external player fragment show play button if casting 2016-04-24 22:06:26 -04:00
Domingos Lopes a77c77724b switching between media player activities 2016-04-24 22:06:26 -04:00
Domingos Lopes 9d4969b0a7 have hardware buttons change media volume ONLY when not 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 dedd454685 change name of audioplayer_activity layout 2016-04-24 22:06:26 -04:00
Domingos Lopes 281db69d78 separate audioplayeractivity into audio and cast activities 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 8a18adf50c disconnect cast session if user disables it in preferences and PlaybackService isn't running 2016-04-23 21:39:58 -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 1088fae745 remove data channel from CastManager
add cast failure strings
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 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
Domingos Lopes afbae2a7ef Create interface for PlaybackServiceMediaPlayer 2016-04-23 21:39:52 -04:00
Domingos Lopes 8061d94c1b add chromecast support initialization logic and introduce chromecast preference 2016-04-23 21:39:52 -04:00
Domingos Lopes 1b6459c8ee Include chromecast dependencies 2016-04-23 21:39:51 -04:00