Welcome Guest ( Log In | Register )

> foobar2000 Development Forum Rules

This forum is for developer discussions only. If you have a problem / bug report / idea / feature request that isn't related to foobar2000 SDK, post it in an appropiate forum instead - tech support questions go to support forum, everything else goes to general forum.
All non-developer posts on this forum will be removed. Continued abuse of this forum will result in admin actions (warnings, account suspension).

library manager without database.dat
post Feb 9 2013, 00:09
Post #1

Group: Members
Posts: 1
Joined: 8-February 13
Member No.: 106512

Hello all develepers,

I'm new to this forum, so please forgive me potentially stupid question..

I'm trying to prepare plugin that will read library data from file other than database.dat.

The goal is to keep songs information encrypted.

Please suggest me a direction I should follow. I spent few hours analyzing code (library_manager, library_callback, file_info and other classes) but still don't have the solution.

I think it could be something like this:

pfc::list_t<metadb_handle_ptr> library;




but library is a copy and it will not remove items from original library list.

/////// alternative solution ????

my first try with this was to catch all file input/output operations to make this on filesystem layer and encrypt/decrypt data on the fly. But I hadn't seen file operation callbacks (/service pointers) that concern database.dat.
Is this possible? If yes it would be the best solution...

Thank you in advance!

Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 25th November 2015 - 10:31