File plugin doesn't update song when file changes
Bug #1163057 reported by
Kyzer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tangerine |
New
|
Undecided
|
Unassigned |
Bug Description
When a file changes its contents (for example, by adding or removing ID3v2 tags), the File plugin should detect this and re-read the file to get the updated track data.
The file plugin does detect this; OnDirectoryEvent() is called with type=Inotify.
What needs to happen is either for AddTrack() to try calling UpdateTrack() even if the file is already known, or for the CloseWrite type action to call RemoveTrack() then AddTrack(). I've attached a patch which does the latter.
To post a comment you must log in.