Commit Graph

495 Commits

Author SHA1 Message Date
Benoît Mauduit 80c9dbf180 Cosmetic 2017-01-03 14:38:22 +01:00
Benoît Mauduit c9edac2820 Change the way to start reCaptchaActivity
* Use startActivityForResult() and onActivityResult() to refresh the
  search request when returning from reCaptcha activity.
2017-01-03 14:38:22 +01:00
Benoît Mauduit 143df9a529 Start reCaptcha activity when starting video directly 2017-01-03 14:38:22 +01:00
Benoît Mauduit c87da9903f Set result code and finish() Activity instead of starting MainActivity
* Activities will start reCaptchaActivity with startActivityForResult and
look for RECAPTCHA_REQUEST and RESULT_OK | RESULT_CANCELED in : 'onActivityResult()'
2017-01-03 14:38:22 +01:00
Coffeemakr ac0dff7aa1 Make shure thread quits before service 2016-12-27 16:17:59 +01:00
Coffeemakr f22b5157f5 Notify thread on play/pause 2016-12-27 15:58:17 +01:00
Coffeemakr 659d0d6115 Add PlaybackState broadcast messages
They can be used to retrieve the current playback
 * Duration
 * Played time
 * If the media player is playing
2016-12-27 15:52:02 +01:00
Coffeemakr 9494f3a299 Add progress bar to expanded notification 2016-12-27 14:49:59 +01:00
Coffeemakr 8021848b03 Remove note field completly
Always use noteBuilder directly to generate a notification
2016-12-27 14:41:30 +01:00
Coffeemakr 5a127c26e6 Improve notification building/updateing
* Use custom notification builder which has methods to set the artist
  and title and also a method to set the playing state
* Update builder instead of view -> resovles deprecated warnings
2016-12-27 14:37:18 +01:00
Coffeemakr 7c7129f9a1 Notifications: Set customs views in builder 2016-12-27 13:31:34 +01:00
Coffeemakr 05cbc7891d Typos corrected in StreamInfo 2016-12-27 13:26:48 +01:00
Coffeemakr 14623456ff Correct typos 2016-12-27 13:19:12 +01:00
Coffeemakr 5064ec3ac4 Fix spelling 2016-12-27 13:16:51 +01:00
Christian Schabesberger 1aed11c156 change ip address provider
removed null bomb
2016-12-25 19:32:38 +01:00
Christian Schabesberger e99e944ac3 make share with newpipe part of newpipe 2016-12-25 19:28:40 +01:00
Christian Schabesberger 6e523d37ba add copyright notice to DownloadListener 2016-12-25 15:24:37 +01:00
Christian Schabesberger 2aebf6b522 Merge branch 'master' of git://github.com/fr3ts0n/NewPipe into fr3ts0n-master 2016-12-25 15:20:31 +01:00
Christian Schabesberger 937a387f4e rename reCaptchaException to ReCaptchaException 2016-12-24 15:19:40 +01:00
Christian Schabesberger cd65f1dffc Merge branch 'reCaptcha' of git://github.com/be-neth/NewPipe into be-neth-reCaptcha 2016-12-24 14:13:12 +01:00
Christian Schabesberger c55dcccb1e Merge branch 'fix-channel-bannel-url' of git://github.com/coffeemakr/NewPipe into coffeemakr-fix-channel-bannel-url 2016-12-21 21:01:47 +01:00
Coffeemakr 83837bde11 Google begins with page 1 so we add 1 to our page starting with 0 2016-12-19 19:28:16 +01:00
Coffeemakr 05189dadbf Fix banner extaction 2016-12-19 13:32:03 +01:00
Benoît Mauduit 5cc1bbc4bb Add missing Override decorator 2016-12-07 22:26:54 +01:00
Benoît Mauduit 53796043c3 Start reCaptchaActivity when reCaptcha is requested and fix Typo
* Fix typo setSearchWorkerResultListner to setSearchWorkerResultListener
2016-12-07 22:26:54 +01:00
Benoît Mauduit a5ac528c02 Add reCaptchaException 2016-12-07 22:26:54 +01:00
Benoît Mauduit 54eb353d0d Add ReCaptcha Activity
* ReCaptchas are implemented using a simple WebView with Javascript enable.

 * All HTTP responses inside the WebView are catched (using onPageFinished())
 ** When Google reCatcha cookies are detected, register cookies to the
    Downloader class and Return to MainActivity
2016-12-07 22:26:54 +01:00
Benoît Mauduit 3391067cab Adding cookies member to Downloader 2016-12-07 22:26:54 +01:00
Benoît Mauduit b4f595eb75 Make Downloader class a Singleton 2016-12-07 22:26:54 +01:00
fr3ts0n 5bba8e02a6 add media scanner notification after successful download 2016-11-06 21:08:57 +01:00
Christian Schabesberger 01875b389d clean up extractor 2016-09-28 17:13:15 +02:00
Christian Schabesberger 5eef116aaa put Suggestion extraction into its own class 2016-09-28 12:53:23 +02:00
Christian Schabesberger 6ed4130b66 fix collisions 2016-09-28 11:54:35 +02:00
Felix Ableitner 5f7ee15d1e Launch video player in single task mode (fixes #154) 2016-09-28 13:09:42 +09:00
Christian Schabesberger 43afd5a2b8 clean up downloader thing 2016-09-27 22:59:04 +02:00
Christian Schabesberger f9ac199c1f fixed .webm download locatiion issue 2016-09-27 21:33:26 +02:00
Christian Schabesberger 76ba2824a2 stability improvements 2016-09-27 20:18:41 +02:00
Christian Schabesberger ca0d594547 cleaning away android stuff from extractor 2016-09-27 20:06:33 +02:00
Christian Schabesberger 2b89e24a4b make download dialog use radio button 2016-09-26 20:18:32 +02:00
Christian Schabesberger 931f34d2fd fixed related videos nullpointer exception 2016-09-26 18:01:39 +02:00
Christian Schabesberger 60e18aa045 similar videos scroll bug workaround 2016-09-26 17:02:55 +02:00
Christian Schabesberger 57f620485f fix ui crash bug 2016-09-14 18:35:17 +02:00
Christian Schabesberger efd2ac353e fix WORLD_MODE_READABLE bug
blub
2016-09-14 11:29:40 +02:00
Christian Schabesberger 863bf9dc8b fix channel has no second page bug 2016-09-14 11:15:08 +02:00
Christian Schabesberger b8a0801786 fixed bug regarding channels
acual fix
2016-09-14 00:50:18 +02:00
Christian Schabesberger a2a3b0575d gather all bug shit things 2016-09-13 23:39:32 +02:00
Christian Schabesberger 2b8954353d removed crash test line 2016-09-13 23:31:28 +02:00
Christian Schabesberger 9bd5aa0da4 add package field to crash report 2016-09-13 23:31:06 +02:00
Christian Schabesberger af2cddee91 made acra catch and report errors 2016-09-13 23:24:49 +02:00
Christian Schabesberger 27bc414616 add copyright notice 2016-09-13 22:38:45 +02:00
Christian Schabesberger 14eaedd73a use intent system to pass errors to error activity 2016-09-13 22:36:47 +02:00
Christian Schabesberger caf938f79f add channel extractor tests 2016-09-12 23:44:57 +02:00
Christian Schabesberger e0dbf4c2cd fix settings updateSummary 2016-09-12 16:22:02 +02:00
Christian Schabesberger 4bba84af8a Merge pull request #316 from jaytj95/master
Added rewind capability to notification control
2016-09-12 00:57:53 +02:00
Christian Schabesberger bd7077c1cf fix rising exception for empty related videos 2016-09-12 00:56:20 +02:00
Christian Schabesberger a63128bd45 add addblock 2016-09-12 00:51:03 +02:00
Christian Schabesberger 6944f4a68a add copyright headers and update sdk 2016-09-12 00:33:11 +02:00
Christian Schabesberger cc74c98509 add bugrepport to channel acitivty 2016-09-11 23:15:22 +02:00
Christian Schabesberger dd6c6ae03f seems to made it working 2016-09-10 18:47:35 +02:00
Christian Schabesberger 4f8ca9ef16 fucking brought it almost to work fuck 2016-09-10 18:28:48 +02:00
Christian Schabesberger 53059bcb91 level 1 of making loading more content work 2016-09-10 16:26:21 +02:00
Christian Schabesberger 6dc5350c43 update gradle and fix load image error string 2016-08-20 00:56:10 +02:00
Christian Schabesberger 2601bf6d81 change view naming in detail fragment 2016-08-08 20:21:18 +02:00
Christian Schabesberger 7bea94144e fix search fragment progressbar 2016-08-03 17:18:05 +02:00
Christian Schabesberger 5d06e8310d animate item button and made channel layout use recyclerview propper 2016-08-03 15:32:25 +02:00
Christian Schabesberger 1ab82dfa32 made channel activity use recycler view 2016-08-03 13:09:48 +02:00
Christian Schabesberger 557bcc40ef made detail fragment use recycler view 2016-08-03 00:54:03 +02:00
Christian Schabesberger 06e2e548be restructure detail activity 2016-08-03 00:12:58 +02:00
Christian Schabesberger 7a25588995 remove listactivity layout 2016-08-02 21:30:55 +02:00
Christian Schabesberger 8107337566 restructure ui 2016-08-02 21:17:54 +02:00
Christian Schabesberger d6de11f54c remove video item list plemp 2016-08-02 20:59:53 +02:00
Christian Schabesberger 2f2334eac4 make search fagment handle video items 2016-08-02 18:38:05 +02:00
Christian Schabesberger 3a5b9203d8 put search fragment into own package 2016-08-02 15:06:02 +02:00
Christian Schabesberger c46ce1170c add search fragment 2016-08-02 01:42:05 +02:00
Christian Schabesberger 1170c508b4 add new architecture 2016-08-02 01:26:12 +02:00
Christian Schabesberger f34cacbc5c add recycler view adapter 2016-08-02 00:58:52 +02:00
Christian Schabesberger 4164195fae show channelvideos 2016-08-01 21:50:41 +02:00
Christian Schabesberger c03b106118 add channel avatar 2016-08-01 11:48:52 +02:00
Christian Schabesberger f3a73ecc4a add feed function 2016-08-01 02:10:38 +02:00
Christian Schabesberger 6beb36f92f get channel banner 2016-08-01 01:56:19 +02:00
Christian Schabesberger 9a0f61e60b add basics 2016-07-26 13:50:52 +02:00
Christian Schabesberger 8fbee92255 try to fix failing CI 2016-07-25 12:11:55 +02:00
Christian Schabesberger 1fd6685b3b removed orebot/tor support 2016-07-25 11:59:37 +02:00
Christian Schabesberger c0ce14dba5 moved on to new sdk, and put settings activity result into its fragment 2016-07-25 11:12:54 +02:00
Christian Schabesberger dc46b3f6c0 Merge pull request #314 from satiricon/pref-filepicker
File picker for download preferences.
2016-07-25 00:48:48 +02:00
Christian Schabesberger d3d4e8c721 Merge pull request #321 from DevFactory/release/collection-interfaces-should-be-used-fix-1
Code quality fix - Declarations should use Java collection interfaces such as "List" rather than specific implementation.
2016-07-25 00:46:33 +02:00
David 2ab9db3c07 A little cleanup 2016-07-19 16:53:20 -03:00
David b3fdd2b0cb Done with the file picker for the download settings 2016-07-19 16:53:20 -03:00
David bd43efd2c2 The file picker is working and I'm reordering the code to make it easier to follow 2016-07-19 16:52:37 -03:00
David 36babcaf36 Trying to make last filepicker version work, maybe I'm having some memory problems 2016-07-19 16:51:14 -03:00
David 45be3fb0e8 Starting to add a filepicker to the directory preferences 2016-07-19 16:51:14 -03:00
Gracecr c880047c4f Allows for large times stamps fixing #330
@scde submitted #330, along with a couple proposed fixes.
This is the second proposed fix, which allows for arbitrarily large
timestamps. All credit to @scde for this.
2016-07-14 16:50:57 -04:00
Faisal Hameed 13346ab750 Fixing squid:S1319 - Declarations should use Java collection interfaces such as "List" rather than specific implementation. 2016-07-01 04:05:55 +05:00
andoni f65c08431c support all variants of vnd.youtube url. 2016-06-30 20:21:54 +02:00
Christian Schabesberger 049b36b1b6 Merge pull request #323 from DevFactory/release/public-static-fields-should-be-constants-fix-1
Code quality fix - "public static" fields should be constant.
2016-06-30 16:57:42 +02:00
Christian Schabesberger faed0958b3 Merge pull request #322 from DevFactory/release/string-literals-should-not-be-duplicated-fix-1
Code quality fix - String literals should not be duplicated.
2016-06-30 16:56:41 +02:00
Christian Schabesberger 3b36b7f01b Merge pull request #324 from DevFactory/release/redundant-modifiers-should-not-be-used-fix-1
Code quality fix - Redundant modifiers should not be used.
2016-06-30 16:56:11 +02:00
Faisal Hameed 404017cba3 Fixing squid:S1192 - String literals should not be duplicated. 2016-06-24 14:54:18 +05:00
Faisal Hameed dd2398efad Fixing pmd:RedundantFieldInitializer - Redundant Field Initializer. 2016-06-24 05:44:42 +05:00
Faisal Hameed a44518a757 Fixing squid:S2333 - Redundant modifiers should not be used. 2016-06-24 05:44:09 +05:00
Faisal Hameed 83eb83025a Fixing squid:S1444 - "public static" fields should be constant. 2016-06-24 05:30:46 +05:00
Jason John 51641dcc9a Added rewind capability to notification control ( seekTo(0) ) 2016-06-16 09:11:18 -04:00
David 9d5951765f Fix for #310 2016-06-08 12:35:54 -03:00
David ddc3b47dfa Fix for #308 part 2 2016-06-07 11:43:13 -03:00
David 59523d6a08 Fix for #308 2016-06-07 11:32:31 -03:00
Christian Schabesberger aee26fcffc add downloads menu item to detail fragment 2016-05-26 00:11:42 +02:00
Christian Schabesberger 685eebeb56 add title to activitys 2016-05-25 23:51:22 +02:00
Christian Schabesberger f23ae091cc add icons for progress tiles 2016-05-25 23:35:27 +02:00
Christian Schabesberger 1421dca35f clean up gigaget code 2016-05-25 23:08:15 +02:00
Christian Schabesberger 39c2f31a22 changed color of download blocks 2016-05-25 22:59:32 +02:00
Christian Schabesberger 239ef1c238 add action for downloads menu item 2016-05-25 22:34:36 +02:00
Christian Schabesberger 466ba93750 Merge branch 'master' of github.com:theScrabi/NewPipe 2016-05-25 22:19:47 +02:00
David 26c0445b83 Fix for #273 2016-05-25 08:27:15 -03:00
Christian Schabesberger 6f6c1704d4 add downloads menu item 2016-05-24 14:06:49 +02:00
David 382ac3470b Fix for #298 2016-05-24 08:51:08 -03:00
Christian Schabesberger 7c2ff977d8 Merge branch 'download-manager' of git://github.com/satiricon/NewPipe into satiricon-download-manager 2016-05-22 12:47:24 +02:00
Christian Schabesberger 5bd9334f8f Merge branch 'master' of github.com:theScrabi/NewPipe 2016-05-22 12:44:41 +02:00
Christian Schabesberger c5544df64c made StreamExtractor use StreamPreviewInfoCollector 2016-05-22 12:39:57 +02:00
Christian Schabesberger c85e3c07d6 Merge pull request #287 from prashantkhurana/fix/Media-controls-on-main-screen
Added media volume control on main screen Fixes #38
2016-05-22 09:18:23 +02:00
Prashant Khurana 7154a1edb8 Fix to hide uploader correctly 2016-05-15 22:20:28 -04:00
David affce74b84 Added menu to download activity 2016-05-02 10:47:18 -03:00
David 730de4061f deleted some unused code and assets 2016-05-02 10:47:18 -03:00
David 3beafa2a74 Added new download dialog 2016-05-02 10:47:18 -03:00
David c622923edd Fixed the download dialog. Next take it to the previous activity 2016-05-02 10:47:18 -03:00
David 6940021293 Fixed dir settings 2016-05-02 10:47:18 -03:00
David 0156a4f39e Added back button to download activity ActionBar 2016-05-02 10:47:18 -03:00
David 4bae12aa55 Embedded GigaGet download manager. First try. 2016-05-02 10:47:18 -03:00
Prashant Khurana 477355db8f Added media volume control on main screen Fixes #38 2016-05-01 21:49:14 -04:00
Christian Schabesberger 381f054daf Merge branch 'Start-screen-hint' of git://github.com/Ashanmaril/NewPipe into Ashanmaril-Start-screen-hint 2016-03-25 19:05:56 +01:00
Christian Schabesberger c05d9303a9 fixed download location 2016-03-25 19:01:22 +01:00
Christian Schabesberger 9e910d5501 fixed commons-lang problem & moved on to 0.7.8 2016-03-25 13:56:24 +01:00
Hayden 6c7204eae0 Show/hide message 2016-03-22 20:05:43 -06:00
Christian Schabesberger de62ed772f Merge branch 'master' of https://github.com/kamadi/NewPipe into kamadi-master 2016-03-13 22:36:33 +01:00
Christian Schabesberger 6a8c4a65c5 Merge pull request #237 from DevFactory/release/general-code-quality-fix-2
General code quality fix-2
2016-03-13 22:30:24 +01:00
Christian Schabesberger 03738aeb27 merged my changes with them of rrooij 2016-03-13 22:22:18 +01:00
rrooij 21768432c8 Move YoutubeStreamPreviewInfoExtractor to separate class
The class should be separate because channel support in the future would require video preview extraction too, which doesn't differ much from the extraction done from the search results.
2016-03-12 18:15:20 +01:00
Faisal Hameed 2f9142419a Fixing squid:S1155, squid:S2293, squid:S1488 2016-03-12 02:01:47 +05:00
Christian Schabesberger b84eb3df7f made stream type part of abstractVideoinfo 2016-03-11 16:20:02 +01:00
Christian Schabesberger 4058ec2ee9 fixed another livestream related issue 2016-03-11 15:43:50 +01:00
Christian Schabesberger d43365f6e6 add custom error report function 2016-03-11 14:56:41 +01:00
Christian Schabesberger c6ccc2b20d Merge pull request #232 from DevFactory/release/null-pointer-should-not-be-dereferenced-fix-1
Code quality fix - Null pointers should not be dereferenced.
2016-03-11 14:15:41 +01:00
Christian Schabesberger 31dd68be1d Merge pull request #233 from DevFactory/release/useless-parentheses-should-be-removed-fix-1
Code quality fix - Useless parentheses around expressions should be removed to prevent any misunderstanding.
2016-03-11 14:14:29 +01:00
Christian Schabesberger 1c94620c06 Merge pull request #234 from DevFactory/release/variable-should-comply-with-naming-conventions-fix-1
Code quality fix - Local variable and method parameter names should comply with a naming convention.
2016-03-11 14:13:51 +01:00
Faisal Hameed 1a3aaf86ee Fixing squid:S2259- Null pointers should not be dereferenced. 2016-03-10 15:07:23 +05:00
Faisal Hameed cade4f932d Fixing squid:S00117- Local variable and method parameter names should comply with a naming convention. 2016-03-10 15:01:38 +05:00
Faisal Hameed eb060602cd Fixing squid:S1118 - Utility classes should not have public constructors. 2016-03-10 14:50:42 +05:00
Faisal Hameed 805f046696 Fixing squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding. 2016-03-10 14:41:12 +05:00
Christian Schabesberger 19418e5dfb fixed another parsing but related to livestreams 2016-03-08 02:22:23 +01:00
Christian Schabesberger 8fb1fd3602 fixed image loading bug 2016-03-08 01:24:45 +01:00
madiyar b2d935dd6d Restoring search query after orientation change in two pane mode 2016-03-07 13:05:05 +06:00