All pastes #75131 Raw Edit

Miscellany

public text v1 · immutable
#75131 ·published 2006-06-29 20:31 UTC
rendered paste body
14:44] <maxx_k> but the whole dynamic collection stuff depends on amarok knowing what devices are available, so i might have to delay the whole startup:(
[14:45] <jefferai> maxx_k: it'll get those notifications
[14:45] <jefferai> you mean, at startup?
[14:45] <jefferai> can't the dynamic collection deal with devices added and removed during amarok's running?
[14:45] <jefferai> kind of an important point there...
[14:45] <maxx_k> yes. otherwise there is no way to figure out which songs are actually available atm
[14:45] <maxx_k> jefferai: yes, as long as mediamanager works correctly
[14:46] <jefferai> I think you're missing something here
[14:46] <jefferai> mediamanager doesn't really do that much
[14:46] <jefferai> working correctly really means it gets a dcop signal from kded
[14:46] <jefferai> and that it can parse the fullList
[14:46] <maxx_k> jefferai: sorry, i menat the kde mediamanager
[14:47] <jefferai> but if you want to add, i.e. an Ampache collection, neither the kde mediamanager will detect it, nor will we
[14:47] <jefferai> it'd be a manual device
[14:47] <maxx_k> the focus is on local devices (harddisks, usb drives, CDs) atm
[14:48] <jefferai> okay, but there needs to be support for adding and removing track collections at runtime, not just at startup
[14:48] <jefferai> otherwise it's not that useful, if, say, a person has to restart amarok when they insert a new CD
[14:48] <maxx_k> jefferai: there is (as long as the kde mediamanager works correctly)
[14:49] <jefferai> that's a very big assumption
[14:49] <jefferai> for starters, many people don't have dbus/hal support compiled in
[14:49] <maxx_k> jefferai: but if the devices are not known at startup, amarok won't even be able to show the statistics in the contextbrowser
[14:49] <eean> jefferai: daap won't have to be manual though :)
[14:50] <maxx_k> the kde mediamanager has a backend which uses fstab/mtab
[14:50] <jefferai> show what statistics?
[14:50] <jefferai> I would think it would show statistics for what's available
[14:50] <jefferai> add a new device later, and the statistics get updated
[14:50] <maxx_k> jefferai: number of songs, number of artists
[14:51] <jefferai> I guess I'm missing something here
[14:51] <jefferai> but I thought the whole point of the dynamic collection was to be able to add and remove music sources at any time, and have the collection be updated
[14:52] <jefferai> so things could be written as, say, mediadevice plugins, and have the source be listed in the collection and statistics added
[14:52] <jefferai> and if that's not the point of it, shouldn't it be?
[14:53] <maxx_k> you are able to remove devices at any time. the problem is amarok needs the device information from the kde mediamanager to figure out which devices are available
[14:54] <jefferai> okay, and I think that's a huge problem
[14:54] <jefferai> originally the device manager and mediabrowser only handled autodetected devices too
[14:54] <maxx_k> andrew told me that dynamic collection already works for him, although mediabrowser doesn't
[14:54] <jefferai> works for sourced detected from kde mediamanager
[14:54] <jefferai> *sources
[14:55] <jefferai> so what about my iRiver device?
[14:55] <jefferai> what about daap?
[14:55] <jefferai> neither of those will be detected with kde mediamanager
[14:55] <jefferai> but they should both be seen as sources in the dynamic collection
[14:56] <maxx_k> jefferai: that's the next step.
[14:56] <jefferai> okay
[14:56] <maxx_k> at the moment amarok only works with songs stored on the local filesystem
[14:56] <jefferai> so, the next step is to handle devices that aren't detected via kde mediamanager, or not at startup?
[14:57] <maxx_k> devices that are not detected via kde mediamanager
[14:57] <jefferai> okay
[14:57] <maxx_k> devices that are detected by the kde mediamanager but are not available at startup are no problem
[14:57] <jefferai> right
[14:58] <jefferai> or rather, right, they shouldn't be :-)
[14:58] <jefferai> mediabrowser's funny like that
[14:58] <maxx_k> the problem for non-kde users might be that either amarok takes longer to start (because i have to wait for the kde mediamanager)
[14:59] <maxx_k> or that they don't see their songs immediatly. i hope that i can figure out a way to solve this problem, but those are the two worst cas solutions i can imagine atm
[15:01] <jefferai> ok