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.
We have moved to a new Sailfish OS Forum. Please start new discussions there.
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 +0200 )editUnfortunately, 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 +0200 )editWho said anything about renaming every folder?, what are you talking about?
Spam Hunter ( 2015-12-03 14:16:35 +0200 )edit@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 +0200 )edit@RoestVrijStaal - Then you replace the space with an asterisk when typing the command. Simples
Spam Hunter ( 2015-12-03 17:08:23 +0200 )editThis thread is public, all members of Together.Jolla.Com can read this page.
Asked: 2015-11-26 08:56:23 +0200
Seen: 1,120 times
Last updated: Dec 03 '15
How to connect to Android log (logcat) [answered]
Can I import my contacts from N9? [answered]
User wants to see certain part of picture as a Lock Screen background [answered]
We want to create our own TOH [answered]
How user can take backups out of device [released]
What is the best maps/navigation application to use on Jolla? [answered]
How to change Ambiences really fast [answered]
Markdown basics [not relevant]
If you wanna try LLs Videoplayer...
Mced ( 2015-11-28 11:00:37 +0200 )edit@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 +0200 )edit