umounted drive makes collection disappear
Maximilian Kossick
mkossick at gmx.de
Sat Dec 9 17:20:08 UTC 2006
That's not a problem with Amarok, but with NFS itself. Nothing you can do at
the moment but disabling incremental scanning. It might be possible to add
some code to Amarok which checks the availability of remote servers before
starting an incremental scan.
Max
On Saturday, 9. December 2006 11:33, Peter C. Ndikuwera wrote:
> Hey Max,
>
> One problem I've had (which sounds similar to his) is with an NFS
> share. If my network connection dies (cat trips on cable, server
> crashes, etc), then the "Watch Folder on Changes" setting starts a
> collection update and my entire collection vanishes. When the
> connection comes back (server rebooted, cat eviscerated) _another_
> collection scan will rescan my entire collection.
>
> With 20,000 songs, this takes QUITE a while.
>
> On 12/9/06, Maximilian Kossick <mkossick at gmx.de> wrote:
> > Hi Gregory,
> > your problem sounds like Dynamic Collection at work. Amarok will detect
> > if your external hard drive is mounted and only show the music on it if
> > it is. What happens if you start Amarok without mounting your harddrive
> > and then mount it while Amarok is running? Does your collection appear?
> >
> > Max
> >
> > On Friday, 8. December 2006 23:39, Gregory Kuhlmann wrote:
> > > Hi all,
> > >
> > > I'm using amarok 1.4.4 (built Nov 27, 2006), installed as a debian
> > > package on my x86 laptop. I use mysql 14.12 (Distrib 5.0.27) as the
> > > database.
> > >
> > > My 90GB or so of mp3s are stored on an external USB hard drive that I
> > > only mount when listening to music.
> > >
> > > My problem is that if I forget to mount the drive before starting
> > > amarok or if I accidentally forget to close amarok before unmounting,
> > > my collection must be updated from scratch. It doesn't happen a lot,
> > > but when it does, I'm in for about 30-45 minutes of wait time before
> > > the collection update completes.
> > >
> > > In the short term, I'll probably just write a wrapper script around
> > > amarok to make sure that I don't keep making this mistake-- something
> > > like:
> > >
> > > sudo mount /dev/sda1 /mnt && amarok ; sudo umount /mnt
> > >
> > > or is there a better solution? Should I treat my external drive as a
> > > 'media device'? Anyone else have a similar setup and run into similar
> > > issues?
> > >
> > > Thanks.
> > > Greg
> > >
> > > _______________________________________________
> > > Amarok mailing list
> > > Amarok at kde.org
> > > https://mail.kde.org/mailman/listinfo/amarok
> >
> > _______________________________________________
> > Amarok mailing list
> > Amarok at kde.org
> > https://mail.kde.org/mailman/listinfo/amarok
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok/attachments/20061209/0496739c/attachment.sig>
More information about the Amarok
mailing list