shut down pc after playlist
Posted: 20 Feb 2013 12:12
Greetings everyone, I have googled the snot out of this, and have read into it, but I just can't get it to work, so I would appreciate any and all help i can get.
I really just wish i could play some music/movie, go to bed, and have the computer shut off when it was done, but that's not something I guess VLC does off the get go (i dunno why, it would be super helpful).
So I have searched and have found this:
http://wiki.videolan.org/How_to_shut_down_computer
I have exactly this as my .bat file: (program file has to be different due to it being located in the x86 directory)
I have a playlist with just 1 song, and i drag and drop it, vlc opens with a command prompt line, it plays the song, and has the quit command after the current song. But then once the song ends and it goes to the quit command, vlc does quit, but the command line spits out
and there is a system error message saying "The command line option could not be parsed. Make sure they are valid"
I tinkered around a bit, but i Just can't get it to work, and i have no programming knowledge, so I really don't know what's going on.
I have also found this, http://en.kioskea.net/faq/3677-vlc-auto ... of-a-video
I like that method way more since I can just manually type in the song and run it, but i still can't get it to work
regardless, i tried it, i have a .bat file that reads: (I don't have the quotation after the vlc.exe because if i do it just yields an error)
And then when i click it, it bring up vlc, but then it gives me this error message:
I don't know why vlc is trying to open these things, as far as i can tell, I never told it to open...desktop\files, so i don't see why it's getting that error.
then if i close out of vlc since all there is is a "files" song, and a "quit' song (and neither do anything, they both just bring up the same error message) I then get the same system error as the command line could not be parsed...
If anyone could provide any insight i would greatly appreciate it. I am running windows 7 64 bit, and have vlc v.2.0.5
In my tinkering around earlier I did manage to get it so somehow vlc popped up, then immediatly closed and actually would shut down the system after 60 seconds (which i stopped), but I wasn't quite paying attention to how i got there, and don't remember :/. It's 4am and i have been trying to get this stupid thing to work for hours now haha
I really just wish i could play some music/movie, go to bed, and have the computer shut off when it was done, but that's not something I guess VLC does off the get go (i dunno why, it would be super helpful).
So I have searched and have found this:
http://wiki.videolan.org/How_to_shut_down_computer
I have exactly this as my .bat file:
Code: Select all
START /WAIT C:\"Program Files (x86)"\VideoLAN\VLC\vlc.exe %1 vlc://quit
shutdown -s -t 60
I have a playlist with just 1 song, and i drag and drop it, vlc opens with a command prompt line, it plays the song, and has the quit command after the current song. But then once the song ends and it goes to the quit command, vlc does quit, but the command line spits out
Code: Select all
C:\Users\bridger\Desktop>shutdown -s -t 60
C:\Users\bridger\Desktop>START /WAIT C:\"Program Files (x86)"\VideoLAN\VLC\vlc.exe -s vlc://quit
I tinkered around a bit, but i Just can't get it to work, and i have no programming knowledge, so I really don't know what's going on.
I have also found this, http://en.kioskea.net/faq/3677-vlc-auto ... of-a-video
I like that method way more since I can just manually type in the song and run it, but i still can't get it to work
regardless, i tried it, i have a .bat file that reads:
Code: Select all
C:\"Program Files (x86)"\VideoLAN\VLC\vlc.exe C:\Users\bridger\Desktop\song.mp3 vlc://quit
shutdown -s -t 60
And then when i click it, it bring up vlc, but then it gives me this error message:
Code: Select all
File reading failed:
VLC could not open the file "C:\Users\bridger\Desktop\Files". (%m)
Your input can't be opened:
VLC is unable to open the MRL 'file:///C:/Users/bridger/Desktop/Files'. Check the log for details.
Your input can't be opened:
VLC is unable to open the MRL '(x86)\VideoLAN\VLC\vlc.exe C:\Users\bridger\Desktop\song.mp3 vlc://quit '. Check the log for details.
then if i close out of vlc since all there is is a "files" song, and a "quit' song (and neither do anything, they both just bring up the same error message) I then get the same system error as the command line could not be parsed...
If anyone could provide any insight i would greatly appreciate it. I am running windows 7 64 bit, and have vlc v.2.0.5
In my tinkering around earlier I did manage to get it so somehow vlc popped up, then immediatly closed and actually would shut down the system after 60 seconds (which i stopped), but I wasn't quite paying attention to how i got there, and don't remember :/. It's 4am and i have been trying to get this stupid thing to work for hours now haha