Commit graph

211 commits

Author SHA1 Message Date
Avently
b99b756435 Marked many (too many) variables as final 2020-07-12 03:59:47 +03:00
Avently
60fd42dfa3 Changes for review 2020-06-27 06:25:50 +03:00
Avently
b190231a1d New features and fixes
- added autoplay options inside settings: always, only on wifi, never
- now statusbar will be shown in fullscreen mode
- playlists, channels can be autoplayed too (if enabled)
- changed title of background activity to Play queue
- fixed a crash
2020-01-08 19:16:50 +03:00
Avently
04cf05c969 First block of fixes for review
- popup player click event changed to show/hide buttons
- queue panel WORKS. Finally
- removed theme overriding in fragment
- added scroll to top after stream selection
- adjusted padding/margin of buttons in player
- player will itself in fullscreen after user hides it in fullscreen mode and then expands it again while video still playing
2019-12-31 19:06:39 +03:00
Avently
efc10c8717 All players in one place
- main, background, popup players now connected via one service, one view, one fragment, one activity and one gesture listener
- playback position is synchronized between players. Easy to switch from one to another
- expandable player at the bottom of the screen with cool animation and additional features like long click to open channel of a video, play/pause/close buttons and swipe down to dismiss
- in-player integrated buttons for opening in browser, playing with Kodi, sharing a video
- better background playback that can be activated in settings. Allows to automatically switch to audio-only mode when going to background and then switching to video-mode when returning to the app.
2019-12-30 00:15:01 +03:00
Markus
abc61fa14d Remove commented-out code and hide stacktraces in release mode 2019-12-13 21:46:19 +01:00
Markus
7718801390 Fix formatting and remove unused code 2019-12-13 21:43:03 +01:00
Markus Richter
c13f0249c8 Enable TLS v1.1/1.2 for KitKat devices
This enables modern TLS versions in the collection browser, the Downloader and the Player.
This is neccessary because media.ccc.de rejects all older TLS connection attempts, see issue #2777.
2019-12-13 21:42:58 +01:00
yausername
7547dd59b3 merged upstream/dev 2019-12-10 01:37:33 +05:30
kapodamy
f719f8f38a add missing change after updating NPE
use +webm_opus instead of +opus
2019-12-07 00:16:01 -03:00
yausername
d41ae244c1 update extractor, kiosk names and icons 2019-12-03 01:50:23 +05:30
yausername
aba23d54bb white space changes 2019-11-24 21:42:05 +05:30
yausername
5047d5430f merged origin/peertube-ui 2019-11-24 21:19:23 +05:30
yausername
491cc18bfd easily switch between multiple peertube instances 2019-11-24 21:08:06 +05:30
TobiGr
62f43902f7 Fix code formatting 2019-11-23 20:04:40 +01:00
yausername
512fca8897 validate peertube instance. changed peertube color 2019-11-23 00:31:35 +05:30
yausername
2a843a16d7 merged upstream/dev 2019-11-20 03:48:56 +05:30
Mauricio Colli
ab1c2b00da Show parsed relative times instead of whatever the service gives us
Before, the direct value was given to the user, now it uses the parsed
date so we can match the device's language.

To get the relative time from the parsed dates, we use the PrettyTime
library.

Also introduces a debug option to check the service's original value.
2019-11-17 23:58:55 -03:00
Mauricio Colli
8df3186f83 Show proper text for live streams watching/listening count 2019-11-17 23:58:54 -03:00
Mauricio Colli
cb2f0625b1 Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00
yausername
ca9dff049c merged upstream/dev 2019-11-16 04:37:14 +05:30
Robin
edd5ad2d13 Migrate to AndroidX 2019-10-04 14:59:08 +02:00
kapodamy
cc7797b2dc add @NotNull 2019-09-01 18:07:14 -03:00
kapodamy
1e1f68e3dd show hidden directories in the file picker 2019-09-01 17:35:42 -03:00
kapodamy
fa0dbaf953 add manual switch in download setting fragment
switch for:
* Java I/O Api
* Storage Access Framework
2019-08-17 13:38:33 -03:00
kapodamy
a73b0ef5e2 misc changes
* restore permission request popup previously removed in #2486
* use legacy file picker in cases where saf file picker is not available
* fix missing file check logic in prepareSelectedDownload method (DownloadDialog.java)
2019-08-15 01:09:36 -03:00
yausername
87c2171898 remove controls animation/flicker 2019-08-07 22:27:58 +05:30
kapodamy
1ea852df1f drop unused popup storage permission request 2019-08-02 01:07:37 -03:00
Stypox
67263a5ae4 Rename action to defaultAction in StreamDialogEntry
To improve readability
2019-07-25 01:07:51 +02:00
Stypox
bc0ce4c21f Ensure default actions cannot be overwritten permanently in StreamDialogEntry 2019-07-25 00:53:13 +02:00
Stypox
bd18d38e5c Remove ugly if-else-cascade in
Common actions and labels are now in a unique enum: StreamDialogEntry
If an action is not common to every long-press menu (e.g. delete) a custom action has to be provided using e.g. delete.setAction(...)
2019-07-25 00:44:12 +02:00
Christian Schabesberger
1833580102 Merge branch 'dev' into removeextra 2019-06-26 15:42:47 +02:00
Vasily
ea8bdd8835 Merge branch 'dev' into playback_state_list 2019-06-23 20:23:29 +03:00
kapodamy
64626a7709 more SAF implementation
* full support for Directory API (Android Lollipop or later)
* best effort to handle any kind errors (missing file, revoked permissions, etc) and recover the download
* implemented directory choosing
* fix download database version upgrading
* misc. cleanup
* do not release permission on the old save path (if the user change the download directory) under SAF api
2019-06-03 18:18:20 -03:00
kapodamy
8d8059229f New MP4 muxer + Queue changes + Storage fixes
Main changes:
* correctly check the available space (CircularFile.java)
* misc cleanup (CircularFile.java)
* use the "Error Reporter" for non-http errors
* rewrite network state checking and add better support for API 21 (Lollipop) or higher
* implement "metered networks"
* add buttons in "Downloads" activity to start/pause all pending downloads, ignoring the queue flag or if the network is "metered"
* add workaround for VPN connections and/or network switching. Example: switching WiFi to 3G
* rewrite DataReader ¡Webm muxer is now 57% more faster!
* rewrite CircularFile, use file buffers instead of memory buffers. Less troubles in low-end devices
* fix missing offset for KaxCluster (WebMWriter.java), manifested as no thumbnails on file explorers

Download queue:
* remember queue status, unless the user pause the download (un-queue)
* semi-automatic downloads, between networks. Effective if the user create a new download or the downloads activity is starts
* allow enqueue failed downloads
* new option, queue limit, enabled by default. Used to allow one or multiple downloads at same time

Miscellaneous:
* fix crash while selecting details/error menu (mistake on MissionFragment.java)
* misc serialize changes (DownloadMission.java)
* minor UI tweaks
* allow overwrite paused downloads
* fix wrong icons for grid/list button in downloads
* add share option
* implement #2006
* correct misspelled word in strings.xml (es) (cmn)
* fix MissionAdapter crash during device shutdown

New Mp4Muxer + required changes:
* new mp4 muxer (from dash only) with this, muxing on Android 7 is possible now!!!
* re-work in SharpStream
* drop mp4 dash muxer
* misc changes: add warning in SecondaryStreamHelper.java,
* strip m4a DASH files to normal m4a format (youtube only)

Fix storage issues:
* warn to the user if is choosing a "read only" download directory (for external SD Cards), useless is rooted :)
* "write proof" allow post-processing resuming only if the device ran out of space
* implement "insufficient storage" error for downloads
2019-06-03 18:09:43 -03:00
Vasiliy
a82023415c Refactor adapter 2019-04-27 21:23:52 +03:00
sherlock
e6041939bf removed the gena strings. 2019-04-17 16:45:40 +05:30
Vasiliy
2e36b05a50 Implement playback state management 2019-04-13 13:34:36 +03:00
Stypox
03a74deeef Add ShareUtils class to share videos or open urls in browser. 2019-04-06 20:11:23 +02:00
yausername
66fe5830ea reordered services 2019-03-23 19:49:37 +05:30
Ritvik Saraf
abcbc333e5 seek on clicking timestamp links in comments 2019-03-13 07:01:24 +05:30
Ritvik Saraf
1c45948255 merged upstream/dev, changes for peertube support 2019-03-10 01:02:25 +05:30
Ritvik Saraf
094d06524f handling timestamp links in comments 2019-03-02 05:12:06 +05:30
Ritvik Saraf
878891bcef make links in comments clickable, increase text size 2019-03-01 13:28:32 +05:30
Christian Schabesberger
5f5c7575d0 Merge branch 'dev' into dev 2019-02-19 17:35:49 +01:00
Christian Schabesberger
31bf8215f4 move firetv utils into utils package 2019-02-19 14:57:49 +01:00
Ritvik Saraf
4113e744c4 merged upstream/dev 2019-02-16 02:06:18 +05:30
Ritvik Saraf
7a11a72935 merged upstream/dev 2019-01-29 22:32:58 +05:30
Christian Schabesberger
fd09daad8d add content filter to mediaccc 2019-01-29 17:20:30 +01:00
Christian Schabesberger
424854e664 add conferences 2019-01-29 15:39:18 +01:00