Commit Graph

1222 Commits

Author SHA1 Message Date
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