Commit Graph

333 Commits

Author SHA1 Message Date
John Zhen Mo 38b2ffd450 -Added fling to toss popup view when velocity is below shutdown.
-Added string for unknown content.
-Fixed NPE when UI element is touched after player shuts down in service activity.
-Fixed shuffle reset caused by position discontinuity offsets index.
-Moved some more player shared preferences to PlayerHelper.
2017-11-11 14:48:16 -08:00
wb9688 621a1909ec Merge remote-tracking branch 'origin/dev' into multiple-services 2017-11-11 13:18:26 +01:00
Christian Schabesberger f8c0c449bf Merge branch 'fature-log-kodi-videos' of https://github.com/coffeemakr/NewPipe into kodi 2017-10-31 10:08:28 +01:00
Coffeemakr 7340bc05b4
Small refactoring for Kore and Kodi
* Improve installation procedure
2017-10-31 07:45:53 +01:00
John Zhen Mo b0948cf9fc -Modified selected play queue item to highlight entire item instead of text.
-Added selected item bullet.
-Modified play queue panel darker on main video player.
-Fixed color issue on play queue panel on light-themed main video player.
-Fixed hold-to-enqueue tooltip flashing when clicked on earlier sdk versions.
-Fixed queue item removal causing metadata for currently playing to refresh.
2017-10-30 20:59:21 -07:00
John Zhen Mo 1fb3774e03 -Changed play queue item building to shrink thumbnail before caching.
-Renamed refactor directory in player to helper.
-Fixed background player notification update causing lag on older spec models.
-Fixed service activity theme not changing after user setting is changed.
-Fixed NPE on popup player fling to close.
-Fixed audio reactor volume and max volume mixup.
-Added correct toast for each player error case.
-Fixed button coloring for play queue service activity on landscape.
-Changed title and uploader text to marquee for vertical service activity.
-Removed cache clearing on every thumbnail load.
2017-10-30 20:58:47 -07:00
John Zhen Mo 0806344ffb -Changed quality resolution to persist across player.
-Updated ExoPlayer to 2.5.4.
-Expanded button size in main video player play queue.
-Removed Quality event.
-Extracted player error strings to xml.
2017-10-30 20:58:46 -07:00
John Zhen Mo 4553850412 -Baked recovery records into play queue items.
-Added previous and next button on main video player.
-Reverted double tap to seek for popup and main video players.
-Improved shuffling to use recovery record.
-Changed shuffling to place current playing stream to top of queue.
-Fixed exception when removing last item on queue.
-Changed fast forward and rewind button to previous and next on background notification.
-Changed background notification to not update when screen is off and update immediately when screen is turned back on.
-Removed unused intent strings.
-Changed "Append" to "Enqueue" for append text.
2017-10-30 20:58:46 -07:00
John Zhen Mo 21d42c92e5 -Reduced text size for hold to append tip.
-Added options to turn off hold to append tip.
2017-10-30 20:58:46 -07:00
John Zhen Mo d54a6e0b0e -Added helper text on click for background and popup button on detail fragment for feature discovery.
-Fixed popup video queuing causes existing popup player to change quality.
2017-10-30 20:58:45 -07:00
John Zhen M a8f5cfa640 -Added different toast for append long click on detail fragment.
-Corrected drag handle icon.
-Removed reorder icon.
-Refactored play queue item selection.
2017-10-30 20:58:45 -07:00
John Zhen M 87fca5cffe -Enabled play queue control panel for popup video player.
-Refactored background player activity into generic play queue control panel activity.
-Changed control panel activities into singleTask.
2017-10-30 20:58:45 -07:00
John Zhen M 6a9e3ef639 -Added dropdown menu for background player activity.
-Added icons for shuffle and drag handle.
-Fixed exception when returning to background player activity after service shuts down.
-Fixed open detail only working for Youtube.
2017-10-30 20:58:45 -07:00
John Zhen M a9aee21e58 - Improved play queue adapter for selection.
- Fixed media source resolution on background player for streams without an audio only stream.
- Fixed background player not updating when screen turns back on.
- Fixed background player notification switching to wrong repeat mode icon opacity on click.
2017-10-30 20:58:44 -07:00
John Zhen M 73f46d3762 -Modified play queues and items to use extraction helper.
-Fixed play queue item removal.
-Rebase changes.
2017-10-30 20:58:41 -07:00
Christian Schabesberger 736d9fe450 Merge branch 'license-dialog' of https://github.com/TobiGr/NewPipe into license 2017-10-29 10:28:52 +01:00
TobiGr 0a2aa54508 fix typo 2017-10-26 09:23:43 +02:00
Christian Schabesberger d1f446aae2 make summary a dynamic string 2017-10-22 22:06:25 +02:00
Christian Schabesberger c3f04ea67d fix Kisok spelling error 2017-10-22 21:46:50 +02:00
Christian Schabesberger f7534b3a0f Merge branch 'dev' into trending 2017-10-09 14:37:20 +02:00
Christian Schabesberger 7f9f075147 add selector for kiosk 2017-10-09 14:22:27 +02:00
Christian Schabesberger 6d8a361c9a add menu to select kiosk of current service 2017-10-05 14:57:19 +02:00
Christian Schabesberger 46fa9a9366 translate kiosk name using resources
fix CDATA fuu
2017-09-28 16:38:44 +02:00
Christian Schabesberger 29fee28d1d fix channel selection 2017-09-28 15:36:15 +02:00
Mauricio Colli 78cbfa20d9 Improve search
- Use a list instead of a popup
- Show search history entries
2017-09-28 10:06:48 -03:00
Christian Schabesberger 65c8b6e66a add selection for front page 2017-09-26 17:29:38 +02:00
Allan Nordhøy ead1399e7b Spelling: View → Play 2017-09-25 16:12:47 +02:00
Christian Schabesberger 5ebde97352 fix error report and add setting for current_service 2017-09-25 13:05:54 +02:00
Christian Schabesberger 90b9223aae Merge branch 'dev' into trending 2017-09-23 20:39:01 +02:00
Christian Schabesberger 0d2296917a creating first prototype of kiosk page 2017-09-23 17:39:04 +02:00
TobiGr 74bda719a6 add themes to license dialog 2017-09-22 11:07:17 +02:00
Adrian Campos ced75a9b60 Added Adaptive launcher Icon 2017-09-21 22:46:36 -03:00
Allan Nordhøy 314b2fb14f Spelling of file formats (#703) 2017-09-19 18:38:27 +02:00
Tobias Groza 795ba89dc4 Support dark theme in file picker (#699) 2017-09-19 18:38:27 +02:00
wb9688 b500c3f526 Add service setting 2017-09-14 09:31:01 +02:00
Mauricio Colli f603f63361 Another fix for Weblate 2017-09-04 09:31:53 -03:00
Mauricio Colli 720bb5d615 Fix strings for Weblate 2017-09-04 09:26:00 -03:00
Mauricio Colli 146d4a8365 Update extractor and refactored NewPipe 2017-09-03 13:57:12 -03:00
Mauricio Colli 0d4d83f3a6 Translated using Weblate (English)
Currently translated at 100.0% (196 of 196 strings)
2017-09-03 06:04:14 +02:00
Mauricio Colli 2d75968532 Translated using Weblate (English)
Currently translated at 100.0% (196 of 196 strings)
2017-09-02 00:45:25 +02:00
Mauricio Colli d96139798f Translated using Weblate (English)
Currently translated at 100.0% (196 of 196 strings)
2017-09-01 00:17:13 +02:00
Mauricio Colli a5925875a7 Translated using Weblate (English)
Currently translated at 100.0% (196 of 196 strings)
2017-08-31 05:20:02 +02:00
Allan Nordhøy 84157f9247 Translated using Weblate (English)
Currently translated at 100.0% (196 of 196 strings)

Note that "Billion" is often "Milliard" in other languages.
2017-08-31 05:17:26 +02:00
Allan Nordhøy fcf3ed7881 Translated using Weblate (English)
Currently translated at 100.0% (196 of 196 strings)
2017-08-31 03:45:01 +02:00
Tonelico 85108be686 Android O Notification Building Fix (#655)
-Added simple notification channel for Android O.
-Fixes notification building failure for background and popup player on Android O.
-Reduce notification channel importance to low to avoid making noise on every notification update.
2017-08-18 09:05:31 -03:00
Cyril Müller c0515de6b7 Add search and watch history (#626)
Add search and watch history

* Make MainActicity a single task
* Remove some casting
* SearchFragment: start searching when created with query
* Handle settings change in onResume
* History: Log pop up and background playback
* History: Add swipe to remove functionallity
* Enable history by default
* Use stream item
* Store more information about the stream
* Integrate history database into AppDatabase
* Remove redundant casts
* Re-enable date converters
* History: Use Rx Java and run DB in background
 * Also make HistoryDAO extend BasicDAO
* History: RX-ify swipe to remove
* Sort history entries by creation date
* History: Set toolbar title
* Don't repeat history entries
  * Introduced setters so we can update entries in the database
  * If the latest entry has the same (main) values, just update it
2017-08-12 01:50:25 -03:00
Tonelico becc90409f Added option to resume on audio focus regain. (#624) 2017-08-07 10:04:36 -03:00
Tonelico 10c4f7b465 Added basic channel subscription and feed pages (#620)
Added basic channel subscription and feed pages

- Room Persistence for sqlite support.
- RxJava2 for reactive async support.
- Stetho for database inspection support.
- Enabled Multidex for debug build.
2017-08-07 10:02:30 -03:00
Mauricio Colli 96d3841dba Fix issues #636 2017-08-01 21:56:51 -03:00
Coffeemakr b0479d0bd9 Add renaming filename patterns 2017-07-24 13:01:24 +02:00
Coffeemakr cfbc88d375 Make github_url not translatable 2017-07-13 22:05:47 +02:00
Mauricio Colli 69e3814c77 Merge pull request #612 from coffeemakr/feature-about-activity
Add about activity
2017-07-11 12:49:14 -03:00
Coffeemakr d950e11332 Small fixes for AboutActivity
* Remove parent activity
 * Finish activity on "up action"
 * Remove unused dimensions
2017-07-11 12:52:20 +02:00
Mauricio Colli 0c1d773134 Merge pull request #596 from marcobiscaro2112/master
Adds support for adjustable playback speed
2017-07-09 22:49:05 -03:00
Mauricio Colli 894ea27df2 Fix issues #596 2017-07-09 22:38:47 -03:00
Coffeemakr f13731f91e Add about activity 2017-07-05 19:35:15 +02:00
Coffeemakr 6d74038866 Improve speed
* Replace relative layouts and use Recycler view
 * Handle HTML in background
2017-06-16 14:02:45 +02:00
monolifed 3e6ddf7176 Translated using Weblate (English)
Currently translated at 100.0% (151 of 151 strings)
2017-06-08 18:44:44 +02:00
Mauricio Colli 62020fa85b Translated using Weblate (English)
Currently translated at 100.0% (151 of 151 strings)
2017-06-06 17:09:05 +02:00
Mauricio Colli edb632f9c7 Remove unused strings 2017-05-23 11:53:50 -03:00
Mauricio Colli d64480fc9b Add option to disable the search suggestions 2017-05-16 22:14:07 -03:00
Mauricio Colli c00e694d40 Add option to disable the gesture controls of the player 2017-05-16 21:45:38 -03:00
Mauricio Colli 2aebb3b8db Add and update resources 2017-05-15 00:57:04 -03:00
Mauricio Colli 25988f61a6 Change popup default resolution 2017-05-14 13:57:08 -03:00
Mauricio Colli 040d658540 Implement resizable popup 2017-05-01 02:23:50 -03:00
Mauricio Colli ee592def0c Add drawables and improve layouts 2017-04-26 16:24:33 -03:00
Christian Schabesberger 54c2704cb5 switch to dark default theme 2017-04-15 14:05:31 +02:00
Mauricio Colli 3b9a477499 Add resolution support up to 4k and 60 fps
- Up to 4k with 60 fps
    - Not every device can play in that resolution and bitrate
    - Add option to hide these high resolution greater than 1080p (2k,4k) for not clutter the menus
- Add a default resolution for the popup, wil be used when opening in popup mode from another app
2017-04-12 03:07:15 -03:00
Mauricio Colli 746c2a15bf Migrate to fragments and improvements
- Migrate to fragments
- Fix #487
- Don't show "Open in popup mode" to channel links
- New backstack of videos
- Change the subscribers count to format using `NumberFormat`, for example some locales use `.`  others `,`, this handles it automatically (and the old method had a bug for leading zero, e.g. 4.82.125 instead of 4.082.125)
- Add string 'subscribers' for channels with more than 1 subscriber (plural)
- Popup player chooses the default format and resolution based on the new preference (format)
- Fix taskaffinity of the router activities
- Show title before loading, as it is available from the items already loaded
2017-04-09 14:34:00 -03:00
Christian Schabesberger a37802c2b9 add prefered video format 2017-04-08 17:17:11 +02:00
Mauricio Colli 33e29be7db Fix next video and refactor
- Refactor VideoItemDetailActivity, StreamExtractorWorker
- Remove redundant styles
- Change dimensions
- Nicer animation/transitions
2017-03-31 20:39:54 -03:00
Christian Schabesberger e804647a65 make exoplayer default player 2017-03-29 09:17:03 +02:00
Mauricio Colli 7a4a54c3ea Fix travis
- Remove duplicate of AndroidManifest
- Remove some non-translatable strings from "ar" translation, and general clean-up of other
2017-03-27 16:34:37 -03:00
Mauricio Colli b43c56085d Implement fullscreen and quality selector
- Implement cache
- Abstract player
- Quality selector
- Fullscreen switcher
- Change some drawables
2017-03-27 01:08:16 -03:00
Mauricio Colli a37d8f083a Implement popup mode
- Add icons replay, fast_forward
- Add strings
- Add menu entry
- Add as option to open link directly to popup mode
2017-03-09 04:42:40 -03:00
Christian Schabesberger 4cdf20ab8c fix differences 2017-02-27 19:21:41 +01:00
Christian Schabesberger af65a1cfef Merge branch 'feature-theme-change' of git://github.com/mauriciocolli/NewPipe into conf 2017-02-27 19:04:38 +01:00
Christian Schabesberger c14771534f redesign channel activity 2017-02-27 15:58:09 +01:00
59436419 553cec16d5 Removed old icons 2017-02-27 17:30:47 +05:30
59436419 d17496f720 Improved code for changing theme 2017-02-27 17:25:15 +05:30
Mauricio Colli 50ed962a82 Add necessary strings 2017-02-25 15:34:45 -03:00
Christian Schabesberger 8654705e9b Change T to K 2017-02-22 12:12:39 +01:00
Weblate d76c02cbf4 Merge remote-tracking branch 'origin/master' 2017-02-16 21:44:49 +01:00
nonamebg 4d5466b5cd Translated using Weblate (English)
Currently translated at 100.0% (141 of 141 strings)
2017-02-16 21:44:40 +01:00
Christian Schabesberger a5252bb765 add search filter menu 2017-02-15 15:21:36 +01:00
Christian Schabesberger 3f0078f38a git channel item running 2017-02-15 12:59:36 +01:00
Christian Schabesberger f29bd0a6e7 fix actionbar icon theming 2017-02-12 16:45:01 +01:00
Marco Biscaro d48a7f1a18 Adding brazilian portuguese translation
(Also set settings_keys as untranslatable)
2017-02-01 12:32:06 -02:00
59436419 dfeed3d0eb Added dark theme 2017-01-17 22:31:00 +05:30
59436419 081a45b70d Added dark theme 2017-01-17 22:13:33 +05:30
59436419 1e81f61760 Added dark theme 2017-01-17 20:31:14 +05:30
59436419 a4043eab83 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/org/schabi/newpipe/Themer.java
#	app/src/main/java/org/schabi/newpipe/download/DownloadActivity.java
#	app/src/main/java/org/schabi/newpipe/settings/SettingsActivity.java
#	app/src/main/res/layout-v18/fragment_videoitem_detail.xml
#	app/src/main/res/layout/fragment_videoitem_detail.xml
#	app/src/main/res/xml/settings.xml
2017-01-17 16:18:00 +05:30
59436419 60dc19d2bc Added Dark Theme 2017-01-17 16:13:14 +05:30
59436419 68e80e6054 Added dark theme 2017-01-17 16:13:01 +05:30
Christian Schabesberger b3225bebe6 fix recaptch weblate conflict 2017-01-09 22:46:07 +01:00
Allan Nordhøy c96f933626 Translated using Weblate (English)
Currently translated at 100.0% (140 of 140 strings)
2017-01-09 21:45:12 +01:00
Benoît Mauduit 143df9a529 Start reCaptcha activity when starting video directly 2017-01-03 14:38:22 +01:00
59436419 754bd82699 Added dark theme 2016-12-30 01:07:27 +05:30
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
ksyko dd3251c08d Fixes spelling 2016-12-21 20:38:51 +05:30
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
Christian Schabesberger 9bd5aa0da4 add package field to crash report 2016-09-13 23:31:06 +02:00
Christian Schabesberger 14eaedd73a use intent system to pass errors to error activity 2016-09-13 22:36:47 +02:00
Christian Schabesberger 54ab0ab17e fix merge with add_cahnnels 2016-09-12 00:12:00 +02:00
Robert-Jan Keizer 05bfa8b85e Added splash screen to bypass blank screen on start up. 2016-08-22 01:13:09 +02:00
David 3da032b7ee Update filepicker to the newest version and Fix for #343 2016-08-03 18:36:46 -03:00
Christian Schabesberger c03b106118 add channel avatar 2016-08-01 11:48:52 +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 dc46b3f6c0 Merge pull request #314 from satiricon/pref-filepicker
File picker for download preferences.
2016-07-25 00:48:48 +02:00
David 45be3fb0e8 Starting to add a filepicker to the directory preferences 2016-07-19 16:51:14 -03:00
Gabriel Jones 464a113f11 Change "click" to "tap". 2016-06-23 11:41:01 -04:00
Christian Schabesberger 685eebeb56 add title to activitys 2016-05-25 23:51:22 +02:00
Christian Schabesberger 39c2f31a22 changed color of download blocks 2016-05-25 22:59:32 +02:00
Christian Schabesberger 6f6c1704d4 add downloads menu item 2016-05-24 14:06:49 +02:00
David 4bae12aa55 Embedded GigaGet download manager. First try. 2016-05-02 10:47:18 -03:00
Rom1 19330ac415 Translated using Weblate (English)
Currently translated at 100.0% (108 of 108 strings)
2016-04-09 18:44:21 +02:00
Zhaofeng Li a5fc6db1fa default_resolution_title: Fix capitalization
"Default Resolution" -> "Default resolution"

See https://www.google.com/design/spec/style/writing.html#writing-capitalization-punctuation
2016-04-06 20:08:29 +08:00
Zhaofeng Li 8060c6a775 strings.xml: Fix grammar
"Download path video" -> "Video download path"
"Download path audio" -> "Audio download path"
2016-04-06 20:06:00 +08:00
Zhaofeng Li 2a6e7f300c search_language_title: Change "Preferable" to "Preferred"
Why? See http://english.stackexchange.com/questions/128996/how-would-one-know-when-to-choose-preferred-or-preferable
2016-04-06 20:02:40 +08:00
Zhaofeng Li 98afe79eaa strings.xml: Remove unnecessary punctuations
Periods, colons and other unnecessary punctuations should not be used in labels.
See https://www.google.com/design/spec/style/writing.html#writing-capitalization-punctuation
2016-04-06 20:02:22 +08:00
halcyonest a35590f9ea Translated using Weblate (English)
Currently translated at 100.0% (108 of 108 strings)
2016-03-29 03:44:20 +02:00
Hayden 834d647011 Merge remote-tracking branch 'github/Start-screen-hint' into Start-screen-hint
# Conflicts:
#	app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java
2016-03-22 19:59:26 -06:00
Hayden 2abc9d0210 Text hint to start a search 2016-03-22 19:39:31 -06:00
Christian Schabesberger b84eb3df7f made stream type part of abstractVideoinfo 2016-03-11 16:20:02 +01:00
Christian Schabesberger 23a9061871 changed autoplay text 2016-03-11 15:10:13 +01:00
Christian Schabesberger d43365f6e6 add custom error report function 2016-03-11 14:56:41 +01:00
Christian Schabesberger 76ca937bb8 set tor into experimental state 2016-03-05 17:04:37 +01:00
Christian Schabesberger 8a29567572 merge addExoplayer 2016-03-05 16:54:24 +01:00
Christian Schabesberger 3aecd15916 Merge branch 'advancedErrorHandling' 2016-03-02 00:29:56 +01:00
Christian Schabesberger 028354b283 fixed some bugs 2016-02-29 20:33:28 +01:00
Christian Schabesberger 18493a578d made error message be displayed inside erroractivity 2016-02-29 19:23:01 +01:00
Gian Maria Viglianti 73316b87a3 Translated using Weblate (English)
Currently translated at 100.0% (72 of 72 strings)
2016-02-29 03:44:20 +01:00
Christian Schabesberger 2d51c7428e add ip and timestamp 2016-02-27 15:02:28 +01:00
Christian Schabesberger bc468b6f36 fixed stream exception handling 2016-02-26 01:32:44 +01:00
Christian Schabesberger 369d9204d9 add send via mail/share feature 2016-02-25 23:19:43 +01:00
Christian Schabesberger 7caf7be97e add info box 2016-02-25 22:02:42 +01:00
Christian Schabesberger 64c423902a made error handling work a bit 2016-02-25 03:43:13 +01:00
Christian Schabesberger 27a2dee3bd created error report activity 2016-02-24 23:12:02 +01:00
Christian Schabesberger dddcc80f30 merged faridk's code 2016-02-22 19:58:04 +01:00
Christian Schabesberger 7041e63268 merged age restricted video request 2016-02-22 19:17:05 +01:00
Christian Schabesberger a1479d04df fixed some searchengine errors 2016-02-21 21:08:14 +01:00
Christian Schabesberger 648b9b5d02 made the ui more accommodating for not available audio streams 2016-02-17 21:39:41 +01:00
Christian Schabesberger 80482c0578 made settings_keys unsupportable 2016-02-17 19:23:23 +01:00
Farid 3a8611ebf8 Added ExoPlayer support 2016-02-15 18:49:58 -08:00
Christian Schabesberger 7cc1c0fbdd merge code, and adjust code 2016-02-05 17:09:29 +01:00
Christian Schabesberger 7f12b58722 use java error system in the crawler 2016-01-31 19:57:30 +01:00
Christian Schabesberger dde93c5ccf Translated using Weblate (English)
Currently translated at 100.0% (61 of 61 strings)
2016-01-09 15:04:05 +01:00
Christian Schabesberger aa06e3490d Merge branch 'master' of github.com:theScrabi/NewPipe 2016-01-08 22:22:55 +01:00
Greg 9b0a1fc2ec Translated using Weblate (English)
Currently translated at 100.0% (56 of 56 strings)
2016-01-08 22:00:26 +01:00