Conor O'Kelly 22a58bb707
Use new hook for delete
In reference to issue #146 

Also added the `deleteMediaFile` when dealing with urls. 

The new functionality of `writeData` means that is there is a name conflict it will rename the file. This way the behavior of your api does not change.

Only potential issues I see with this is that the file is `trashed` but not deleted. So is only cleared up on the usual clear up.

Test locally using my own Anki install at `2.1.22` and POST man to create new media
2020-04-07 21:18:48 -07:00
..
2020-04-07 21:18:48 -07:00
2020-01-05 16:24:20 -08:00
2020-04-05 01:28:37 +08:00