1078 Commits

Author SHA1 Message Date
Domingos Lopes
358ad6484a save current fragment before starting a different activity 2016-04-28 11:09:34 -04:00
Domingos Lopes
f8266d0181 give error feedback to the user 2016-04-28 01:52:47 -04:00
Domingos Lopes
13b5a62fa5 change seekbar while buffering (certainly not ideal, but good enough for now) 2016-04-27 23:56:07 -04:00
Domingos Lopes
b1f62b56cd add a general callback method for reporting media updates 2016-04-26 01:18:55 -04:00
Domingos Lopes
86cc2233d3 improve cast session changes after activity resumes 2016-04-26 01:18:55 -04:00
domingos86
74149d7fa7 fix PlaybackServiceMediaPlayer test
callback interface changed, so we need to update the anonymous classes
2016-04-25 11:41:28 -04:00
Tom Hennen
c3808e2c24 Merge pull request #1889 from mfietz/issue/1886-indicate-played
All Episodes/Favorites: Indicate played episodes
2016-04-25 08:47:52 -04:00
Tom Hennen
25e4e40728 Merge pull request #1892 from mfietz/issue/1883-samsung-crash
Prevent potential crash on Samsung devices
2016-04-25 08:30:52 -04:00
Tom Hennen
e73d8b32bc Merge pull request #1891 from mfietz/issue/1888-asynctask-execute
Resolve potential AsyncTask performance issue
2016-04-25 08:17:59 -04:00
Tom Hennen
72b8143b78 Merge pull request #1894 from mfietz/issue/1893-statvfs-permission-denied
Prevent permission denied when determining free space
2016-04-25 07:56:18 -04:00
Domingos Lopes
fe7e5c5b45 add cast disconnect buttons 2016-04-24 22:06:28 -04:00
Domingos Lopes
9b7edd5bfa Override hiding the cast button whenever it's connected 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
7caa840331 move playback speed button methods inside AudioplayerActivity 2016-04-24 22:06:27 -04:00
Domingos Lopes
7164e328ef refactoring 2016-04-24 22:06:27 -04:00
Domingos Lopes
3a5b43a67d make the UI counter, cast preference state, resumed state synchronized 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
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
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
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
1088fae745 remove data channel from CastManager
add cast failure strings
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
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
7d314e22da Prevent NPE 2016-04-22 15:29:46 +02:00
Martin Fietz
960b58b748 Prevent permission denied 2016-04-22 15:23:35 +02:00
Martin Fietz
eec2244883 Prevent potential crash on Samsung devices 2016-04-22 14:33:20 +02:00
Martin Fietz
8e1a347498 Display error more nicely 2016-04-22 14:29:45 +02:00
Martin Fietz
08760618d1 Address potential performance issue 2016-04-22 14:29:32 +02:00
Martin Fietz
7827b6646f All Episodes/Favorites: Indicate played episodes 2016-04-22 12:41:56 +02:00
Tom Hennen
ea2b3297a9 1.6.0.2 2016-04-20 17:37:48 -04:00
Martin Fietz
6ea9242fff Reload description on swipe
Always calls onFragmentLoaded() because updateAppearance() does not reload the description.

Resolves #1876
2016-04-20 07:56:44 +02:00