Post by konakona on May 13, 2021 6:44:21 GMT -5
Hi, I have a somewhat complicated isssue which may not be caused by GMMP per se, but I am hoping to get some ideas here to avoid it. I know, it is quite a longshot
My setup:
nexus 7 tablet with auto-suspend (if no power is supplied to the otg y-cable, it goes into firm sleep in a preset amount of time)
USB 2.0 hub - not self-powered (has provisions for but unplugged atm)
USB 2.0 USB-A extension cable
USB-A sd card reader
128gb sd card <= all my music resides here
When it works as intended, shutting the car down cuts music off (GMMP goes out of audio focus, car amp turns off, etc.) gracefully without any adverse effects. The trouble is, the sdcard gets randomly corrupted, or at least that's what the android tablet thinks. Curiously, the same sd card in the same sd card reader plugged into a Windows 10 machine nets no errors whatsoever with a disk scan. All files on it are accessible just fine in Windows. Take it back to the tablet, still getting the dreaded corrupted sd card message. Weirder yet, the exact nature of the 'corruption' seems a bit random - there are times I can still access and play music off the sdcard just fine despite the corrupted sd card notification, other times the whole shebang is inaccessible/invisible from any file manager app altogether.
I had suspected this has something to do with power being lost while the sd card is still being accessed, so I attmpted using tasker to stop music before the suspend timeout kicks in - sadly to no avail. My rudimentary understanding is that a storage device would only corrupt when a write operation gets interrupted, not a read-only op (please correct me if I am wrong). Does GMMP ever write anything back to the storage medium when a music track is accessed for playback? Is there anything I could do within/outside GMMP to minimize the chances of this corruption happening? Thanks!
My setup:
nexus 7 tablet with auto-suspend (if no power is supplied to the otg y-cable, it goes into firm sleep in a preset amount of time)
USB 2.0 hub - not self-powered (has provisions for but unplugged atm)
USB 2.0 USB-A extension cable
USB-A sd card reader
128gb sd card <= all my music resides here
When it works as intended, shutting the car down cuts music off (GMMP goes out of audio focus, car amp turns off, etc.) gracefully without any adverse effects. The trouble is, the sdcard gets randomly corrupted, or at least that's what the android tablet thinks. Curiously, the same sd card in the same sd card reader plugged into a Windows 10 machine nets no errors whatsoever with a disk scan. All files on it are accessible just fine in Windows. Take it back to the tablet, still getting the dreaded corrupted sd card message. Weirder yet, the exact nature of the 'corruption' seems a bit random - there are times I can still access and play music off the sdcard just fine despite the corrupted sd card notification, other times the whole shebang is inaccessible/invisible from any file manager app altogether.
I had suspected this has something to do with power being lost while the sd card is still being accessed, so I attmpted using tasker to stop music before the suspend timeout kicks in - sadly to no avail. My rudimentary understanding is that a storage device would only corrupt when a write operation gets interrupted, not a read-only op (please correct me if I am wrong). Does GMMP ever write anything back to the storage medium when a music track is accessed for playback? Is there anything I could do within/outside GMMP to minimize the chances of this corruption happening? Thanks!