On Sat, Jan 2, 2010 at 11:04 AM, Ron Croonenberg <r...@depauw.edu> wrote: > Hello, > > I am trying to figure out how to get the player started (in python) with as > source for playing songs/tracks the 'play queue'
I don't think there's a (good) way to do that presently. You can probably make it work in some conditions, though. What's the end goal here? > > I tried something like this: > > shell.props.shell_player.set_playing_source(shell.props.playqueue_source) It might be better to stop playback instead. Then, selecting a source and starting playback will cause that to become the playing source. > shell.props.sourcelist.select(shell.props.playqueue_source) This will crash if the play queue is visible as a side pane rather than a source. > shell.props.shell_player.play() shell.props.shell_player.playpause() might work better here. shell_player.play() only works if there's already something selected for playback, so it's not very useful. _______________________________________________ rhythmbox-devel mailing list rhythmbox-devel@gnome.org http://mail.gnome.org/mailman/listinfo/rhythmbox-devel