Commit Graph

60 Commits

Author SHA1 Message Date
Mauricio Colli 2ac71c75c0 Improve players
- Background player is using ExoPlayer internally now
2017-04-17 01:19:53 -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
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
mauriciocolli b4ea592638 Handle embed links
- Fix #480
- Add /embed/ to intent filter, as the app already handles these type of links internally
2017-03-17 00:27:59 -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 5923663e08 add routed_intent activity 2017-02-27 21:14:03 +01:00
Christian Schabesberger ce2ceb8a1b fix layout 2017-02-27 16:38:01 +01:00
Christian Schabesberger c14771534f redesign channel activity 2017-02-27 15:58:09 +01:00
Christian Schabesberger 7a6b5dd5b7 add initial support for NavStack 2017-02-18 21:59:48 +01:00
Coffeemakr ea76f1d6e2 Improve DownloadManager and -Service
* Fix permission at some places
 * Fix access problem for downloaded files with external player
 * Store finished Downloads
 * Remove binding to DownloadService just to download a file
 * Javadoc
 * Code improvements
2017-01-10 17:48:55 +01:00
Christian Schabesberger e99e944ac3 make share with newpipe part of newpipe 2016-12-25 19:28:40 +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
Felix Ableitner 5f7ee15d1e Launch video player in single task mode (fixes #154) 2016-09-28 13:09:42 +09:00
Christian Schabesberger f9ac199c1f fixed .webm download locatiion issue 2016-09-27 21:33:26 +02:00
Christian Schabesberger a2a3b0575d gather all bug shit things 2016-09-13 23:39:32 +02:00
Christian Schabesberger 54ab0ab17e fix merge with add_cahnnels 2016-09-12 00:12:00 +02:00
Christian Schabesberger 53059bcb91 level 1 of making loading more content work 2016-09-10 16:26:21 +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 8107337566 restructure ui 2016-08-02 21:17:54 +02:00
Christian Schabesberger 1170c508b4 add new architecture 2016-08-02 01:26:12 +02:00
Christian Schabesberger 9a0f61e60b add basics 2016-07-26 13:50:52 +02:00
David 45be3fb0e8 Starting to add a filepicker to the directory preferences 2016-07-19 16:51:14 -03:00
Christian Schabesberger 239ef1c238 add action for downloads menu item 2016-05-25 22:34:36 +02:00
David 4bae12aa55 Embedded GigaGet download manager. First try. 2016-05-02 10:47:18 -03:00
Christian Schabesberger 378e6b6547 fixed fix portrait view 2016-03-05 17:49:11 +01:00
Christian Schabesberger 8a29567572 merge addExoplayer 2016-03-05 16:54:24 +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 b06238ba5d initial changes 2016-02-22 20:28:37 +01:00
Christian Schabesberger dddcc80f30 merged faridk's code 2016-02-22 19:58:04 +01:00
Christian Schabesberger b15a0b92f9 add support for attribution_link links 2016-02-17 20:29:31 +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
chschtsch 8ced68430d update resources names to match naming convention & cleanup & start working on themes 2016-01-05 22:56:40 +03:00
Hans-Christoph Steiner d3879a0398 setup Tor at app start, and config immediately when pref is changed
This adds an Application subclass to get the onCreate() method, which is
called once at the first start up of the app, before any Activity starts.
Tor is configured there to ensure it is setup before anything happens.

This also moves the "Use Tor" pref listener to a more appropriate place.
2016-01-02 21:21:34 +01:00
Hans-Christoph Steiner ccdd13d136 youtube URLs can also come from media searches and NFC sends 2016-01-02 00:15:27 +01:00
Hans-Christoph Steiner efe5de4c75 support youtube's custom URL schemes (vnd.youtube: and vnd.youtube.launch:) 2016-01-02 00:15:27 +01:00
Hans-Christoph Steiner 2a93e9bd2e precisely target these URLs https://www.youtube.com/watch?v=mS1gstS6YS8
These URLs have a Path that always starts with "/watch" so no need for a
pattern.  Also, everything after the "?" is considered the "Query String",
not the Path.  Anything after a "#" is the "Feature String".  The path
matching in IntentFilters only see the Path, and nothing from the "Query
String" or "Feature String".

these are the available kinds of URLs:
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/YouTubeLinks/YouTubeLinks.html
2016-01-02 00:15:27 +01:00
Hans-Christoph Steiner 28dd53ae50 support another youtube URL format: https://www.youtube.com/v/mS1gstS6YS8
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/YouTubeLinks/YouTubeLinks.html
2016-01-02 00:15:27 +01:00
Hans-Christoph Steiner 3c1e64d8dc simplify youtube URL IntentFilters
Each <data> elements applies to the whole IntentFilter, so there is no need
to declare the host, scheme, etc. multiple times within a single
IntentFilter.

Also, pathPrefix="/" will match all paths, so it is unnecessary.
2016-01-02 00:15:27 +01:00
Hans-Christoph Steiner b31490c4e3 make all strings translatable 2016-01-02 00:14:35 +01:00
Hans-Christoph Steiner e91fc225e1 after receiving panic trigger, quit remove from history
This makes the app fully exit, and removes it from the Recent Apps listing
with the goal of hiding whatever the user was currently watching, and/or
searching for.

PanicKit provides a common framework for creating "panic button" apps that
can trigger actions in "panic responder" apps.  In this case, the response
is to lock the app, if it has been configured to do so

https://dev.guardianproject.info/projects/panic/wiki
2015-12-31 21:53:14 +01:00
Adam Howard 3e94d18fe1 removed accidental 'git merge' command from manifest 2015-12-17 18:01:24 +00:00
Adam Howard 95d3651e29 Merge branch 'master' of github.com:theScrabi/NewPipe
Conflicts:
	app/src/main/AndroidManifest.xml
2015-12-17 17:53:54 +00:00
chschtsch 4f57d3a201 merging with master 2015-12-14 13:01:34 +03:00
Adam Howard, from my DSABang 26e36454ef merged changes from master 2015-12-03 14:39:51 +00:00
chschtsch 6c63841d0c update video detail layout 2015-12-02 21:55:57 +03:00