Total Members Voted: 6
0 Members and 1 Guest are viewing this topic.
Here is it: https://disk.yandex.ru/d/2YH74j-LYT52fgPlease send to me a log via personal message of the forum
main 17/07/2024 18:16:40.962 D/FileBrowser: {intent:aimp.intent.action.OPEN_FILES,null,{; aimp.intent.extra.mru_id=Playlists; aimp.intent.extra.multichoice=true; aimp.intent.extra.filetypes=*.aimpbpl;*.m3u;*.m3u8;*.pls;*.xspf;*.cue;}}
It seems you've tried to open playlist, not music files, so what why the music files are not displayedP.S. Of course, debug version will not display it (just because it makes a dump instead of parsing)
main 18/07/2024 09:32:30.394 D/FileBrowser: {intent:aimp.intent.action.OPEN_MUSIC,null,{; aimp.intent.extra.mru_id=MUSIC; aimp.intent.extra.filetypes_additional=*.aimpbpl;*.m3u;*.m3u8;*.pls;*.xspf;; aimp.intent.extra.multichoice=true; aimp.intent.extra.filetypes=*.ac3;*.alac;*.ape;*.dsd;*.wma;*.3gp;*.amr;*.flac;*.mp3;*.opus;*.ogg;*.awb;*.mp2;*.mp1;*.mpga;*.wav;*.oga;*.aiff;*.aif;*.umx;*.mod;*.mo3;*.it;*.s3m;*.mtm;*.xm;*.ts;*.mac;*.fla;*.aac;*.m4a;*.m4b;*.mp4;*.mpc;*.mp+;*.mpp;*.wv;*.tta;*.dff;*.dsf;*.webm;*.weba;*.mkv;*.mka;*.midi;*.mid;}}
In the past, I operated in this manner, and the songs were displayed properly. Now, however, the songs are no longer being shown. I have re-uploaded a screen recording along with a log file, which should allow you to see the contrast between the two pieces of software.Code: [Select]main 18/07/2024 09:32:30.394 D/FileBrowser: {intent:aimp.intent.action.OPEN_MUSIC,null,{; aimp.intent.extra.mru_id=MUSIC; aimp.intent.extra.filetypes_additional=*.aimpbpl;*.m3u;*.m3u8;*.pls;*.xspf;; aimp.intent.extra.multichoice=true; aimp.intent.extra.filetypes=*.ac3;*.alac;*.ape;*.dsd;*.wma;*.3gp;*.amr;*.flac;*.mp3;*.opus;*.ogg;*.awb;*.mp2;*.mp1;*.mpga;*.wav;*.oga;*.aiff;*.aif;*.umx;*.mod;*.mo3;*.it;*.s3m;*.mtm;*.xm;*.ts;*.mac;*.fla;*.aac;*.m4a;*.m4b;*.mp4;*.mpc;*.mp+;*.mpp;*.wv;*.tta;*.dff;*.dsf;*.webm;*.weba;*.mkv;*.mka;*.midi;*.mid;}}https://1drv.ms/f/s!Ak3LlVGjqkc6piva-7szZ-O-wt6Y?e=4ZJPqr
Please try on this version: https://disk.yandex.ru/d/EqAQMSxtIF-Jzw
My Suggestion:AIMP fetches only the list of files from the WebDAV source and adds them to the playlist without initiating immediate downloads.When a specific song is selected for playback, AIMP should then download that particular file to ensure smooth listening.Benefits of On-Demand Downloading:
diff --color -u -r out/com/aimp/library/fm/FileURI.smali out_new/com/aimp/library/fm/FileURI.smali--- out/com/aimp/library/fm/FileURI.smali 2024-07-18 19:27:45.046281528 +0800+++ out_new/com/aimp/library/fm/FileURI.smali 2024-06-17 18:01:49.752575353 +0800@@ -960,6 +960,14 @@ return v0 .end method +.method public isCloudURI()Z+ .registers 2++ const/4 v0, 0x0++ return v0+.end method+ .method public toFile()Ljava/io/File; .registers 2 .annotation build Landroidx/annotation/Nullable;diff --color -u -r out/com/aimp/library/fm/fs/cloud/CloudFileURI.smali out_new/com/aimp/library/fm/fs/cloud/CloudFileURI.smali--- out/com/aimp/library/fm/fs/cloud/CloudFileURI.smali 2024-07-18 19:27:45.056281528 +0800+++ out_new/com/aimp/library/fm/fs/cloud/CloudFileURI.smali 2024-06-17 18:02:49.849241536 +0800@@ -56,6 +56,14 @@ return-object v0 .end method +# virtual methods+.method public isCloudURI()Z+ .registers 2++ const/4 v0, 0x1++ return v0+.end method # virtual methods .method public getDisplayPath()Ljava/lang/String;diff --color -u -r out/com/aimp/player/core/playlist/PlaylistActions$BasicReloadMeta.smali out_new/com/aimp/player/core/playlist/PlaylistActions$BasicReloadMeta.smali--- out/com/aimp/player/core/playlist/PlaylistActions$BasicReloadMeta.smali 2024-07-18 19:27:45.139614862 +0800+++ out_new/com/aimp/player/core/playlist/PlaylistActions$BasicReloadMeta.smali 2024-06-17 18:11:45.049237230 +0800@@ -372,6 +372,12 @@ if-nez v2, :cond_6c + invoke-virtual {v1}, Lcom/aimp/player/core/playlist/PlaylistItem;->isCloudFile()Z++ move-result v2++ if-nez v2, :cond_6c+ iget-boolean v2, p0, Lcom/aimp/player/core/playlist/PlaylistActions$BasicReloadMeta;->fReloadAll:Z if-nez v2, :cond_3ddiff --color -u -r out/com/aimp/player/core/playlist/PlaylistItem.smali out_new/com/aimp/player/core/playlist/PlaylistItem.smali--- out/com/aimp/player/core/playlist/PlaylistItem.smali 2024-07-18 19:27:45.149614863 +0800+++ out_new/com/aimp/player/core/playlist/PlaylistItem.smali 2024-06-17 18:10:43.055904395 +0800@@ -1131,6 +1131,18 @@ return v0 .end method +.method public isCloudFile()Z+ .registers 2++ iget-object v0, p0, Lcom/aimp/player/core/playlist/PlaylistItem;->fFileName:Lcom/aimp/library/fm/FileURI;++ invoke-virtual {v0}, Lcom/aimp/library/fm/FileURI;->isCloudURI()Z++ move-result v0++ return v0+.end method+ .method public load(Lcom/aimp/player/core/data/AbstractChunkedStorage$AbstractReader;Ljava/util/List;)V .registers 11 .param p1 # Lcom/aimp/player/core/data/AbstractChunkedStorage$AbstractReader;