Commit Graph

276 Commits

Author SHA1 Message Date
Martijn Brekhof 8a3c78edcc Implemented single/multi column option for lists
Added a menu item in the overflow menu to allow the user
to switch the gridview between single column and multi column mode
2016-02-11 20:58:16 +01:00
Martijn Brekhof f0f21d118a Implemented showing artist details
When user selects artist from ArtistListFragment it will now
show a screen displaying artist details. I've taken the TV show
details setup as an example.

This adds the following new functionality:

* Displaying artist fanart
* Displaying artist description
* Download all songs from an artist
2016-02-07 21:40:53 +01:00
Tomer Froumin e67516559d Changed PauseCallService from BroadcastReceiver to PhoneStateListener 2016-02-05 17:43:12 +02:00
Martijn Brekhof 73dd123fb3 Added context menu to TV episode list items
The context menu adds play and queue functionality for tv show
episode items in the tv show episode list.
2016-02-03 08:15:49 +01:00
Synced Synapse c39c9df714 Fix DrawerToggle behaviour: decouple it from the DrawerLayout, as it is used to indicate navigation from upper to lower levels, and not to signal the opening/closing of the DrawerLayout. Mind the first run, were the UserLearnedDrawer preference must be saved when closing the DrawerLayout. 2016-01-31 19:25:53 +00:00
Tomer Froumin 2e7ac6af80 Added support for pausing when phone in call 2016-01-30 17:32:00 +02:00
Martijn Brekhof 879f941151 Added settings options for allowed network types
This allows the user to select other network connection types,
besides WiFi, for downloading media files.
2016-01-28 09:45:56 +01:00
Synced Synapse e9cfd1339f Merge pull request #184 from royiarchy/fix_rtl_send_text
Flip RTL text before sending it
2016-01-27 19:27:31 +00:00
Synced Synapse dc5e7f183e Merge pull request #181 from tomerf/vimeo
Improved URLs parsing and added error message
2016-01-25 19:23:39 +00:00
Roy Iarchy 06477bcac0 Flip RTL text before sending it 2016-01-25 01:55:34 +02:00
Tomer Froumin 629f735a68 Fixed regex 2016-01-24 21:39:13 +02:00
Tomer Froumin 1dbed708cb Improved URLs parsing and added error message 2016-01-23 13:10:55 +02:00
Martijn Brekhof d5ba611782 Implemented changing the position of items in the current playlist
This enables users to reorder the current playlist by long pressing a
list item and drag it to a different list position.
2016-01-19 12:02:08 +01:00
Synced Synapse 0d34518c9b Merge pull request #177 from poisdeux/episodelistfragment
Implemented restoring state in TVShowEpisodeListFragment
2016-01-12 20:20:17 +00:00
Tomer Froumin 9bec745dac Add option to play vimeo URLs on Kodi 2016-01-08 18:54:59 +02:00
Martijn Brekhof c792326237 Implemented restoring state in TVShowEpisodeListFragment 2016-01-08 17:38:33 +01:00
Synced Synapse eca7d2b2ad Fix statusbar indicator when navigating from the PVR channel group to the channels list 2015-12-29 19:29:57 +00:00
Synced Synapse a6845c2e79 Fix saving fragments in TabsAdapter. Previously it didn't work when the activity was destroyed. 2015-12-29 19:29:20 +00:00
Synced Synapse a04a694522 Merge pull request #156 from poisdeux/bug/addonsenabled
Fixed bug setting enabled state in AddonDetailsFragment
2015-12-23 22:48:14 +00:00
Synced Synapse 34a74b48ab Merge pull request #151 from ThiefMaster/eventserver-ipv4-only
Only use IPv4 for EventServer connections
2015-12-23 22:45:33 +00:00
Martijn Brekhof 2375484f08 Fixed bug setting enabled state in AddonDetailsFragment 2015-12-17 10:41:37 +01:00
Synced Synapse 8f71f4e2dc Merge pull request #153 from poisdeux/sharedelementtransition_addons
Implemented shared element transitions for addons
2015-12-16 19:36:31 +00:00
Martijn Brekhof e001555818 Fixed not setting enabled button when AddonDetailsFragment is loaded 2015-12-16 20:22:25 +01:00
Synced Synapse aff515efa0 Merge pull request #150 from cryptobanana/version_from_git_tag_instead_of_hardcoded
Define the versionName shown in settings from git
2015-12-16 19:19:35 +00:00
Synced Synapse b56384ac16 Fix time parsing/display in EPG. Always use UTC for parsing datetimes. 2015-12-16 19:05:41 +00:00
Martijn Brekhof a908e1e466 Implemented shared element transitions for addons
Removed getting details in AddonDetailsFragment as the
AddonListFragment already provides all information required
in the AddonDetailsFragment. Therefore, we do not need to
retrieve the same information in the AddonDetailsFragment as well.
2015-12-16 14:23:11 +01:00
Daniel Levin ca5023bae7 Define the versionName shown in settings from git
Remove extra prepended "v" from version string
2015-12-15 21:12:21 +01:00
Adrian Moennich 2c369ef63f Do not attempt EventServer connection via IPv6
EventServer only listens on IPv4 addresses, even if the machine running
kodi has IPv6 support (the webserver on the other hand does listen on
both IPv4 and IPv6).

fixes #148
2015-12-15 21:03:13 +01:00
Adrian Moennich f701280840 Add getInet4AddressByName util 2015-12-15 21:03:13 +01:00
Synced Synapse 4d7acd80d0 Fix nav drawer not remembering learned state 2015-12-15 19:51:08 +00:00
Synced Synapse 05906fe081 Merge pull request #154 from poisdeux/sharedelementtransition_musicvideos
Implemented shared element transitions for music videos
2015-12-15 19:09:40 +00:00
Synced Synapse 0fd2e621ad Check if the host has PVR enabled and show/hide the side menu entry based on that 2015-12-15 19:08:19 +00:00
Synced Synapse 9f159460f1 Add Settings JSON RPC methods 2015-12-14 19:21:04 +00:00
Synced Synapse 346cd06344 By default make the useEventServer checkbox checked. 2015-12-14 18:15:24 +00:00
Synced Synapse 73b1c37983 Make the preference that controls the navigation drawer items shown, specific to each host, so that for each host we can show different items on the side menu 2015-12-14 18:09:22 +00:00
Martijn Brekhof 9e3a49126d Implemented shared element transitions for music videos 2015-12-14 09:30:20 +01:00
Synced Synapse 32171ebfba Improve PVR Guide 2015-12-13 16:01:50 +00:00
Synced Synapse 0ecc4fc0a6 Change TV Shows list year sort ordering 2015-12-12 18:33:48 +00:00
Synced Synapse b6dec9728f Merge pull request #149 from cryptobanana/master
Add more sorting options for video fragments + resolve RaafatAkkad merge conflicts
2015-12-12 18:30:16 +00:00
Raafat Akkad 57faf5ee1f Add ability to sort by year & rating in the TV Shows fragment 2015-12-12 17:47:16 +01:00
Raafat Akkad 63c32467d4 Add ability to sort by year, rating and length in the Movie fragment 2015-12-12 17:39:10 +01:00
Martijn Brekhof f84ccaf02a Implemented fix for movie and album shared element transitions
When shared element view is not visible on returning, the return shared
element transition starts off screen. This looks odd and we now simply
do not perform the shared element transition when the shared element is
not visible.
2015-12-11 12:32:03 +01:00
Synced Synapse fce521a9bb Merge pull request #145 from poisdeux/sharedelementtransitions_tvshows
Implemented shared element transition for TV shows
2015-12-10 23:04:16 +00:00
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