Commit Graph

812 Commits

Author SHA1 Message Date
Synced Synapse 39e6ffa690 Bump version for release 2020-06-07 19:31:39 +02:00
Martijn Brekhof 5c76064bab
Fixed file URL encoding (#743) 2020-06-07 09:33:26 +01:00
Martijn Brekhof 6ed64bf9f9
Fixed refreshing playlist on HTTP connections (#740)
When Kore retrieves the data over HTTP the playlist would be
refreshed every 4 seconds. This caused the playlist to jump to
the top when scrolled down. This has been fixed by checking if
the new playlist is different from the current playlist. If not
nothing changes.
2020-05-25 19:53:23 +01:00
STB Land a9a833ddfe
Add support to sharing from Arte's video to Kodi (#736)
* Add support to sharing from Arte video (The European Culture Channel) to Kodi
* Handle Arte's video (The European Culture Channel)
2020-05-25 19:38:50 +01:00
Francesco Bonazzi 74ef717a37 Unified logic to parse intent for links and for local URIs 2020-05-16 20:47:31 +02:00
Francesco Bonazzi 5f0ca05eeb Added support for Prime Videos shared from the official Amazon app 2020-05-16 20:47:31 +02:00
Martijn Brekhof c44a5f0612 Fixed test setup
* Reverted gradle plugin upgrade to prevent forcing users to
  upgrade to Android Studio 4 preview version.
* Refactored TVShowsActivityTests into using the AndroidX libs.
* Updated test setup to handle saving tab state in abstract list fragment.
2020-04-26 19:13:07 +02:00
DoomMortal 5299e8e607 Migration Tests to AndroidX
Fix import statements to AndroidX
2020-04-26 19:13:07 +02:00
DoomMortal 145df0986e Searchview update
Update Searchview to AndroidX
2020-04-26 19:13:07 +02:00
Martijn Brekhof 6b58ed6495 Fix androidx migration for commandline builds 2020-04-26 19:13:07 +02:00
DoomMortal ebae33755c AndroidX migration
Migration to AndroidX
- Update to API level 29
- Update Java sourcecode and xml import statements
- Upgrade Butterknife Version 10 AndroidX support
- Set Java 8 compile options due Butterknife needs it
2020-04-26 19:13:07 +02:00
Kévin Minions a8389b9215
Update strings.xml (#734) 2020-04-25 10:04:48 +01:00
H. Lehmann a16cf771ee
Do not set download button state when cancelling download (#731) 2020-04-25 10:03:58 +01:00
H. Lehmann 937008a4bd
Remember last-used tab (#730) 2020-04-21 19:35:19 +01:00
daniel3x 0d25fc90d5
update pt-pt translation (#724)
"Quit" means "Sair" in portuguese.  "Encerrar" or "Desligar" is the same as "Shutdown"
2020-04-11 09:50:42 +01:00
homocomputeris cddfe8b80b
Update Russian locale (#722)
* Update strings.xml
2020-04-01 17:44:52 +01:00
homocomputeris 6d2c9557a4
Remove XBMC from interface strings (#721)
* Make Kore untranslatable
* Remove XBMC from interface strings
* Fix button names so that they match and unify HTML tags
* Break lines for readability
2020-03-28 09:42:15 +00:00
t0nik0 2467f06a60
Add Intent filter for HTTP(S) links w/MIME and (#716)
one more youtu.be host
2020-03-27 17:09:54 +00:00
Martijn Brekhof ecf722f9b2
Allowed cleartext traffic for Api >27 (#715)
From API 28 cleartext traffic is by default denied. This means that
HTTP connections with Kodi fail to download files through the
download manager.
2020-03-04 17:40:10 +00:00
Michael Bien 571e3ceae8
Uri encoding for local filenames. (#710)
* Uri encoding for local filenames. Kodi should now be able to play http-served files with spaces or other special characters in their name.

* Uri encoding for local files served with "share with Kore".
2020-02-20 19:54:35 +00:00
Martijn Brekhof e63fd40d9f
Issue/play from here (#713)
* Fixes race condition in MediaFileListFragment

The "Play from here" feature previously queued all songs at once using
a loop and did not wait until an add action was confirmed by Kodi
before queueing the next item. This sometimes resulted in a seemingly
random play order on Kodi.

* Fixed play from here adding first item twice

When selecting "Play from here" in the file browser the current
item is started using "playMediaFile" and the subsequent items
 are queued. However, the current item was added to the queue
list as well. Resulting in the first item always being added twice
to the playlist.
2020-02-20 19:53:00 +00:00
Martijn Brekhof e92722375c
Added support for user certs (#714)
To support connecting to Kodi over SSL using self-signed certificates
we need to allow this explicitly for Android versions 6 and higher.
2020-02-20 19:49:10 +00:00
Martijn Brekhof 33043396b8
Fixed OutOfBounds exception (#708)
This fixes an array out of bounds exception when the playlist is cleared
and the PlaylistFragment.playlistsAvailable is called with an empty
list.
2020-02-13 08:46:12 +00:00
Minho Park 47c4ed87e3
Update Korean translation (#702) 2020-02-13 08:45:41 +00:00
Kévin Minions fb10886a0e
Update French Translation 2020-02-13 08:44:45 +00:00
claike b478c5bece
Updated Russian localization (#711)
Revisited translations, many minor improvements
Minor change (Телепередачи -> Сериалы)
2020-02-13 08:43:34 +00:00
alexander 1977600a54 Added ability to play media files locally (#125) 2020-02-04 20:34:13 +01:00
Artem Moskalchuk dcdac90faa Update Ukrainian localization (minor fix, add new strings) (#700) 2019-12-28 18:07:21 +00:00
Synced Synapse 093ac09ef2 Bump version for release 2019-12-26 21:20:16 +01:00
Synced Synapse 7ce2d3131d Update pt-pt translations 2019-12-26 21:20:16 +01:00
Selaron dd53f621e5 Implemented search field for PVR views
* Implemented search field for PVR views. (#695)
* Implemented search field for PVRChannelEPGListFragment. (#695)
2019-12-22 15:52:36 +00:00
Selaron a3ed983fee Allow sorting of PVR Recordings and optionally hide watched items. (#694)
* Added menu options to PVR recordings view fragment: Sorting and hide_watched option.
Default to unsorted (showing the order delivered by Kodi). Default to not hide watched recordings. (#385)

* Implemented sorting and filtering of PVR recordings as per user's selection. (#385)
2019-12-17 19:34:42 +00:00
Francesco Bonazzi 37ef130a7c Share local files - part 2 (#693)
* Local media files (image, audio, video) can now be shared with Kore. Added token to HttpApp to improve security.

* Added 'Queue on Kodi' share option. 'Play on Kodi' skips the playlist while 'Queue on Kodi' puts the media link at the end of the playlist
2019-12-16 18:37:46 +00:00
Synced Synapse 5d0969c66e Fix preferences saving of nav drawer and bottom bar shortcuts
Preferences for the Nav Drawer and Bottom Bar shortcuts weren't being properly saved. This fixes that and also fixes the order or the Navigation Drawer items, after the addition of the Local Files option.
2019-12-08 20:12:08 +01:00
Francesco Bonazzi b14524963f Stream local files with NanoHTTPD server (#681)
Added local file browser. NanoHTTPD is used to create a local HTTP server to allow to stream files stored on in Android device to Kodi. Added support for multiple local files streaming.
2019-12-03 18:17:19 +00:00
Martijn Brekhof 83527db928 Fixed issue setting preferred locale in Settings (#689)
SettingsActivity does not inherit from BaseActivity which caused
the preferred locale not to be set. This was not apparent when
switching to the Settings screen as the preferred locale would
already have been set by a previous activity which does inherit
from BaseActivity (e.g. RemoteActivity). Therefore we needed
to explicitly set the preferred locale as well in SettingsActivity.
2019-12-02 19:15:52 +00:00
Synced Synapse b962fece80 Apply markup decoding to media file list and addon content list 2019-11-30 19:54:59 +01:00
Artem Moskalchuk 4897c3fd43 Update Ukrainian localization (#687) 2019-11-28 19:21:25 +00:00
Kévin Minions e0de5e3bdc Update strings.xml (#684) 2019-11-27 18:26:38 +00:00
Martijn Brekhof 41b9f33cd2 Implemented changing language in-app (#680)
This allows users to use a different supported locale than the one that
matches the device's locale.
2019-11-15 18:11:21 +00:00
cpunk 6899a53e2c corrected translation (#682)
geschalten -> corrected to geschaltet
2019-11-04 08:37:01 +00:00
Nick Grimshaw f91d799823 Fix issue with showing multiple bookmarked addons (#678) 2019-10-14 17:58:40 +01:00
Jordane Quincy 1ea54b8d7f Add color support to UIUtils.applyMarkup (#667) 2019-10-07 15:14:48 +01:00
Anatoly Nikiforov f7ed2f3bc3 Update russian strings (#676) 2019-09-30 12:36:15 +01:00
Martijn Brekhof f024c13ca5 Implemented UI tests for PlaylistFragment (#658) 2019-09-30 12:35:17 +01:00
Synced Synapse 7dfd982643 Tweak connection threads
This PR fixes some issues with connections and threading. Specifically, the  change in #618 introduced threading in `HostConnection`, which had some issues. To fix them, the following changes were made:
- A specific TCP listener thread is used and manually started, instead of using one of the threads in the pool. The TCP listener thread is a long lived thread that should always be running (as long as the connection is through TCP), blocked listening on the TCP socket, so it shouldn't be managed in a pool, where, theoretically, it can be paused and reused. 
- Changed the number of threads to 5. We shouldn't need more than this, otherwise we can overwhelm some Kodi hardware.
- Had to sprinkle some `synchronized` to avoid race conditions. For instance, through a TCP connection, as soon as Kore is opened (on the remote screen) it will call at least `GetActivePlayers`, `GetProperties`, `Ping`. If the TCP socket isn't set up yet, each of these calls would create a socket (and a TCP listener thread), so we would open 3 or more sockets when we should just open 1. A `synchronized` in `executeThroughTcp` prevents this. The others prevent similar issues.

Aditionally:
- Tweaked the playlist fetching code, so that it happens exclusively in `HostConnectionObserver` and when PlaylistFragment is notified of changes, it already gets the playlist data. This somewhat simplifies the code, and makes it more consistent with the Player Observer code;
- Change `EventServerConnection` to accept a Handler on which to post the result of the connection, so that the caller can control on which thread the result is called;
- Calls to the various `RegisterObserver` loose the reply immediately parameter, as it was always true.
2019-09-28 22:10:04 +02:00
Tibor Repček 4ac37f3f02 Added slovak language (slovenčina) (#672)
* Create strings.xml

* Update strings.xml
2019-09-07 12:29:49 +01:00
Jay Linski 8e0176e326 Support sharing SoundCloud tracks (#671) 2019-09-07 12:28:51 +01:00
Valdnet 384e2c0e83 Update strings.xml [PL] (#666)
Improving the translation.
2019-07-22 11:30:29 +01:00
Synced Synapse e24dcca1ce Fix HTML in translations 2019-07-11 12:40:39 +02:00