Go to advanced search

by chlacaux
Thu Nov 13, 2014 10:54 pm
Forum: Graphics, sound and multimedia
Topic: Omxplayer to play a list of files sans GUI
Replies: 12
Views: 38005

Re: Omxplayer to play a list of files sans GUI

I've finally understood the problem. It is the command IFS=$'\012' that corrupt my script. To get the file names from my play list (name could contain spaces), the IFS=$'\012' is needed but before executing the command with omxplayer, I have reset the IFS value to it's default <space><tab><newline> ...
by chlacaux
Tue Nov 11, 2014 10:10 pm
Forum: Graphics, sound and multimedia
Topic: Omxplayer to play a list of files sans GUI
Replies: 12
Views: 38005

Re: Omxplayer to play a list of files sans GUI

Hello, Thank you for the script, but I have a problem with the playlist. What should be the format ? I've put some echo's on the script to try to understand what is the problem, but I can't see the mistake? When I use the following script named read_playlist.sh #!/bin/bash PLAYER="omxplayer -o hdmi"...

Go to advanced search