Commit Graph
100 Commits
Author SHA1 Message Date
aliveoutside 2175800f33 run auto code reformat 2022-11-02 16:10:56 +03:00
aliveoutside ab16fdcecb optimize imports 2022-11-02 16:01:38 +03:00
aliveoutside a34cad6837 move everything music related to "music" package 2022-11-02 15:57:23 +03:00
aliveoutside a5bd532570 use a singleton for okhttp so it will reduce OkHttpClients count 2022-10-29 19:16:21 +03:00
aliveoutside e4124f459f [music] move catalog json injector to separate package 2022-10-29 18:45:48 +03:00
aliveoutside 03328137df [music] fix not loading "main" page 2022-10-29 18:19:27 +03:00
aliveoutside 7f304950a8 [music] support new catalogs 2022-10-22 20:32:16 +03:00
aliveoutside 23f1b6c26b load ffmpeg-kit directly from libs folder via System.loadLibrary
add arm64 libs
2022-10-15 21:43:03 +03:00
aliveoutside a7d50bca26 remove ffmpeg libs from assets 2022-10-15 21:40:23 +03:00
aliveoutside 92fbd071de reduce ffmpeg-kit size 2022-10-15 21:12:56 +03:00
aliveoutside 4c5a1c5a17 download track synchronously 2022-10-13 03:17:17 +03:00
aliveoutside 1aedacf401 remove useless ffmpeg banner in logs 2022-10-13 03:17:05 +03:00
aliveoutside 9d4bffd8aa use an executor to download tracks 2022-10-13 02:52:23 +03:00
aliveoutside ede17b31a2 move vkexecutors receiving to separate package 2022-10-13 02:52:23 +03:00
aliveoutside e94f93facb update telegram stickers entry icons 2022-10-13 02:52:23 +03:00
aliveoutside 9d2878b9dc revert "fixed redundant thread creation" b9a55799
it breaks Telegram stickers downloading, we'll investigate later
2022-10-09 15:54:26 +03:00
aliveoutside d151d27063 fix #831 2022-10-09 00:23:35 +03:00
aliveoutside 5def26131b [foaf] fix regexes and run the dialog from ui thread 2022-10-08 23:06:53 +03:00
aliveoutside baba2c0009 [music] download playlist synchronously 2022-10-08 17:45:36 +03:00
aliveoutside 2ae3f48d9a [music] move temp tses dir to app internal storage 2022-10-08 17:45:36 +03:00
aliveoutside bc25be1a27 Merge pull request #823 from vtosters/gettext-removing
remove clipdata$item gettext
2022-10-07 12:21:58 +03:00
aliveoutside a4711ffd4b [music] remove duplicate notification about track caching 2022-10-02 19:45:10 +03:00
aliveoutside aacfad3122 [music] fix "Unable to play track" if album is null 2022-10-02 19:32:12 +03:00
aliveoutside e53f1efc2d [music] scrobble album if it is not empty 2022-10-02 19:28:07 +03:00
aliveoutside 8e85844bd3 [music] insert the cached track only if it not in database, else ignore 2022-10-02 18:41:47 +03:00
aliveoutside a5ac9f35e7 [music] don't cache the track if it is cached already 2022-10-02 18:29:35 +03:00
aliveoutside 529d4afb3b [music] download mp3 via VK X if integration is enabled 2022-09-20 19:50:23 +03:00
aliveoutside d2de67bcc3 [music] support subtitles 2022-09-20 19:03:06 +03:00
aliveoutside d02d6ceac1 [music] use callback onfailure 2022-09-20 19:03:06 +03:00
aliveoutside c18bdb3abb [music] playlist caching 2022-09-19 20:11:43 +03:00
aliveoutside 827f10392f [music] use executorservice in download playlist hook
so it won't freeze the ui
2022-09-19 15:31:40 +03:00
aliveoutside 105f2c76c0 [music] support playlists with more than 1000 tracks 2022-09-19 14:56:56 +03:00
aliveoutside 2e6617ec83 [music] [PlaylistConverter] add track to playlist only if it has a vaild download url 2022-09-19 13:58:23 +03:00
aliveoutside 07ca91d8a2 [music] move notifySavingToCache to MusicNotificationBuilder 2022-09-18 18:59:19 +03:00
aliveoutside 4443f69056 [music] move callback and notification builders to their own packages 2022-09-18 18:59:19 +03:00
aliveoutside 8b36fea7a5 [music] fix track caching 2022-09-18 18:35:48 +03:00
aliveoutside e5848f2f91 [music] remove hardcoded track name in M3UDownloader 2022-09-18 18:29:20 +03:00
aliveoutside 8b614f786d 100% fix crash on start 2022-09-18 00:54:22 +03:00
aliveoutside f3fda343d2 potentially fix crash on start related to system theme changer 2022-09-17 21:49:33 +03:00
aliveoutside 9763f54bf5 [music] use double quotes instead of single quotes in ffmpeg 2022-09-17 20:23:46 +03:00
aliveoutside 6be6b5c714 [music] fix after merge 2022-09-17 20:23:46 +03:00
aliveoutside f7c4663329 [music] move notification callback outside of PlaylistDownloader 2022-09-17 20:23:45 +03:00
aliveoutside 68c3a1d137 [music] make PlaylistDownloader more generic 2022-09-17 19:25:16 +03:00
aliveoutside e60ab4a54e [music] some docs for TrackDownloader 2022-09-17 19:25:04 +03:00
aliveoutside 78d30f9546 [music] The refactoring
one class should only do a one thing and do it great
2022-09-17 18:45:22 +03:00
aliveoutside d1eed0fbd5 do not reapply theme on every config change 2022-09-16 23:01:31 +03:00
aliveoutside 9b6425442a refactor converter code a bit 2022-09-16 21:50:01 +03:00
aliveoutside c441823d94 use new catalog for artist search
fixes #745
2022-09-16 15:45:39 +03:00
aliveoutside 090c82dd40 append id3 tags to downloaded tracks 2022-09-16 13:03:56 +03:00
aliveoutside a7a5a3cd4c add coreLibraryDesugaring so we can use some cool java apis
https://developer.android.com/studio/write/java8-support#library-desugaring
2022-09-16 13:03:40 +03:00
aliveoutside 0e36807bd6 Merge branch 'main' into music 2022-09-16 00:46:15 +03:00
aliveoutside 24c41e5a6d bypass android notification updates rate limits 2022-09-16 00:37:08 +03:00
aliveoutside 22e12b6422 close streams in IOUtils 2022-09-16 00:13:09 +03:00
aliveoutside 80d2045fbb update build.gradle 2022-09-15 23:51:18 +03:00
aliveoutside 7bb0d69a96 parallel .ts downloading 2022-09-15 23:43:42 +03:00
aliveoutside 96d71394fd merge .ts files more properly
use copying instead of recoding merged .ts to mp3

fixes #688
fixes #630
2022-09-15 23:41:05 +03:00
aliveoutside 371f9ae4a6 what the fuck? @Vologhat 2022-09-15 22:51:25 +03:00
aliveoutside 9d8533e066 fix external video player 2022-09-15 20:30:27 +03:00
aliveoutside f2c73c6ede [music] speed up downloading like 100x times 2022-09-15 19:40:16 +03:00
aliveoutside 59e92e30f2 [music] merge .ts files with Java:
using Java NIO on android O+
using FileOutputStream on older androids
2022-09-15 19:19:46 +03:00
aliveoutside be1bc8efbb remove gridmedia from recommendations 2022-09-15 18:58:53 +03:00
aliveoutside 281b4d9773 allow to change order of telegram stickers 2022-09-15 00:34:48 +03:00
aliveoutside 18714288d7 partially fix contacts import 2022-09-14 00:24:12 +03:00
aliveoutside 8ac098e4f8 Merge pull request #739
Remove old music catalog
2022-09-13 22:02:24 +03:00
aliveoutside 94c8736bc1 android:configChanges - uiMode 2022-09-10 19:36:01 +03:00
aliveoutside e05255263b remove useless log 2022-09-10 18:58:54 +03:00
aliveoutside e916b5fcc8 check the system theme on app start 2022-09-10 18:52:49 +03:00
aliveoutside 09e0dbd01d switch theme when "Use system theme" switch changed to true 2022-09-10 18:48:30 +03:00
aliveoutside 84e5ce6dc2 add system theme switch to settings 2022-09-10 18:42:47 +03:00
aliveoutside 2520b709bd remove dead code in ThemesUtils 2022-09-10 17:47:41 +03:00
aliveoutside 0ed16b0836 follow system theme (light/dark) 2022-09-10 17:35:41 +03:00
aliveoutside 6e55514edf Update README.md 2022-09-10 16:55:14 +03:00
aliveoutside 93d515b423 add russian string for play_in_vkx 2022-09-10 16:49:14 +03:00
aliveoutside b88ecd97fc pass playlist and action id to the hook 2022-09-10 16:46:05 +03:00
aliveoutside 5c1b39c79f pass playback context to vk x 2022-09-10 16:33:34 +03:00
aliveoutside bae7263554 implement "Play in VK X" quick action in track bottomsheet
resolves #723
2022-09-10 16:09:38 +03:00
aliveoutside 63f4ed3885 fix AudioDownloader 2022-09-06 14:00:35 +03:00
aliveoutside ad90c522ac move image downloader to IOExecutor 2022-09-06 13:57:24 +03:00
aliveoutside 374b221f0d fix #627
also fix wrong mime-types for downloaded files
2022-09-06 13:39:39 +03:00
aliveoutside 0660c9664d fix #713 2022-09-04 11:56:37 +03:00
aliveoutside a72ef8570a simplify post != null in AdBlockHook 2022-09-04 11:23:42 +03:00
aliveoutside 255e5e62db fix discover tab #481 2022-09-01 15:08:28 +03:00
aliveoutside e231e4a2b4 Revert "Update Preferences.java"
This reverts commit 2e8f168d9f.
2022-08-30 12:07:43 +03:00
aliveoutside 74d4a5368a move slow tasks from MainActivityInjector to executors 2022-08-27 12:49:01 +03:00
aliveoutside b2256d20e0 Revert "notif counter for newsfeed if enabled milk"
This reverts commit c8c8678785.
2022-08-27 12:48:40 +03:00
aliveoutside 9fc5aa4fc3 Merge branch 'vtl-remaster' into music
# Conflicts:
#	app/libs/classes-dex2jar.jar
#	app/libs/classes2-dex2jar.jar
#	app/libs/classes3-dex2jar.jar
#	app/libs/classes4-dex2jar.jar
#	app/libs/classes5-dex2jar.jar
#	app/src/main/java/ru/vtosters/lite/downloaders/notifications/NotificationChannels.java
#	app/src/main/java/ru/vtosters/lite/music/MP3Downloader.java
2022-08-19 13:54:46 +03:00
aliveoutside 3a2607274f fix libs 2022-08-19 12:50:14 +03:00
aliveoutside b6133da808 fix #624
added a check if an attachment is instance of an attachment type where we could get the original link to the photo
2022-08-16 04:24:30 +03:00
aliveoutside 59fb11dbaa remove useless logs from MediaFragment 2022-08-16 04:10:15 +03:00
aliveoutside 3a7a05e630 fix not loading recommended posts page 2022-08-09 19:47:54 +03:00
aliveoutside 073c80d1b0 fix not loading recommended posts page 2022-08-09 19:47:54 +03:00
aliveoutside 9fbb2fada4 use different request codes for different download types 2022-08-05 21:07:30 +03:00
aliveoutside 3d5c832cec use different request codes for different download types 2022-08-05 21:07:30 +03:00
aliveoutside 9dd3a26bab implement download folder picker 2022-08-05 19:53:02 +03:00
aliveoutside a4612a127d implement download folder picker 2022-08-05 19:53:02 +03:00
aliveoutside 91bfea9917 fix #571
also get rid of java reflection
2022-08-05 03:03:40 +03:00
aliveoutside be65e6816d fix #571
also get rid of java reflection
2022-08-05 03:03:40 +03:00
aliveoutside bfd258ba54 fix #465
added a check for "Music" folder existence
2022-08-01 16:50:29 +03:00
aliveoutside 4a092f0920 fix #465
added a check for "Music" folder existence
2022-08-01 16:50:29 +03:00
aliveoutside 89997317bf fix #450 / #547 and speed up logout 2022-07-31 18:10:30 +03:00