[GH-ISSUE #200] When moving files around, playlists songs are not kept #143

Closed
opened 2026-02-26 02:32:16 +03:00 by kerem · 3 comments
Owner

Originally created by @tomcodes on GitHub (Jan 22, 2016).
Original GitHub issue: https://github.com/koel/koel/issues/200

I have around 4000 files in library and have reorganized all of them. I noticed all the songs I had added to playlists have been lost (but the playlists are kept).

It would be interesting to keep songs in playlists even when files are moved.

I understand song_id is generated based on the path of your song so it might be complicated to generate song_id based on something else, like a fingerprint of the track.

I will try to look into it.

Originally created by @tomcodes on GitHub (Jan 22, 2016). Original GitHub issue: https://github.com/koel/koel/issues/200 I have around 4000 files in library and have reorganized all of them. I noticed all the songs I had added to playlists have been lost (but the playlists are kept). It would be interesting to keep songs in playlists even when files are moved. I understand song_id is generated based on the path of your song so it might be complicated to generate song_id based on something else, like a fingerprint of the track. I will try to look into it.
kerem closed this issue 2026-02-26 02:32:16 +03:00
Author
Owner

@phanan commented on GitHub (Jan 22, 2016):

When you move the songs around manually, there's no way to keep track of them. Even desktop applications will fail to do so.

<!-- gh-comment-id:173992944 --> @phanan commented on GitHub (Jan 22, 2016): When you move the songs around manually, there's no way to keep track of them. Even desktop applications will fail to do so.
Author
Owner

@tomcodes commented on GitHub (Jan 25, 2016):

I think there would be a way by fingerprinting tracks based on their headers, instead of their relative path. What do you think? Is it worth investigating?

<!-- gh-comment-id:174434879 --> @tomcodes commented on GitHub (Jan 25, 2016): I think there would be a way by fingerprinting tracks based on their headers, instead of their relative path. What do you think? Is it worth investigating?
Author
Owner

@phanan commented on GitHub (Jan 25, 2016):

Can't say I'm familiar with such a technique, but doesn't it require opening every file with each scan (if feasible at all)? That would be a hell of memory consumption I think. Let's not over complicate this.

<!-- gh-comment-id:174435551 --> @phanan commented on GitHub (Jan 25, 2016): Can't say I'm familiar with such a technique, but doesn't it require opening every file with each scan (if feasible at all)? That would be a hell of memory consumption I think. Let's not over complicate this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#143
No description provided.