Mauricio Colli
2c783ff911
Stick info header when selecting subscriptions in the feed group dialog
...
- Avoid creating plural translation by using a different wording
2020-03-14 00:12:42 -03:00
Mauricio Colli
3f32573638
Replace hardcoded value that represents the group "All" with a constant
2020-03-14 00:12:41 -03:00
Mauricio Colli
5ea323ce02
New option to use dedicated feed sources for services that support it
...
YouTube, for example, has a dedicated feed which was built to be used
like this. It comes with some caveats though, like lacking enough
information about the items and returning a limited amount of them.
Nonetheless, a nice option for users that like speedy updates but don't
mind this issue.
2020-03-14 00:12:39 -03:00
Mauricio Colli
b2f317ab7c
Load only the selected group and customizable updated status timeout
...
Now only the subscriptions from the selected group by the user will be
loaded.
Also add an option to decide how much time have to pass since the last
refresh before the subscription is deemed as not up to date. This helps
when a subscription appear in multiple groups, since updating in one
will not require to be fetched again in the others.
2020-03-14 00:12:38 -03:00
Mauricio Colli
2948e4190b
Change feed groups header title and icon from feed representing "All"
2020-03-14 00:12:37 -03:00
Mauricio Colli
f05b8c9542
Expand import/export options by default when subscriptions list is empty
2020-03-14 00:12:36 -03:00
Mauricio Colli
8b87893248
Update Groupie list library to v2.7.0
2020-03-14 00:12:35 -03:00
Mauricio Colli
a93e2cdc30
Quick fix for NPE when exiting the feed fragment
2020-03-14 00:12:34 -03:00
Mauricio Colli
20a4bb0936
Implement new feed and subscriptions groups
...
- Introduce Groupie for easier lists implementations
- Use some of the new components of the Android Architecture libraries
- Add a bunch of icons for groups, using vectors, which still is
compatible with older APIs through the compatibility layer
2020-03-14 00:12:31 -03:00
Mauricio Colli
e8ab5aacc7
Setup initial database for feed implementation
...
- Update the database diagram
- Add new migration for the new tables and fields
- Enable schema exports
2020-03-14 00:12:30 -03:00
Xiang Rong Lin
a117e459b0
Use AlertDialog.Builder instead of BookmarkDialog class for the same look.
...
Use "rename" string instead of "save" string.
2020-02-02 12:54:43 +01:00
Xiang Rong Lin
8712310ad9
Move more log statements into "if (DEBUG)"
2020-02-01 16:36:45 +01:00
XiangRongLin
e8c3ab87c4
Merge branch 'dev' into 1907renamePlaylist
2020-02-01 16:29:21 +01:00
Xiang Rong Lin
90c20f124b
Move log statement into "if (DEBUG)"
2020-02-01 16:27:53 +01:00
bopol
6be23a0a6f
fix wrong language shown many popup dialogs
...
Changed android.R.string.ok, which is "OK", into R.string.finish, which is also OK, but from our strings
Then for a small amount of languages that don't have Android translation, it will show the good string.
2020-02-01 09:44:49 +01:00
Xiang Rong Lin
0ed3354cee
Use custom dialog to edit and delete local playlists at once
2020-01-21 20:56:06 +01:00
Xiang Rong Lin
77aa12dd81
Rename local playlist by long-clicking in BookmarkFragment.
...
After long clicking on a local playlist, show a dialog with 2 options for "rename" and "delete"
Rename shows another dialog to let the user rename the playlist.
Delete lets the user delete a playlist like before.
2020-01-19 14:39:40 +01:00
Avently
4c57893312
New features and fixes
...
- added autoplay options inside settings: always, only on wifi, never
- now statusbar will be shown in fullscreen mode
- playlists, channels can be autoplayed too (if enabled)
- changed title of background activity to Play queue
- fixed a crash
2020-01-08 19:16:50 +03:00
TobiGr
399e2626fb
Fix code style and improve imports
2020-01-07 22:48:35 +01:00
decarvalhobo
752a76eb44
Usage of drawable instead of remote image + refactor the append to an empty playlist by just updating the thumbnail before adding the item in it.
2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
8feee05eec
remove comments
2020-01-07 22:33:45 +01:00
De Carvalho Marcio Antonio
e9a4caaf0b
remove comments
2020-01-07 22:33:45 +01:00
decarvalhobo
8de367e03f
fix issue: thumbnail update when element deleted + thumbnail update when element added and no thumbnail
2020-01-07 22:33:45 +01:00
dotvirus
de19421de1
Update LocalPlaylistFragment.java
2019-12-31 01:42:41 +01:00
Peter Hindes
b365973ac6
fix last recomendation. syntax and imports
2019-12-10 12:18:49 -07:00
Peter Hindes
19fb8cfbfe
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java
...
Co-Authored-By: Redirion <redirion@web.de>
2019-12-10 12:13:04 -07:00
Peter Hindes
693756bdd6
Removed redundant. Related to last merge
2019-12-06 08:36:57 -07:00
Peter Hindes
c05633979c
Update app/src/main/java/org/schabi/newpipe/local/holder/RemotePlaylistItemHolder.java
...
Co-Authored-By: Redirion <redirion@web.de>
2019-12-06 08:35:14 -07:00
Peter Hindes
87378fc79c
Fixed library showing null
2019-10-16 19:56:31 -06:00
Robin
bf2a3ca043
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Christian Schabesberger
6133c97f45
Merge branch 'dev' into playlist-play-from-here
2019-08-14 14:53:06 +02:00
Stypox
c96a05a8f9
Customize "start here" actions in playlist item views
...
Now those actions start playing the whole playlist from the chosen stream, instead of playing only the chosen stream.
2019-08-14 14:17:05 +02:00
Stypox
c190dc4792
Fix annotation warnings in modified files
2019-08-14 13:11:44 +02:00
Stypox
ebf91d27c7
Clean up code for addItems() on ItemListAdapters.
2019-08-14 13:11:16 +02:00
Stypox
7da827a06a
Fix annotation warnings
2019-08-14 12:55:17 +02:00
Stypox
00fc5217f5
Fix potential disposable leak in PlaylistAppendDialog
2019-08-14 12:54:17 +02:00
Stypox
04e725bb50
Fix some inspection warnings in modified files
2019-08-14 11:49:37 +02:00
Stypox
e6617ff8e8
Fix slowdowns in stream list views
...
Now the playback state of a stream is loaded only when needed (i.e. when the stream is visible), just as it is done with thumbnails.
Removed `StateObjectsListAdapter.java`, which used to load the state of every stream at list instantiation, generating slowdowns and freezes.
2019-08-14 11:42:39 +02:00
TobiGr
3cd485069d
Fix playback position not being deleted on clearing watch history
2019-08-07 14:34:49 +02:00
Stypox
d076fe72cd
Optimize imports in edited files
2019-07-25 11:47:38 +02:00
Stypox
9df27f43de
Ensure default actions cannot be overwritten permanently in StreamDialogEntry
2019-07-25 00:53:13 +02:00
Stypox
759e9846ad
Remove ugly if-else-cascade in
...
Common actions and labels are now in a unique enum: StreamDialogEntry
If an action is not common to every long-press menu (e.g. delete) a custom action has to be provided using e.g. delete.setAction(...)
2019-07-25 00:44:12 +02:00
Stypox
8edc332a4e
Fix showing popup options with audio-only streams
2019-07-22 11:58:01 +02:00
Stypox
bb5028364b
Complete merge after #2288 : add resumePlayback to player calls.
...
`resumePlayback`'s value is `false` when the video is enqueued, `true` otherwise.
Also make the use of getContext() and getActivity() more consistant.
2019-07-22 10:28:53 +02:00
Stypox
064f0e414a
Merge branch 'dev' into menu-consistency
2019-07-21 11:11:06 +02:00
Vasily
2a41802f36
Merge branch 'dev' into playback_state_list
2019-06-23 20:23:29 +03:00
kapodamy
f6b32823ba
Implement Storage Access Framework
...
* re-work finished mission database
* re-work DownloadMission and bump it Serializable version
* keep the classic Java IO API
* SAF Tree API support on Android Lollipop or higher
* add wrapper for SAF stream opening
* implement Closeable in SharpStream to replace the dispose() method
* do required changes for this API:
** remove any file creation logic from DownloadInitializer
** make PostProcessing Serializable and reduce the number of iterations
** update all strings.xml files
** storage helpers: StoredDirectoryHelper & StoredFileHelper
** best effort to handle any kind of SAF errors/exceptions
2019-06-03 18:16:41 -03:00
Stypox
8695466690
Make subscription long-press menu consistant in local sub list
...
Inverted unsubscribe with share, since share has always been put after content-specific actions.
2019-05-29 20:39:17 +02:00
Stypox
8b584f3922
Make long-press menu consistent across views: fix #2354
...
Also made the code that creates the menus consistent across files.
2019-05-29 16:22:01 +02:00
Vasiliy
93f2518159
Animate states changed
2019-04-27 22:27:08 +03:00
Vasiliy
273f731dd5
Refactor adapter
2019-04-27 21:23:52 +03:00
Vasiliy
c7cd9e86ac
Option to disable states indicators
2019-04-27 19:04:13 +03:00
Vasiliy
41fb6f5464
Update states in lists
2019-04-27 18:12:00 +03:00
Vasiliy
a48cbc6971
Show streams states for local lists
2019-04-15 22:18:24 +03:00
Vasiliy
73be8cf074
Base implementation of showing playback positions in lists
2019-04-15 21:37:36 +03:00
Vasiliy
4e1423d224
Implement playback state management
2019-04-13 13:34:36 +03:00
Stypox
aadc8168be
Remove share utilities from BaseStateFragment
...
Replaced by ShareUtils
2019-04-06 20:17:04 +02:00
Christian Schabesberger
da8644168c
Merge branch 'master' into dev
2019-03-01 09:53:43 +01:00
Christian Schabesberger
f24fab0fa2
fix brake when selecting a mediaccc channel form subscription page
2019-02-25 12:24:48 +01:00
Vasily
9316962e47
Clear history option menu item
2018-12-29 20:55:10 +02:00
Christian Schabesberger
dc6108c970
Merge branch 'dev' into tablet_ui
2018-10-08 11:56:25 +02:00
Christian Schabesberger
d107fe19f7
Merge branch 'dev' into LongTapInSubs
2018-10-07 13:59:39 +02:00
BO41
af280a7343
Java language level + javadoc + xml
...
replace with <>
String builder
BUILD SUCCESSFUL in 4s
39 actionable tasks: 4 executed, 35 up-to-date
2018-09-11 19:20:10 +02:00
BO41
802b26e870
error handling + imports + unboxing
2018-09-11 19:18:50 +02:00
BO41
0ab86937d2
data flow issue + declaration redundancy
...
make final
unused methods
make final
BUILD SUCCESSFUL in 0s
39 actionable tasks: 39 up-to-date
2018-09-11 19:18:41 +02:00
BO41
3ab06bf383
class structure
...
BUILD SUCCESSFUL in 17s
39 actionable tasks: 6 executed, 33 up-to-date
2018-09-11 19:18:14 +02:00
BO41
27fbe69033
code cleanup
...
mainly removes throw statements
automated using Android Studio, staged by hand
BUILD SUCCESSFUL in 52s
39 actionable tasks: 37 executed, 2 up-to-date
2018-09-11 19:14:21 +02:00
Vasily
d4c1b8d321
Fix: remove title from PlaylistDialog
2018-08-31 17:12:56 +03:00
u1
a1be03543c
Grid layout for subscriptions
2018-08-31 16:49:25 +03:00
u1
b1a5547de2
Fix reordering playlist items on grid layout
2018-08-31 16:34:35 +03:00
Vasily
ee4942dfd7
Grid layout for local lists
2018-08-31 14:34:32 +03:00
Christian Schabesberger
bfe9de05cd
Merge branch 'dev' into LongTapInSubs
2018-08-28 18:39:11 +02:00
Christian Schabesberger
a817d8cbf9
git replace getFragmentManager() with getFM()
2018-08-24 12:30:23 +02:00
Christian Schabesberger
4a19c78fa5
despaget certain parts of the new design
2018-08-24 12:27:02 +02:00
Somethingweirdhere
8dde25532a
Code reviewed
2018-08-24 12:26:15 +02:00
Somethingweirdhere
072e27ed27
Code cleanup
2018-08-24 12:23:26 +02:00
Somethingweirdhere
8e3ad69adb
Videos now also open from the History Tab.
2018-08-24 12:14:53 +02:00
Somethingweirdhere
be62a2bfc5
Fixed icons and tab titles
2018-08-24 12:14:53 +02:00
Somethingweirdhere
5cb7771484
Fixed bugs&crashes
2018-08-24 12:14:53 +02:00
Somethingweirdhere
6675d3e2cd
Set up custom Main Page tabs
2018-08-24 12:14:53 +02:00
Somethingweirdhere
edb75c4bab
Fixed crash in Subscriptions section
2018-08-24 12:12:08 +02:00
Somethingweirdhere
54b21c716a
Added drawer menu
2018-08-24 12:04:35 +02:00
Somethingweirdhere
4326354ca6
Code cleanup
2018-08-22 13:59:12 +02:00
Somethingweirdhere
f4416fe007
Doesn't use getChannelInfo() anymore.
2018-08-16 01:04:37 +02:00
Somethingweirdhere
510591ef0f
Removed use of blockingFirst() and scheduleDirect()
2018-08-16 00:45:37 +02:00
Somethingweirdhere
a5e89d1dd1
Merge branch 'dev' into LongTapInSubs
2018-08-15 23:33:59 +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
Somethingweirdhere
b48c251b36
Added unsubscription toast
...
Added error handling
Corrected threads
2018-06-30 02:42:47 +02:00
Somethingweirdhere
181a14ce59
Disposable now is cleaned properly
2018-06-30 02:20:01 +02:00
Somethingweirdhere
b9ea7ce066
Code looking nicer
2018-06-29 00:39:44 +02:00
Somethingweirdhere
f2f275512d
It looks good now
2018-06-29 00:39:16 +02:00
Somethingweirdhere
5150c2ee62
This thing actually works lol
2018-06-28 23:56:39 +02:00
Somethingweirdhere
0b7593ad28
Delete on long press
2018-06-28 20:43:46 +02:00
Somethingweirdhere
a68823491c
Delete on long press
2018-06-28 20:37:05 +02:00
Christian Schabesberger
eae7babf93
Merge pull request #1454 from Somethingweirdhere/dev
...
Added share option to long tap menu
2018-06-25 15:28:37 +02:00
John Zhen Mo
7fb9345344
-Fixed remote playlist metadata not updated when remote source data has changed.
2018-06-18 18:22:52 -07:00
Somethingweirdhere
baa63249d1
Added share option to long tap menu
2018-06-05 19:48:31 +02:00
Andrei.Rosca
0a596df497
default ViewHolder
2018-05-06 10:14:24 +02:00
Christian Schabesberger
a079a0c901
fix requested changes part 1
2018-04-29 13:15:52 +02:00
Christian Schabesberger
4c10ef65f5
add delete while history
...
add delete whole history
2018-04-29 12:51:57 +02:00
Christian Schabesberger
cfa697fab2
make history ui more consistent
2018-04-29 12:51:57 +02:00
Christian Schabesberger
a09b9d3e4d
made items actually deltable
2018-04-29 12:51:57 +02:00
Christian Schabesberger
c470909f19
add delete options for StatisticPlaylistFragment
2018-04-29 12:51:57 +02:00
Christian Schabesberger
5e59cfcf9d
remove HistoryInfoItem again
...
blub
2018-04-29 12:51:57 +02:00
Christian Schabesberger
a099fe35d2
reorder playqueue/localPlaylist classes
2018-04-29 12:51:57 +02:00
Christian Schabesberger
bcfd8a2450
rename playlist to player.playqueue
2018-04-29 12:49:52 +02:00
Christian Schabesberger
8ed9d71e14
put local foo into local foo folder
2018-04-29 12:47:12 +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