- Global main (gint argc, gchar *argv[], gchar **envp)
- Handle the case that more than one input file is specified at the command line. Until now we just open the first one of the specified files which on windows is basically what notepad does.
And decide what to do in this case:
- Going into the multiple files mode will mean that our functionality is enabled if several files are opened at once in Windows
- And opening a separate instance of our program would mean that windows and nautilus behaviour are consistent (nautilus seems to open every file separately) but - does this really make sense?
- Handle the case that the specified inputfile is a playlist file
- Set the full path to the file to make sure that the player will find it even if we are called in a different directory than the file is in and stuff.
- Gstreamer needs a fully qualified path to the audio file in order to be able to play it back. Don't know why. But what I know is that on solaris realpath() may return a relative filename. And there might be an old system around that does not malloc() memory for a pathname if the pathname we give to it is 0 => find a solution that works everywhere.