On Wed, 2008-12-31 at 12:47 -0500, Rick Scott wrote:

> transcode to a supported format and copy to the correct folder with
> usb-storage is all that is needed.

HAL has neat infrastructure to handle this automatically for USB storage
devices that can act as audio players; all you need to do is add
appropriate entries
to /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
(or create a new .fdi file, all the ones present in that directory are
read. You can figure out the format just by looking at it, it's pretty
simple). Once appropriate entries are in there - specifying what audio
formats the device supports, and what directory the files should be
stored in - any compliant application will automatically see the device
as a player and let you transfer files to it, handling all the
transcoding and correct location malarkey itself. It's a really cool
system.

Compliant players include Rhythmbox and Banshee and, I think, Amarok.
With Rhythmbox you just plug the device in, it shows up in the left
sidebar, and you drag and drop songs to it. Gstreamer will handle all
the transcoding as long as appropriate gstreamer plugins are installed.

Perhaps we should write up a .fdi file and ship it with Barry for now,
and submit it to upstream HAL for inclusion in the
10-usb-music-players.fdi file?

AFAIK, unfortunately, this isn't done for video yet. Of course, the fact
that there's no app up to the task of drag-and-dropping a video file and
handling all the necessary transcoding doesn't help :) It's a lot more
complex than audio.
-- 
adamw
http://www.happyassassin.net


------------------------------------------------------------------------------
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to