Commit Graph

303 Commits

Author SHA1 Message Date
Synced Synapse 3e0d3a7e36 Fix getString with invalid parameter 2016-05-24 20:03:38 +01:00
Synced Synapse e65b4536d7 Refactor Notification and PauseCall services: Create a single connection observer service that manages the notification and call pause/play. 2016-05-20 19:24:34 +01:00
Synced Synapse faab6b8163 Merge branch 'call_notifications' of https://github.com/tomerf/Kore into tomerf-call_notifications 2016-05-20 10:24:58 +01:00
Synced Synapse 9ad1fe8879 Always show remote buttons, even if there's no connection over TCP/HTTP. There might be problems reaching Kodi through TCP/HTTP but EventServer might be available/responding, so always showing the remote buttons allows the user to navigate. One instance of this is when a modal dialog box is being shown, and the TCP thread isn't responding, showing the remote buttons allows the user to dismiss the dialog box and continue. 2016-05-11 19:24:27 +01:00
Synced Synapse f6070c78c0 Change bookmark addon icon 2016-05-10 20:19:23 +01:00
Martijn Brekhof 7330f85241 Fixed issue with recursing music items
Using Kodi's JSON RPC, Kodi may return less items than requested, even
if there are more items available. The old method of determining if
more items are available by checking if the amount of items returned
equals the amount requested does not work in these cases. Therefore,
we now use the returned List.LimitsReturned to determine if there are
more items available. If List.LimitsReturned.end equals
List.LimitesReturned.total we assume we retrieved all items.
2016-05-10 15:08:38 +02:00
Synced Synapse de8e28b768 Merge pull request #239 from eisnerd/plugin-content-browser
Plugin/addon content browser
2016-05-10 13:15:09 +01:00
Martijn Brekhof e194ce8b2c Implemented SongsListFragment
The SongsListFragment lists all available songs for a connected host or
for a specific artist.
Added the songs tab to the music screen and to the artist details
screen.
2016-05-09 21:12:08 +02:00
David Eisner ba7931c5ea
Only attempt to browse and pin pluginsource type plugins
Using AddonOverviewFragment in both cases would probably be an easier to
follow code path, but this implementation switches between using
AddonDetailsFragment directly and adding it via AddonOverviewFragment.
2016-05-06 20:28:57 +01:00
David Eisner 52b5f45019
Keep the Addons tab on the left
Following feedback from @SyncedSynapse
2016-05-06 19:06:25 +01:00
David Eisner 57f3dfd502
Limit delayed loading of plugin content to AddonOverviewFragment 2016-05-06 19:04:18 +01:00
David Eisner 6eb1fcf167
Delay loading plugin content
Some plugins trigger UI when you Kore attempts to browse. We don't want
the Content tab to cause this when the user has only opened the Overview
tab.

For the tabs pinned to the addons view (AddonListContainerFragment),
loading by the usual OffScreenPageLimit rules probably makes sense, as
you can avoid pinning tabs that don't work well.
2016-05-06 19:04:18 +01:00
David Eisner 9bb35cb8cc
Addon fragment renamed to reduce confusion 2016-05-06 17:13:54 +01:00
David Eisner 430de715d2
Avoid showing addon sources when touching the loading view 2016-05-04 10:06:19 +01:00
David Eisner 51680a835c
Pin an addon as an addons activity tab 2016-05-04 10:06:18 +01:00
David Eisner b0f2adb876
Addon content in addons activity tabs 2016-05-04 09:40:30 +01:00
David Eisner dadc34901c
Plugin content browser
For feature request #72
2016-05-03 21:21:07 +01:00
David Eisner 6516fe3cd8
Launch a file list for a plugin path 2016-05-03 20:57:30 +01:00
Martijn Brekhof 91e8035eb7 Implemented refreshing playlist when shuffle button is clicked 2016-05-02 09:36:44 +02:00
Synced Synapse 0b73228266 Merge pull request #222 from poisdeux/issue/restoresearchquery
Implemented restoring search query
2016-04-04 19:41:04 +01:00
Martijn Brekhof 0e34874307 Implemented restoring search query
When user enters a search query for a ListFragment the query will
now be restored on device configuration changes and when
ListFragment is restored from the backstack or in a ViewPager.
2016-04-04 14:21:28 +02:00
Martijn Brekhof 9672ea6cf1 Implemented restoring list position for AbstractListFragment 2016-04-04 13:58:19 +02:00
Martijn Brekhof 8bfe2665dd Refactored MediaFileListFragment to support multi-/single-columns
Refactored AbstractListFragment to make it more generic and allow it to be used by
MediaFileListFragment. This adds support for switching between a single- and multicolumn
view.
Created new abstract class AbstractCursorListFragment for list fragments using a cursoradapter.
2016-03-22 12:22:15 +01:00
Synced Synapse 56b51c8f65 Merge pull request #215 from jtdor/issue61-keep-remote-above-lockscreen
Added option to keep the remote above the lockscreen (issue #61)
2016-02-24 19:34:13 +00:00
Synced Synapse a305cff852 Merge pull request #204 from tomerf/unused_methods_cleanup
Cleanup unused methods
2016-02-24 19:15:48 +00:00
Tomer Froumin d7aebaa8e4 Cleanup unused methods 2016-02-22 15:11:20 +02:00
Jörn-Thorben Hinz df7e896c48 Added option to keep the remote above the lockscreen (issue #61) 2016-02-20 00:05:20 +01:00
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