Re: [Banshee-List] Can't get Banshee's CollectionIndexer to work



Hello,

The issue is that CollectionCount and CollectionLastModified never changed so we never call new server.

So best is to return ++count; whereas count is only equal to 0 for moment..


Olivier Dufour


On Sun, Jul 17, 2011 at 9:02 AM, David Wales <yay101 gmail com> wrote:
Also this isn't that active with developers, may i suggest posting a
bug report instead as they seem to get a lot more attention.

On Sun, Jul 17, 2011 at 5:01 PM, David Wales <yay101 gmail com> wrote:
> I'm no programmer (yet) but it doesn't look like a dependency problem
> as it doesn't error out before initialisation. What's this
> "org.bansheeproject.CollectionIndexer is already started"? Could it be
> a dbus limitation while it waits for one instance to end before
> indexing? Or is that fixed at "Resolving"?
>
> On Sun, Jul 17, 2011 at 3:13 AM, Tobias Arrskog
> <tobias arrskog gmail com> wrote:
>> Hi, I'm trying to use the CollectionIndexer to create the uPnP
>> MediaServer part of GSoC but I just can't seem to get it to work. I've
>> read through both tangerine's and gnome-do's code (which both works
>> for me) but the simple example I made just don't want to work. I'm
>> sure I have done something wrong but can't find it, if anyone could
>> spot it they'd help me immensely :)
>>
>> I have attached the code I use and I have tried referencing both the
>> .dll from gnome-do and one built from my mono-gsoc branch (should be
>> quite recent).
>>
>> What I see in terminal when running it is:
>> Hello World!
>> [Debug 18:17:13.454] Acquiring org.freedesktop.DBus session instance
>> [Debug 18:17:13.624] org.bansheeproject.CollectionIndexer is already started
>> [Debug 18:17:13.625] Resolving
>> org.bansheeproject.CollectionIndexer.Service (attempt 1)
>> [Debug 18:17:13.627] Connected to org.bansheeproject.CollectionIndexer.Service
>> [Debug 18:17:13.627] Listening to service's CollectionChanged signal
>> (full-app is running)
>> CollectionCount
>> [Debug 18:17:13.636] Creating an ICollectionIndexer
>> (/org/bansheeproject/Banshee/CollectionIndexerService/CollectionIndexer_1)
>> Indexer started
>>
>> And as you can see CollectionCount and OnStart is called, nothing
>> more. I have waited with it active for hours and tried to start, re
>> scan library and stop banshee while it running with no result.
>>
>> Cheers,
>> Tobias
>>
>> _______________________________________________
>> banshee-list mailing list
>> banshee-list gnome org
>> http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
>>
>
_______________________________________________
banshee-list mailing list
banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



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