vanilla-music / vanilla

Vanilla Music Player for Android
GNU General Public License v3.0
1.15k stars 290 forks source link

[Bug/Feature Request(?)] rclone remote mount partially works but not fully #1000

Open ktw77 opened 4 years ago

ktw77 commented 4 years ago

Description

yeah so um let me just try and give you as much information as I can. I'll say first and foremost that I know this program wasn't designed for this. I'm using this which allows me to mount/bind Google drive (in this case) my Google drive storage to /mnt/cloud/ and /storage/cloud/

good news is, it partially works to scan if you do a full scan otherwise it refuses to try and load new files. the items it does scan however can be played! so that's cool, scanning takes an extremely long time as I expected but it's even longer than it should I suppose. Thumbnails also hang for a bit for songs but eventually it all loads (only the ones that were scanned though). Excluding files to get passed that one hanging file in such directory didn't do anything and I wonder still why it's stuck scanning it since previous files are not that large and if Vanilla Music was just downloading it temporarily since it may have to since it's using Google Drive as storage without even knowing it.

Another thing that would also possibly need a change is probably pre-loading of songs, it doesn't need to exist with normal songs because they don't have to be downloaded every time a song is done but it is intrusive. There are apps that can stream off Google Drive without the use of an rclone remote such as Cloudbeats or CloudPlayer but unfortunately neither are the music player I know and love. I thought using rclone would save my skin but I knew it was a very Frankenstein idea anyway. props on you for even letting me include scan points other than the /storage/emulated/0/ , I tried other music players and they wouldn't even let me go into the above directory to even see the the rclone mount at all. I understand this may need a fundamental rehaul to how vanilla works but I figured I'd try the best I could because I really do love this app so much.

....

Steps to reproduce the issue

  1. Be rooted using magisk
  2. Install rclone-mount magisk module
  3. use this as instructions on mounting it (you'll need either a terminal emulator to manually get the rclone .conf or just use your computer and copy it over)
  4. add your rclone mount path in Media Library of Vanilla Music
  5. let it scan and see what breaks I suppose ...

Screenshot / Video (If applicable)

Not sure how useful this would be, I tried explaining everything in the most amount of detailed I could, however if you want anything specific I'll try to be more than accommodating ...

Kaned1as commented 4 years ago

You're just as mad as me, lad. Doing same with NFS over ZeroTier network.

ktw77 commented 4 years ago

it's a Frankenstein's monster version of vanilla lol, I'm glad someone else is as crazy as me in doing something similar though

TomzBench commented 3 years ago

I feel like playing music from your cloud storage should be standard behavior of a player. Turns out this is not at all the case. Why is that? I mean there should be a simple permission switch and login and good to go. Have either of you figured out a good way to play music from your personal cloud? I'm looking for a music player, not a project