Re: [Rhythmbox-devel] No-burner support



On Thu, 2006-06-08 at 18:33 +0200, Tom Parker wrote:
> That would require being able to add/remove items from the menus in the 
> code as opposed to my current approach of editing the ui XML files at 
> compile time.

Doing it at runtime (via GtkUIManager) would probably be easier than it
was to write the script to mangle it at compile time :)


> Another thought: Could CD burning become a plugin? Crazy idea, but that 
> would allow for both disabling it entirely and as the plugin mechanism 
> already needs a way to add/remove menu or popup items, it might just work...

Making it an on-by-default plugin is probably a much cleaner way of
doing it. The burn-related code is fairly detached from the rest of the
code, so it shouldn't be too hard to do.

soruces/rb-playlist-source-recorder.{c,h}, player/rb-recorder.h and
player/rb-recorder-gst.c would become part of the plugin.
rb_playlist_source_burn_playlist() and the UI bits from
shell/rb-playlist-manager.c would become part of the plugin.


The only real issue is that cd-burning isn't the only thing that uses
libnautilusburn, audio cd support currently uses it too.



On Thu, 2006-06-08 at 23:57 +0700, Nguyễn Thái Ngọc Duy wrote:
> For me, it's because of nautilus-burn dependency.

This is exactly the reason I had done something similar to this (but
even more hacky) last week. The only difference was that I was trying to
build RB on Windows, and AFAIK libnautilusburn doesn't work there.


For anyone who is interesting in how much work a Windows port would be,
most of RB's hard dependencies either have official win32 binaries or
are trivial to compile. The ones that aren't:

gstreamer: supported on win32, but I wouldn't call it trivial to compile
on any system. Hopefully the official win32 packages will turn up soon.

totem-plparser: compiles with a few small fixes, I'm cleaning them up to
submit upstream. Note, this is just totem-plparser not all of totem,
that would need more work.

libnautilusburn: didn't look easy to fix, and IIRC 2.15 depends on HAl
which would make it harder.


Cheers,

James "Doc" Livingston
-- 
Computer games don't affect kids. I mean, if Pacman affected us as kids,
we'd all be running around in darkened rooms, munching pills and
listening to repetitive music. -- Stolen from Marcus Brigstocke.




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