Re: [Rhythmbox-devel] GIO and HTTP auth



On Wed, 2008-09-10 at 19:15 +0100, Bastien Nocera wrote:
> On Wed, 2008-09-10 at 10:47 -0700, Adam Zimmerman wrote:
> > Hi all,
> > 
> > Back in August, I finished up some more work on the Magnatune plugin to
> > get it working with their new account feature. The basic idea is that
> > for streaming accounts, it would give rhythmbox a URL for a file,
> > without the username and password components. These files sit behind
> > HTTP auth, and when the user tried to play the file, rhythmbox would ask
> > it for their username and password, and give them the option of storing
> > it.
> 
> What's actually streaming the files? We don't call
> gnome_authentication_manager_init() anymore on startup to set the
> gnome-vfs callbacks. Is it gnome-vfs code trying to stream the files?

For streaming, it's simply reading the magnatune catalog and entering
the URIs into rhythmdb. It's when a user double-clicks on an entry in
the source that rhythmbox used to ask for the username/password combo,
and now just doesn't play the file. So I would assume that it's actually
GIO code now streaming the files.

--
Adam Zimmerman <adam_zimmerman sfu ca>

CREATIVITY  - http://mirrors.creativecommons.org/movingimages/Building_on_the_Past.mpg
ALWAYS      - http://www.musiccreators.ca/
BUILDS      - http://www.ubuntu.com/
ON THE PAST - http://www.theopencd.org/
--

Q:	Minnesotans ask, "Why aren't there more pharmacists from Alabama?"
A:	Easy.  It's because they can't figure out how to get the little
	bottles into the typewriter.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]