Commit Graph

882 Commits

Author SHA1 Message Date
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 543651bde6 Account for episodes that have same pubDate but don't appear in the feed at the same time 2016-04-22 13:04:01 +02:00
Tom Hennen 6df9c0d066 Merge pull request #1878 from mfietz/issue/1872-gpodder-sync
Fix initial gpodder sync
2016-04-20 07:14:39 -04:00
Martin Fietz 6498eed95c Only sync episode state after feeds have been persisted 2016-04-17 11:58:38 +02:00
Martin Fietz b036c461da The item's identifier might not hold the download url, use definitive url 2016-04-17 11:58:14 +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
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 1f2c5b5efb Don't crash (not for this) 2016-04-12 12:26:56 +02:00
Martin Fietz 989f2e1c58 Handle 403 Forbidden 2016-04-12 11:40:06 +02:00
Martin Fietz 93eba24d08 Refactor 2016-04-12 11:39:46 +02:00
Domingos Lopes 65e77d7902 make handleKeyCode() private again 2016-04-09 23:06:55 -04:00
Domingos Lopes b96a3c3787 make context and media button receiver packages match exactly 2016-04-09 22:53:13 -04:00
Domingos Lopes 4ea7448f18 properly update ComponentName package 2016-04-09 12:19:56 -04:00
domingos86 378c47f8eb release media session before shutting down media player
avoids potential unwanted callbacks
2016-04-08 21:16:45 -04:00
Domingos Lopes 280321a321 unify media button receivers 2016-04-08 20:35:11 -04:00
Domingos Lopes 4b4743fbb9 unregister PlaybackService on the media button intent receiver 2016-04-08 20:02:07 -04:00
Domingos Lopes 5105cdd7c3 move the media session handling from the PlaybackServiceMediaPlayer and into the PlaybackService 2016-04-08 19:22:58 -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 e215e162ad Update lock screen button preference summary 2016-04-03 01:02: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
Martin Fietz ff12127b02 Merge pull request #1832 from keunes/patch-4
Update strings.xml
2016-04-02 19:47:07 +02:00
Tom Hennen 133ef4c4a8 treat showing the subscriptions list like other drawer items. 2016-04-02 10:11:36 -04:00
Tom Hennen c50f663222 Merge pull request #1841 from mfietz/accurate_statistics
Statistics: More accurate played duration
2016-04-01 19:36:16 -04:00
saqura 13d0a3570b Optionally show rewind/ff buttons on lockscreen
Show additional playback buttons (rewind and fast forward) in the
notification on the lockscreen if the option "Expand Notification" is
enabled.

Fixes #337
Fixes #571
2016-04-01 18:11:45 +02:00
saqura 8436b8572c Fix documentation of setLockscreenBackground() 2016-04-01 18:02:56 +02:00
Martin Fietz e869bd9dc3 Make played time more accurate 2016-03-31 10:39:36 +02:00
Tom Hennen 10317913d2 use font awesome. (care of @mfietz) 2016-03-30 18:55:49 -04:00
Tom Hennen 27544266a4 changed triangle color to antennapod blue 2016-03-29 20:04:50 -04:00
Koen Glotzbach 5c114447e2 Update strings.xml
- proxy_host_invalid_error: add verb & article to improve clarity
- proxy_host_empty_error: replace 'must not' by 'can not'
- removed set of strings that aren't used (anymore)
- for feed setting "Auto remove episode": Improve clarity of setting name (feed_auto_download_global -> "Global default") and delete explanatory info ("override global default" in auto_delete_label). Removes unnecessary screen clutter, removes double & in most cases false info (if setting is 'global' it doesn't "override default")
- share_item_url_label & share_item_url_with_position_label: add 'file' to clarify what URL is shared (media file, not episode webpage)
- prevent position_default_label ('00:00:00') and 'app_name' (the same in all languages so far) from being translated
2016-03-28 16:02:02 +02:00
Tom Hennen 365c1082b3 Merge pull request #1826 from TomHennen/subscriptions_view
Subscriptions view
2016-03-27 17:38:50 -04:00
Tom Hennen 0864825b82 moved subscriptions up in the nav drawer 2016-03-27 14:27:52 -04:00
Tom Hennen 03cd9d41d1 forgot to add icon files 2016-03-27 13:26:59 -04:00
Tom Hennen 1b030be7a0 normalized case in 'show subscriptions' title 2016-03-26 14:14:22 -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 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
Tom Hennen ebaa19a4dd Merge pull request #1822 from mfietz/update_translations
Update config and translations
2016-03-25 08:24:40 -04:00
Martin Fietz 383a833c30 Refactor 2016-03-25 13:20:07 +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 04026ca48c Typos 2016-03-25 00:48:20 +01:00
Martin Fietz ff32ebb9db Typo 2016-03-25 00:46:13 +01:00
Martin Fietz 47474737f5 Update config and translations 2016-03-25 00:36:23 +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 1833d7b319 Merge pull request #1814 from mfietz/issue/1812-bind-service
PlaybackController.bindService() with Observable
2016-03-24 12:00:37 -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 61e3d3b2a6 Close cursor 2016-03-24 13:53:07 +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 6de985c993 Replace AsyncTask with Observable 2016-03-23 20:39:46 +01:00
Martin Fietz 7f11cd351a Refactor 2016-03-23 20:39:41 +01:00
Martin Fietz 62e2095a5a Close DB 2016-03-22 23:34:31 +01:00
Martin Fietz a7368eadd9 Enable WAL and use non-exclusive transactions 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
Tom Hennen 3510734504 Merge pull request #1806 from domingos86/flattr-creator-fix
FlattrServiceCreator
2016-03-22 17:28:54 -04:00
Tom Hennen 7aa414d437 Merge pull request #1802 from mfietz/issue/1780-position
When retrieving position of current episode, regard position 0 as valid
2016-03-22 17:28:00 -04:00
Tom Hennen 35a3734da8 Merge pull request #1801 from mfietz/issue/1800-parse-duration
Parse iTunes duration seconds as float
2016-03-22 17:26:56 -04:00
Domingos Lopes 09bad517fc further fixes based on mfietz input 2016-03-22 12:11:23 -04:00
Domingos Lopes a7d00f952c make FlattrService creation and deletion synchronized 2016-03-22 11:36:24 -04:00
Domingos Lopes 748d2bc863 fix FlattrServiceCreator 2016-03-22 02:12:59 -04:00
Domingos Lopes 7992726cb8 small typo 2016-03-22 02:09:53 -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
Martin Fietz 3adb63fbc7 When retrieving position of current episode, regard position 0 [unplayed] as valid 2016-03-21 19:14:01 +01:00
Tom Hennen a994cd4c08 Merge pull request #1799 from mfietz/issue/1796-update-feed
Fix feed refresh issue
2016-03-21 11:14:22 -04:00
Martin Fietz 7b3b7cc2ba Refactor 2016-03-21 16:10:52 +01:00
Martin Fietz d2ddfa3973 Close cursor 2016-03-21 16:08:21 +01:00
Martin Fietz c1b169cdb5 Parse seconds as float 2016-03-21 15:57:20 +01:00
Martin Fietz abaa7a28b2 Refactor 2016-03-21 15:51:17 +01:00
Martin Fietz 0c85447136 Prevent NullPointerException 2016-03-21 15:51:03 +01: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
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
Martin Fietz 5e7b328d83 Make feed parsing as save as possible 2016-03-18 23:18:28 +01:00
Tom Hennen fb23dc4b61 Merge pull request #1788 from mfietz/issue/1489-cursor-allocation
Only have one cursor open at the same time
2016-03-18 17:48:26 -04:00
Tom Hennen 9412ab5557 Merge pull request #1787 from mfietz/issue/1718-less-preselected-speeds
Pre-select playback speeds 1.00, 1.25, 1.50, 1.75 and 2.00
2016-03-18 17:35:23 -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
Tom Hennen e536dd9a7d Merge pull request #1697 from mfietz/issue/1466-playback-controls
Try to handle all external media controls
2016-03-18 16:00:30 -04:00
Martin Fietz a4733e2643 Show gpodder information 2016-03-17 21:23:08 +01:00
Martin Fietz 4ba81f6c14 Only have one cursor open at the same time 2016-03-17 18:35:41 +01:00
Martin Fietz 4954db7738 Pre-select playback speeds 1.00, 1.25, 1.50, 1.75 and 2.00 only 2016-03-17 18:25:19 +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 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 c9f232ca5e Merge pull request #1761 from mfietz/support-23.2.1
Upgrade Support libs, Glide, Iconify, OkHttp, Robotium
2016-03-16 20:53:33 +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
Martin Fietz e0d68a962b Merge pull request #1698 from mfietz/issue/1503-file-type-error
Downloader: Check content type for media
2016-03-16 20:40:38 +01:00