Commit Graph

10 Commits

Author SHA1 Message Date
Martijn Brekhof 2ed968456a Upgraded butterknife to 8.8.1 (#524)
Refactored MusicListFragment and PVRListFragment to use AbstractTabsFragment
Fixed scrolling in a nested scroll view using espresso
Fixed issue with setting and checking Kodi major version
2018-04-05 18:22:20 +01:00
Synced Synapse 246693a7cc Change the source of AlbumGenres table to support Kodi v18
As detailed in https://github.com/xbmc/xbmc/pull/13051, Kodi v18 changes the way album genres are handled, as the genre (by which i mean `genreId`) ceases to be available at the album level, being only available at the songs level.
This impacts Kore because `GetAlbums` and `GetAlbumDetails` won't return the `genreId` tag, from which the local AlbumGenres table was populated.

This PR changes the source of the local AlbumGenres table to be the `genreId` returned at the song level (by `GetSongs`), to make it somewhat more consistent with the way Kodi will handle things from now on.
2018-02-22 20:57:37 +01:00
Mon Zafra 45ecfc2e25 Implemented simple Kodi markup code applier for the Now Playing fragment (#471)
* Implemented simple Kodi markup code applier for the Now Playing fragment
* Moved to UIUtils; added early exit; now handles nesting of the same type
* Added handlers for LOWERCASE, CAPITALIZE, LIGHT and COLOR
- LOWERCASE and CAPITALIZE work, LIGHT and COLOR are just stripped out
- inlined the TextAppearanceSpan new's. Turns out they can't be reused.
* updated javadoc
* fixed crash when capitalizing an empty word
2017-10-19 09:05:45 +01:00
Synced Synapse 01f90c145d Fix unnecessary creation of Handlers 2017-09-28 19:52:12 +01:00
Martijn Brekhof cb430aa20d Implemented a slideup panel with media controls and info (#320)
* The slideup panel is only displayed when something is
         playing. It starts collapsed showing the media poster
         and title of what is currently playing.

       * Media controls implemented are volume, progress, shuffle,
         repeat and play/pause for all items. Next and previous are only
         available when a music item is playing.

       * In collapsed mode the panel will display the mute button only
         if Kodi is muted. The mute button in expanded mode is always
         visible.

       * Panel is enabled by default. Users can disable the panel
         in Settings

       * Implemented listening to Player.OnPropertyChanged notifications
         to update shuffle and repeat button states.
2017-07-13 19:10:49 +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
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 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
Martijn Brekhof b8fbf4e190 Refactored org.xbmc.kore.ui package into separate packages 2016-12-29 18:27:40 +00:00