Commit Graph

381 Commits

Author SHA1 Message Date
TobiGr b883ad1657 Update extractor to TeamNewPipe/NewPipeExtractor@8cb3250
Fix soundcloud client id extraction
Improve handling of missing uploader in playlist
2019-12-12 18:47:26 +01:00
yausername 7a67d192c3
updated extractor 2019-12-03 07:22:14 +05:30
yausername 890d1cb50b
update extractor, kiosk names and icons 2019-12-03 01:50:23 +05:30
yausername 527c38adf9 easily switch between multiple peertube instances 2019-11-24 21:08:06 +05:30
yausername ac2543d0a1 validate peertube instance. changed peertube color 2019-11-23 00:31:35 +05:30
yausername ceabfd1a8b updated extractor 2019-11-21 05:41:14 +05:30
yausername 596005c69e merged upstream/dev 2019-11-20 03:48:56 +05:30
Redirion dcd7055a9d
Bump ExoPlayer to 2.10.8
Here we go again.
Minor update.
ExoPlayer Changelog: https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md
2019-11-19 14:25:40 +01:00
Mauricio Colli b125ff702a
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 71f1bbdcc1
Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00
yausername b6be586766 merged upstream/dev 2019-11-16 04:37:14 +05:30
Redirion 3e079a6858
Bump ExoPlayer to 2.10.7
Little dependency update.
ExoPlayer Changelog: https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md
2019-11-07 16:36:45 +01:00
Mauricio Colli 137fabee0e Update Gradle and introduce Kotlin 2019-11-03 13:33:13 +01:00
TobiGr 93af5f8fbb Bump to 0.17.4 (790) 2019-10-28 01:13:06 +01:00
TobiGr c4eaee1e31 Update extractor version and add head request to downloader 2019-10-28 01:13:06 +01:00
Redirion babd5336a0
Bump ExoPlayer to 2.10.6 and OkHttp to 3.12.6
Little dependency update.
ExoPlayer Changelog: https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md
OkHttp Changelog: https://square.github.io/okhttp/changelog_3x/#version-3126
2019-10-19 05:58:48 +02:00
Robin bf353875b0 Update okhttp to match ExoPlayer 2019-10-07 11:18:26 +02:00
Robin dcd5197a19 Update to ExoPlayer 2.10.5 2019-10-07 11:18:26 +02:00
TobiGr a02e12abe8 Update extractor 2019-10-07 11:01:01 +02:00
Robin bf2a3ca043 Migrate to AndroidX 2019-10-04 14:59:08 +02:00
yausername cf6380b3c7 Merge remote-tracking branch 'upstream/dev' into videoDetailscrollFix 2019-10-02 06:35:44 +05:30
Stypox ad411344db
Merge branch 'dev' into add-transitive-dependencies 2019-10-01 21:07:41 +02:00
yausername 5d9b5a063b fix scrolling in video detail fragment. fixes #2627 2019-09-29 22:05:29 +05:30
Christian Schabesberger 748f70ba87 fix subscriber count 2019-09-18 15:31:06 +02:00
TobiGr ec4757d6de Move on to 0.17.3 2019-09-12 22:52:40 +02:00
TobiGr 6447af8541 Update extractor version to fix live streams 2019-09-12 22:43:07 +02:00
Christian Schabesberger 209c1f8bc2 merge master back into dev 2019-09-12 13:22:24 +02:00
Tobias Groza 5e101a4d32
Merge branch 'dev' into patch-1 2019-09-12 09:23:30 +02:00
Christian Schabesberger 7d0df7aa80 add fixed extractor and move on to version 0.17.2 2019-09-11 22:30:41 +02:00
Christian Schabesberger 7ba71e3b37 use newerextractor 2019-08-22 11:39:32 +02:00
jimbo1qaz 8036c831a5 Add missing dependencies inherited from NewPipeExtractor into NewPipe
- NewPipe uses nanojson and jsoup, despite not declaring them.
- NewPipe depends on NewPipeExtractor, which depends on nanojson and jsoup.
- Gradle lets NewPipe use nanojson and jsoup, but this breaks when I use:

includeBuild('../NewPipeExtractor') {
    dependencySubstitution {
        substitute module('com.github.TeamNewPipe:NewPipeExtractor') with project(':extractor')
    }
}
2019-08-17 23:27:04 -07:00
Christian Schabesberger b992add77b move on to version 0.17.1 2019-08-18 01:00:54 +02:00
Stypox 63def07a0e
Add url to recaptcha exceptions, after update in extractor 2019-08-17 09:25:49 +02:00
Andrew 89f2cd6ec0
Merge branch 'dev' into patch-1 2019-08-14 17:39:57 +01:00
Andrew f947856a61
Revert last commit 2019-08-08 01:13:34 +00:00
Andrew c4967532e4
Use commit from extractor pr 2019-08-08 01:07:51 +00:00
TobiGr 31f3757880 Move on to version 0.17.0 (750) 2019-08-03 00:35:45 +02:00
TobiGr ffe8d4b689 Update extractor version to fix video duration parsing failure 2019-07-31 18:35:46 +02:00
Christian Schabesberger 3a6c22da5c update to latest dev extractor 2019-07-21 15:08:17 +02:00
Tobias Groza 1684a2110c Update Extractor 2019-06-03 22:06:58 +02:00
Tobias Groza 66b26e52ce Update extractor version 2019-05-14 23:16:43 +02:00
Tobias Groza 40efed6580 Update version code and name to NewPipe 0.16.2 2019-04-28 03:34:47 +02:00
Tobias Groza 78b1c1eb4a Merge remote-tracking branch 'TeamNewPipe/master' into dev 2019-04-28 03:34:38 +02:00
yausername 039a8e0b87 reordered services 2019-03-23 19:49:37 +05:30
Christian Schabesberger d8746dc592 hotfix decrypt function and move on to version v0.16.1 2019-03-14 09:20:37 +01:00
Ritvik Saraf d90b1ca5be merged upstream/dev, changes for peertube support 2019-03-10 01:02:25 +05:30
Robin 4d80bdcc9f Update ExoPlayer to 2.9.6, including httook dependency and deprecations 2019-03-05 18:05:44 +01:00
Ritvik Saraf 8491035b2f updated extractor 2019-03-03 04:34:50 +05:30
Christian Schabesberger da8644168c Merge branch 'master' into dev 2019-03-01 09:53:43 +01:00
Christian Schabesberger 9af6effad9 move on to version 0.16.0 2019-02-24 22:52:07 +01:00
Christian Schabesberger e3fccd7125 fix invalid channel url for commends 2019-02-24 22:10:16 +01:00
Ritvik Saraf 841124b1f3 updated extractor, fixed settings padding 2019-02-20 05:24:33 +05:30
Ritvik Saraf 56cb8209b8 refactored comments capability 2019-02-16 01:23:26 +05:30
Ritvik Saraf 77c6d3d576 merged upstream/dev 2019-01-29 22:32:58 +05:30
Christian Schabesberger 338893ded4 fix merge conflict 2019-01-23 16:12:21 +01:00
Christian Schabesberger 43e4fbfcd0 fix livestream issue, and move on to v0.15.1 2019-01-20 14:23:41 +01:00
Ritvik Saraf 86d619be30 merged upstream/dev 2019-01-19 15:48:05 +05:30
Ritvik Saraf fec7672598 updated extractor for url decryption fix 2019-01-19 15:26:31 +05:30
Christian Schabesberger 8c94926693 move on to version 0.15.0 2019-01-18 20:46:50 +01:00
Christian Schabesberger 880a176e65 move on to version 0.15.0 2019-01-18 20:34:43 +01:00
Ritvik Saraf 845663f80f added themeing for peertube, change peertube instance 2018-12-29 23:06:39 +05:30
krtkush b674006fcc Conflict resolution. 2018-12-28 18:07:54 +05:30
Ritvik Saraf d61797fa3a merged dev 2018-12-25 19:31:25 +05:30
Ritvik Saraf 990c220fa0 updated extractor 2018-12-23 09:44:42 +05:30
Ritvik Saraf 9b84046865 merged upstream/dev 2018-12-04 23:19:57 +05:30
kapodamy 7e9bcff0f3
Merge branch 'dev' into giga-postprocessing 2018-11-28 22:53:29 -03:00
krtkush 26e22f97ee Conflict resolution 2018-11-23 01:41:47 +05:30
kapodamy fef9d541ed misc fixes
* use getPreferredLocalization() instead of getLocalization()
* use lastest commit in build.gradle
* fix missing cast in MissionAdapter.java
2018-11-19 15:50:15 -03:00
Christian Schabesberger 25d6806ebd set minSdk to 19 and deprecate old player 2018-11-13 17:27:47 +01:00
Christian Schabesberger afaba7ccdf fix broken search result 2018-10-25 15:58:06 +02:00
Christian Schabesberger 0e86010565 move on to version 0.14.2 2018-10-19 15:53:19 +02:00
Christian Schabesberger 8006a7d578
Merge branch 'dev' into lang 2018-10-16 16:01:32 +02:00
Ritvik Saraf cc6989b4f9 updated extractor 2018-10-12 13:16:16 +05:30
Ritvik Saraf fc31458cc4 added peertube 2018-10-12 02:34:30 +05:30
TacoTheDank d3fcb0aa6a
Update build.gradle 2018-10-10 14:29:26 -04:00
TacoTheDank ffae2eda83 simply update gradles to 28, and some dependencies 2018-10-09 12:22:30 -04:00
Christian Schabesberger ebbb23ffbb fix bugs in country search 2018-10-06 17:18:19 +02:00
Christian Schabesberger f7e29c1e00 revert sdk upgrade 2018-10-06 12:06:03 +02:00
Christian Schabesberger 52bf5690c0 add support for content language and content country 2018-10-05 16:20:27 +02:00
Ritvik Saraf 803b8eab28 updated extractor version 2018-09-28 05:04:36 +05:30
Ritvik Saraf 08bbfc50ee updated extractor 2018-09-27 23:27:52 +05:30
Ritvik Saraf 4e6722f201 updated extractor and downloader 2018-09-27 04:20:57 +05:30
Ritvik Saraf a29e2116a7 handling error while loading comments 2018-09-27 00:53:36 +05:30
Ritvik Saraf 7047b62442 added comments fragment 2018-09-23 07:02:19 +05:30
Ritvik Saraf 5cc73555cd updated extractor version 2018-09-19 05:41:01 +05:30
Ritvik Saraf 219922cd82 added commentsInfo in streamInfo 2018-09-19 05:13:55 +05:30
Kartikey Kushwaha 7124d9bca5 Removed flvor checks. Added update settings under main settings. 2018-09-15 20:51:17 +05:30
Ritvik Saraf 08127e5806 added basic/crappy comments support 2018-09-15 17:15:44 +05:30
Kartikey Kushwaha cde5f7d12e Merge branch 'dev' of https://github.com/krtkush/NewPipe into 1520_app_update_notif 2018-09-15 13:30:09 +05:30
Kartikey Kushwaha 395c9587b6 Conflict resolution. 2018-09-15 13:22:13 +05:30
Christian Schabesberger 784e01347c fix wrong subscriptini count 2018-09-11 15:16:39 +02:00
Christian Schabesberger 05f8ee9747 fix channel links in description part 2 2018-09-07 22:23:32 +02:00
Christian Schabesberger 818ae03928 fix decrypt url and move on to v0.14.1 2018-09-07 21:51:14 +02:00
Mauricio Colli 612228bb73
Update extractor version
- Handle case where subscribers count is not available
- Fix NPE when a YouTube playlist is empty
- Quick fix for the kiosks in SoundCloud
2018-09-05 07:29:15 -03:00
Christian Schabesberger c066ebd76f merge extractor fix for empty subscriptioin count 2018-09-04 14:31:08 +02:00
Christian Schabesberger 91c60df0e9 move on to v0.14.0 2018-08-28 18:04:45 +02:00
Christian Schabesberger b1429366da fixes acording to code review
fixes moreacording to code review

fixed link handling once more
2018-08-28 12:19:07 +02:00
Christian Schabesberger ce83fd9a10 make dash parser ignore segmented streams 2018-08-27 16:37:21 +02:00
Christian Schabesberger badd4d3207 fix linkhandling in description
bla
2018-08-27 16:37:21 +02:00
Christian Schabesberger c2d11e786f rename Search Query handler 2018-08-27 16:37:21 +02:00
Christian Schabesberger 2d029b9f76 fix exception when loading premium videos 2018-08-27 16:37:21 +02:00
Somethingweirdhere 27f509c8e0 Fixed 2. Use CardView to reprecent each tab. 2018-08-24 12:17:42 +02:00
Somethingweirdhere 6675d3e2cd Set up custom Main Page tabs 2018-08-24 12:14:53 +02:00
Kartikey Kushwaha 75a44fb30a Added HTTPS request to get version data. Added APK flaor for github and fdroid. 2018-08-11 19:13:52 +05:30
Christian Schabesberger b52dee37f4 move on to version v0.13.7 2018-07-23 18:54:40 +02:00
Christian Schabesberger 82bb467a2a move on to version v0.13.6 2018-07-21 14:35:03 +02:00
Christian Schabesberger e60db5f928 make new filtersystem translatable 2018-07-19 16:18:57 +02:00
Christian Schabesberger 14e0dcb085 fix names from UIH to LinkHandler 2018-07-15 21:21:09 +02:00
Christian Schabesberger decb167ba9 make the new extractor refactorings work with SoundCloud 2018-07-10 16:26:42 +02:00
Christian Schabesberger d5a500c037 bring everything to compile and run 2018-07-08 17:46:21 +02:00
Christian Schabesberger d10f9a5f25 add getMoreInfo to SearchInfo 2018-07-08 14:45:00 +02:00
John Zhen Mo 644766b5a6 -Updated exoplayer lib to 2.8.2. 2018-06-28 12:21:03 -07:00
John Zhen Mo 0ece4851d2 -Updated ExoPlayer to 2.8.1, fixing livestream with long duration not loading.
-Updated OkHttp to 3.10.0 and RxJava to 2.1.14.
-Changed player recovery seek to use ExoPlayer built-in window seeking instead of seeking after stream window starts playing.
-Changed playback speed changer default step size to 25%.
-Changed player notification to reset on all state changes.
-Fixed gradle dependency version incorrect variable names.
-Fixed video player double tap not working during pause.
-[#1412] Fixed NPE when sharing video to main video activity when it was playing but is out of focus: Reset main player state when new intent is received.
-[#1410] Fixed fast forwarding and rewinding not working within 10 seconds from beginning or end of a stream window.
2018-06-28 12:01:34 -07:00
John Zhen Mo 7721098551 -Updated ExoPlayer to 2.8.0
-Updated MediaSource contracts in ManagedMediaSource.
-Changed PlaceholderMediaSource and FailedMediaSource to use built-in BaseMediaSource implementation.
-Changed deprecated DynamicConcatenatingMediaSource to ConcatenatingMediaSource.
-Removed manual playlist media source disposal in favor of player built-in disposal.
2018-06-28 11:58:32 -07:00
John Zhen Mo 27131d15dd -Updated room db to 1.1.1.
-Fixed database import/export to no longer include accessory db files to ensure backward compatibility.
2018-06-26 12:26:01 -07:00
John Zhen Mo fb1a290bd9 -Updated okHttp to 3.10.0.
-Updated mockito to 2.8.9.
-Updated rxJava to 2.1.14.
-Fixed stetho to use correct lib version.
2018-06-26 12:02:26 -07:00
Christian Schabesberger 2a45a13f73 move on to version v0.13.5 2018-06-03 12:36:35 +02:00
Christian Schabesberger 0a6572c282 roll back to more stable version of newpipe extractor 2018-05-25 18:29:30 +02:00
Christian Schabesberger 3937067be1 move on to version 0.13.4 2018-05-25 09:45:22 +02:00
Christian Schabesberger d638fa1434 use commit from newpipeextractor master 2018-05-11 18:00:28 +02:00
Christian Schabesberger e6d700288c fix afiliate parse link failure 2018-05-11 18:00:28 +02:00
Christian Schabesberger 371f14cdc9 make compartible to yoututbe service restructure 2018-05-11 18:00:28 +02:00
Christian Schabesberger 0733ae2404 make compatible with encosing urlidhandler commit 2018-05-11 18:00:28 +02:00
Christian Schabesberger ff21430b43 move on to v0.13.3
also:
- reduce snack bar error visibility time
- fix metadata error
2018-05-04 16:21:36 +02:00
Christian Schabesberger 719140ab78 resolve conflict 2018-04-29 17:13:45 +02:00
Christian Schabesberger 004c2fa55a Project restructure for history part 1
- add HistoryInfoItem (deriving from StreamInfoItem)
  in order to add a special options menu for the list items
- delete HistoryActivity and everything that belongs to its UI (not the
  manager tho)
- put everything that is local into local. (subscriptions still missing)
2018-04-29 12:47:12 +02:00
Andrei.Rosca b494b2ea39 Remove GSON lib 2018-04-29 01:06:34 +02:00
Christian Schabesberger 7d427b4cc4 move on to v0.13.2 2018-04-14 11:22:26 +02:00
John Zhen Mo c9915bba18 -Reversed special seek logic for short buffer livestreams.
-Fixed loader cleaning potentially canceling existing correct loading items.
-Updated ExoPlayer to 2.7.3.
2018-04-11 20:27:39 -07:00
John Zhen Mo 3de9da0528 -Bump exoplayer dependency to 2.7.2. 2018-04-11 20:27:38 -07:00
Mauricio Colli 140fb86401
Fix Info's start time when using VideoDetailFragment
- Update extractor dependency
2018-04-06 04:35:44 -03:00
Christian Schabesberger a0f74e715a fix bugreport for kiosk 2018-04-01 21:54:00 +02:00
Christian Schabesberger bcb26c5721 move on to version 0.13.1 2018-04-01 15:29:57 +02:00
Christian Schabesberger d6f7b4706b remove beta build 2018-03-30 11:09:07 +02:00
Christian Schabesberger b40dd3e5c0 update gradle 2018-03-30 10:58:32 +02:00
Christian Schabesberger 79e3e59cae move on to version 0.13.0 2018-03-25 11:18:51 +02:00
John Zhen Mo e885822a34 -Added playback speed control dialog to allow full user control over player tempo and pitch parameters.
-Changed tempo and pitch button in service player activity and tempo button in main video player to open speed control dialog.
-Changed LIVE button to be no longer clickable when player position is at or beyond default position.
-Changed main video player to use AppCompatActivity rather than Activity.
-Fixed video player tempo button not updating when player speed parameters change.
-Fixed player crashing on lower sdk versions due to no MediaButtonReceiver, added intent back to manifest.
-Fixed inconsistent gradle library naming.
-Fixed stetho dependencies incorrect version.
2018-03-21 00:11:54 -07:00
John Zhen Mo bc7188c8a8 -Added media session implementation for all players.
-Extracted version numbers in gradle dependencies.
-Updated ExoPlayer to 2.7.1.
-Updated RxJava to 2.1.10, RxAndroid to 2.0.2 and RxBinding to 2.1.1.
-Removed deprecated implementation of media buttons.
2018-03-19 16:44:18 -07:00
John Zhen Mo 5a05cb96be -Changed start position seek to occur after media source window has been prepared.
-Fixed livestream not seeking to live when started from play queue.
-Fixed media source manager synchronization to only occur after timeline change has completed.
-Fixed auto queue not working when last item is replayed after the auto-queued item is removed.
-Updated ExoPlayer to 2.7.1.
2018-03-19 16:44:17 -07:00
John Zhen Mo 2fa9aa04f4 -Bump support library and multidex version. 2018-03-19 16:40:40 -07:00
Christian Schabesberger 96a327af17 made frontend combatible to latest extractor refactorings 2018-03-18 16:37:49 +01:00
Christian Schabesberger 6049a1f2f5 fix playlist banner foo 2018-03-12 16:18:03 +01:00
Mauricio Colli 83b084a90b Implement subscriptions import/export
- Import subscriptions from YouTube and SoundCloud (all services that the extractor support)
- Import/export a JSON representation of the subscriptions
- [Minor] Remove some javax annotations in favor of the one provided by the android support library
2018-03-08 10:39:24 -03:00
Schabi c3efb40b8e move to latest version of extractor 2018-03-06 19:44:17 +01:00
John Zhen Mo 0c17f0825b -Added loader eviction to avoid spawning too many threads in MediaSourceManager.
-Added nonnull and final constraints to variables in MediaSourceManager.
-Added nonnull and final constraints on context related objects in BasePlayer.
-Fixed Hls livestreams crashing player when behind live window for too long.
-Fixed cache miss when InfoCache key mismatch between StreamInfo and StreamInfoItem.
2018-03-03 11:42:23 -08:00
John Zhen Mo b4668367c6 -Added better assertions and documentations to new mechanism in MediaSourceManager.
-Modified LoadController to allow fast playback start and increased buffer zigzag window.
-Removed unnecessary loading on timeline changes.
-Changed select message in MediaSourceManager to cause immediate load.
-Reduced default expiration time in MediaSourceManager.
-Fixed main video player not showing end time on audio-only streams.
-Fixed live stream has player view disabled after transitioning from audio stream.
-Fixed inconsistent progress bar height between live and non-live video on main player.
2018-02-28 17:45:05 -08:00
John Zhen Mo 563a4137bd -Fixed inconsistent audio focus state when audio becomes noisy (e.g. headset unplugged).
-Fixed live media sources failing when using cached data source by introducing
cacheless data sources.
-Added custom track selector to circumvent ExoPlayer's language normalization NPE.
-Updated Extractor to correctly load live streams.
-Removed deprecated deferred media source and media source manager.
-Removed Livestream exceptions.
2018-02-25 15:10:11 -08:00
John Zhen Mo 8803b60b28 -Updated Exoplayer to 2.7.0.
-PoC for new seamless stream loading mechanism.
2018-02-24 21:54:47 -08:00
Christian Schabesberger a42da09d6c make NewPipe compatible with latest Extractor refactorings 2018-02-24 22:57:25 +01:00
John Zhen Mo d936ca6b89 -Added view registration on repeats.
-Added drag reorder speed clamping to play queue list.
-Fixed service player activity memory leak.
-Fixed media source manager sync disposable fallthrough causing NPE.
-Fixed thread bouncing during play queue item async stream resolution.
-Updated ExoPlayer to 2.6.0.
2018-02-20 21:15:23 -08:00