From: Todd Z. <tm...@po...> - 2007-07-16 16:21:17
|
Jorg Schuler wrote: > Basically, this is work in progress. The usertype is set to > automatic once an iPod was loaded using the ipod autodetection > independently on whether the repository was set up manually or not. > This is to aid the transition to the new code. >=20 > The next step should probably be to mark newly manually set up > repositories as "manual" and do not remove those repositories. > > Another thing that could be taken into consideration is the "eject" > signal -- the repository is removed when the iPod is ejected, not > already when it is just unloaded in gtkpod. >=20 > Discussion welcome. I'll be coding this soon. Mario's original quandry involved the case of automatically created repositories though. If you have autodetection compiled in and you plug an ipod in, it gets set up automatically. But if you use the button in the playlist view to "eject" the ipod, it doesn't actually eject it, it just removes it from the playlist view. If you want to get it back, you have to restart gtkpod. I'm not sure what the best use case is. I see two choices: 1) Completely eject the iPod when eject is selected by clicking on the icon or the context menu in the playlist view. This needs to send the right signal to HAL/gnomevfs, doesn't it? 2) Simply unload the iPod (and change the menu wording to reflect this). I tend to use the distro/desktop tools to eject the ipod, so option 2 would work better for me. I often find myself closing gtkpod, using some scripts to do other things to the ipod, then restarting gtkpod. Instead, I'd love to be able to just unload the ipod, do what I wanted to do with other tools, then load it again. --=20 Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Experience is the worst teacher: it gives the test before presenting the lesson. -- Vernon Law |