Commit Graph

747 Commits

Author SHA1 Message Date
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 7ce2c014e4 Add legal attribution (#404)
https://play.google.com/intl/en_us/badges/
2017-06-20 18:49:09 +01:00
mueller-ma c6981ea32f Resize badges (#398)
as suggested in https://github.com/xbmc/Kore/issues/220#issuecomment-306450117
2017-06-07 19:49:21 +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
mueller-ma 3269f8584e add app store badges (#395)
fixes #220
2017-06-05 16:08:36 +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
mueller-ma e8209a92aa Added fdroid link (#347)
IMO fdroid should be prefered over play store, because fdroid is FOSS
2017-02-13 19:45:24 +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