Originally Posted by twobob
Running the player natively simply fails to open files. I'll strace it, probably a path issue or something. : )
I admit I didn't test the app thoroughly, but I didn't expect that:
openFile(GtkWidget *widget, gpointer /* user_data */)
// We'll need this when implementing file opening.
GtkGui* gui = static_cast<GtkGui*>(user_data);
char* filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (widget));
GtkWidget* file_selector = gtk_widget_get_ancestor(widget,
GtkFileSelection* filesel = GTK_FILE_SELECTION (file_selector);
const char* filename = gtk_file_selection_get_filename (filesel);
// FIXME: we want to do something like calling gtk_main_quit here, so
// run() will return. If run() is then changed to return a pointer to the
// next file to be played, then the Player class can play the next file,
// unless run() returns NULL.
log_error(_("Attempting to open file %s.\n"
"NOTE: the file open functionality is not yet implemented!"),
So, for now only opening files from command line works.