-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obsolete tracks in music library after "unshare from self" #567
Comments
- This solves owncloud#567 together with the core PR owncloud/core#28401
- This solves owncloud#567 together with the core PR owncloud/core#28401
The commit c03de5b together with PR owncloud/core#28337 solves this issue. I'm still considering if there would be some clever way to cleanup the obsolete track references (say, in background task) when working on top of older core which does not have the required fix. |
For Nextcloud, the relevant PR is nextcloud/server#5797. |
…reviously indexed tracks and clean up the obsolete ones - The checking can be requested by supplying the argument "--clean-obsolete" - Obsolete tracks may exist in the index if the relevant file/folder has been unshared so that the Music app has not noticed it (#567) - This checking is rather long running operation in case the music library is extremely large (may take several minutes for a single user). Hence, it cannot happen automatically in the background task but only on request.
I added an option As the core-side fixes for this issue have been merged both into ownCloud and Nextcloud, and the inconsistent library can now be fixed by the Edit: the mentioned support for the |
If user A shares an audio file with user B and then unshares it, the track appears and disappears from the B's music library as expected. If, instead, B unshares the audio file shared by A, then the track is left in B's library. The unshared track cannot be played by B though, and if it was used to provide embedded album art, then the album cover image is missing. There is no way for B to get rid of the obsolete track reference, expect by rebuilding the whole music library.
The behavior is as described above with the latest development version of the Music app. With older versions, the obsolete track references used to prevent the music library from loading at all.
The text was updated successfully, but these errors were encountered: