KKcorps/Gst-Files — pull request #1 by CarlFK (2014-12-15 00:36:58+00:00)
Title: Refacotred to make the code easier to read, fixed the 'does't run' bug

I couldn't figure out exactly what was going on with the sys.path stuff so I guessed.

I moved all of the "where are the files?" settings into a 3 line bash script, think of it like a config file.

For some reason serv = Server(path=args.path) can't use the current $PATH or something, so I passed the value from the shell script in via command line options.

When gst-switch-ui is run, it will stay on that unless you send it to the background, which is why the 2nd source wasn't showing up. I fixed that, but in a yucky way - someone should do this a little nicer so that it demos good coding too.