Commit graph

1576 commits

Author SHA1 Message Date
kapodamy
fc04ddb5b4 misc changes
* OggFromWebMWriter: rewrite (again), reduce iterations over the input. Works as-is (video streams are not supported)
* WebMReader: use int for SimpleBlock.dataSize instead of long
* Download Recovery: allow recovering uninitialized downloads
* check range-requests using HEAD method instead of GET
* DownloadRunnableFallback: add workaround for 32kB/s issue, unknown issue origin, wont fix
* reporting downloads errors now include the source url with the selected quality and format
2019-11-26 10:46:28 -03:00
kapodamy
3a56ced82d Mp4FromDashWriter fixes
* correct calculation of "co64" box and usage of 64bits offsets
* generate one chunk for audio streams like ffmpeg does, attempt to fix cut-off audio
* misc. cleanup
2019-11-26 10:46:26 -03:00
kapodamy
2484698e8b long-term downloads resume
* recovery infrastructure
* bump serialVersionUID of DownloadMission
* misc cleanup in DownloadMission.java
* remove unused/redundant from strings.xml
2019-11-26 10:46:26 -03:00
kapodamy
1380a53a05 rewrite OggFromWebMWriter
* reduce the number of iterations over the output file (less seeking)
* fix audio samples with size of 255 do not handled correctly in the segment table (allows writing audio streams with 70kbps and 160kbps bitrate)
* add support for VORBIS codec metadata
* write packets based on the timestamp
2019-11-26 10:46:26 -03:00
kapodamy
511b859c38 implement webm to ogg demuxer
* used for opus audio stream
* update WebMReader and WebMWriter
* new post-processing algorithm
2019-11-26 10:46:26 -03:00
yausername
aba23d54bb white space changes 2019-11-24 21:42:05 +05:30
yausername
5f19703df1 Merge remote-tracking branch 'upstream/dev' into peertube-ui 2019-11-24 21:20:45 +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
Robin
273838ebf8 squashed commit 2019-11-24 16:24:39 +01:00
Robin
768dca0a28 Remember caption option in player, closes #2811 2019-11-24 11:10:50 +01:00
TobiGr
62f43902f7 Fix code formatting 2019-11-23 20:04:40 +01:00
yausername
58668cac92 removed extra white spaces 2019-11-23 00:53:14 +05:30
yausername
512fca8897 validate peertube instance. changed peertube color 2019-11-23 00:31:35 +05:30
yausername
05bc51c70b merged upstream/dev 2019-11-22 22:41:59 +05:30
mitosagi
00f1b114f3 Fix popup player gestures 2019-11-22 11:41:10 +01:00
Mauricio Colli
5dd9ef156d Make the KioskFragment aware of changes in the preferred content country 2019-11-20 00:23:35 -03:00
Mauricio Colli
910910f524 Use tab position from parameters instead of relying on the view pager 2019-11-20 00:23:34 -03:00
Mauricio Colli
bb34f3e711 Enable toolbar title visibility when setting a new one 2019-11-20 00:23:33 -03:00
Mauricio Colli
03c59cbb0d Clear the item list when starting loading 2019-11-20 00:23:31 -03:00
Mauricio Colli
991776c25e Fix broken view pager tabs implementation
- Fragments were being recreated from scratch (losing their state) every
time some configuration change occurred (e.g. screen rotation).
- Use `FragmentStatePagerAdapter` instead, as it is built to work with
them and manage their states.
2019-11-20 00:23:30 -03:00
Mauricio Colli
532d2f305a Fix mess with tab handling and enable ignored tests again
- Fix typo in a string resource
- Reorder tabs so the default kiosk is on top of the others
2019-11-20 00:23:29 -03:00
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
TobiGr
5a8714f8e4 Make "Default Kiosk" string translatable
Closes #2778
2019-11-04 11:21:41 +01:00
TobiGr
d4efc37d8d Fix release build 2019-10-31 20:37:49 +01:00
TobiGr
912086506c Update extractor version and add head request to downloader 2019-10-28 01:13:06 +01:00
Peter Hindes
72aab82d95 Fixed library showing null 2019-10-16 19:56:31 -06:00
Peter Hindes
218a19744c only use TextUtils.equals (fixes more crashes) 2019-10-15 17:22:17 -06:00
Peter Hindes
44d452c48b Comment out debuging code 2019-10-15 14:02:37 -06:00
Peter Hindes
bec19abc0e Using Strings
still need to find out why its null on the library
2019-10-15 12:49:24 -06:00
Peter Hindes
ae0b932d6f Much Simpler Fix 2019-10-15 09:11:04 -06:00
Peter Hindes
b6ec37cca0 describe what "Auto-Generated" Means 2019-10-15 09:01:30 -06:00
Peter Hindes
d048935d7f Revert "Merge branch 'dev-all-changes' into dev"
This reverts commit b203837b5f, reversing
changes made to e5024740ad.
2019-10-15 08:52:51 -06:00
Peter Hindes
b203837b5f Merge branch 'dev-all-changes' into dev 2019-10-15 08:51:30 -06:00
Peter Hindes
e5024740ad follow stye on debug 2019-10-15 08:48:36 -06:00
Peter Hindes
b63b608462 Polished Results 2019-10-15 08:40:51 -06:00
Peter Hindes
9a82232090 Better FIx, Improved Comment Style 2019-10-15 07:19:11 -06:00
Peter Hindes
9577c0f718 Fixes Improved 2019-10-15 07:18:06 -06:00
Peter Hindes
3df47c547a Revert "Revert "Added a restart song button to signle track expanded notification""
This reverts commit 900e63b12e.
2019-10-14 18:01:15 -06:00
Peter Hindes
81218f11ac Wrap in multiline comment so it colapses 2019-10-14 16:55:16 -06:00
Peter Hindes
9b8a042a2f Explain What we did in the code itself 2019-10-14 16:48:44 -06:00
Peter Hindes
900e63b12e Revert "Added a restart song button to signle track expanded notification"
This reverts commit dc6f31790e.
2019-10-14 16:41:38 -06:00
Peter Hindes
dc6f31790e Added a restart song button to signle track expanded notification
... and some comments to the code
2019-10-14 16:37:58 -06:00
Peter Hindes
6abc9be6be much simpler, "uploader" will never change on a playlist 2019-10-14 14:56:04 -06:00
Peter Hindes
5b6af31742 Fixed Playlists With No Uploader Crashing The App 2019-10-14 11:55:55 -06:00
Robin
e7de1bd2ec fix NPE, fix 'wrong' constant, avoid unnecessary nulling 2019-10-08 06:36:29 +02:00