Commit Graph

1235 Commits

Author SHA1 Message Date
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 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
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
Martin Fietz 3449357c14 Merge pull request #1705 from mfietz/issue/1704-opml-import-npe
OPML Import: Show dialog when no file has been selected
2016-03-16 20:36:31 +01:00
Martin Fietz 30be1ad36e Merge pull request #1701 from mfietz/issue/1627-resume-download
Downloader: Disable gzip for media files
2016-03-16 20:32:03 +01:00
Martin Fietz 19e1e4afdb Add proxy settings 2016-03-16 20:30:33 +01:00
Martin Fietz bb45d82b08 Merge pull request #1689 from mfietz/issue/1687-delay-hide-controls
Video player: Delay controls hide on interaction
2016-03-16 20:25:15 +01:00
Martin Fietz 92efa25572 Merge pull request #1773 from andrewgaul/boxing
Avoid unneeded boxing
2016-03-16 20:22:03 +01:00
Martin Fietz c5450fc413 Merge pull request #1766 from andrewgaul/error-prone
Address error-prone warnings
2016-03-16 20:20:26 +01:00
Martin Fietz 92083597d1 Merge pull request #1700 from mfietz/issue/996-ducking
Duck and raise audio volume back
2016-03-16 20:12:53 +01:00
Martin Fietz 73069817f8 Show message if there are no shownotes 2016-03-16 20:09:03 +01:00
Martin Fietz 734b19e906 Refactor 2016-03-16 20:09:03 +01:00
Andrew Gaul e87f053d9b Avoid unneeded boxing
Found via FindBugs.
2016-03-14 20:20:25 -07:00
Andrew Gaul 6b449c18ee Address error-prone warnings 2016-03-13 22:34:50 -07:00
Martin Fietz 36213fa94e Upgrade Support libs, Glide, OkHttp, Robotium 2016-03-13 09:47:43 +01:00
Martin Fietz d342b14ac0 Shrink resources (ImageOptim) 2016-03-09 23:55:36 +01:00
Martin Fietz fbbe94acec Delete unused resources 2016-03-09 23:55:30 +01:00
Martin Fietz aaedff2937 Dark theme: Fix action bar icons
see http://stackoverflow.com/a/35654779/5369600
2016-03-07 11:56:44 +01:00
Martin Fietz d4d8d18c5c Add ability to open feed after subscribing 2016-03-04 12:40:33 +01:00
Martin Fietz b1798d8529 Give each thread its own parser 2016-03-04 10:06:01 +01:00
Martin Fietz 3c26c058f6 Gpodder: Enable manual syncing 2016-02-22 11:01:12 +01:00
Martin Fietz 4fca673d1f OPML Import: Show dialog when no file has been selected 2016-02-22 07:55:02 +01:00
Tom Hennen 32f124f810 Merge pull request #1690 from mfietz/issue/1685-public-notificationsa
Set notification visibility to public
2016-02-20 10:53:10 -05:00
Domingos Lopes c878bc4e87 inicialize the volume SeekBars on audio controls to the values on UserPreferences 2016-02-20 09:48:57 -05:00
Martin Fietz a8f27fa363 Downloader: Disable gzip for media files 2016-02-20 15:45:38 +01:00
Martin Fietz e980a7656c Duck and unduck done right 2016-02-20 15:27:29 +01:00
Domingos Lopes 13f5b09d56 fix the volume conversion upon user interaction
move the conversion formula to a new method in core.util.Converter
2016-02-20 09:02:50 -05:00
Martin Fietz e7cc82fdfb Make sure feed media is of the right content type 2016-02-20 09:16:47 +01:00
Martin Fietz 16dd26a7e4 Refactor 2016-02-19 13:35:10 +01:00
Martin Fietz acbda70e28 Make sure DB helpers and preferences are initialized 2016-02-19 13:34:55 +01:00
Martin Fietz db084ec118 Prevent NPE 2016-02-19 12:54:51 +01:00
Martin Fietz 0569c67b2c Set notification visibility to public 2016-02-19 08:32:37 +01:00
Martin Fietz 202f211230 Also update position when paused 2016-02-18 08:50:15 +01:00
Martin Fietz d818901b80 Give it some time to read current position 2016-02-18 08:50:10 +01:00
Martin Fietz 8f3f0c30c6 Delay control hiding when button pressed 2016-02-18 08:38:57 +01:00
Martin Fietz d6498ae50d After downloading, check downloaded episode for chapters 2016-02-15 16:01:21 +01:00
Martin Fietz bc0d80759c Load embedded chapters from local files 2016-02-15 15:43:50 +01:00
Tom Hennen c959f19267 updated translations 2016-02-13 12:54:42 -05:00
Tom Hennen 5cdd873fad Merge pull request #1667 from mfietz/issue/1658-sync-duplicates
Prevent gpodder sync duplicates
2016-02-13 11:52:44 -05:00
Martin Fietz 5e7ae6527c Try to handle all external media controls 2016-02-13 17:35:55 +01:00
Martin Fietz 438a9c2a4b Undo colon escaping 2016-02-12 09:08:06 +01:00
Martin Fietz b7ff0d1565 Prevent NPE 2016-02-09 18:10:35 +01:00
Martin Fietz 1e5f988479 Refactor 2016-02-09 18:10:20 +01:00
Tom Hennen 5e4f9405a0 updated translations 2016-02-06 11:28:36 -05:00
Tom Hennen 6e6a452a4d Merge pull request #1639 from mfietz/issue/975-no-external-storage
No external storage / Choose Data Folder redo
2016-02-06 11:19:13 -05:00
Martin Fietz b8f725c843 Add new folder icon to directory chooser menu 2016-02-03 19:36:01 +01:00
Martin Fietz eba11a9fe5 Show restricted choose data folder dialog only on Lollipop; ask for permission on Marshmallow 2016-02-03 19:36:01 +01:00
Martin Fietz 832eb96d56 Add sd card icon 2016-02-01 18:24:09 +01:00
Tom Hennen 000633f60c don't query DB from the UI thread\! 2016-01-31 19:25:26 -05:00
Tom Hennen 79b5328ecf don't show space warning if we can autodelete stuff. 2016-01-31 09:51:35 -05:00
Tom Hennen 6b8ce4af61 updated translations 2016-01-31 09:28:54 -05:00
Tom Hennen 9ca056253d Merge pull request #1619 from mfietz/issue/1222-completed-downloads-gears
Completed Downloads: Gears Dialog
2016-01-31 09:27:04 -05:00
Tom Hennen 75f80b2c01 Merge pull request #1633 from mfietz/improve_if_modified_since
Improve If-Modified-Since/ETag
2016-01-31 09:19:35 -05:00
Tom Hennen e750af5745 Merge pull request #1572 from mfietz/issue/1570-opml-import-permission
Import OPML: Ask for permission to access external storage on Marshmallow
2016-01-30 16:41:41 -05:00
Martin Fietz b1212f8adb Fix warning 2016-01-30 18:30:48 +01:00
Martin Fietz 23b56542e0 Migrate database 2016-01-30 18:30:48 +01:00
Martin Fietz 8b486e22d2 If lastModified is not a date, assume it is an ETAg 2016-01-30 18:30:48 +01:00
Martin Fietz 20ccfbb809 Use headers for lastUpdate/lastModified 2016-01-30 18:30:48 +01:00
Martin Fietz 8c3a9986f0 Feed view: Single feed refresh enforces actually refreshing 2016-01-30 18:30:48 +01:00
Martin Fietz 4bdf95bd45 Change feed lastModified/lastUpdate to String 2016-01-30 18:30:48 +01:00
Raghul Jagannathan 5cc6f12acb Merge: Updated subscriptionview and synced develop 2016-01-27 20:16:24 +08:00
Tom Hennen 42b252509a updated translations 2016-01-26 17:53:02 -05:00
Tom Hennen b53fe7874b Merge pull request #1615 from mfietz/issue/1606-player-skip-update
Fix player skip issues
2016-01-26 17:46:37 -05:00
Tom Hennen b2a8e06ff8 Merge pull request #1614 from TomHennen/exclude_auto_refresh
Added 'Keep Updated' option for Feeds
2016-01-26 17:32:11 -05:00
Martin Fietz 8944a61e3d New select criteria: queued, not queued 2016-01-26 18:49:25 +01:00
Martin Fietz 5e8c62ec75 Only reset episode to new if feed item did not link to a file before 2016-01-26 16:16:41 +01:00
Martin Fietz b41aaff2dd On skip, don't start playing when paused 2016-01-26 11:48:55 +01:00
Tom Hennen 7dfe4d5ed3 Global Refresh -> Keep Updated 2016-01-25 17:21:13 -05:00
Tom Hennen 747aa2f0e0 updated comments 2016-01-25 16:40:46 -05:00
Tom Hennen c5d05d338a If the feed doesn't have 'Global Refresh' then don't include it in the New Episodes list.
resolves AntennaPod/AntennaPod#286
2016-01-25 16:28:55 -05:00
Tom Hennen f290048362 allow feeds to be excluded from global refreshing 2016-01-25 15:02:44 -05:00
Tom Hennen 8b0dac05c9 updated hint, allow multiple lines in the filter box 2016-01-25 13:07:25 -05:00
Tom Hennen 672c03e41a enable/disable controls based on auto-download setting 2016-01-25 12:27:42 -05:00
Tom Hennen 3912f33342 provide default filter value 2016-01-25 11:44:50 -05:00
Tom Hennen 0b4c41a333 ability to filter episodes to include or not when autodownloading 2016-01-25 11:26:46 -05:00
Tom Hennen 7f02570f88 Merge pull request #1595 from recalculated/positive-filter
Use positive/reverse filtering
2016-01-25 11:13:06 -05:00
recalculated 4329aef26d Add database migration for filter 2016-01-24 20:56:07 -06:00
Tom Hennen f5f3477ac0 Merge pull request #1605 from mfietz/issue/1603-change-speed-confusion
Eliminate confusion from UI elements that change playback speed
2016-01-24 18:44:22 -05:00
Martin Fietz 5a077774fc iTunes Search: SearchView in Action Bar, error/result message, retry, feed url 2016-01-24 20:12:17 +01:00
recalculated b02c70425e & -> && 2016-01-24 12:35:27 -06:00
Tom Hennen 8ff6917537 updated translations with tx pull -af 2016-01-24 10:22:28 -05:00
Tom Hennen 2bab4ea9f9 updated translations 2016-01-24 10:20:10 -05:00
Martin Fietz 6392f7abd4 Eliminate confusion from UI elements that change playback speed 2016-01-24 12:59:25 +01:00
recalculated 9ef3c99899 Use positive/reverse filtering 2016-01-23 20:25:08 -06:00
Tom Hennen 7e9e3bb946 Merge pull request #1524 from recalculated/icons
Material in-app icons
2016-01-23 14:58:42 -05:00
recalculated 439def2d1c Add material design icons
Includes RSS icon, sync notification icon, icons inside the apply
actions screen, and the drag handle icon in the queue.
2016-01-23 12:17:56 -06:00
Martin Fietz 937feddafa Refactor 2016-01-23 17:50:21 +01:00
Martin Fietz ee031843ef Add icons 2016-01-23 17:36:59 +01:00
Tom Hennen 5c3258d40b Merge pull request #1582 from mfietz/issue/1367-add-favorites
Feed view: Add "Add/Remove to/from Favorites" to context menu
2016-01-23 10:35:44 -05:00
Tom Hennen 932620e73c Merge pull request #1567 from mfietz/issue/1296-dl-retry-loop-no-space
Avoid download retry loop when storage is full
2016-01-23 10:04:28 -05:00
Tom Hennen c0884f72d8 Merge pull request #1586 from mfietz/issue/1529-delayed-availability
Reset episode to new if media becomes available
2016-01-23 09:51:49 -05:00
Martin Fietz 1a0b4ce6bf Merge pull request #1587 from recalculated/download-plural
Say '1 download left' instead of '1 downloads left'
2016-01-23 10:07:03 +01:00
recalculated 9fe5e91af2 Use plurals for x downloads left 2016-01-22 22:17:32 -06:00
Tom Hennen 327c4b7ce7 autodownload should be the default 2016-01-22 17:22:04 -05:00
Tom Hennen e93f161b76 Merge pull request #1579 from mfietz/issue/998-itunes-tags
Parse <itunes:summary> and <itunes:subtitle>
2016-01-22 17:12:40 -05:00
Tom Hennen bb78f0805a Merge pull request #1580 from mfietz/issue/1278-update-widget
Widget: Update playback position every second
2016-01-22 16:52:55 -05:00
Tom Hennen 3053e1c911 Merge pull request #1564 from keunes/patch-2
Update Episode Cleanup description
2016-01-22 16:22:14 -05:00
Tom Hennen 5d89099208 Merge pull request #1563 from mfietz/issue/193-atom-multiple-enclosures
Atom: If multiple enclosures, use first one
2016-01-22 16:21:58 -05:00
Martin Fietz bfac8f71a8 Enable Sonic by default 2016-01-21 22:44:48 +01:00
Tom Hennen 1e90f1822d Merge pull request #1561 from mfietz/redesign_audio_player
Audio player redesign (Part 2)
2016-01-21 16:27:04 -05:00
Martin Fietz 71d67864d2 Reset to new if media becomes available 2016-01-21 19:44:50 +01:00
Martin Fietz ab0782b456 Feed view: Add "Add/Remove to/from Favorites" to context menu 2016-01-21 13:57:21 +01:00
Martin Fietz 20bbc075fc Update playback position every second 2016-01-21 13:18:20 +01:00
Martin Fietz a578c59dcc Parse <itunes:summary> and <itunes:subtitle> 2016-01-21 12:27:41 +01:00
Martin Fietz 7b629b8579 Import OPML: Ask for permission to access external storage on Marshmallow 2016-01-19 16:15:17 +01:00
Tom Hennen 880fd1dcd6 Merge pull request #1554 from mfietz/pub_date_last_year
Pub date formatting
2016-01-18 20:19:26 -05:00
Martin Fietz 6ec174e0fb Exponential back-off if storage is full 2016-01-17 19:41:02 +01:00
Martin Fietz 9cc4a5a6ca Remove logging 2016-01-17 19:40:00 +01:00
Koen Glotzbach 76538cb912 Update strings.xml
Include in description what triggers Episode Cleanup (ie Auto Downloads)
2016-01-17 17:46:15 +01:00
Martin Fietz 2662f5828f If atom feed item has multiple enclosures, use first one 2016-01-17 14:19:08 +01:00
Martin Fietz 19fb75addf Refactor 2016-01-17 14:18:18 +01:00
Martin Fietz 0a0c285017 Prettier date formatting 2016-01-16 22:47:03 +01:00
Martin Fietz 99d7992dc8 Audio player redesign
Sleep timer and audio effects (e.g. balance) accessible from actionbar, fragment pager
2016-01-16 22:08:09 +01:00
Tom Hennen dfc421a5a6 Merge pull request #1543 from mfietz/issue/1528-indicator-full-cache
Indicate that episode cache is exhausted
2016-01-16 14:55:36 -05:00
Martin Fietz dc06b9c873 And now also set it... 2016-01-16 20:39:05 +01:00
Tom Hennen 8dbb344ce9 Merge pull request #1546 from recalculated/typography-ellipsis
Replace '...' with '&#8230;' (ellipsis character)
2016-01-16 14:21:57 -05:00
Tom Hennen 6f8b89d1b2 Merge pull request #1540 from mfietz/issue/1538-auto-download-404
Disable auto download when HTTP_NOT_FOUND (404)
2016-01-16 13:57:11 -05:00
Tom Hennen b9c16f3198 Merge pull request #1534 from mfietz/issue/1488-update-interval-feedback
Give feedback about current update setting
2016-01-16 13:27:30 -05:00
Martin Fietz 6e40aa33ab Merge pull request #1544 from mfietz/issue/1421-more-smark-options
More smark options
2016-01-16 14:11:33 +01:00
Martin Fietz 102363c97f Check that image url is not empty 2016-01-16 11:04:09 +01:00
Martin Fietz f6d5c780e5 Auto Download: Exponential backoff when file 404s 2016-01-15 12:37:27 +01:00
recalculated 1348ab83ff Replace ... with &#8230; (ellipsis character) 2016-01-10 11:01:48 -06:00
Martin Fietz 55f1efd74d Explanation dialog 2016-01-09 22:08:58 +01:00
Martin Fietz ec9ecb1af0 More smark options 2016-01-09 18:26:59 +01:00
Martin Fietz e5b7f12732 Indicate that episode cache is exhausted 2016-01-09 14:22:21 +01:00
Martin Fietz 95bb95fc89 Merge pull request #1523 from recalculated/lock-icons
Reverse (un)lock icons in queue
2016-01-09 13:54:53 +01:00
Martin Fietz ce29d9f669 Merge pull request #1539 from recalculated/external-player
Redesign ExternalPlayerFragment
2016-01-09 10:15:24 +01:00
recalculated 30e963fc3e Make progress bar theme-specific 2016-01-08 17:42:05 -06:00
Tom Hennen 2caaa0f9dd updated translations 2016-01-08 2016-01-08 16:35:24 -05:00
Martin Fietz 4f864ab2de Disable auto download when HTTP_NOT_FOUND (404) 2016-01-08 18:21:35 +01:00
recalculated a2104964e7 Add queue lock/unlock snackbar message 2016-01-07 20:35:04 -06:00
recalculated 0d54bd18a7 Redesign ExternalPlayerFragment 2016-01-07 19:05:41 -06:00
Martin Fietz 364dcef7a3 Replace HashMap with ArrayMap 2016-01-07 23:16:01 +01:00
Martin Fietz 99800d9873 Change parameters of StorageUtils.storageAvailable 2016-01-07 23:16:01 +01:00
Martin Fietz 810b2c2df5 Upgrade to latest versions 2016-01-07 23:16:01 +01:00
Tom Hennen 0c973e3ea7 Merge pull request #1509 from mfietz/audioplayer-v1.0.7
AudioPlayer v1.0.7
2016-01-07 17:04:44 -05:00
Martin Fietz 308a26b14b Give feedback about current update setting 2016-01-06 12:51:22 +01:00
Martin Fietz 3b2a29d65e Fix SQL 2016-01-06 09:40:34 +01:00
Martin Fietz e19c08de8a Merge pull request #1526 from mfietz/issue/1522-download-log-NPE
Prevent DownloadLog NPE
2016-01-05 14:44:08 +01:00
Martin Fietz b676967a5f Merge pull request #1512 from mfietz/issue/1510-escape-sql
Escape SQL query parameters
2016-01-05 14:20:43 +01:00
Martin Fietz 07d378cffd Tell DownloadLogFragment to refresh 2016-01-05 01:48:06 +01:00
Martin Fietz a218665f8a When deleting a feed, also remove corresponding download log entries 2016-01-05 01:40:15 +01:00
Martin Fietz 557b028c28 Escape SQL query parameters, Reformat 2016-01-02 13:22:26 +01:00
Martin Fietz 8816d144f5 Upgrade AudioPlayer to latest version; Fallback 2016-01-02 02:39:58 +01:00
Martin Fietz b793866ed4 Show free space for current choice 2015-12-31 14:17:12 +01:00
Martin Fietz a5b0cb2ad7 Don't close db 2015-12-28 23:33:14 +01:00
Tom Hennen 3557d9c1ec updated translations 2015-12-28 12:10:51 -05:00
Tom Hennen dd22e18d1d Merge pull request #1475 from mfietz/issue/1473-NPE-downloadservice
DownloadService: media item might be null
2015-12-20 09:03:50 -05:00
Martin Fietz 6113b932b4 DownloadService: media item might be null 2015-12-15 16:36:15 +01:00
Martin Fietz 72982839a9 FeedMedia: Item might be null 2015-12-15 15:33:12 +01:00