3613 Commits

Author SHA1 Message Date
Domingos Lopes
3a5b43a67d make the UI counter, cast preference state, resumed state synchronized 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
c4b25269de update cast companion lib version 2016-04-24 22:06:27 -04:00
Domingos Lopes
5005cfdb3a hide playback speed button when casting (upon button update) 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
280efd56d7 have the position seekbar show that it's buffering/loading/seeking 2016-04-24 22:06:26 -04:00
Domingos Lopes
bd6e494c51 change order elements are defined in relative layout due to position references 2016-04-24 22:06:26 -04:00
Domingos Lopes
900dbf7beb allow audioplayer and videoplayer to pass the view intent to the service if the app happens to be casting at the moment 2016-04-24 22:06:26 -04:00
Domingos Lopes
efacb68657 add Castplayer activity to the manifest 2016-04-24 22:06:26 -04:00
Domingos Lopes
1130e8ee87 hide the playbackspeed button on the castplayer activity 2016-04-24 22:06:26 -04:00
Domingos Lopes
450329a5e3 have external player fragment show play button if casting 2016-04-24 22:06:26 -04:00
Domingos Lopes
a77c77724b switching between media player activities 2016-04-24 22:06:26 -04:00
Domingos Lopes
9d4969b0a7 have hardware buttons change media volume ONLY when not 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
dedd454685 change name of audioplayer_activity layout 2016-04-24 22:06:26 -04:00
Domingos Lopes
281db69d78 separate audioplayeractivity into audio and cast activities 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
8a18adf50c disconnect cast session if user disables it in preferences and PlaybackService isn't running 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
c836bc458d Merge pull request #1896 from mfietz/issue/1895-onstop-npe
AudioPlayerActivity: Prevent onStop() NPE
2016-04-22 15:30:36 +02:00
Martin Fietz
7d314e22da Prevent NPE 2016-04-22 15:29:46 +02:00