849 Commits

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