John Zhen M
f1e52b8b92
-Fixed incorrect stream from being played after consecutive player errors.
...
-Fixed MediaSource reuse due to MediaSourceManager not resetting source on block.
2017-10-30 20:58:44 -07:00
John Zhen M
2e414cfd63
- Added move mechanic to background player through handles (on both thumbnail and icon).
...
- Added remove and open detail as long click popup dropdown on background player.
- Vastly simplified list manipulation in MediaSourceManager by delegating most control to DynamicConcatenatingMediaSource.
2017-10-30 20:58:44 -07:00
John Zhen M
f5b5982e1c
-Improved DeferredMediaSource to build source on IO thread.
...
-Improved exception handling for player.
2017-10-30 20:58:44 -07:00
John Zhen M
eebd83d6ac
-Fixed deferred media source from releasing reused resources.
...
-Fixed external play queue to load more than once.
-Fixed wrong item removal due to player error.
-Added new event to indicate error to play queue.
-Changed player error to skip item instead of removing.
-Modified play queue adapter to update changed items only.
-Removed headers from play queue adapter.
-Merged event broadcast on play queue.
-Changed toast on player error.
-Modified remove event to no longer indicate current index status.
-Modified move event to no longer indicate randomization status.
-Added shuffle check to play queue.
2017-10-30 20:58:44 -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
bd9ee18e56
-Fixed TransactionTooLarge due to notification being shown for too long.
...
-Fixed Play Queue rewinding to last played video upon removing the currently playing.
2017-10-30 20:58:44 -07:00
John Zhen M
c75c2d0f21
-Added documentations for play queue components.
2017-10-30 20:58:44 -07:00
John Zhen M
80f3e3c3b6
-Added temporary fix for mapping track selection with video streams.
...
-Updated ExoPlayer to 2.5.3.
2017-10-30 20:58:44 -07:00
John Zhen M
86a1fcf009
-Fixed unavailable current info when initial stream of playlist fails.
2017-10-30 20:58:43 -07:00
John Zhen M
c235c647a0
-Fixed background player notification update NPE.
2017-10-30 20:58:43 -07:00
John Zhen M
09d8ae1316
-Generify all player intents to use play queues.
...
-Fixed sync updates out-of-sync on background notification.
-Fixed main video player destroyed on resume.
-Fixed track selection using wrong dimension for parameter.
-Fixed background player to use default audio quality.
-Removed quality index from single queue items.
2017-10-30 20:58:43 -07:00
John Zhen M
cb7e94449c
-Modified quality change to persist with its binding player.
...
-Fixed media source stops loading when the sequence of failed media is longer than window size.
-Changed player to release and reset on intent start.
-Removed update event.
2017-10-30 20:58:43 -07:00
John Zhen M
e742091a37
-Modified quality change to use internal track selection.
...
-Enabled audio processing integration with system EQ.
-Re-endabled HDR through tunneling on videos only.
2017-10-30 20:58:43 -07:00
John Zhen M
8e3be3826f
-Fixed Deferred Media Source not working on non-extractor (e.g. dash) sources.
...
-Fixed NPE when extracting streams with no audio.
2017-10-30 20:58:43 -07:00
John Zhen M
9bc95f030c
-Baked stream info resolution into custom media source, allowing for simpler playlist control.
...
-Added track merging on different stream qualities, allowing for implementation of smooth transition on A/V quality and captions change.
2017-10-30 20:58:43 -07:00
John Zhen M
9576d5bd89
-Fixed audio focus not working with timeline changes.
...
-Changed circular loading to boundary loading.
2017-10-30 20:58:43 -07:00
John Zhen M
a0ba3ce2e4
-Made playback manager load circular.
...
-Improved play previous button to reset before 5 seconds.
2017-10-30 20:58:43 -07:00
John Zhen M
6b816a11f7
-Added reorder event.
...
-Improved player blocking.
2017-10-30 20:58:43 -07:00
John Zhen M
86c7b8522e
-Reverted current item removal and update logic.
...
-Updated external play queue.
2017-10-30 20:58:43 -07:00
John Zhen M
f9eb2a1ee5
-Fixed activity pause and resume lifecycle.
2017-10-30 20:58:43 -07:00
John Zhen M
174d040ca3
-Modified quality update to no longer invalidate concatenated media sources.
...
-Improved play queue and timeline update.
2017-10-30 20:58:42 -07:00
John Zhen M
6b16b08712
-Fixed bad window timeline caused by reusing media source on unblocking.
...
-Fixed timeline recovery skipping.
-Fixed timeline updates resumes playing when player is paused.
2017-10-30 20:58:42 -07:00
John Zhen M
e9cdb28a06
-Fixed audio focus change not firing.
2017-10-30 20:58:42 -07:00
John Zhen M
f8abf92a66
-Refactored Playback manager to expose only readonly methods.
...
-Removed swap and move operations.
-Code clean up.
2017-10-30 20:58:42 -07:00
John Zhen M
9413856463
-Added back notification on popup player.
2017-10-30 20:58:42 -07:00
John Zhen M
c24d46cf0f
-Fixed seek problems caused by dynamic timeline .
...
-Removed debouncing, players are now much more responsive.
-Removed some redundant methods.
2017-10-30 20:58:42 -07:00
John Zhen M
c38e4190f1
-Fix restart button not working
2017-10-30 20:58:42 -07:00
John Zhen M
53cec61cdf
-Removed redundant track removal after playing.
...
-Reverted thumbnail loader to use ImageLoader.
2017-10-30 20:58:42 -07:00
John Zhen M
150c3b413a
-Fixed memory leak due to permanent remote view bitmap references.
...
-Removed redundant code in popup player.
2017-10-30 20:58:42 -07:00
John Zhen M
eb15c04254
-Added debouncing to index change reactor.
...
-Fixed repeat mode on background notification.
2017-10-30 20:58:42 -07:00
John Zhen M
7d7a6f7ccc
-Enable background and popup playlists.
2017-10-30 20:58:42 -07:00
John Zhen M
b54d18d888
-Changed intents to start all players, including player swap.
...
-Make play queue and items serializable
-Removed now deprecated code for playing url in exoplayer
2017-10-30 20:58:42 -07:00
John Zhen M
705028c79d
-Modified player repeat mode to use exoplayer repeat mode.
...
-Merged playback manager init load logic with normal load logic.
2017-10-30 20:58:41 -07:00
John Zhen M
a91ef2ce9e
-Fix play queue remove.
...
-Fix player discontinuity refresh.
2017-10-30 20:58:41 -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
John Zhen M
1ceda017c7
-Revert subscription fragment merge fault
2017-10-30 20:58:41 -07:00
John Zhen M
40b60e8313
-Error processing for failed video during queued playback.
2017-10-30 20:58:41 -07:00
John Zhen M
5c01f04a07
-Functional playlist using full play queue buffering.
2017-10-30 20:58:41 -07:00
John Zhen M
183181ee54
-Added full play queue buffering playback manager.
2017-10-30 20:58:41 -07:00
John Zhen M
74b58cae59
-Improved play queue message bus
...
-Hooking play queue engines with video players (to be removed)
-Proof of concept for previous and next controls
2017-10-30 20:58:41 -07:00
John Zhen M
b859823011
-Hooking playback manager and play queue into main video player.
2017-10-30 20:58:41 -07:00
John Zhen M
701320b100
-Added separate events for play queue index removal.
2017-10-30 20:58:40 -07:00
John Zhen M
dcdcf17f5e
-Added on change event bus to Play Queue.
...
-Added playback manager for player interaction.
2017-10-30 20:58:40 -07:00
John Zhen M
7c9c3de644
-Rename playlist in players to play queue.
2017-10-30 20:58:40 -07:00
John Zhen M
cbcd281784
-Added MediaSourceManager and Playlist adapters.
2017-10-30 20:58:40 -07:00
John Zhen M
e70dcdc642
-Added rudimentary playlist fragment.
...
-Added schema for stream storage.
2017-10-30 20:58:40 -07:00
Christian Schabesberger
391d3e7fc7
fix back button for feed on main page
2017-10-30 23:03:18 +01:00
Christian Schabesberger
02d986fc89
fix multidefined swipe problem in history page
2017-10-30 22:46:55 +01:00
Christian Schabesberger
65a6488e44
dont show search history in suggestion when disabled
2017-10-30 22:04:58 +01:00
SpajicM
7e005549fe
Fix history showing even when disabled
2017-10-30 11:53:44 +01:00
Christian Schabesberger
736d9fe450
Merge branch 'license-dialog' of https://github.com/TobiGr/NewPipe into license
2017-10-29 10:28:52 +01:00
Christian Schabesberger
8d5a59e7d5
fix light theme for main page
2017-10-26 23:56:02 +02:00
Christian Schabesberger
989acce0a5
Merge branch 'popup_improvement' of https://github.com/karyogamy/NewPipe into size
2017-10-26 20:49:43 +02:00
Christian Schabesberger
641b4a806a
Merge branch 'tabs' into dev
2017-10-26 20:46:05 +02:00
Christian Schabesberger
025a44b629
fix channel title for new tabs
2017-10-26 20:45:16 +02:00
Christian Schabesberger
dd64bf2af7
make title contain current tab
2017-10-26 15:16:35 +02:00
TobiGr
0a2aa54508
fix typo
2017-10-26 09:23:43 +02:00
John Zhen Mo
f6353cfb47
-Added fling mechanic for popup player shutdown.
...
-Changed long click to fill screen for popup player.
-Added 2-finger resizing for popup player.
-Removed long click resize mechanic.
2017-10-25 22:00:58 -07:00
Christian Schabesberger
4c4cfb49b4
make tabs contain icons instead of title
2017-10-25 16:09:26 +02:00
Christian Schabesberger
9a073713bb
put tabs on top
2017-10-25 15:20:57 +02:00
Christian Schabesberger
7d296ee650
remove hardcoded strings form MainFragment
2017-10-23 00:26:20 +02:00
Christian Schabesberger
ccd26b4146
fix kiosk service/icon
2017-10-22 23:56:39 +02:00
Christian Schabesberger
5d4269be4c
Merge branch 'dev' into trending
2017-10-22 23:43:48 +02:00
Christian Schabesberger
54cdfc0c16
deactivate icon
2017-10-22 22:53:27 +02:00
Christian Schabesberger
fd899a2e95
fix cammel case
2017-10-22 22:10:48 +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
TobiGr
0040ee5cb6
Fix charset issue.
...
Move Java I/O related methods to separate thread.
2017-10-20 23:41:30 +02:00
Christian Schabesberger
13756508d3
Merge pull request #757 from coffeemakr/fix-service-id-not-initialized
...
Fix service id not initialized
2017-10-16 15:22:26 +02:00
Christian Schabesberger
23eeb4353d
make main page changes display emediatly
2017-10-13 13:49:31 +02:00
Christian Schabesberger
8e8d74b5b7
remove header front kiosk
2017-10-13 13:01:16 +02:00
Christian Schabesberger
0951f0f824
small fixes
...
small fixes
2017-10-11 15:25:10 +02:00
Tryton Van Meer
b70fd826e7
Fix crash when returning to player.
...
When switching apps or locking the phone, destroyPlayer is called which sets audioManager to null. So upon returning to the player and pressing play, the app crashes.
So now initPlayer checks if audioManager is null and sets it if needed.
2017-10-11 14:27:32 +02:00
Christian Schabesberger
f7534b3a0f
Merge branch 'dev' into trending
2017-10-09 14:37:20 +02:00
Christian Schabesberger
7fcc07805a
make kiosk selector signle service again
2017-10-09 14:34:10 +02:00
Christian Schabesberger
7f9f075147
add selector for kiosk
2017-10-09 14:22:27 +02:00
Cyril Müller
c890ab44d6
Merge branch 'dev' into fix-service-id-not-initialized
2017-10-09 11:23:19 +02:00
Coffeemakr
89b11ff71c
Fail-fast for service id == -1
2017-10-08 22:11:38 +02:00
Coffeemakr
60879351a9
Code improvement and logging
2017-10-08 17:52:07 +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
3490273b49
made fragments frontpagable
2017-09-26 18:16:39 +02:00
Christian Schabesberger
65c8b6e66a
add selection for front page
2017-09-26 17:29:38 +02:00
Christian Schabesberger
5ebde97352
fix error report and add setting for current_service
2017-09-25 13:05:54 +02:00
Christian Schabesberger
f6c624b59a
make name translatable, fix tab on items, remove back button
...
s/kisok/kiosk/g
2017-09-25 12:52:13 +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
Coffeemakr
d6fffc7e55
Use correct long comparison ( fixes #726 )
2017-09-23 08:35:06 -03:00
TobiGr
74bda719a6
add themes to license dialog
2017-09-22 11:07:17 +02:00
Tobias Groza
795ba89dc4
Support dark theme in file picker ( #699 )
2017-09-19 18:38:27 +02:00
Felix Ableitner
5b8ff28556
Open youtube links directly from search ( fixes #35 ) ( #692 )
...
* Open youtube links directly from search (fixes #35 )
2017-09-19 18:38:27 +02:00
Mauricio Colli
3e6bed538a
Update extractor version
2017-09-19 18:38:27 +02:00
wb9688
442290d7f0
Hide spinner
2017-09-14 11:43:30 +02:00
wb9688
a6eb871f5e
Change layout for audio-only streams
2017-09-14 10:49:39 +02:00
wb9688
b500c3f526
Add service setting
2017-09-14 09:31:01 +02:00
Mauricio Colli
939017ada9
Update extractor version
2017-09-11 11:21:01 -03:00
Mauricio Colli
146d4a8365
Update extractor and refactored NewPipe
2017-09-03 13:57:12 -03:00
John Zhen M
2b2e954b84
-Updated ExoPlayer to r2.5.1.
...
-Fixes some more deprecations due to Exoplayer and Android O notification updates.
2017-08-18 11:07:57 -07: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
Coffeemakr
f4dca71497
Add licenses for RxJava (and bindings)
2017-08-15 17:21:11 +02: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
f7b322da49
Fix audio focus bug
2017-08-02 14:14:45 -03:00
Mauricio Colli
a8880bbc0a
Merge pull request #642 from karyogamy/sdk_26_updrade
...
Upgrade target sdk and support library version to 26
2017-08-01 22:58:54 -03:00
John Zhen M
39277d569f
- Updated target, build tools and support libraries version to 26.
...
- Added dependency repositories jcenter and maven.google.com.
- Changed deprecated ActionBarActivity to AppCompatActivity.
2017-08-01 14:54:32 -07:00
Coffeemakr
b0479d0bd9
Add renaming filename patterns
2017-07-24 13:01:24 +02:00
Coffeemakr
cb8c919609
Prevent time links from beeing clicked
2017-07-19 10:26:26 +02:00
Coffeemakr
70da5769d4
Check if view still exists in UICallback
2017-07-12 09:51:23 +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
31e5a7afb0
Improve navigation/backstack
2017-07-10 00:14:24 -03: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
bab3dd417e
Remove unused code
...
* Remove Giga crash handler
* Some refactoring
* Remove unused download dialog
* Remove duplicated intent creation
2017-06-29 12:54:07 +02:00
Mauricio Colli
0a7ecb89ce
Adjust fragments' enter/exit animations
...
- Make a little bit faster
2017-06-28 16:38:13 -03:00
Coffeemakr
b03723c3fb
Code improvements
...
* Replace unchecked casts with checked casts
* remove Utility.finViewById
* Fix return activity checking
* Create UserAction enum
* Fix typos
* Add instrumented test for error info
* ErrorInfo make fields final
* Log exception using logger
* Add inherited annotations
* Resolve deprecation warnings
* Remove unused methods from utility
* Reformat code
* Remove unused methods from Utility and improve getFileExt
* Create OnScrollBelowItemsListener
2017-06-28 18:56:05 +02:00
Mauricio Colli
40213b2d6a
Fix autoplay
...
- Closes #595
2017-06-27 22:39:33 -03:00
Mauricio Colli
e8b71e867c
Merge pull request #588 from coffeemakr/feature-speedup
...
Speed up detail page loading ⏱
2017-06-27 18:12:30 -03:00
Coffeemakr
8009aa975e
Revert unused changes
2017-06-27 14:11:15 +02:00
Coffeemakr
cea706d14a
Synchronize initRealtedVideoStreams*
2017-06-27 12:44:20 +02:00
Marco Biscaro
7b60648424
Adds support for adjustable playback speed
...
ExoPlayer was updated to 2.4.2, which supports playback speed change.
A speed selector was also added in the MainPlayer and PlayerPopup.
Fixes #153 .
2017-06-26 19:22:16 -03:00
Coffeemakr
ae2b0cc76b
Format code and remove unused methods
2017-06-18 15:43:11 +02:00
Coffeemakr
89b680f6d9
Revert RecyclerView to LinearLayout
2017-06-17 13:43:09 +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
Coffeemakr
62a4869eb7
Fix download path handling ( #580 )
2017-06-13 10:47:40 +02:00
Christian Schabesberger
51d4d0d3dc
Merge branch 'improve-backstack' of https://github.com/mauriciocolli/NewPipe into back
2017-06-11 14:08:47 +02:00
Christian Schabesberger
a482aa1e21
Merge branch 'master' of https://github.com/SpajicM/NewPipe into count
2017-06-11 14:03:49 +02:00
Christian Schabesberger
040b38689d
update extractor to v0.9.8
2017-06-11 14:02:57 +02:00
SpajicM
a5cbaad804
BackgroundPlayer: Add timestamp in expanded notification
2017-06-08 23:28:45 +02:00
Mauricio Colli
71d5762be8
Remove unnecessary check
2017-06-06 11:46:57 -03:00
Mauricio Colli
6ecdfaf19e
Improve backstack and theme change
2017-06-05 16:33:01 -03: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
8b67f1358d
Implement no-audio icon
2017-05-15 00:57:57 -03:00
Mauricio Colli
641ab25470
Fix Settings on screen rotation
2017-05-14 11:10:00 -03:00
Mauricio Colli
cac79d9a0d
Improve behavior on audio focus gain
2017-05-14 10:46:28 -03:00
Mauricio Colli
e47761750a
Fix 'keep screen on'
2017-05-14 00:32:28 -03:00
Christian Schabesberger
719de00e0f
Merge branch 'fix-menu-update' of https://github.com/mauriciocolli/NewPipe
2017-05-13 20:08:18 +02:00
Mauricio Colli
9ca8c5480c
Fix image loader bug
2017-05-09 00:12:06 -03:00
Mauricio Colli
4d0d3c7ead
Update menu items after change in settings
2017-05-08 22:23:27 -03:00
Mauricio Colli
affd23b14e
Fix animations
2017-05-08 10:33:26 -03:00
Mauricio Colli
9c7f249756
Clean and move some classes
2017-05-08 10:28:33 -03:00
Mauricio Colli
040d658540
Implement resizable popup
2017-05-01 02:23:50 -03:00
Christian Schabesberger
134c3804db
Merge branch 'fix-search' of https://github.com/mauriciocolli/NewPipe into fix-search
2017-04-28 20:42:37 +02:00
Christian Schabesberger
e355df5eda
update NewPipeExtractor
2017-04-28 20:19:23 +02:00