Re: [Banshee-List] help on some part of API



Ok, I have found all my answer.
Do not need help anymore ;)

cheers,
Olivier Dufour


On Wed, Jan 26, 2011 at 2:17 PM, olivier dufour <olivier duff gmail com> wrote:
Hello all,

I need a little help.
I am working on a video/tv-show source and I do not understand how work some class...

what is QueryField and how it work ?
how work source.CreateFiltersFor () method and how it is link to DatabaseFilterListModel?
I have done my own model to fill my custom view but I see few things special.
Do I need to have 2 class for VideoInfo/DatabaseVideoInfo which is an external object of databaseTrackInfo
Because I see that DatabaseFilterListModel have 2 generic parametter and most of the time one is the db class and other is a regular one. It seems to be used for caching but not sure. Can I use DatabaseFilterListModel<VideoInfo, VideoInfo> like that? (use the same db class for both param?
ReloadFragmentFormat which is a property of DatabaseFilterListModel have parametter but where is this parametter because I set "WHERE PrimarySourceID = {0}" but do not know where I can set the param...

I know that's a lot of question but I have tried to understand this system yesterday evening without success.
So, hope there is great people around to explain or point me to a documentation about this system.

I need to filter the tracklist with selection inside VideoInfoView which will contain covers of tv-shows/movies.
VideoInfo can contain more than one track because of episodes of a tv/show.

I have read podcast and internet source but I still do not understand how it work.

my source is here:
https://github.com/dufoli/banshee/tree/video/src/Extensions/Banshee.Video

It compile but very buggy because I have copy/paste a lot of things about 
DatabaseFilterListModel without understand how it work ;((

thanks for any help,

Olivier Dufour



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]