ginjaninja 605 Posted May 22, 2024 Posted May 22, 2024 (edited) Reason for request: I just upgraded some music from mp3 to flac in a different path and lost the memberships of all my playlists. The Request: Whenever ids are about to be removed from the library [due to media no longer present/deleted], the ids metadata and collections/playlist memberships+positions are stored in a "recycle bin" for a few ?hours?. Should the content be reinstated eg different path, updated quality, the new content can be checked/matched to the recycle bin metadata backup, and the content's collections/playlist membership reinstated (if not already present) and the now used backup removed from recycle bin. On recycle bin expiry do a final check for unfullled matches (against match criteria for the itemtype) to restore prior to final removal. (just in case something got missed onmediaitemadded) Each item type might have its own rule...so eg for a song, backup Path, External IDs, Album (By string name), Artist (by string name), Disk Number, Track Number song match criteria might be path (any file extension) OR MusicBrainz Track Id OR Album+Artist+Disc Number+TrackNumber a 'solutionised'? version of related I may have a go myself using scripterX's onmediaitemremoved / added... edit just remembered for some mediaitems the nfo writer can store membership but i dont think songs are supported for nfos Edited May 22, 2024 by ginjaninja 1
Luke 42078 Posted May 22, 2024 Posted May 22, 2024 Hi, yes, assuming the removal and the addition both happen together, then that could be one way of doing it. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now