How to play a video from terminal / command line
Hi,
See title.
I tried jolla-mediaplayer "$HOME/path/to/awesome video.mp4"
Trying it with jolla-gallery and renaming dirs & files to no spaced names didn't work either.
Hi,
See title.
I tried jolla-mediaplayer "$HOME/path/to/awesome video.mp4"
Trying it with jolla-gallery and renaming dirs & files to no spaced names didn't work either.
almost.....I tried your command it didn't work, in the end, I got it with this;
xdg-open $HOME/Videos/Camera/video.mp4
Now, what would be great is if it would open and play automagically! :)
Spam Hunter ( 2015-11-27 01:39:04 +0300 )Unfortunately, xdg-open opens a video. It doesn't start playing the video when it opens it.
I don't feel like to rename every folder nor file to open them with this command. Using double-quotes work at my side.
RoestVrijStaal ( 2015-12-03 14:03:40 +0300 )Who said anything about renaming every folder?, what are you talking about?
Spam Hunter ( 2015-12-03 14:16:35 +0300 )@Markkyboy Unless you set something in the terminal (forgot which constant it is) spaces have to be escaped. And for sure I don't set that constant on purpose because that would likely break other scripts :)
And since I'm using folders and files with spaces, I'd have to rename them when I don't use double-quotes.
RoestVrijStaal ( 2015-12-03 16:38:57 +0300 )@RoestVrijStaal - Then you replace the space with an asterisk when typing the command. Simples
Spam Hunter ( 2015-12-03 17:08:23 +0300 )Well, Thanks to Mced:
harbour-videoPlayer -p "$HOME/path/To Video.mp4"
Asked: 2015-11-26 08:56:23 +0300
Seen: 1,137 times
Last updated: Dec 03 '15
If you wanna try LLs Videoplayer...
Mced ( 2015-11-28 11:00:37 +0300 )@Mced: Thank you very much. Your solution worked. Almost...
I figured out it's
camelCase at the wrong place sigh
LLs Videoplayer autoplays the video rightaway :)
RoestVrijStaal ( 2015-12-03 14:06:47 +0300 )