External drive issue

mark.potter at academy.com mark.potter at academy.com
Fri Feb 22 23:21:38 UTC 2008


Jeff Mitchell <kde-dev at emailgoeshere.com> wrote on 02/22/2008 02:21:51 PM:

> mark.potter at academy.com wrote:
> >
> > I do use Gnome by default but I have tried this in kde (3.x and 4.0) 
> > to see if it was a Gnome issue and I had the same issues. I actually 
> > did that first because Gnome is not kde and Amarok is a kde project. I 

> > really wish that Gnome and kde would get along better because my 
> > choice of desktop should preclude me from cool features in great 
> > software. Before I go off on a cooperation in open source rant I'll 
> > stop this train of thought and move on.
> >
> Gnome and KDE are making strides to work better together -- KDE even 
> going so far as to adopt some new "standard" technologies when it 
> already had perfectly working (sometimes superior) technologies in 
> place.  DCOP vs. DBus for example.  As I understand it, the Gnome folks 
> don't generally reciprocate (but feel fine complaining).  But I'll not 
> rant either...just know that interoperability is something that is 
> definitely desired, but it has to be worked at both ways.
> 
> But the reason I brought up Gnome wasn't to say something like, you're 
> using Gnome so I'm not going to help you.  The reason I brought it up 
> was because we've seen a situation in the past where if you're running 
> Gnome and have not started other KDE apps (so that KDED isn't running) 
> the MediaManager module doesn't initialize fast enough to answer the 
> initial queries to it over DCOP.  So I wanted to see if this might be 
> something similar (although that issue was fixed, for the symptoms we 
> saw before).
> 
> > saved the database of files based on that then I could plug in any 
> > drive, scan it, and be good to go anytime I plugged it in and selected 

> > the drive. It could even be done by mountpoint on Ubuntu but I realize 

> > that won't work everywhere which is why I suggested volume name. I 
> > understand the dynamic collection is supposed to work in this manner 
> > but it really doesn't. Why not just have the database for each 
> > external device saved separately and the devices either grouped with 
> > media players or in another drop down/tab somewhere? It would seem to
> 
> That's exactly what Dynamic Collection does.  :-)  One thing you have to 

> remember though is that if you manually rescan the database (full 
> rescan, not an incremental rescan) it AFAIK dumps *all* tracks in the 
> database, regardless of what device they were scanned on.  Otherwise it 
> works, or is supposed to work at least, exactly as you said -- when a 
> device is plugged in and scanned, the scanned info is saved in the 
> database.  And since it uses HAL UDIs you don't even need to select 
> which drive it was on, it figures it out.
> 
> I've been working with Dave Walker off-list to try to sort out his 
> troubles.  When he tested it my way, it worked for him too, but it 
> seemed to have issues if drives were added/removed while Amarok is 
> running, so that might be the culprit.  I'm happy to debug with you too, 

> but you'll need to read my earlier posting and send the appropriate info 

> over.
> 
> --Jeff

I do get output from the command you suggested, quite a lot of it in fact.

In Gnome:

Started Amarok
selected the mountpoint as the media directory as well as a local 
directory
scanned
quit amarok
umounted the drive
started Amarok and all files still showed as being in the collection
Quit Amarok
mounted the drive
successfully played a file
quit Amarok
umounted the drive
started Amarok
clicked a file
got the message "Attempting to insert nothing into the playlist"
all files disappeared
quit Amarok
mounted the drive
new scan started automatically.

KDE 4.0 (Don't have 3.x here at the office)
Mounted the drive
Started Amarok
Selected the mountpoint and a local directory
Scanned
Quit Amarok
Oddly enough the same results

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...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok/attachments/20080222/60d818cf/attachment.html>


More information about the Amarok mailing list