I'm thinking about the performance of my extension.
Here's the repository:
https://bitbucket.org/alibranic/vlc_extensions/src
Look at default branch.
There are the tables moveList and deleteList. The keys are autoincremented Integers and the values are paths of files to move or delete. I created moveListGUI and deleteListGUI with d:add_list() to show the content of these tables.
My extension became very big so I want to merge moveList and deleteList into one list. But I need to save the path and a status code for each row which indicates "to move", "to delete", "moved", "deleted" and so on.
In this way I could reduce the number of functions and lines of code.
A another idea was to get the playlist item's id and just save this as foreign key and the status code in my table.
I'm not sure.