View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1798
Originally Posted by nodevel View Post
That's weird, I am pretty sure (I don't have Jolla right now to test it) LL's videoPlayer can take filename as an argument and the source code suggests you can pass different arguments, not just the filename:
https://github.com/llelectronics/vid...ideoPlayer.cpp
Sure, that's possible if you use your own C++ "launcher" but I'm using the sailfish-qml utility to do the lunching and it does not forward command line arguments (unlike qmlscene, which does forward command line arguments).

I could use a custom C++ launcher, but that would mean another language in the mix (on top of Python and QML) and another platform specific thing to maintain, so I would like to avoid that if possible.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 2 Users Say Thank You to MartinK For This Useful Post: