Commit Graph

973 Commits

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