Heya everyone I'm having trouble trying to work this out use to work but now it come up with a error. If anyone could help please
Code:
#!/bin/bash
Movies='/home/yoda/Videos'
cd $Movies
cvlc ls | sed -n "$((RANDOM%$(ls | wc -l)+1))p"
Error
Code:
yoda@ubuntu:~$ ./Movieback
02 Mine.m4v
yoda@ubuntu:~$ ./Movieback
VLC media player 1.1.9 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x879c914] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Blocked: call to setlocale(6, "")
Warning: call to srand(1317472962)
Warning: call to rand()
Blocked: call to setlocale(6, "")
(process:3945): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
libdvdread: Using libdvdcss version 1.2.9 for DVD access
libdvdread: Can't stat /home/yoda/Videos/ls
No such file or directory
[0x8af3bcc] filesystem access error: cannot open file /home/yoda/Videos/ls (No such file or directory)
[0x8852174] main input error: open of `file:///home/yoda/Videos/ls
' failed: (null)
Thanks in advance
Last edited by Scott; 09-25-2011 at 05:23 AM..
Reason: Code tags
I was reading these 2 links about vlc log files.
Where is the VLC Log file? - Ubuntu Forums
logging - how to get vlc logs? - Stack Overflow
Is there a reason why this doesn't work?
VLC -> Tools -> Preferences -> Select "ALL" -> Advanced -> Logging
I created the log file location and... (0 Replies)
Hi,
New member here looking for help. This might not be a post for the 'VERY basics' section, so feel free to move it to somewhere more appropriate.
I've created a script that searches my computer for video files, creates a list of these files, and selects a number of random entries to play in... (2 Replies)
Hai,
can you please give me the link to download "vlc player" for red hat 9. I found it for Fedora but there is some problem in installation.
Can you please give me the link for red hat. I shalll then download it from there !!! (3 Replies)
can some one please help me here i seem to be having trouble changing Vlc's skin to WMP11
i have VLC media player 0.7.2
i downloaded the WMP11 skin from a download site
i looked for vlc skin instructions and they said i should use vlc -i and put WMP11 in roots home directly
well there are... (1 Reply)