<br><font size=2 face="sans-serif"><br>
</font>
<br>
<br><tt><font size=2>Jeff Mitchell <kde-dev@emailgoeshere.com> wrote
on 02/22/2008 02:21:51 PM:<br>
<br>
> mark.potter@academy.com wrote:<br>
> ><br>
> > I do use Gnome by default but I have tried this in kde (3.x and
4.0) <br>
> > to see if it was a Gnome issue and I had the same issues. I actually
<br>
> > did that first because Gnome is not kde and Amarok is a kde project.
I <br>
> > really wish that Gnome and kde would get along better because
my <br>
> > choice of desktop should preclude me from cool features in great
<br>
> > software. Before I go off on a cooperation in open source rant
I'll <br>
> > stop this train of thought and move on.<br>
> ><br>
> Gnome and KDE are making strides to work better together -- KDE even
<br>
> going so far as to adopt some new "standard" technologies
when it <br>
> already had perfectly working (sometimes superior) technologies in
<br>
> place. DCOP vs. DBus for example. As I understand it,
the Gnome folks <br>
> don't generally reciprocate (but feel fine complaining). But
I'll not <br>
> rant either...just know that interoperability is something that is
<br>
> definitely desired, but it has to be worked at both ways.<br>
> <br>
> But the reason I brought up Gnome wasn't to say something like, you're
<br>
> using Gnome so I'm not going to help you. The reason I brought
it up <br>
> was because we've seen a situation in the past where if you're running
<br>
> Gnome and have not started other KDE apps (so that KDED isn't running)
<br>
> the MediaManager module doesn't initialize fast enough to answer the
<br>
> initial queries to it over DCOP. So I wanted to see if this
might be <br>
> something similar (although that issue was fixed, for the symptoms
we <br>
> saw before).<br>
> <br>
> > saved the database of files based on that then I could plug in
any <br>
> > drive, scan it, and be good to go anytime I plugged it in and
selected <br>
> > the drive. It could even be done by mountpoint on Ubuntu but
I realize <br>
> > that won't work everywhere which is why I suggested volume name.
I <br>
> > understand the dynamic collection is supposed to work in this
manner <br>
> > but it really doesn't. Why not just have the database for each
<br>
> > external device saved separately and the devices either grouped
with <br>
> > media players or in another drop down/tab somewhere? It would
seem to<br>
> <br>
> That's exactly what Dynamic Collection does. :-) One thing
you have to <br>
> remember though is that if you manually rescan the database (full
<br>
> rescan, not an incremental rescan) it AFAIK dumps *all* tracks in
the <br>
> database, regardless of what device they were scanned on. Otherwise
it <br>
> works, or is supposed to work at least, exactly as you said -- when
a <br>
> device is plugged in and scanned, the scanned info is saved in the
<br>
> database. And since it uses HAL UDIs you don't even need to
select <br>
> which drive it was on, it figures it out.<br>
> <br>
> I've been working with Dave Walker off-list to try to sort out his
<br>
> troubles. When he tested it my way, it worked for him too, but
it <br>
> seemed to have issues if drives were added/removed while Amarok is
<br>
> running, so that might be the culprit. I'm happy to debug with
you too, <br>
> but you'll need to read my earlier posting and send the appropriate
info <br>
> over.<br>
> <br>
> --Jeff</font></tt>
<br>
<br><tt><font size=2>I do get output from the command you suggested, quite
a lot of it in fact.</font></tt>
<br>
<br><tt><font size=2>In Gnome:</font></tt>
<br>
<br><tt><font size=2>Started Amarok</font></tt>
<br><tt><font size=2>selected the mountpoint as the media directory as
well as a local directory</font></tt>
<br><tt><font size=2>scanned</font></tt>
<br><tt><font size=2>quit amarok</font></tt>
<br><tt><font size=2>umounted the drive</font></tt>
<br><tt><font size=2>started Amarok and all files still showed as being
in the collection</font></tt>
<br><tt><font size=2>Quit Amarok</font></tt>
<br><tt><font size=2>mounted the drive</font></tt>
<br><tt><font size=2>successfully played a file</font></tt>
<br><tt><font size=2>quit Amarok</font></tt>
<br><tt><font size=2>umounted the drive</font></tt>
<br><tt><font size=2>started Amarok</font></tt>
<br><tt><font size=2>clicked a file</font></tt>
<br><tt><font size=2>got the message "Attempting to insert nothing
into the playlist"</font></tt>
<br><tt><font size=2>all files disappeared</font></tt>
<br><tt><font size=2>quit Amarok</font></tt>
<br><tt><font size=2>mounted the drive</font></tt>
<br><tt><font size=2>new scan started automatically.<br>
</font></tt>
<br><tt><font size=2>KDE 4.0 (Don't have 3.x here at the office)</font></tt>
<br><tt><font size=2>Mounted the drive</font></tt>
<br><tt><font size=2>Started Amarok</font></tt>
<br><tt><font size=2>Selected the mountpoint and a local directory</font></tt>
<br><tt><font size=2>Scanned</font></tt>
<br><tt><font size=2>Quit Amarok</font></tt>
<br><tt><font size=2>Oddly enough the same results</font></tt>
<br>
<br><tt><font size=2>I am starting to think it might be working only on
KDE 3.5 and that is fine. I will still use Amarok but just be annoyed when
I change drives...</font></tt>