Commit Graph

1083 Commits

Author SHA1 Message Date
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
Martin Fietz 7d314e22da Prevent NPE 2016-04-22 15:29:46 +02:00
Martin Fietz 960b58b748 Prevent permission denied 2016-04-22 15:23:35 +02:00
Martin Fietz eec2244883 Prevent potential crash on Samsung devices 2016-04-22 14:33:20 +02:00
Martin Fietz 8e1a347498 Display error more nicely 2016-04-22 14:29:45 +02:00
Martin Fietz 08760618d1 Address potential performance issue 2016-04-22 14:29:32 +02:00
Martin Fietz 7827b6646f All Episodes/Favorites: Indicate played episodes 2016-04-22 12:41:56 +02:00
Tom Hennen ea2b3297a9 1.6.0.2 2016-04-20 17:37:48 -04:00
Martin Fietz 6ea9242fff Reload description on swipe
Always calls onFragmentLoaded() because updateAppearance() does not reload the description.

Resolves #1876
2016-04-20 07:56:44 +02:00
Tom Hennen a15133e45e Merge pull request #1875 from mfietz/issue/1831-apply-actions-tags
Fix item tags
2016-04-19 16:27:54 -04:00
Martin Fietz c81a9b102f Refactor QueueEvent 2016-04-17 10:24:27 +02:00
Martin Fietz 5328bd2b06 Post event after queue has been persisted 2016-04-14 19:25:11 +02:00
Martin Fietz 5e5c570c83 Send FeedItemEvent when a tag has been added or removed 2016-04-14 19:00:22 +02:00
Martin Fietz bf52c4945c Don't use LongLists, use tags directly 2016-04-14 18:40:01 +02:00
Martin Fietz 64c62c6567 Enable full hyphenation on Android 6 2016-04-14 11:39:09 +02:00
Tom Hennen 8683277627 Merge pull request #1871 from mfietz/issue/1870-403-forbidden
Delay auto download when receiving 403 Forbidden HTTP error
2016-04-13 17:52:04 -04:00
Martin Fietz 93eba24d08 Refactor 2016-04-12 11:39:46 +02:00
Domingos Lopes 9c4f162357 add empty impl of updateMediaSessionMetadata() to the tests 2016-04-09 17:35:58 -04:00
Domingos Lopes 280321a321 unify media button receivers 2016-04-08 20:35:11 -04:00
Martin Fietz 09d22b8ede Add subscription counter 2016-04-06 11:11:51 +02:00
Tom Hennen ab88df91ba Merge pull request #1843 from saqura/develop
Optionally show rewind/forward buttons on the lockscreen
2016-04-04 19:20:14 -04:00
saqura e3408565dc Update compact notification buttons dialog
The preference dialog to select which buttons are shown in compact
notifications now provides feedback via a snackbar. The internal
preference storage handling has been cleaned up. A testcase for
the dialog has been added.
2016-04-03 20:22:03 +02:00
saqura 4d47ba6405 Add dialog to choose lock screen playback buttons
This adds a dialog to choose the playback buttons on the lock screen
notification. It only allows selecting a maximum of two values, because
the lock screen notification can only display up to 3 buttons and the
play/pause button is always included. It defaults to additionally show
the skip button.

The minimum sdk has been changed back to 10.
2016-04-03 00:37:49 +02:00
saqura 65bb7d9911 Add option to pick lock screen playback buttons
This adds the option to pick which playback buttons to prioritise on the
notification. This allows choosing the playback buttons on the lock
screen. The default playback buttons have not changed and are still set
to play/pause (this is always displayed) and skip.

Note: This commit raises the minimum sdk version from 10 to 11!
2016-04-02 21:37:05 +02:00
Tom Hennen 36bb2f9bd7 fixes AntennaPod/AntennaPod#1848 2016-04-02 15:36:40 -04:00
Tom Hennen 77ad34ce56 prevent NPE by removing log statement 2016-04-02 15:11:30 -04:00
Tom Hennen 90ae1d1b71 Merge pull request #1828 from mfietz/feature/662-episode-swipe
Episode view: Go to previous/next list item when swiping right/left
2016-04-02 14:54:16 -04:00
Tom Hennen 5f798852b7 Merge pull request #1845 from TomHennen/update_trianglelabelview
Fix problem with TriangleLabelView by updating to latest version.
2016-04-02 14:38:56 -04:00
Tom Hennen 133ef4c4a8 treat showing the subscriptions list like other drawer items. 2016-04-02 10:11:36 -04:00
Tom Hennen 901eb3f12b Fix problem with TriangleLabelView by updating to latest version. 2016-04-02 09:43:27 -04:00
Tom Hennen 3a1291865e Merge pull request #1837 from mfietz/issue/1502-opml-import
OPML Import: Fix URI containing absolute path
2016-04-01 19:35:40 -04:00
Tom Hennen d340fdd6e9 * SubscriptionsAdapter now using its own ItemAccess instead of MainActivity
* SubscriptionFragment now properly reloading data when it should
2016-03-31 15:14:06 -04:00
Tom Hennen 10317913d2 use font awesome. (care of @mfietz) 2016-03-30 18:55:49 -04:00
Tom Hennen bcd42dd9d8 some tweeks to visibility to prevent some rendering bugs 2016-03-29 20:04:50 -04:00
Tom Hennen 27544266a4 changed triangle color to antennapod blue 2016-03-29 20:04:50 -04:00
Tom Hennen 1d6a03ca29 use CoverTarget for Subscriptions, some cleanup of how it looks 2016-03-29 20:04:50 -04:00
Tom Hennen b6ac166c4f Merge pull request #1827 from mfietz/issue/1239-open-podcast
Episode view: Open podcast
2016-03-29 17:58:39 -04:00
Martin Fietz 7f666c8cd5 OPML Import: Fix URI containing absolute path 2016-03-29 19:41:54 +02:00
Martin Fietz 2d95d3f1f7 Open podcast fragment as child 2016-03-28 15:17:31 +02:00
Martin Fietz 82f73a0af8 Episode view: Open podcast menu or click on cover or podcast title 2016-03-28 15:17:31 +02:00
Tom Hennen 2c0acf25b7 1.6.0.0 2016-03-27 18:00:44 -04:00
Tom Hennen 365c1082b3 Merge pull request #1826 from TomHennen/subscriptions_view
Subscriptions view
2016-03-27 17:38:50 -04:00
Tom Hennen ea02b3df7f added subscriptions test 2016-03-27 15:03:54 -04:00
Tom Hennen 0864825b82 moved subscriptions up in the nav drawer 2016-03-27 14:27:52 -04:00
Tom Hennen 92362d216a core gets highest priority (which means it needs to come first) 2016-03-27 13:45:42 -04:00
Tom Hennen 8e22b32cb7 added 'add podcast' and back now works properly 2016-03-27 12:51:24 -04:00
Martin Fietz b3c41ce9c7 Episode view: Go to previous/next list item when swiping right/left 2016-03-27 18:26:47 +02:00
Tom Hennen 193f58376d add label that shows count 2016-03-26 14:03:38 -04:00
Tom Hennen df587ec5af context menu for subscriptions 2016-03-26 12:10:06 -04:00
Tom Hennen 73eb9d6193 fix layout, keep textview visible 2016-03-26 11:16:20 -04:00
Tom Hennen d6bda2e144 removed unneeded views 2016-03-25 13:57:34 -04:00
Martin Fietz 4ef34ef28b Don't get notified about mark as played 2016-03-25 18:07:32 +01:00
Tom Hennen f5111ce6e3 additional cleanup, removed submodule, renamed things 2016-03-25 13:04:59 -04:00
Martin Fietz 016f52fa20 Merge pull request #1824 from TomHennen/fix1811
better device id generation
2016-03-25 17:11:51 +01:00
Tom Hennen 4cd58a9b37 updated and fixed PR AntennaPod/AntennPod#1624 2016-03-25 10:50:41 -04:00
Tom Hennen 1d8d04fecb check if caption is empty too 2016-03-25 09:44:49 -04:00
Tom Hennen e413d85c21 better device id generation 2016-03-25 09:38:28 -04:00
Tom Hennen 163af2a632 Merge pull request #1823 from TomHennen/settings_cleanup
Settings cleanup
2016-03-25 09:14:01 -04:00
Tom Hennen 7f40698050 add faq 2016-03-25 08:41:05 -04:00
Tom Hennen 5afff3e9d1 more categories in preferences 2016-03-25 08:35:11 -04:00
Tom Hennen a2c1d6f9f7 Merge pull request #1820 from mfietz/issue/1793-player-switch
Switch audio player implementation immediately
2016-03-25 08:31:24 -04:00
Martin Fietz 383a833c30 Refactor 2016-03-25 13:20:07 +01:00
Martin Fietz 7f1143edde Fix or improve tests 2016-03-25 13:14:33 +01:00
Martin Fietz bae78fe7af Refactor 2016-03-25 13:14:33 +01:00
Martin Fietz 025ace3722 Fix test 2016-03-25 13:14:33 +01:00
Martin Fietz 96634c42b3 React to enabling sonic mediaplayer 2016-03-25 13:14:33 +01:00
Martin Fietz 0564988357 Refactor 2016-03-25 13:14:33 +01:00
Martin Fietz f43d5636ac Fix highlighting 2016-03-24 21:05:48 +01:00
Tom Hennen d249d0f228 Merge pull request #1816 from mfietz/issue/1529-delayed-part2
Reset episode to new if episode file is added later
2016-03-24 15:52:29 -04:00
Tom Hennen 9d1a0ed282 Merge pull request #1818 from mfietz/issue/1817-confirm-button-pressed
Handling removing feed that is playing or paused
2016-03-24 12:33:39 -04:00
Tom Hennen 07c2818cc5 Merge pull request #1798 from ByteHamster/statistics_page
Added statistics function
2016-03-24 10:16:54 -04:00
Martin Fietz d9726d2543 Check if we are deleting an episode that is currently playing or paused 2016-03-24 13:55:08 +01:00
Martin Fietz 4cc31d4be9 Reset episode to new if episode file is added later 2016-03-24 11:52:51 +01:00
ByteHamster aa56d6822a Added statistics function
Fixes #1743
2016-03-24 00:54:24 +01:00
Martin Fietz 33567fe7d7 Tests: Close adapter 2016-03-22 23:34:31 +01:00
Martin Fietz 391d059252 Tests: Initialize DB adapter 2016-03-22 23:34:31 +01:00
Tom Hennen 05ef0a91a5 Merge pull request #1789 from mfietz/issue/358-gpodder-information
Show gpodder information
2016-03-22 17:32:30 -04:00
Martin Fietz c2a1644d07 Merge pull request #1805 from domingos86/typos
code cleanup (perhaps to an extreme level)
2016-03-22 20:16:42 +01:00
Domingos Lopes fcb35a403f remove reference to MainActivity instance 2016-03-22 13:24:09 -04:00
Domingos Lopes 09bad517fc further fixes based on mfietz input 2016-03-22 12:11:23 -04:00
Martin Fietz de8af4c638 Merge pull request #1809 from domingos86/show-toasts
show potential Toasts
2016-03-22 08:33:33 +01:00
Martin Fietz 030211183c Merge pull request #1808 from domingos86/typedarray-recycle
recycle typedArrays
2016-03-22 08:32:19 +01:00
Domingos Lopes 2accff20fe show potential Toasts 2016-03-22 02:54:52 -04:00
Domingos Lopes 5f58238b4f recycle typedArrays 2016-03-22 02:50:40 -04:00
Domingos Lopes 4302d78f1f fix double if 2016-03-22 02:42:26 -04:00
Domingos Lopes a252191d79 code cleaning:
- lambda expressions, method references,
- multi catches,
- remove unnecessary keywords (public keyword on interface method signatures, static on interfaces or enums, final on private method signatures),
- == false expressions,
- diamond type (<>) expressions,
- replace StringBuffer with StringBuilder for local variables used by a single thread,
- replace Arrays.asList with Collections.singletonList whenever applicable,
- inline variable returns (whenever the variable name's meaning is not important to understand the code),
- replace some chains of if/else if/... with switch/case,
- break append(a + b) into append(a).append(b) for StringBuilder objects,
- unused import statements,
- reduce log TAGs to 23 characters,
- MaterialDialog callback deprecated,
- ActionBarActivity for AppCompatActivity,
2016-03-22 02:07:26 -04:00
Domingos Lopes 5febe9248a Merge branch 'develop' into typos 2016-03-21 22:10:19 -04:00
Tom Hennen 4d3fb36e16 Merge pull request #1669 from mfietz/issue/1654-default-cache-size
Set default episode cache size to 25
2016-03-21 09:54:53 -04:00
Tom Hennen dd33c7c40e Merge pull request #1774 from mfietz/pref_known_issues
Link to known issues/bugs in Settings
2016-03-21 09:53:40 -04:00
Domingos Lopes 5d36790182 Merge branch 'develop' into typos 2016-03-18 23:51:39 -04:00
Martin Fietz 1378b09e74 Set default episode cache size to 25 2016-03-18 23:56:50 +01:00
Martin Fietz 466e6003b5 Link to known issues/bugs in Settings 2016-03-18 23:22:23 +01:00
Martin Fietz d0126b54f1 Print log 2016-03-18 23:18:28 +01:00
Tom Hennen 2c4aaea708 Merge pull request #1792 from mfietz/issue/965-video-orientation
Enable counter-clockwise orientation in video player
2016-03-18 17:54:34 -04:00
Tom Hennen 828f252af6 Merge pull request #1751 from mfietz/issue/1727-podcast-title
Episode view: Show podcast title
2016-03-18 17:19:33 -04:00
Tom Hennen 12ff1d6254 Merge pull request #1731 from mfietz/issue/775-open-feed-after-subscribing
Add ability to open feed after subscribing
2016-03-18 16:14:59 -04:00
Martin Fietz 0271cc5737 Enable counter-clockwise orientation in video player 2016-03-18 19:09:30 +01:00
Martin Fietz a4733e2643 Show gpodder information 2016-03-17 21:23:08 +01:00
Martin Fietz 8402e1d3e7 Remove unnecessary listener 2016-03-16 21:06:25 +01:00
Martin Fietz 0d114d172b Merge pull request #1696 from mfietz/issue/1695-npe-context-null
Ensure initialization
2016-03-16 20:56:51 +01:00
Martin Fietz dd61b065b4 Merge pull request #1763 from mfietz/issue/1762-audioplayer-leak
Audioplayer: Prevent leak
2016-03-16 20:55:19 +01:00
Martin Fietz b152fcabbe Merge pull request #1755 from mfietz/shrink_images
Remove unused resources and shrink images
2016-03-16 20:54:14 +01:00
Martin Fietz 49d4e2de15 Merge pull request #1703 from domingos86/volume-converter-fix
fix the volume conversion upon user interaction
2016-03-16 20:52:50 +01:00
Martin Fietz 8dd6ddb702 Merge pull request #1708 from mfietz/issue/359-gpodder-sync-button
Gpodder: Enable manual syncing
2016-03-16 20:49:15 +01:00