Page 1 of 1

VLC Android Playlist Accept some VLC Commands

Posted: 02 Sep 2020 18:50
by stardomains
I think it would be cool if Android VLC supported a few desktop VLC commands in Playlist like desktop VLC does.

Commands Like:

--input-repeat=<integer [-2147483648 .. 2147483647]>
Input repetitions
Number of time the same input will be repeated
--start-time=<float>
Start time
The stream will start at this position (in seconds).
--stop-time=<float>
Stop time
The stream will stop at this position (in seconds).
--run-time=<float>
Run time
The stream will run this duration (in seconds).

and: --no-audio

and URL syntax:

vlc://pause:<seconds> Pause the playlist for a certain time

From:

https://wiki.videolan.org/XSPF/
https://wiki.videolan.org/VLC-2-1-x_command-line_help/

This playlist works with the partial play, repeat, runtime plays and pause on VLC Mac but commands ignored on Android:


Code: Select all

<?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/"> <title>Playlist</title> <trackList> <track> <title>25 sec Play</title> <location>http://ice4.somafm.com/thetrip-128-aac</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>run-time=25</vlc:option> <vlc:id>3</vlc:id> </extension> </track> <track> <title>pause 90 seconds</title> <location>vlc://pause:90</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>4</vlc:id> </extension> </track> <track> <title>SomaFM 3 minute play</title> <location>http://ice3.somafm.com/spacestation-128-aac</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>5</vlc:id> <vlc:option>start-time=0</vlc:option> <vlc:option>stop-time=180</vlc:option> </extension> </track> <track> <title>4x Play</title> <location>/Users/user/Desktop/x.mp3</location> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:option>input-repeat=4</vlc:option> <vlc:id>6</vlc:id> </extension> </track> </trackList> </playlist>
I know some people have multiple security cams and with playlists with these functions you can have each play for like 10 seconds and move to the next and then loop. Among other uses with music, movies, streams. etc.