I am trying to launch Xine and then queue some files into Xine without using a conventional play list file.
So far, I have discovered that from a terminal I can:
1) I can launch Xine and specify a session ID using:
xine -S --session=0 &
2) Inject an mrl into the Xine session by using:
xine --enqueue -S session=0 /media/Video/v/a_file.mpg
3) Inject a second mrl into the Xine session by using:
xine --enqueue -S session=0 /media/Video/v/b_file.mpg
And get the desired result, file a plays to the end and then file b plays, all in the same Xine instance.
How would I get this to work in a script that I could execute once, without having to manually issue the three commands in the terminal?
Hope this is making some sense and someone is happy to help.