Commit Graph

710 Commits

Author SHA1 Message Date
Synced Synapse 7186874471 Fix Travis build
Travis only gets the latest 50 git commits, which might not contain a tag that describes the version name, causing the build to fail. This change always returns a version name.
2017-06-26 10:45:15 +01:00
Martijn Brekhof 7b9ddaf69f Implemented a HighlightButton widget (#410)
This can be used by buttons that need to be highlighted such as
the shuffle and the mute buttons.
2017-06-25 10:19:41 +01:00
Synced Synapse 0933c68ef5 Update pt-pt translations 2017-06-23 20:01:54 +01:00
Synced Synapse 77a9a8ca0e Added option to show/hide watched indicator in movies and TV shows list 2017-06-23 19:50:46 +01:00
Synced Synapse 750478b164 Fix TV Shows margins 2017-06-23 19:12:02 +01:00
tomerf d596417b04 Added watched indicator for movies and tv shows lists (#412) 2017-06-23 18:36:31 +01:00
tomerf 70935d5e3f Changed sort of names and titles to be case insensitive (#411) 2017-06-23 17:29:31 +01:00
Martijn Brekhof eb8accb8fe Implemented RepeatModeButton widget (#408)
Its main purpose is to enable testing the repeat mode functionality.
2017-06-23 11:50:17 +01:00
Martijn Brekhof 85bcd846f2 Implemented VolumeLevelIndicator widget (#406)
* Refactored NowPlayingFragment to use new widget
  * Refactored UIUtils.highlightImageView to reduce code duplication
2017-06-22 18:37:00 +01:00
Martijn Brekhof 3be2d74f0a Fixed issue with filenames that contain question marks (#409) 2017-06-20 19:12:16 +01:00
Asier Iturralde Sarasola 3783a9a375 Update Basque translation (#407) 2017-06-20 19:09:52 +01:00
Martijn Brekhof 134ec550e8 Implemented MediaProgressIndicator widget to allow for code sharing (#405)
* Refactored NowPlayingFragment to use the new MediaProgressIndicator
2017-06-20 19:05:27 +01:00
mueller-ma 6b690f5882 Change position of play/pause and stop button (#396)
fixes #393

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2017-06-07 19:48:49 +01:00
mueller-ma 936649ed1c Update copyright year (#397)
Change the copyright year in the about screen to 2017

Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2017-06-05 16:10:24 +01:00
Synced Synapse d80116ec67 Fix Lint error 2017-05-30 22:26:12 +01:00
Yaron Shahrabani a2cd4ad008 Updated Hebrew translation (#392)
I'm actually using Transifex for that:
https://www.transifex.com/yaron/kore/dashboard

If you don't like the fact it's not open source we can try and ask Weblate to host us.
2017-05-30 20:22:07 +01:00
KowalskiOmniROM 15d08c2226 Update French strings.xml (#390) 2017-05-30 11:37:23 +01:00
Ahmed I. Khalil 97b10f2b32 Fix ClassCastException when Favourites returned are empty. (#386) 2017-05-10 09:52:55 +01:00
Ahmed I. Khalil b6822fd0ad Support getting favourites in Kore (#81) (#384)
* Support getting favourites in Kore (#81)
2017-05-09 18:35:21 +01:00
Sebastian b42f6f8119 File view fixes (#379)
* Sort file lists by path and show filename/foldername in details
* rewrite diplay of file lists using java.io.File for platform independence. It also makes the code clearer by avoiding string acrobatics
* fix enqueue order of action_play_from_this_item
* remove java.io.File dependency again
instead add method getFilenameFromPath
* move playMediaFile to end of block
2017-05-03 09:28:12 +01:00
Martijn Brekhof 1cb77876be Implemented testing actionbar state (#382)
* Added JSON datafiles for TV shows and music videos
   * Implemented instrumentations tests for MoviesActivity, MusicActivity,
     TVShowActivity, and AddonsActivity.
   * Moved RestoreSearchQueryViewPagerTest to music package as it uses
     the MusicActivity
   * Moved RestoreSearchQueryListFragmentTest to movies packages as it
     uses the MoviesActivity
   * Added scripts to get JSON data for music videos, addons, and TV shows
   * Added sequence diagram for BaseMediaActivity to clarify new setup
   * Refactored BaseMediaActivity to comply with diagram
   * Refactored SyncMusicVideos and SyncTVShows so we can use the same code
     for adding test data as we use for adding real data.
   * Removed unused StringBuffer and synchronize block in MockTcpServer
2017-04-29 16:08:15 +01:00
Wikinaut 46bb4a4bfc Fix for #380 (#381) 2017-04-29 15:15:24 +01:00
Martijn Brekhof 6afaa60d74 Introduces BaseMediaActivity (#374)
* BaseMediaActivity enforces a common layout which allows us to more
     easily add new common UI elements
   * All activities that allow browsing media should extend BaseMediaActivity
     Currently CastActivity is the only exception.
2017-04-21 18:39:55 +01:00
Synced Synapse db7d689c3a Fix default color 2017-04-02 18:46:36 +01:00
Adrian fe3c8a1b50 Fix typo (Itent -> Intent) (#377) 2017-04-02 18:42:59 +01:00
darkz 6116be2d12 fix zhcn translate mistake (#376) 2017-03-29 14:23:34 +01:00
Synced Synapse 775944ea05 Use the same default primary colors as estuary 2017-03-24 19:12:37 +00:00
Synced Synapse 11f453c22f Bring the notification service to the foreground when a notification is shown, to avoid having it killed, which happens if it stays in the background 2017-03-24 18:18:10 +00:00
Martijn Brekhof a1cdedb93f Implemented a TCP server for unit testing (#373)
This allows us to test activities and fragments that require JSON RPC calls.
The ApplicationTest for JSON method and notification calls is mainly added
as example and for testing the MockTcpServer and friends.
2017-03-21 09:21:44 +00:00
Martijn Brekhof fcd1730784 Fixes NPE in ConnectionObserversManagerService.onDestroy (#372) 2017-03-15 18:49:38 +00:00
Martijn Brekhof 35724bb8be Fixes layout inflate exception due to missing width attribute (#371) 2017-03-15 14:04:34 +00:00
Artem Moskalchuk 8d983d605c update Ukrainian translation (#368) 2017-03-09 19:45:39 +00:00
Synced Synapse b713d916e3 Make remote bottom bar configurable in landscape also. 2017-03-06 20:07:21 +00:00
tomerf b80e3e0e7a Make remote bottom bar configurable (#355)
* Make remote bottom bar configurable
* Added new translations
* Added icons
* Moved preference to remote section
2017-03-06 19:58:31 +00:00
Synced Synapse d1b1827a5f Merge pull request #332 from poisdeux/refactor/detailsfragments
Refactor details fragments
2017-03-06 19:39:17 +00:00
tomerf dba7504e76 Unified translations in settings page (#365) 2017-03-03 18:52:24 +00:00
Martijn Brekhof 412931b8db Refactored AbstractDetailsFragment
This introduces the MVC model to details fragments. It moves as much
view and control code out of the concrete fragments into the abstract
classes.

   * Added UML class and sequence diagrams under doc/diagrams to clarify
     the new setup

   * Introduces new abstract classes
      * AbstractFragment class to hold the DataHolder
      * AbstractInfoFragment class to display media information
      * AbstractAddtionalInfoFragment class to allow *InfoFragments
        to add additional UI elements and propagate refresh requests.
        See for an example TVShowInfoFragment which adds
        TVShowProgressFragment to display next episodes and season
        progression.

   * Introduces new RefreshItem class to encapsulate all refresh
     functionality from AbstractDetailsFragment

   * Introduces new SharedElementTransition utility class to encapsulate
     all shared element transition code

   * Introduces new CastFragment class to encapsulate all code for
     displaying casts reducing code duplication

   * Introduces DataHolder class to replace passing the ViewHolder from
     the *ListFragment to the *DetailsFragment or *InfoFragment

   * Refactored AbstractDetailsFragment into two classes:

     o AbstractDetailsFragment: for fragments requiring a tab bar
     o AbstractInfoFragment:    for fragments showing media information

     We used to use <NAME>DetailsFragments for both fragments that show
     generic
     info about some media item and fragments that hold all details for
     some media item.
     For example, artist details showed artist info and used tabs to
     show artist albums and songs as well. Now Details fragments are
     used to show all details, Info fragments only show media item
     information like description, title, rating, etc.

   * Moved swiperefreshlayout code from AbstractCursorListFragment to
     AbstractListFragment
2017-03-02 11:55:19 +01:00
Martijn Brekhof d3a68b73c9 Fixed playing, queueing, downloading individual songs (#363) 2017-02-24 18:58:42 +00:00
Artem Moskalchuk 2365a14585 Move hard-coded strings (group titles Remote and Application) to strings.xml (#361)
* Move hard-coded strings (group titles Remote and Application) to strings.xml

* Add missing strings to Ukrainian localization

* Update strings.xml

* Update strings.xml
2017-02-22 19:40:53 +00:00
Yaron Shahrabani aa3308668c Fixed translation of "Down" to down (was up) (#360) 2017-02-21 19:49:56 +00:00
primaeval 668feb1355 remove [] formatting (#353) 2017-02-20 19:05:49 +00:00
Yaron Shahrabani 58e205272f Adding the Hebrew translation (#352)
* Adding the Hebrew translation
Managed under https://www.transifex.com/yaron/kore/Remote/, more languages are welcome.
2017-02-20 19:05:28 +00:00
Artem Moskalchuk 6f82cff588 Update ukrainian translation (#359)
* fixed typo

* Add missing string "sort_by_last_played"

* Update strings.xml
2017-02-20 19:01:54 +00:00
naofum de9b97836d japanese translation (#358) 2017-02-20 19:01:29 +00:00
Pavel Remygailo 83e96653fe Ukrainian translation fixes (#350)
* fixed few typos in ukrainian translation
* "Про додаток" -> "Про застосунок"
Додаток -- add-in
Застосунок, прикладна программа -- application
2017-02-13 19:48:00 +00:00
KowalskiOmniROM 770aa40df1 Update strings.xml (#349) 2017-02-13 19:46:29 +00:00
mueller-ma a8bfa0ffc4 updated german translation (#348) 2017-02-13 19:45:39 +00:00
Zapata11 b9b2a4d30c Update lithuanian translation (#346) 2017-02-13 19:44:06 +00:00
Synced Synapse 13abb4e9ea Bump version for release
Update release notes
2017-02-01 18:53:50 +00:00
Joel Hedlund 4c82094601 Add www.svtplay.se host to "Play on Kodi" intent filter. (#345) 2017-02-01 18:29:43 +00:00
Synced Synapse e72b7f4b13 Update Portuguese translation 2017-01-30 19:39:54 +00:00
Joel Hedlund 7a2ed7704a Add support for sharing SVTplay urls to "Play on Kodi". (#343)
* Add support for sharing SVTplay urls to "Play on Kodi".
SVTplay is a free streaming service provided by the Swedish national television SVT.
This feature requires the svtplay video plugin on Kodi.
* Fix SVTplay share always playing first episode of series.
2017-01-30 19:06:14 +00:00
tomerf d5f8ee4d49 Added option to sort by last played (#340) 2017-01-30 19:03:16 +00:00
Synced Synapse c9147231ab Fix for empty titles on playlist 2017-01-27 15:33:16 +00:00
Artem Moskalchuk a5bbf39ef8 Ukrainian localization (#342)
* Create strings.xml

* Initial Ukrainian translation

* Arrays xml ukrainian translation

* Update strings.xml
2017-01-27 15:25:17 +00:00
Aneesh Agrawal 66c145d778 Enable manual configuration of https (#338)
* Allow specifying HTTPS Hosts manually
This is not exposed in the UI, but on the manual host configuration screen, if the address starts with a  "http://" or "https://" this will be stripped and the `isHttps` flag set appropriately.

Additionally, the port can be configured as part of the address as well.
Any port specified as part of the address takes precedence over the explicit HTTP port box, to allow easy copy-pasting of an entire URL for a host.

This enables using Kore with Kodi instances available though HTTPS (e.g. via a reverse proxy).
2017-01-27 15:17:39 +00:00
KowalskiOmniROM 42aeccfab3 Update French translation (#337) 2017-01-17 19:45:58 +00:00
Martijn Brekhof 872c329f8d Fixed the return transition for the shared element (#336)
Support library 25.1.0 contains a bug that causes the shared element return transition
to fail.
2017-01-06 11:45:40 +00:00
Mon Zafra 6e347b6b36 Materialized dialogs and preferences (#330)
* Changed platform AlertDialogs and preference.* to support lib counterparts
- added dependencies: support/preference-v7 for PreferenceFragmentCompat
  and Preference subclasses, support/preference-v14 for the
  MultiSelectListPreference
- simplified some AlertDialog.Builder calls and added non-null annotations
  to DialogFragment#onCreateDialog(Bundle) overrides to shut the IDE up
- UIUtils: changed static member avatarColorsIdx to local var because it's
  only used in one place and the value isn't cached
- layout/dialog_send_text: removed view vertical margins as they take
  way too much space for nothing.
- strings: shortened english preference titles
- themes: added PrefTheme and changed preference title font size to medium
  from large
- preferences: changed CheckBoxPreference to SwitchPreferenceCompat. these
  don't have the same issue described in #233 (tested in kitkat).

* Changed platform PreferenceManager in RemoteActivity to support pref

* Fixed M permissions

* Split prefs into 2 groups as per material design guidelines

* Changed prefs theme to v14.material

* Moved container padding to individual prefs; removed pref-v7 dependency
- this makes the item dividers touch the screen edges which i think looks
  better
- don't need to require preference-v7 because preference-v14 already
  does

* Moved PrefTheme attributes *{Start,End} to v17 override

* Fixed crash caused by rotating twice while a dialog is active

* Changed wording as suggested
2017-01-04 08:37:13 +00:00
Martijn Brekhof 07be6da2ad Fixed lint errors regarding calling new methods on older versions (#334) 2017-01-03 16:14:39 +00:00
Martijn Brekhof 3742263ec7 Fixed issue with sharing code between local and instrumentation tests (#335) 2017-01-03 16:14:22 +00:00
Mon Zafra dc5a9f1ed3 Fixed some problems in the remote fragment layout when in landscape mode (#333)
- added missing tint attribs in the vertical navigation icons
- parameterized pad buttons container dimensions like in portrait mode
- put art and media info/controls side-by-side like in portrait mode
2017-01-03 14:27:05 +00:00
Synced Synapse 331866043a Fix issues with svg drawables 2016-12-29 18:59:36 +00:00
Synced Synapse e02c6c4caf Fix German translation... 2016-12-29 18:53:09 +00:00
mueller-ma 856516934f updated german translation (#327) 2016-12-29 18:49:28 +00:00
Martijn Brekhof eea3a69d3d Updated travis configuration 2016-12-29 18:27:40 +00:00
Martijn Brekhof 640473a8ee Fixed NavigationDrawerFragment location in activity_generic_media layout 2016-12-29 18:27:40 +00:00
Martijn Brekhof b8fbf4e190 Refactored org.xbmc.kore.ui package into separate packages 2016-12-29 18:27:40 +00:00
Synced Synapse c966e52ee4 Update android SDK/build toos/support library version 2016-12-23 08:50:34 +00:00
Synced Synapse 7d2a3e04bc Change (some) assets to svg instead of png 2016-12-23 08:49:36 +00:00
Synced Synapse 22028419c9 Update proguard rules to consider new JmDNS library 2016-12-20 09:54:31 +00:00
Synced Synapse a545bf03ef Update jmdns library. 2016-12-19 19:41:30 +00:00
Synced Synapse 6245a9c7d5 Use ExpandableTextView on Text views that expand on clicking them 2016-12-19 19:25:24 +00:00
Martijn Brekhof b01e3c8ddc Fixes reported crashes caused by a NullPointerException (#325)
Multiple NullPointerExceptions have been reported in Google Play (dev).
Probably caused by calling onTaskRemoved more than once.
2016-12-19 18:57:08 +00:00
Synced Synapse 661908c922 Add next episodes section to tv show details screen 2016-12-16 19:24:28 +00:00
Synced Synapse 04d901cf03 Fix hiding/showing watched episodes in episode list 2016-12-16 19:24:28 +00:00
Synced Synapse 3152ee540b Add progress bar to seasons list 2016-12-16 19:24:28 +00:00
KowalskiOmniROM 2adf716b95 Update French Translation (#324) 2016-12-15 20:17:14 +00:00
Zapata11 6afa4bbdfc Updated lithuanian translation (#322) 2016-12-15 20:15:48 +00:00
Synced Synapse 43371b9480 Redesign tv shows details, to not use tabs or expandable lists in episodes list
First version, to be improved visually
2016-12-15 20:10:55 +00:00
Martijn Brekhof d993126c7e Fixed retrieving wrong handler for applicationNotificationsObserver (#319) 2016-12-02 11:04:17 +00:00
Sebastian 03cd43bdac change "title" from itemFile.title to itemFile.label for TYPE_ALBUM and TYPE_SONG (#315) 2016-11-30 12:38:26 +00:00
Martijn Brekhof c1d90eb954 Added unittest for multi-disc albums (#317) 2016-11-30 12:21:21 +00:00
Martijn Brekhof c5848ce648 Implemented showing volume level on NowPlayingFragment (#312)
Replaced up/down volume buttons with a seekbar that displays the current
volume level and can be used to change the volume level
2016-11-30 12:20:21 +00:00
tomerf d2b5449e98 Check the status of the mute button in NowPlaying (#294) 2016-11-20 14:18:43 +00:00
Martijn Brekhof b1ec57f8e6 Updated integration tests for MediaProvider
* Refactored MediaProviderMusicTest splitting it up into separate classes
* Updated integration tests for MediaProvider

* Added tests to check displayartist
* Added tests to check various artists albums
2016-11-18 10:23:07 +00:00
Synced Synapse 92773ea57c Prevent crash introduced in a4945c8534 when there are no hosts configured 2016-11-16 12:10:20 +00:00
Synced Synapse 361a854e1f Change the select button to also send an Event Server code if the Event Server connection is being used.
This allows the select button to work in situations where the jsonrpc server isn't functional yet
2016-11-15 19:39:54 +00:00
Synced Synapse 18811371a7 Use Kodi's version stored on the DB to decide which window to display on long press on Info button 2016-11-15 19:25:16 +00:00
Synced Synapse b7ece61951 Fix for long press Info button to display codec info in v17 (#286) 2016-11-15 19:22:30 +00:00
Synced Synapse 4a8b2b4d43 Use Kodi's version stored on the DB instead of calling Kodi in the download subtitles option 2016-11-15 19:18:16 +00:00
Synced Synapse a4945c8534 Add Kodi version to Hosts table on DB and keep it periodically updated 2016-11-15 19:09:23 +00:00
Synced Synapse 39ee0b6634 Removed checking wether PVR is enabled in RemoteActivity, as this was only needed to aid in the transition when PVR was implemented 2016-11-15 15:47:11 +00:00
Martijn Brekhof b7b1470484 Fix and improve downloading song
* Fixed issue downloading all songs from an artist
* Added download option for songs in songslistfragment
* Created UIUtils.downloadSongs(...) to reduce code duplication
* Refactored downloading of songs on host/artist/album levels
  All levels now use song display artist as artist and album display artist.
  This prevents downloading songs multiple times when downloading same song on different levels.
2016-11-09 08:48:22 +00:00
Martijn Brekhof 49a253af34 Added sort options to albumlistfragment (#309)
List is sorted by default on album title. User can change this to artist or artist/year.
2016-11-09 08:46:42 +00:00
Martijn Brekhof 11b8d12b31 Implemented sorting on disc number in AlbumDetailsFragment (#310) 2016-11-08 19:57:05 +00:00
Martijn Brekhof 77795d099a Added and updated remote sizes (#308)
This should improve support for different screen resolutions.
2016-11-08 19:53:26 +00:00
Martijn Brekhof bbda7df4aa Refactored integration tests to use robolectric (#302)
* Updated travis build to include running local tests for each PR
* Removed unused methods from Utils.java
* Moved all resources required by both local and instrumentation tests
  to testUtils
* Added proguard rules for the test builds to prevent proguard from discarding
  the junit classes
2016-11-08 11:43:10 +00:00
Martijn Brekhof eedd1e99b4 Implemented showing artist names in song lists (#281)
* Song lists for artist, album, and overall now shows the artist name for each individual song
* Added display artist column to songs table. This required a DB upgrade and users should
  do a refresh for music items to be able to see the display artist in the song lists.
2016-10-20 19:26:43 +01:00
noctux f0cd9a67f8 Support playback of shared plain http-video urls (#292)
Currently Kore does only support the playback of youtube and vimeo video
urls when invoked via the "Play with Kodi" share menu.

This commit adds support for plain video urls.
2016-10-18 19:06:41 +01:00
Synced Synapse 45cdacebca Update Dutch translations (henkhend and poisdeux) 2016-10-18 18:29:12 +01:00
Synced Synapse 83ed7b3cb6 Fix issues with downloading files without titles (in artists, albums, movie titles or TV Show titles) 2016-10-11 20:05:23 +01:00
KowalskiOmniROM 034b969f3b Update French translation (#295) 2016-10-11 19:27:25 +01:00
tomerf f3728a9dc4 Support both http and https URLs in share menu (#293) 2016-10-11 19:23:20 +01:00
Martijn Brekhof dadabd09c5 Implemented recursion fix for movies and tv shows (#283)
This applies the fix for issue #219 Incomplete libraries for movies and
TV shows.
For music items this was already fixed in PR #236
See commit 7330f85241
2016-09-26 18:31:22 +01:00
Martijn Brekhof 080b5809f3 Unittest/mediaprovider (#251)
Implemented integration tests for music items
2016-09-23 19:08:22 +01:00
macio525 d746f6643f Polish translate update (#288)
Update polish translation
2016-09-23 18:54:44 +01:00
Synced Synapse def026eca4 Remove hardcoded string in preferences and move it to strings.xml 2016-09-23 18:52:54 +01:00
Synced Synapse 333268b0b1 Update build tools version 2016-09-16 19:12:36 +01:00
Synced Synapse cf5ab6335e Fix TypedArray.getResourceId warnings/errors 2016-09-16 19:09:06 +01:00
Bharat a4e19a5578 Fix for long press Info button to display codec info in v17 2016-09-14 01:24:01 -07:00
Martijn Brekhof 6ab8b2b604 Implemented keeping screen on when using the remote activity (#280) 2016-09-07 19:33:58 +01:00
Martijn Kaijser 43edbfa8e9 Merge pull request #278 from softastur/master
Update Asturian language translation
2016-07-27 18:21:28 +02:00
Martijn Kaijser 583f0be55b Merge pull request #276 from Chapell/master
Added Hungarian translation
2016-07-27 18:21:20 +02:00
Martijn Kaijser d930144af1 Merge pull request #273 from jonas2515/master
Updated German translation
2016-07-27 18:20:58 +02:00
Martijn Kaijser dc8c19c0a3 Merge pull request #271 from Zapata11/master
Updated Lithuanian translation
2016-07-27 18:20:39 +02:00
Martijn Kaijser c5dfcc79a6 Merge pull request #270 from NEOhidra/master
Updated Bulgarian translation
2016-07-27 18:20:24 +02:00
Softastur 3132501eba Update Asturian translation 2016-07-27 17:05:41 +02:00
Oszkár Sziklai cc322b61f6 Added Hungarian translation 2016-07-24 01:14:44 +02:00
jonas2515 6f76801820 Updated German translation 2016-07-19 22:36:14 +02:00
Zapata11 ea4c9a0d4c Update strings.xml
Updated Lithuanian translation
2016-07-13 17:14:13 +03:00
Zapata11 b1c632ef14 Update strings.xml
Updated Lithuanian language
2016-07-13 09:40:06 +03:00
NEOhidra f3e597fdac Updated Bulgarian translation 2016-07-10 23:27:17 +03:00
Synced Synapse 1c025cfc82 Bump version for release
Upgrade gradle version
2016-07-09 16:18:02 +01:00
Saket a4f5316c93 Fixed Toolbar height small for sdk version < Android Llollipop (#268) 2016-07-07 16:49:22 +01:00
Synced Synapse 34ecc65855 update pt-PT translations 2016-07-06 17:27:16 +01:00
Synced Synapse dfa4e454ca Merge pull request #265 from Zapata11/master
Updated Lithuanian translation
2016-07-06 17:18:34 +01:00
Synced Synapse 466996f34e Merge pull request #250 from poisdeux/issue/#7
Fixed issue showing songs without an album or artist
2016-07-06 17:06:51 +01:00
Zapata11 dd99fc180a Updated Lithuanian translation 2016-07-05 10:42:16 +03:00
Martijn Brekhof 21389b1e9e Fixed issue showing songs without an album or artist 2016-06-30 21:13:49 +02:00
Synced Synapse 6cfd71b2ed Merge pull request #261 from DevFactory/release/collection.isEmpty()-should-be-used-to-test-for-emptiness-fix-1
squid:S1155 - Collection.isEmpty() should be used to test for emptiness
2016-06-30 17:51:58 +01:00
George Kankava 079cf4e759 squid:S1155 - Collection.isEmpty() should be used to test for emptiness 2016-06-29 14:17:39 +04:00
George Kankava ddd3d26949 squid:S1488 - Local Variables should not be declared and then immediately returned or thrown 2016-06-29 13:49:04 +04:00
Synced Synapse cc1329f614 Merge pull request #257 from poisdeux/issue/disableanimpermission
Fixed printing false message during gradle configuration phase
2016-06-21 12:18:52 +01:00
Martijn Brekhof 632c547f38 Added three tests to test clearing the search view 2016-06-20 14:59:12 +02:00
Martijn Brekhof acb87a7543 Fixed printing false message during gradle configuration phase 2016-06-20 14:44:23 +02:00
Synced Synapse 7819fb9f15 Fix gradle script to include default product flavor 2016-06-17 19:09:23 +01:00
Synced Synapse 4572775a51 Improve file list UI 2016-06-16 19:40:36 +01:00
Martijn Brekhof 6f60442e7b Implemented integration tests to test restoring search query
* Added perl tools to generate json files for music and movie data
* Upgraded build tools version, sdk compile version, and support libraries
  as this is required by the test packages.
* Added new product flavor instrumentationTest to make sure assets and settings
  required for testing do not also ship with a release version of Kore
2016-06-16 11:04:25 +02:00
Synced Synapse e338636bb7 Merge pull request #253 from tomerf/file_list_size
Added file size to media file list view
2016-06-09 16:51:59 +01:00
Tomer Froumin 22ccee5b0f Only show file size if available 2016-06-08 14:00:27 +03:00
Tomer Froumin fd793d6354 Added file size to media file list view 2016-06-04 16:25:15 +03:00
KowalskiOmniROM 202a47c55a Update strings.xml 2016-05-30 20:47:37 +02:00
Synced Synapse 82fa6ae56c Improve title layout on lists 2016-05-25 19:19:06 +01:00
Synced Synapse 1472adb0b0 Fix color in notifications 2016-05-25 19:08:09 +01:00
Synced Synapse ae8396909f Fix some lint errors 2016-05-25 19:03:50 +01:00
Synced Synapse 6dcf412140 Update android sdk to v23
Deal with Android 6 permission system
Update gradle version
2016-05-25 17:18:25 +01:00
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 79cea83174 Merge branch 'master' of https://github.com/xbmc/Kore 2016-05-15 18:45:32 +01:00
softastur 73e85de231 Support for Asturian translation 2016-05-15 02:36:26 +02:00
Synced Synapse 7392fbfba0 Update pt translations 2016-05-12 19:07:41 +01:00
Synced Synapse b5b9b4242a Merge pull request #241 from Bikonja/master
Added Croatian translation
2016-05-12 18:56:18 +01:00
Bikonja b1205b7453 Added Croatian translation 2016-05-11 21:52:52 +02: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
Jörn-Thorben Hinz a42404b683 Replace SwitchPreference with CheckBoxPreference to avoid weird toggling
behaviour of multiple SwitchPreferences on the same activity (issue #233)
2016-04-24 18:45:49 +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
Zapata11 f9a4ecd6d9 Updated Lithuanian translation 2016-03-21 16:41:03 +02:00
Zapata11 37698e1338 Added lithuanian translation 2016-03-21 15:10:02 +02:00
KowalskiOmniROM a5ec7ffcd0 Update strings.xml 2016-03-01 04:40:24 +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
KowalskiOmniROM 83eed1b0ed Update strings.xml 2016-02-19 07:04:59 +01:00
KowalskiOmniROM d55c308fdc Update strings.xml 2016-02-19 07:04:21 +01:00
KowalskiOmniROM 0c9dbdbee8 Update preferences.xml 2016-02-19 07:03:23 +01:00
Synced Synapse 859227e00c Merge pull request #209 from KowalskiOmniROM/patch-7
Create arrays.xml for French translation
2016-02-18 19:18:34 +00:00
Synced Synapse 54271e3dc2 Switch order of menu items "Single column/Multi-column" and "Refresh" 2016-02-15 17:48:58 +00:00
KowalskiOmniROM d699960144 Create arrays.xml 2016-02-14 21:10:36 +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
Thomas Dalichow 34733b2516 Correcting grammar
I'm not a native english speaker, but "as", sounds far more correct than "of".
2016-01-24 17:04:48 +01: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 fc079f5268 Merge pull request #166 from icehong/translation_fix
chinese translation
2015-12-28 19:12:56 +00:00
XuHong a634f4cb5c chinese translation 2015-12-28 22:49:43 +08:00
Krzysztof Lewandowski a90e83aebb One string left over. Corrected 2015-12-25 23:22:46 +01:00
Krzysztof Lewandowski e1afe751f9 Added full Polish translation. 2015-12-25 22:55:06 +01:00
Krzysztof Lewandowski 039148f0a9 Experimental translation to Polish 2015-12-25 22:11:08 +01: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 b99a0fbd6e Update version for release 2015-12-16 19:52:10 +00:00
Synced Synapse 25f491a7dc Adjust about fragment 2015-12-16 19:51:14 +00: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 e41e13da6f Fix starttime color in EPG 2015-12-16 19:11:25 +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 37ce65fdd0 Update PT-pt translations 2015-12-12 18:45:34 +00:00
Synced Synapse f129e156af Fix string case 2015-12-12 18:35:25 +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
Synced Synapse f0cea00730 Merge pull request #143 from poisdeux/sharedelementtransitions
Implemented shared element transitions for albums
2015-12-09 18:53:05 +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