Commit Graph

93 Commits

Author SHA1 Message Date
Synced Synapse cae7e21aa4 Merge pull request #117 from poisdeux/testifconnectedtonetwork
Implemented checking if network is enabled when searching for hosts
2015-09-07 19:14:32 +01:00
Synced Synapse cd00b1a2e5 Changed MediaManager.java to MediaPlayerUtils.java 2015-09-07 19:02:12 +01:00
Synced Synapse 2d4818689a Merge pull request #107 from poisdeux/master
Added playing or queueing artist/album/genre from music screen
2015-09-03 19:16:14 +01:00
martijn 1d8828d2e9 Implemented checking if network is enabled when searching for hosts 2015-09-03 15:34:40 +02:00
hnykyri 5cc44cf290 #99, fixed external keyboard return key to send text instead of just dismiss dialog 2015-08-19 17:14:04 +03:00
Martijn Brekhof a7874de0e4 Added playing or queueing artist/album/genre from music screen
Implemented context menus in GridView items in AlbumListFragment,
ArtistListFragment and AudioGenreListFragment.
This allows the user to add everything from an artist, album, or
genre by popping up the context menu and selecting either play
or Add to playlist.

Created a new class utils/MediaManager to hold any methods related
to managing media. Added methods play(...) and queueAudio(...) to
add musiclist items to the current playlist and start playing.
2015-07-31 13:38:29 +02:00
Synced Synapse c9e643fc2c Fix fragment transactions on host wizard: previous fragments weren't being properly removed with the call to replace() on the FragmentTransaction, because the container used was the global one. Somehow this stopped working with recent versions 2015-07-30 23:24:44 +01:00
Synced Synapse d8750cc6db Fix changing play/pause icons on remote, with different themes 2015-07-30 22:40:02 +01:00
Synced Synapse 7936b8f2a3 Fix row count and max pictures count on cast grid view 2015-07-30 20:01:10 +01:00
Synced Synapse 00c6e3d300 Change the "see all cast" button to be the last image on the cast grid view 2015-07-30 19:27:58 +01:00
Synced Synapse 7816a2bcc3 Centralize all cast activity intent building 2015-07-30 17:29:05 +01:00
Synced Synapse e895b73b71 Fix AllCastActivity drawer indicator and highlight on drawer 2015-07-29 19:04:39 +01:00
Synced Synapse 2eb2a0f494 Simplify AllCastActivity: the cast list is always passed by the calling activity/fragment (via Intent), so this activity looses the ability to fetch the list from the database.
Change calling activities to reflect that.
2015-07-29 18:53:50 +01:00
Synced Synapse a07a819898 Add support to see all cast on now playing screen 2015-07-29 18:37:28 +01:00
Synced Synapse d48b95d86e Tweak cast list margins 2015-07-28 22:58:00 +01:00
Synced Synapse b534ccd756 Change vibration duration to 50ms 2015-07-28 22:43:37 +01:00
Synced Synapse 4a88eadd50 Merge pull request #100 from akshay2000/master
Added Vibration on Remote Arrow Press
2015-07-28 19:43:22 +01:00
Synced Synapse cbed4d919a Add new activity to show all cast for movies and tv shows 2015-07-28 19:27:17 +01:00
Akshay Zade 1268c4450e Removed vibrations from non-D-pad buttons 2015-07-25 12:14:14 +05:30
Akshay Zade 1bf525d692 Added vibrations to all remote buttons 2015-07-23 21:20:09 +05:30
Akshay Zade 7170dc9548 Moved vibration handling to UIUtils 2015-07-23 20:59:46 +05:30
Akshay Zade cf0f76b5bd Added vibrations to other remote buttons 2015-07-23 20:46:06 +05:30
Akshay Zade bc08f5cfd4 Fixed spelling mistakes on RemoteFragment 2015-07-23 20:18:01 +05:30
Akshay Zade c65ae70b99 Reduced vibration duration to 100ms and added it to UIUtils 2015-07-19 20:20:07 +05:30
Akshay Zade a90349ec49 Added vibrations to remote buttons 2015-07-19 16:15:01 +05:30
Akshay Zade 4427ca0dbc Added setting item for vibrate on remote press 2015-07-19 14:23:29 +05:30
Synced Synapse 47f4875762 Switch ff/rw buttons to skip next/previous if current playing item is a song 2015-06-23 19:43:33 +01:00
Synced Synapse 4a2d699e62 Update versions of targetSDK and Support library
Fix issue with ActionBar not showing hamburger menu with Support library v22
2015-06-23 19:08:45 +01:00
Synced Synapse 33fde2cba7 Slight optimization loading different icons 2015-06-23 18:58:21 +01:00
Synced Synapse 0e90b731dc Highlight current selected item on playlist 2015-06-23 18:43:57 +01:00
Synced Synapse 38325be14a Add stop button to remote screen 2015-06-22 22:28:55 +01:00
Synced Synapse 0563e80fe9 Add support for using EventServer in remote d-pad 2015-06-21 15:11:22 +01:00
Synced Synapse 68ab545651 Add EventServer configuration options in wizard and host editing. 2015-06-21 15:04:54 +01:00
Synced Synapse a429ec17b4 Change D-Pad buttons behaviour, so that they don't fire a command on each touch event. The other scheme makes them too sensitive, which causes them to issue commands when the user swipes on the remote screen for instance. 2015-06-18 18:17:29 +01:00
Synced Synapse 8ce709c55a D-Pad on the remote screen now uses EventServer by default.
Not finished: EventServer port is still hardcoded (9777) and there's no possibility of configuration.
2015-06-17 22:30:40 +01:00
Synced Synapse a9e0a07572 Add constants for the different types of button maps 2015-06-17 22:29:44 +01:00
Synced Synapse 5cdca246cd Fix calculation of packet number and sizes, that was causing packets with payloads of size 0 not to be sent, as well as packets with payloads of sizes multiple of MAX_PAYLOAD_SIZE to send empty packets. 2015-06-17 22:27:13 +01:00
Synced Synapse 2eea3d7a4a Change behaviour when receiving a youtube URI request: if no video is playing, clear the video playlist fist, queue the requested URI to the (empty) playlist, and start playback. If a video is playing, just queue the file to the video playlist. The playlist wasn't being cleared previously, which was causing some strange behaviour. 2015-05-27 19:37:22 +01:00
Synced Synapse 17e9ad5aaf Catch an exception that is being reported in Google Play, when user enters a malformed URL as the media center address. This causes a RuntimeException on OkHttp which wasn't being handled. Ideally we should validate the hostname/ip address that the user enters, but i'm not sure that Patterns.IP_ADDRESS/Patterns.DOMAIN_NAME/Patterns.WEB_URL catches all the possible cases, so i opted for the lazy solution, catch the exception 2015-05-25 23:17:41 +01:00
Synced Synapse 5509c99243 Workaround for issue #78: https://github.com/xbmc/Kore/issues/78 2015-05-25 22:37:32 +01:00
Synced Synapse 21c90438d0 Change youtube addon url to newest one
Fix issues with sharing youtube videos to Kodi:
1. Queue all videos, including the first,
2. Fix youtube url parsing
3. Handle intent in onStart instead of onCreate
2015-05-21 20:08:05 +01:00
Synced Synapse e4e7f66e36 Fix warning on compilation 2015-04-23 19:26:12 +01:00
Synced Synapse 9d13a71e8a Added infrastructure for sending packets to Kodi's EventServer 2015-04-23 19:19:18 +01:00
Synced Synapse 5aa674daf4 Disable http keep-alive if we get a ProtocolException (bad status line) from the server. 2015-04-21 09:57:41 +01:00
Synced Synapse f732e0b822 Fix some log messages 2015-04-19 12:13:50 +01:00
Synced Synapse a70f766442 Add option to play youtube URLs on Kodi 2015-04-18 18:23:31 +01:00
Synced Synapse 1fc9eb3301 Switched HTTP library. Using OkHttp explicitly now, instead of the default Android one, which varies acroos OS versions.
OkHttp is also used as the backend for loading images (Picasso).
Added disk cache to image loading.
2015-04-18 10:52:31 +01:00
Synced Synapse ba54c3b4dc Fix ClassCastException on Files.GetDirectory (this can be in other places) 2015-04-15 22:23:01 +01:00
Synced Synapse 6dd6a1b6a0 Don't display year when it's 0 2015-04-15 22:13:01 +01:00
Synced Synapse e5a82517bb Fix exception reported on Google Play 2015-04-13 23:29:20 +01:00