Commit Graph

197 Commits

Author SHA1 Message Date
Synced Synapse 5ccd76b349 Added first version of PVR EPG 2015-12-10 20:20:10 +00:00
Martijn Brekhof 17c7609d72 Implemented shared element transition for TV shows
Added SharedElementCallback to be able to detect if shared element
is still visible. If not, the shared element transition should not
be performed when returning to the previous fragment.
Added the pager tab strip to the fade animation to keep shared element
transition smooth when poster is partly below the toolbar.
2015-12-10 15:34:26 +01:00
Synced Synapse 9b4c4d6315 Change loading the mediaArt imageView, to not load a character avatar if no fanart present 2015-12-09 19:00:04 +00:00
Martijn Brekhof c7e0e38579 Removed unused import 2015-12-07 16:03:56 +01:00
Martijn Brekhof 71d7a49c82 Implemented showing poster as fanart when no fanart available 2015-12-07 15:44:21 +01:00
Martijn Brekhof 162bb30ace Fixed lint errors regarding method calls for API 21 and higher 2015-12-07 11:13:42 +01:00
Martijn Brekhof ffa96521f6 Implemented shared element transitions for albums
I removed using the poster as fanart if no fanart is available.
The reason is that the shared element transition is not very smooth
when the aspect ratio of the two image states is not the same.
Going from AlbumListFragment to AlbumDetailsFragment the poster
is resized correctly to the fanart size. However, returning to the
AlbumListFragment from the AlbumDetailsFragment the poster is
abruptly resized to the square aspect ratio needed for the list
fragment.
2015-12-04 21:02:45 +01:00
Synced Synapse eb61844a8e Fix crash reported on Play Store 2015-12-02 19:39:18 +00:00
Synced Synapse d8435ae161 Possible fix to crash reported on Play Store (Fragment not attached to activity in OnCreateOptionsMenu) 2015-12-02 19:35:40 +00:00
Synced Synapse b125716f91 Fix crash reported on Play store 2015-12-02 19:25:23 +00:00
Synced Synapse 771d6e383e Animate ActionBarDrawerToggle when entering details view. Don't animate on drawer open, it's useless as it is immediatelly covered by the drawer 2015-12-02 19:16:48 +00:00
Synced Synapse ade1551a8e Remove checking event server availability (only needed for transition to 1.5.0) 2015-11-29 15:02:26 +00:00
Synced Synapse 7991d64581 Add recording to channels list 2015-11-29 14:59:32 +00:00
Synced Synapse ae9c22b20e Make accessing fragments inside a view pager more robust 2015-11-28 18:30:29 +00:00
Synced Synapse 1cf701a422 Switch PVR fragments to using tabs instead of a menu for navigation 2015-11-28 18:19:44 +00:00
Synced Synapse fa43d43066 Refactor layout used on fragments with ViewPagers 2015-11-26 19:28:25 +00:00
Synced Synapse abd1b2fc67 Merge pull request #138 from poisdeux/sharedelementtransitions
Implemented shared element transition for movie posters
2015-11-25 22:33:07 +00:00
Synced Synapse 6671a3f3e8 Prevent the refresh animation showing up everytime we enter in a tv show 2015-11-24 23:33:05 +00:00
Synced Synapse 610fa85671 Added PVR recordings list 2015-11-24 22:55:56 +00:00
Martijn Brekhof 852209bc12 Refactored and set return transition to null for MovieDetailsFragment 2015-11-24 15:17:16 +01:00
Martijn Brekhof 0547c23758 Removed unused imports and disabling/enabling download button 2015-11-24 15:08:10 +01:00
Martijn Brekhof 5ca6f99cb7 Now passing all info from MovieListFragment to MovieDetailsFragment 2015-11-23 16:46:41 +01:00
Martijn Brekhof a871b15308 Fixed download button popping up after animation finishes 2015-11-23 15:48:32 +01:00
Martijn Brekhof db609e84e5 Fixed resizing issue of TextViews at end of shared element transition 2015-11-23 14:57:13 +01:00
Martijn Brekhof 4d2776af0b Fixed gradle build and excluded fab button from fade animation 2015-11-23 13:39:40 +01:00
Martijn Brekhof c35a4f58eb Implemented shared element transition for movie posters
* Refactored OnMovieSelectedListener interface to keep argument list small.
* Changed fragment transition animation to make shared element transition
  smooth and nicely integrated with the whole scene animation.
2015-11-20 14:33:38 +01:00
Synced Synapse 77145d1c28 Add recording PVR jsonrpc methods 2015-11-19 20:05:12 +00:00
Martijn Brekhof 88ec434b82 Fixed missing @Override statements 2015-11-13 11:33:58 +01:00
Martijn Brekhof fa77d460b6 Merge branch 'master' into issue#103
Resolved merge conflicts
2015-11-13 08:41:57 +01:00
Synced Synapse c1e5424675 Add support for radio channels in PVR 2015-11-12 22:44:03 +00:00
Martijn Brekhof f0c32e5c18 This implements feature request #103
Added refresh menu item in overflow menu to allow user to refresh the content in *ListFragments and *DetailsFragments.
2015-11-12 11:09:08 +01:00
Martijn Brekhof 0b9f3db9c9 Implemented binding to LibrarySyncService for detail fragments 2015-11-12 07:25:53 +01:00
Synced Synapse f4715d70a2 Merge pull request #134 from poisdeux/refactor/abstractdetailsfragment
Introduces new class AbstractDetailsFragment to reduce code duplication.
2015-11-11 19:13:32 +00:00
Synced Synapse 7a7fd5be8e In PVR, transition directly to channel list if there's only one channel group 2015-11-11 19:04:54 +00:00
Martijn Brekhof 2f0dd67761 Introduces new class AbstractDetailsFragment to reduce code duplication.
* Moved showRefreshAnimation() from AbstractListFragment to UIUtils as it is
  now used for detailed fragments as well.
2015-11-11 12:10:28 +01:00
Synced Synapse e6f6d74784 Add more helpful message when an error occurs in channels list 2015-11-10 23:18:33 +00:00
Synced Synapse 5823a50c1d Fix onSaveInstanceState on PVR fragment 2015-11-10 23:02:28 +00:00
Synced Synapse e86f82ba4c Add option to configure shown navigation drawer items 2015-11-10 22:05:07 +00:00
Synced Synapse cc3ecdd5f5 Add support for PVR - first version. 2015-11-09 23:40:48 +00:00
Synced Synapse 9d7d04ea1f Fix getting backup color errors 2015-11-05 23:04:41 +00:00
Synced Synapse fe9f45bb4a Added PVR jsonrpc methods and types 2015-11-03 23:36:28 +00:00
Synced Synapse ce68ccbeb6 Merge branch 'master' of https://github.com/xbmc/Kore 2015-11-02 18:27:45 +00:00
Synced Synapse fa869b854c Make loading images in main lists use the same size as in the details view, so that both uses the same cached version in Picasso's cache, so that the image is immediatelly shown when the user enters the details view. 2015-11-02 18:24:54 +00:00
ratmole 05d6557755 crude attempt to fix #112 2015-10-25 22:56:42 +02:00
aharonha 39afba2ae3 Fix default charset in okHttp
should fix RTL languages such as Arabic, Hebrew and Thai
2015-10-25 01:08:39 +02:00
Synced Synapse 80fb10e534 Refactoring on Media list UI, for functions related with the Sync Service.
Removed AbstractMusicListFragment.java dur to the refactor
2015-10-13 23:05:50 +01:00
Martijn Brekhof 69b1a9fcd4 Merge branch 'master' into librarysyncservicebounded 2015-10-06 20:15:17 +02:00
Synced Synapse 499ab11f40 Decrease tv shows number limit on library sync service. 2015-09-25 19:21:42 +01:00
Synced Synapse 87a88bb6e2 Fix getting default color for remote buttons 2015-09-21 23:04:07 +01:00
Synced Synapse 6729295636 Fix NPE reported on Play Store 2015-09-21 22:53:23 +01:00
Synced Synapse 04476a04ec Fix NPE reported on Play store 2015-09-21 22:45:39 +01:00
Synced Synapse 887b6d68a0 Hide next button in connection wizard when no network connection detected 2015-09-07 19:20:37 +01:00
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
martijn bee35c216d Merge branch 'master' into librarysyncservicebounded
Conflicts:
	app/src/main/java/org/xbmc/kore/ui/ArtistListFragment.java
2015-09-04 11:24:57 +02: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
Martijn Brekhof 499e54f2cf Improved keeping user informed on sync progress
Implemented binding to LibrarySyncService to check if there are items currently
syncing or queued to sync. This makes it possible to inform user of background
sync processes.

Created two abstract classes to reduce code duplication and check if
LibrarySyncService has any items queued which are currently being displayed.

Fixed issue with SwipeRefreshLayout from appcompat library, which does not
always show the refresh animation when refresh is set to true.
2015-09-02 12:04:17 +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