Amarok 2 and iPhone/iPod Touch

Nicolas Will nico at youplala.net
Thu Apr 16 07:26:13 UTC 2009


On Thu, 2009-04-16 at 09:07 +0200, Bart Cerneels wrote:
> On Thu, Apr 16, 2009 at 1:25 AM, Alejandro Wainzinger
> <aikawarazuni at gmail.com> wrote:
> > Yeah, seems like Solid should be able to poll for mounted volumes
> (if
> > mounted by HAL), the problem is then figuring out whether it's an
> iPod
> > or not.  I don't know what the filesystem looks like for iPhone and
> > iPod Touch to check e.g. for the presence of an iTunes database.  I
> > want to avoid hacks that will make it work in one case and not
> others,
> > and in particular, i'd like to rely on Solid as much as possible to
> > keep it cross-platform for when Windows/Mac get Solid backends.
> >
> > Doing this manually is exactly what I want to avoid.  Amarok 2 is
> also
> > about ease of configuration.
> 
> Here is an idea: extend the scripting interface with mediadevice
> discovery. Then you can write a script to mount the iPhone over sshfs
> and let amarok know the mountpoint and other info, like that is should
> be handled by the iPod plugin. Hide the uglyness of manual detection
> and improve the ease of use (no more manual sshfs invacation) all in
> one script.

That sounds like a good solution. It would keep the core code clean and
to the concepts, while allowing weirdos to mount their iPhones using a
side tool.

Nico




More information about the Amarok mailing list