isometimesgit / videoassistant

Firefox extension to play embedded videos in external player
Mozilla Public License 2.0
6 stars 2 forks source link

Ability to pass argument #9

Open ghost opened 8 years ago

ghost commented 8 years ago

I especially would like the "-add-to-playlist" argument for smplayer

isometimesgit commented 8 years ago

sorry for the late reply been very busy atm, if you are using windows you could set the player path to a batch file (or windows script?) that then executes smplayer.exe with the commands... in theory should work see:

http://stackoverflow.com/questions/14286457/using-parameters-in-batch-files-at-dos-command-line guess batch would file would look something like

player.bat

c:\program files\smplayer\smplayer.exe -add-to-playlist %1

On 27 October 2016 at 05:04, porkslapchop notifications@github.com wrote:

I especially would like the "-add-to-playlist" argument for smplayer

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/isometimesgit/videoassistant/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ALzCaafyqn1sKGl9wt3q28HAAASrSbQcks5q4CK2gaJpZM4Kh7DU .

ghost commented 8 years ago

Thank you for answer. Have to say awesome extension you made there. I'll try it on my windows machine later and will look for something similiar to do in linux. A simple bashscript should suffice. If you ever want to add the functionality(don't know how important it is for you) there is this extension which has it.