endthestart / tinsparrow

MIT License
1 stars 0 forks source link

Importer find_media method should be decoupled from database actions #9

Open endthestart opened 9 years ago

endthestart commented 9 years ago

The Importer should be decoupled from the database saving. The Importer and related utilities should return sets of data that can be processed by whatever application is looking for the data. This information can then be inserted into a database or such. Perhaps it can return a list/dictionary of songs and the pertinent data.

endthestart commented 9 years ago

This should probably be made into a separate package than can be used by both the client and the server. Essentially the app will need to search for songs and return the information. The information can then be processed by the client or server however it needs to.