Commit Graph

303 Commits

Author SHA1 Message Date
Synced Synapse 47f4875762 Switch ff/rw buttons to skip next/previous if current playing item is a song 2015-06-23 19:43:33 +01:00
Synced Synapse 4a2d699e62 Update versions of targetSDK and Support library
Fix issue with ActionBar not showing hamburger menu with Support library v22
2015-06-23 19:08:45 +01:00
Synced Synapse 33fde2cba7 Slight optimization loading different icons 2015-06-23 18:58:21 +01:00
Synced Synapse 0e90b731dc Highlight current selected item on playlist 2015-06-23 18:43:57 +01:00
Synced Synapse 38325be14a Add stop button to remote screen 2015-06-22 22:28:55 +01:00
Synced Synapse 0563e80fe9 Add support for using EventServer in remote d-pad 2015-06-21 15:11:22 +01:00
Synced Synapse 68ab545651 Add EventServer configuration options in wizard and host editing. 2015-06-21 15:04:54 +01:00
Synced Synapse a429ec17b4 Change D-Pad buttons behaviour, so that they don't fire a command on each touch event. The other scheme makes them too sensitive, which causes them to issue commands when the user swipes on the remote screen for instance. 2015-06-18 18:17:29 +01:00
Synced Synapse 8ce709c55a D-Pad on the remote screen now uses EventServer by default.
Not finished: EventServer port is still hardcoded (9777) and there's no possibility of configuration.
2015-06-17 22:30:40 +01:00
Synced Synapse a9e0a07572 Add constants for the different types of button maps 2015-06-17 22:29:44 +01:00
Synced Synapse 5cdca246cd Fix calculation of packet number and sizes, that was causing packets with payloads of size 0 not to be sent, as well as packets with payloads of sizes multiple of MAX_PAYLOAD_SIZE to send empty packets. 2015-06-17 22:27:13 +01:00
Synced Synapse 2eea3d7a4a Change behaviour when receiving a youtube URI request: if no video is playing, clear the video playlist fist, queue the requested URI to the (empty) playlist, and start playback. If a video is playing, just queue the file to the video playlist. The playlist wasn't being cleared previously, which was causing some strange behaviour. 2015-05-27 19:37:22 +01:00
Synced Synapse 17e9ad5aaf Catch an exception that is being reported in Google Play, when user enters a malformed URL as the media center address. This causes a RuntimeException on OkHttp which wasn't being handled. Ideally we should validate the hostname/ip address that the user enters, but i'm not sure that Patterns.IP_ADDRESS/Patterns.DOMAIN_NAME/Patterns.WEB_URL catches all the possible cases, so i opted for the lazy solution, catch the exception 2015-05-25 23:17:41 +01:00
Synced Synapse 5509c99243 Workaround for issue #78: https://github.com/xbmc/Kore/issues/78 2015-05-25 22:37:32 +01:00
Synced Synapse 21c90438d0 Change youtube addon url to newest one
Fix issues with sharing youtube videos to Kodi:
1. Queue all videos, including the first,
2. Fix youtube url parsing
3. Handle intent in onStart instead of onCreate
2015-05-21 20:08:05 +01:00
Synced Synapse e4e7f66e36 Fix warning on compilation 2015-04-23 19:26:12 +01:00
Synced Synapse 9d13a71e8a Added infrastructure for sending packets to Kodi's EventServer 2015-04-23 19:19:18 +01:00
Synced Synapse 5aa674daf4 Disable http keep-alive if we get a ProtocolException (bad status line) from the server. 2015-04-21 09:57:41 +01:00
Synced Synapse f732e0b822 Fix some log messages 2015-04-19 12:13:50 +01:00
Synced Synapse a70f766442 Add option to play youtube URLs on Kodi 2015-04-18 18:23:31 +01:00
Synced Synapse 1fc9eb3301 Switched HTTP library. Using OkHttp explicitly now, instead of the default Android one, which varies acroos OS versions.
OkHttp is also used as the backend for loading images (Picasso).
Added disk cache to image loading.
2015-04-18 10:52:31 +01:00
Synced Synapse ba54c3b4dc Fix ClassCastException on Files.GetDirectory (this can be in other places) 2015-04-15 22:23:01 +01:00
Synced Synapse 6dd6a1b6a0 Don't display year when it's 0 2015-04-15 22:13:01 +01:00
Synced Synapse e5a82517bb Fix exception reported on Google Play 2015-04-13 23:29:20 +01:00
Synced Synapse 27d82d31ca Fix runtime exception reported on Google Play 2015-04-13 23:21:35 +01:00
Synced Synapse 2ddd612f7f Possible fix for an exception reported on Google Play (can't reproduce...) 2015-04-13 23:16:16 +01:00
Synced Synapse 6164dddbdd Catch invalid format exception for WoL port (host manual configuration) 2015-04-13 23:06:28 +01:00
Synced Synapse 59a42eb8bb Fixed exception reported on Google Play (not sure how to trigger it, but this can't hurt) 2015-04-13 22:59:49 +01:00
Synced Synapse bd0a5121a4 Fix Null pointer exception reported on Google Play 2015-04-13 22:51:00 +01:00
Synced Synapse 30b4ac763a Allow the user to specify the protocol to use in the connection (TCP/HTTP). HTTP is always needed/used (for images and some requests where TCP can't be used because we want to be stateless), TCP is used by default and if available, but now the user can explicitly choose not to use TCP and always go through HTTP. 2015-04-11 17:58:15 +01:00
Synced Synapse 4a297c2e35 Change share intent behaviour: if a video is already playing, queue the shared file, otherwise start playing it immediately.
Defined playlist types in the correct place
2015-04-10 19:51:44 +01:00
Synced Synapse 611dafc101 Add new intent to "Play on Kodi". This allows sharing videos from the YouTube app to Kodi (unfortunately the share option will appear in every app that shares plain text links, as that is what the YouTube app shares).
Tweaked the Now Playing and Playlist screens to better support YouTube videos
Changed HostConnectionObserver to notify clients not only when the id of what's playing changes but also when the label changes (YouTube videos and pictures for instance don't have ids, so the remote wasn't getting notified of a change in what's playing)
2015-04-08 22:28:19 +01:00
Synced Synapse 21c5e045e3 Fix WoL issues by also sending magic packet to broadcast address 2015-03-31 18:26:28 +01:00
Synced Synapse 04db54dfca Fix crash introduced earlier when removing swipe to refresh 2015-03-31 00:19:38 +01:00
Synced Synapse b2ebad3f85 Remove swipe to refresh on files list.
Clicking on a file starts playing it.
2015-03-30 23:42:03 +01:00
Synced Synapse 37a6b3376b Redesign remote buttons (by samfischer) 2015-03-30 23:03:54 +01:00
Synced Synapse c6dfce29a4 Add reboot option to power menu 2015-03-29 12:48:51 +01:00
Synced Synapse a8f9c3e660 UI changes on files browsing 2015-03-28 18:33:48 +00:00
Synced Synapse e19e0c6752 Small playlist optimization 2015-03-28 18:08:07 +00:00
Synced Synapse 2722585f14 Merge pull request #50 from DanhKE6D/master
Fix back navigation on files list.
Keep current location on files list when activity is restarted.
Add pictures to file list.
2015-03-28 18:05:52 +00:00
DanhDroid 8fe3f814c8 Fix problem with back key and list going back to beginning after screen rotation. 2015-03-27 13:32:02 -07:00
Synced Synapse 02dc9bac7e Extend Siles.GetDirectory method to receive all available parameters 2015-03-26 18:44:32 +00:00
Synced Synapse d34d080adf Fix ClassCastException on getting lists from json rpc 2015-03-24 19:29:28 +00:00
Synced Synapse df2ad401d5 Possible fix for crash reported on Google Play (Null Pointer Exception in OnAddonEnabled). Can't reproduce this. 2015-03-23 23:15:56 +00:00
Synced Synapse 0266f7f3ab Fix crash because of ClassCastException to ArrayNode.
Note: if by any chance this causes the cast list to disappear, revert it and just catch the Exception
2015-03-23 23:02:01 +00:00
Synced Synapse 438442cb37 Prevent crash reported on Google Play (Null Pointer Exception in OnLoaderReset) 2015-03-23 22:34:24 +00:00
Synced Synapse e5c02b04bf New files icon
Cosmetic code changes
2015-03-22 15:55:18 +00:00
Synced Synapse 3ba5b3e1d5 Merge branch 'master' of https://github.com/xbmc/Kore 2015-03-22 15:31:41 +00:00
Synced Synapse 5d0e5bac07 Merge pull request #45 from DanhKE6D/master
Implement media file browsing/queuing/playing feature
2015-03-22 15:31:27 +00:00
Synced Synapse 80a133320d Fix to prepare for next PR merge 2015-03-22 15:26:42 +00:00
Synced Synapse 71fc96ddde Test to check if fullscreen is better supported 2015-03-19 23:00:31 +00:00
Synced Synapse b0ada58bc5 Added confirm dialog before downloading movies/episodes/albums, to prevent the user from starting a download by mistake (which can't be stopped afterwards) 2015-03-19 22:49:42 +00:00
DanhDroid 1652864eb3 Implement media file browsing/queuing/playing feature 2015-03-19 13:24:04 -07:00
Synced Synapse db2e7a4672 Complete Item.File fields 2015-03-19 20:15:21 +00:00
Synced Synapse 4df3fda8d0 Merge pull request #41 from DanhKE6D/master
Add json rpc method/types to support file browsing/playing
2015-03-19 10:10:18 +00:00
DanhDroid bb4bd77955 Add Files.Media interface 2015-03-18 17:06:38 -07:00
DanhDroid fe039b5338 remove file that is no longer needed 2015-03-17 19:51:09 -07:00
DanhDroid 8c91df5bf9 Add json rpc method/types to support file browsing/playing 2015-03-17 19:37:16 -07:00
Synced Synapse e42c6dd486 Fix the way it's getting the current playlist id (call Player.GetProperties to get the current playlistId) 2015-03-17 18:45:21 +00:00
DanhDroid 7bed0c7d1d Add json rpc method/types to support file browsing/playing 2015-03-16 14:16:50 -07:00
DanhDroid dfcb6d7d4d fix up typo on ApiCallback.onSucess() 2015-03-16 11:33:40 -07:00
Synced Synapse 776f6b60e6 Fix subtitle selection on Now Playing screen 2015-03-15 19:52:30 +00:00
Synced Synapse fe9dff1857 Fixed Mime types of the provider 2015-03-13 18:55:06 +00:00
Synced Synapse 6196ca3743 Fix crash during adding a new host, when zeroconf returns a host without any address and the user selects it 2015-03-13 18:19:53 +00:00
Synced Synapse 5193afd4b6 Changed settings to always use Default Shared Preferences. Settings is now only an interface with the definition of the keys stored in Shered Preferences 2015-03-11 18:38:59 +00:00
Synced Synapse 551583aa9d Fix some build warnings. 2015-03-09 22:05:58 +00:00
Synced Synapse ed584fb9b7 Changed namespace/appid to org.xbmc.kore 2015-03-09 21:35:18 +00:00
Synced Synapse d4bb313429 Remove in-app purchase 2015-03-08 22:34:14 +00:00
Synced Synapse 5f4c66ac9f Changed the check to enable/disable audiostreams and subtitles options in the now playing screen: The previous check didn't cover all video types 2015-03-06 18:31:21 +00:00
Synced Synapse 8031251b36 Fix some lint warnings 2015-03-04 22:12:45 +00:00
Synced Synapse 87bc1483ed Decrease log messages 2015-03-03 22:41:22 +00:00
Synced Synapse c423d15ec8 Fixed notification service to restart when the process is killed (return START_STICKY)
Remove notification and stop service when the user removes the app from recent apps
2015-02-26 21:38:13 +00:00
Synced Synapse 337ac9450a Added new options to sync audio and subtitles. 2015-02-18 23:21:59 +00:00
Synced Synapse 9466d9e0a8 Replace Codec button with Context button on remote.
Move Codec button to long click on Info button.
2015-02-16 23:40:51 +00:00
Synced Synapse 40fca3f9bc Fix aspect ratios of image posters, keeping them square when they are not video 2015-02-16 11:36:21 +00:00
Synced Synapse 63fdb8065c Prevent invalid port numbers on host manual configuration 2015-02-16 10:26:19 +00:00
Synced Synapse d10df30080 Improve performance of notifications 2015-02-15 22:42:20 +00:00
Synced Synapse 4c18a6563c Added new setting to control the use of hardware volume keys 2015-02-15 19:34:56 +00:00
Synced Synapse 24ef1d5ff6 Added now playing notifications 2015-02-15 19:34:17 +00:00
Andrew Barnes af2616ce16 Add support for hardware volume keys 2015-02-14 16:30:36 +11:00
Synced Synapse 58c7a5d3f6 Fixed bad architecture decision: set read timeout on tcp socket, so that it gets closed automatically after a set period of time. This way there's no need to invoke disconnect() when each activity pauses, so we don't have to maintain this control. 2015-02-10 23:17:16 +00:00
Synced Synapse a99c0d32ca Changed music sync to insert partial results in DB as they are obtained 2015-02-04 23:24:29 +00:00
Synced Synapse ca31a0ebb1 Merge pull request #12 from b333z/sync
In song sync batch to db avoiding OOM
2015-02-04 19:39:11 +00:00
Synced Synapse 9b17da2800 Imediately switch to remote when selecting a new host 2015-02-01 15:50:37 +00:00
Synced Synapse 3fe5594f91 New options to sort movies and tv shows: name or date added
Ignore prefixes on movies and tv shows is now an option in the list menu
Set lint to not complain about missing translations
Started moving things out of Settings.java and into SharedPreferences
2015-02-01 15:00:12 +00:00
Synced Synapse 30b1c117d3 Merge branch 'master' of https://github.com/SyncedSynapse/Kore 2015-02-01 12:18:46 +00:00
Andrew Barnes 32e032af28 In song sync batch to db avoiding OOM 2015-02-01 12:22:32 +11:00
Andrew Barnes 47ef767b25 Suffix common prefixes from title sort 2015-01-30 22:40:06 +11:00
Synced Synapse f46b18a15c Decrease interval for auto-updating of movies/tv shows 2015-01-29 23:03:43 +00:00
Synced Synapse c4d5c4bca9 Added support for ToggleFullScreen. Using Input.ExecuteAction instead of GUI.SetFullscreen because the later doesn't work. 2015-01-25 14:32:13 +00:00
Synced Synapse be130b85e4 Fix crash when selecting dividers on the Nav Drawer 2015-01-25 10:57:51 +00:00
Synced Synapse a0f6a04118 Automatically expand the first season that has unwatched episodes. 2015-01-24 12:06:19 +00:00
Synced Synapse 6fc84b5036 Show character avatar in remote posters when there's no image. 2015-01-24 11:14:40 +00:00
Synced Synapse 6cb65f627d New actions to clean/update the audio/video libraries 2015-01-23 22:48:22 +00:00
Synced Synapse c7d822e68a Check if fragment is attached to activity on API callbacks, to prevent crashes. 2015-01-23 19:42:43 +00:00
Synced Synapse 7a4352f221 Possible fix to a NullPointerException that i can't reproduce but is on the Developer Console 2015-01-21 22:03:17 +00:00
Synced Synapse 5709a0faf5 Fix StringIndexOutOfBounds Exception when title is null 2015-01-19 22:42:35 +00:00
Synced Synapse 6a9c7200ce Increased connection timeout and removed read timeout from HTTP connection. 2015-01-18 14:40:14 +00:00
Synced Synapse 56ef1a9497 Changed library sync to include limits when getting media info from media center 2015-01-18 12:31:55 +00:00
Synced Synapse 850e9809e2 Remove empty view click listener from lists as it wasn't working
Changed empty list message to make it correct
2015-01-17 11:48:42 +00:00
Synced Synapse 19f82a1827 Continue syncing till the end even if there's an error in one sync item 2015-01-17 11:47:21 +00:00
Synced Synapse 0e043ab0ac Automatically switch to remote after media start 2015-01-17 10:45:34 +00:00
Synced Synapse 9972271b9c First dump 2015-01-14 11:12:47 +00:00